From c47be0eb3ffe1499752e6780c92078eeb16f1ff1 Mon Sep 17 00:00:00 2001 From: Chandler Ortman Date: Fri, 6 Feb 2026 12:31:20 -0800 Subject: [PATCH 1/5] Update get namespace capacity info, protos --- app/account_test.go | 9 +- app/apikey.go | 12 +- app/ca_test.go | 2 +- app/common.go | 2 +- app/namespace.go | 42 +- app/namespace_test.go | 15 +- app/nexus_test.go | 6 +- app/role.go | 10 +- app/serviceaccount.go | 8 +- app/user.go | 2 +- go.mod | 30 +- go.sum | 93 +- protogen/api/account/v1/message.pb.go | 4392 +- .../accountservice/v1/request_response.pb.go | 3992 +- protogen/api/accountservice/v1/service.pb.go | 459 +- .../api/accountservice/v1/service_grpc.pb.go | 297 + protogen/api/auth/v1/message.pb.go | 8195 +-- protogen/api/auth/v1/wrapper.pb.go | 11 +- .../api/authservice/v1/request_response.pb.go | 14434 +---- protogen/api/authservice/v1/service.pb.go | 1212 +- .../api/authservice/v1/service_grpc.pb.go | 861 + protogen/api/cloud/account/v1/message.pb.go | 2888 +- protogen/api/cloud/auditlog/v1/message.pb.go | 4494 +- protogen/api/cloud/billing/v1/message.pb.go | 617 + .../cloudservice/v1/request_response.pb.go | 52427 ++++------------ .../api/cloud/cloudservice/v1/service.pb.go | 4813 +- .../cloud/cloudservice/v1/service_authz.pb.go | 744 + .../cloud/cloudservice/v1/service_grpc.pb.go | 3562 ++ .../cloud/connectivityrule/v1/message.pb.go | 1901 +- protogen/api/cloud/identity/v1/message.pb.go | 9409 +-- protogen/api/cloud/namespace/v1/message.pb.go | 14895 ++--- protogen/api/cloud/nexus/v1/message.pb.go | 2790 +- protogen/api/cloud/operation/v1/message.pb.go | 1594 +- protogen/api/cloud/project/v1/message.pb.go | 1494 +- protogen/api/cloud/region/v1/message.pb.go | 853 +- protogen/api/cloud/resource/v1/message.pb.go | 280 +- protogen/api/cloud/sink/v1/message.pb.go | 1845 +- protogen/api/cloud/usage/v1/message.pb.go | 1901 +- protogen/api/common/v1/message.pb.go | 2066 +- protogen/api/namespace/v1/message.pb.go | 6521 +- .../v1/request_response.pb.go | 9984 +-- .../api/namespaceservice/v1/service.pb.go | 783 +- .../namespaceservice/v1/service_grpc.pb.go | 525 + protogen/api/platform/v1/message.pb.go | 301 +- protogen/api/request/v1/message.pb.go | 1536 +- .../requestservice/v1/request_response.pb.go | 747 +- protogen/api/requestservice/v1/service.pb.go | 195 +- .../api/requestservice/v1/service_grpc.pb.go | 107 + protogen/api/sink/v1/message.pb.go | 2161 +- .../accountservice/v1/service.pb.mock.go | 49 +- .../apimock/authservice/v1/service.pb.mock.go | 49 +- .../cloudservice/v1/service.pb.mock.go | 469 +- .../namespaceservice/v1/service.pb.mock.go | 49 +- .../requestservice/v1/service.pb.mock.go | 49 +- 54 files changed, 42542 insertions(+), 123640 deletions(-) create mode 100644 protogen/api/accountservice/v1/service_grpc.pb.go create mode 100644 protogen/api/authservice/v1/service_grpc.pb.go create mode 100644 protogen/api/cloud/billing/v1/message.pb.go create mode 100644 protogen/api/cloud/cloudservice/v1/service_authz.pb.go create mode 100644 protogen/api/cloud/cloudservice/v1/service_grpc.pb.go create mode 100644 protogen/api/namespaceservice/v1/service_grpc.pb.go create mode 100644 protogen/api/requestservice/v1/service_grpc.pb.go diff --git a/app/account_test.go b/app/account_test.go index 5a056898..34a5d51e 100644 --- a/app/account_test.go +++ b/app/account_test.go @@ -14,6 +14,7 @@ import ( "github.com/stretchr/testify/suite" "github.com/temporalio/tcld/protogen/api/account/v1" "github.com/temporalio/tcld/protogen/api/accountservice/v1" + "reflect" cloudaccount "github.com/temporalio/tcld/protogen/api/cloud/account/v1" "github.com/temporalio/tcld/protogen/api/cloud/cloudservice/v1" "github.com/temporalio/tcld/protogen/api/cloud/operation/v1" @@ -746,7 +747,7 @@ func (s *AccountTestSuite) TestCreateAuditLogSink() { } for _, tc := range tests { s.Run(tc.name, func() { - if tc.expectRequest != (cloudservice.CreateAccountAuditLogSinkRequest{}) { + if !reflect.DeepEqual(tc.expectRequest, cloudservice.CreateAccountAuditLogSinkRequest{}) { s.mockCloudApiClient.EXPECT().CreateAccountAuditLogSink(gomock.Any(), &tc.expectRequest).Return(&cloudservice.CreateAccountAuditLogSinkResponse{ AsyncOperation: &operation.AsyncOperation{ Id: "123", @@ -891,7 +892,7 @@ func (s *AccountTestSuite) TestUpdateAuditLogSink() { } for _, tc := range tests { s.Run(tc.name, func() { - if tc.expectRequest != (cloudservice.UpdateAccountAuditLogSinkRequest{}) { + if !reflect.DeepEqual(tc.expectRequest, cloudservice.UpdateAccountAuditLogSinkRequest{}) { if tc.expectGetRequest { sinkType := "" if len(tc.args) >= 3 { @@ -1010,7 +1011,7 @@ func (s *AccountTestSuite) TestDeleteAuditLogSink() { } for _, tc := range tests { s.Run(tc.name, func() { - if tc.expectRequest != (cloudservice.DeleteAccountAuditLogSinkRequest{}) { + if !reflect.DeepEqual(tc.expectRequest, cloudservice.DeleteAccountAuditLogSinkRequest{}) { if tc.expectGetRequest { s.mockCloudApiClient.EXPECT().GetAccountAuditLogSink(gomock.Any(), &cloudservice.GetAccountAuditLogSinkRequest{ Name: "audit_log_01", @@ -1114,7 +1115,7 @@ func (s *AccountTestSuite) TestValidateAuditLogSink() { } for _, tc := range tests { s.Run(tc.name, func() { - if tc.expectRequest != (cloudservice.ValidateAccountAuditLogSinkRequest{}) { + if !reflect.DeepEqual(tc.expectRequest, cloudservice.ValidateAccountAuditLogSinkRequest{}) { s.mockCloudApiClient.EXPECT().ValidateAccountAuditLogSink(gomock.Any(), &tc.expectRequest).Return(&cloudservice.ValidateAccountAuditLogSinkResponse{}, tc.validateError).Times(1) } err := s.RunCmd(tc.args...) diff --git a/app/apikey.go b/app/apikey.go index 8a626dfa..9c266623 100644 --- a/app/apikey.go +++ b/app/apikey.go @@ -5,11 +5,11 @@ import ( "fmt" "time" - "github.com/gogo/protobuf/types" "github.com/temporalio/tcld/protogen/api/auth/v1" "github.com/temporalio/tcld/protogen/api/authservice/v1" "github.com/temporalio/tcld/utils" "github.com/urfave/cli/v2" + "google.golang.org/protobuf/types/known/timestamppb" ) const ( @@ -64,10 +64,7 @@ func (s *APIKeyClient) createAPIKey( expiry time.Time, requestID string, ) error { - expiryts, err := types.TimestampProto(expiry) - if err != nil { - return fmt.Errorf("failed to convert timestamp to proto: %w", err) - } + expiryts := timestamppb.New(expiry) resp, err := s.client.CreateAPIKey(s.ctx, &authservice.CreateAPIKeyRequest{ Spec: &auth.APIKeySpec{ AccessType: auth.APIKEY_ACCESS_TYPE_INHERIT_OWNER_ACCESS, @@ -91,10 +88,7 @@ func (s *APIKeyClient) createServiceAccountAPIKey( expiry time.Time, requestID string, ) error { - expiryts, err := types.TimestampProto(expiry) - if err != nil { - return fmt.Errorf("failed to convert timestamp to proto: %w", err) - } + expiryts := timestamppb.New(expiry) resp, err := s.client.CreateServiceAccountAPIKey(s.ctx, &authservice.CreateServiceAccountAPIKeyRequest{ ServiceAccountId: serviceAccountID, Spec: &auth.APIKeySpec{ diff --git a/app/ca_test.go b/app/ca_test.go index 77ba6785..24ca2962 100644 --- a/app/ca_test.go +++ b/app/ca_test.go @@ -86,7 +86,7 @@ func generateCertificateHelper( } func generateRootX509CAForTest() (string, error) { - tlsCert, _, err := generateCertificateHelper("Temporal Development", nil, nil, nil, true, 512, x509.SHA256WithRSA) + tlsCert, _, err := generateCertificateHelper("Temporal Development", nil, nil, nil, true, 2048, x509.SHA256WithRSA) if err != nil { return "", err } diff --git a/app/common.go b/app/common.go index 2402472a..d33c880c 100644 --- a/app/common.go +++ b/app/common.go @@ -6,7 +6,7 @@ import ( "regexp" "strings" - apipayload "github.com/temporalio/tcld/protogen/temporal/api/common/v1" + apipayload "go.temporal.io/api/common/v1" "github.com/urfave/cli/v2" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/app/namespace.go b/app/namespace.go index 4784d17c..af5b4b10 100644 --- a/app/namespace.go +++ b/app/namespace.go @@ -386,6 +386,20 @@ func (c *NamespaceClient) getNamespaceCloudApi(namespace string) (*cloudNamespac return res.Namespace, nil } +func (c *NamespaceClient) getNamespaceCapacityInfoCloudApi(namespace string) (*cloudNamespace.NamespaceCapacityInfo, error) { + res, err := c.cloudAPIClient.GetNamespaceCapacityInfo(c.ctx, &cloudservice.GetNamespaceCapacityInfoRequest{ + Namespace: namespace, + }) + if err != nil { + return nil, err + } + if res.GetCapacityInfo() == nil || res.GetCapacityInfo().Namespace == "" { + // this should never happen, the server should return an error when the namespace capacity info is not found or invalid + return nil, fmt.Errorf("invalid namespace capacity info returned by server") + } + return res.CapacityInfo, nil +} + // TODO: deprecate this and use getNamespaceCloudApi everywhere func (c *NamespaceClient) getNamespace(namespace string) (*namespace.Namespace, error) { res, err := c.client.GetNamespace(c.ctx, &namespaceservice.GetNamespaceRequest{ @@ -508,8 +522,8 @@ func (c *NamespaceClient) toUserNamespacePermissions(userPermissionsInput map[st errs = multierr.Append(errs, fmt.Errorf("user not found for: %s", email)) continue } - actionGroupID, ok := auth.NamespaceActionGroup_value[actionGroup] - if !ok { + ag, agErr := toNamespaceActionGroup(actionGroup) + if agErr != nil { errs = multierr.Append(errs, fmt.Errorf( "namespace permission type \"%s\" does not exist, acceptable types are: %s", actionGroup, @@ -519,7 +533,7 @@ func (c *NamespaceClient) toUserNamespacePermissions(userPermissionsInput map[st } res = append(res, &auth.UserNamespacePermissions{ UserId: u.GetUser().GetId(), - ActionGroup: auth.NamespaceActionGroup(actionGroupID), + ActionGroup: ag, }) } return res, errs @@ -1912,22 +1926,22 @@ func NewNamespaceCommand(getNamespaceClientFn GetNamespaceClientFn) (CommandOut, }, { Name: "capacity", - Usage: "Manage namespace capacity settings", + Usage: "Manage namespace capacity", Aliases: []string{"cap"}, Subcommands: []*cli.Command{ { Name: "get", - Usage: "Get namespace capacity settings", + Usage: "Get namespace capacity information", Aliases: []string{"g"}, Flags: []cli.Flag{ NamespaceFlag, }, Action: func(ctx *cli.Context) error { - n, err := c.getNamespaceCloudApi(ctx.String(NamespaceFlagName)) + n, err := c.getNamespaceCapacityInfoCloudApi(ctx.String(NamespaceFlagName)) if err != nil { return err } - return PrintProto(n.GetCapacity()) + return PrintProto(n) }, }, { @@ -2489,6 +2503,18 @@ func getSearchAttributeTypes() []string { return validTypes } +func toSearchAttributeType(s string) (int32, bool) { + lower := strings.ToLower(strings.TrimSpace(s)) + for n, v := range namespace.SearchAttributeType_value { + name := strings.ToLower(n) + stripped := strings.TrimPrefix(name, "searchattributetype") + if name == lower || stripped == lower { + return v, true + } + } + return 0, false +} + func toSearchAttributes(keyValues []string) (map[string]namespace.SearchAttributeType, error) { res := map[string]namespace.SearchAttributeType{} for _, kv := range keyValues { @@ -2497,7 +2523,7 @@ func toSearchAttributes(keyValues []string) (map[string]namespace.SearchAttribut return nil, fmt.Errorf("invalid search attribute \"%s\" must be of format: \"name=type\"", kv) } - val, ok := namespace.SearchAttributeType_value[parts[1]] + val, ok := toSearchAttributeType(parts[1]) if !ok { return nil, fmt.Errorf( "search attribute type \"%s\" does not exist, acceptable types are: %s", diff --git a/app/namespace_test.go b/app/namespace_test.go index fe4ab8ed..e0af76dc 100644 --- a/app/namespace_test.go +++ b/app/namespace_test.go @@ -3306,18 +3306,11 @@ func (s *NamespaceTestSuite) TestGetNamespaceCapacity() { args: []string{"namespace", "capacity", "get", "--namespace", "ns1"}, mock: func() { s.mockCloudApiClient.EXPECT(). - GetNamespace(gomock.Any(), &cloudservice.GetNamespaceRequest{ + GetNamespaceCapacityInfo(gomock.Any(), &cloudservice.GetNamespaceCapacityInfoRequest{ Namespace: "ns1", - }).Return(&cloudservice.GetNamespaceResponse{ - Namespace: &cloudNamespace.Namespace{ + }).Return(&cloudservice.GetNamespaceCapacityInfoResponse{ + CapacityInfo: &cloudNamespace.NamespaceCapacityInfo{ Namespace: "ns1", - Capacity: &cloudNamespace.Capacity{ - CurrentMode: &cloudNamespace.Capacity_Provisioned_{ - Provisioned: &cloudNamespace.Capacity_Provisioned{ - CurrentValue: 16.0, - }, - }, - }, }, }, nil).Times(1) }, @@ -3328,7 +3321,7 @@ func (s *NamespaceTestSuite) TestGetNamespaceCapacity() { expectErr: true, mock: func() { s.mockCloudApiClient.EXPECT(). - GetNamespace(gomock.Any(), &cloudservice.GetNamespaceRequest{ + GetNamespaceCapacityInfo(gomock.Any(), &cloudservice.GetNamespaceCapacityInfoRequest{ Namespace: "ns1", }).Return(nil, errors.New("some error")).Times(1) }, diff --git a/app/nexus_test.go b/app/nexus_test.go index aae2e537..335dbbee 100644 --- a/app/nexus_test.go +++ b/app/nexus_test.go @@ -7,7 +7,6 @@ import ( "testing" "time" - "github.com/gogo/protobuf/types" "github.com/temporalio/tcld/protogen/api/cloud/cloudservice/v1" "github.com/temporalio/tcld/protogen/api/cloud/nexus/v1" "github.com/temporalio/tcld/protogen/api/cloud/operation/v1" @@ -17,6 +16,7 @@ import ( "github.com/stretchr/testify/suite" cloudservicemock "github.com/temporalio/tcld/protogen/apimock/cloudservice/v1" "github.com/urfave/cli/v2" + "google.golang.org/protobuf/types/known/timestamppb" ) func TestNexus(t *testing.T) { @@ -94,8 +94,8 @@ func getExampleNexusEndpoint() *nexus.Endpoint { }, State: resource.RESOURCE_STATE_ACTIVATING, AsyncOperationId: "test-request-id", - CreatedTime: &types.Timestamp{Seconds: time.Date(time.Now().Year(), time.April, 12, 0, 0, 0, 0, time.UTC).Unix()}, - LastModifiedTime: &types.Timestamp{Seconds: time.Date(time.Now().Year(), time.April, 14, 0, 0, 0, 0, time.UTC).Unix()}, + CreatedTime: timestamppb.New(time.Date(time.Now().Year(), time.April, 12, 0, 0, 0, 0, time.UTC)), + LastModifiedTime: timestamppb.New(time.Date(time.Now().Year(), time.April, 14, 0, 0, 0, 0, time.UTC)), } } diff --git a/app/role.go b/app/role.go index 60ca1e98..e1dcfb2b 100644 --- a/app/role.go +++ b/app/role.go @@ -91,7 +91,10 @@ func toAccountActionGroup(actionGroup string) (auth.AccountActionGroup, error) { g := strings.ToLower(strings.TrimSpace(actionGroup)) var ag auth.AccountActionGroup for n, v := range auth.AccountActionGroup_value { - if strings.ToLower(n) == g { + name := strings.ToLower(n) + // Strip the enum type prefix if present (e.g., "AccountActionGroupAdmin" -> "admin") + stripped := strings.TrimPrefix(name, "accountactiongroup") + if name == g || stripped == g { ag = auth.AccountActionGroup(v) break } @@ -107,7 +110,10 @@ func toNamespaceActionGroup(actionGroup string) (auth.NamespaceActionGroup, erro g := strings.ToLower(strings.TrimSpace(actionGroup)) var ag auth.NamespaceActionGroup for n, v := range auth.NamespaceActionGroup_value { - if strings.ToLower(n) == g { + name := strings.ToLower(n) + // Strip the enum type prefix if present (e.g., "NamespaceActionGroupAdmin" -> "admin") + stripped := strings.TrimPrefix(name, "namespaceactiongroup") + if name == g || stripped == g { ag = auth.NamespaceActionGroup(v) break } diff --git a/app/serviceaccount.go b/app/serviceaccount.go index 266084a7..8eb49c9d 100644 --- a/app/serviceaccount.go +++ b/app/serviceaccount.go @@ -249,7 +249,8 @@ func NewServiceAccountCommand(getServiceAccountClientFn GetServiceAccountClientF Description: ctx.String(serviceAccountDescriptionFlagName), } - isAccountAdmin := ctx.String(accountRoleFlagName) == auth.AccountActionGroup_name[int32(auth.ACCOUNT_ACTION_GROUP_ADMIN)] + createRoleAG, _ := toAccountActionGroup(ctx.String(accountRoleFlagName)) + isAccountAdmin := createRoleAG == auth.ACCOUNT_ACTION_GROUP_ADMIN namespacePermissionsList := ctx.StringSlice(namespacePermissionFlagName) if len(namespacePermissionsList) > 0 { if isAccountAdmin { @@ -435,12 +436,13 @@ func NewServiceAccountCommand(getServiceAccountClientFn GetServiceAccountClientF }, Action: func(ctx *cli.Context) error { // validate input role - if _, ok := auth.AccountActionGroup_value[ctx.String(accountRoleFlagName)]; !ok { + accountRoleAG, err := toAccountActionGroup(ctx.String(accountRoleFlagName)) + if err != nil { return fmt.Errorf("invalid account role %v; valid types are: %v", ctx.String(accountRoleFlagName), accountActionGroups) } // if account role is admin unset the namespace permissions var namespacePermissions map[string]string - if ctx.String(accountRoleFlagName) == auth.AccountActionGroup_name[int32(auth.ACCOUNT_ACTION_GROUP_ADMIN)] { + if accountRoleAG == auth.ACCOUNT_ACTION_GROUP_ADMIN { y, err := ConfirmPrompt(ctx, "Setting admin role on service account. All existing namespace permissions will be replaced, please confirm") if err != nil { return err diff --git a/app/user.go b/app/user.go index ffc1fd49..143bded9 100644 --- a/app/user.go +++ b/app/user.go @@ -355,7 +355,7 @@ func toNamespacePermissionsMap(keyValues []string) (map[string]string, error) { return nil, errors.New("permission must not be empty in namespace permission") } - if _, ok := auth.NamespaceActionGroup_value[actionGroupValue]; !ok { + if _, err := toNamespaceActionGroup(actionGroupValue); err != nil { return nil, fmt.Errorf("invalid namespace permission \"%s\" must be one of: %s", actionGroupValue, namespaceActionGroups) } diff --git a/go.mod b/go.mod index df817e3d..8bcd30f6 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,9 @@ module github.com/temporalio/tcld -go 1.23.0 +go 1.24.0 require ( + buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.10-20250912141014-52f32327d4b0.1 github.com/go-playground/validator/v10 v10.13.0 github.com/gogo/protobuf v1.3.2 github.com/golang/mock v1.6.0 @@ -10,14 +11,17 @@ require ( github.com/google/uuid v1.6.0 github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.1.0 github.com/kylelemons/godebug v1.1.0 - github.com/stretchr/testify v1.8.4 + github.com/stretchr/testify v1.11.1 + github.com/temporalio/saas-proto v0.756.0 github.com/urfave/cli/v2 v2.25.7 + go.temporal.io/api v1.62.0 go.uber.org/fx v1.20.1 go.uber.org/multierr v1.11.0 - golang.org/x/mod v0.22.0 - golang.org/x/oauth2 v0.24.0 - google.golang.org/genproto/googleapis/api v0.0.0-20241202173237-19429a94021a - google.golang.org/grpc v1.70.0 + golang.org/x/mod v0.27.0 + golang.org/x/oauth2 v0.30.0 + google.golang.org/genproto/googleapis/api v0.0.0-20251029180050-ab9386a59fda + google.golang.org/grpc v1.75.1 + google.golang.org/protobuf v1.36.10 ) require ( @@ -29,14 +33,12 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect - go.uber.org/atomic v1.7.0 // indirect go.uber.org/dig v1.17.0 // indirect - go.uber.org/zap v1.23.0 // indirect - golang.org/x/crypto v0.31.0 // indirect - golang.org/x/net v0.33.0 // indirect - golang.org/x/sys v0.28.0 // indirect - golang.org/x/text v0.21.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a // indirect - google.golang.org/protobuf v1.35.2 // indirect + go.uber.org/zap v1.27.0 // indirect + golang.org/x/crypto v0.42.0 // indirect + golang.org/x/net v0.44.0 // indirect + golang.org/x/sys v0.36.0 // indirect + golang.org/x/text v0.29.0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20251029180050-ab9386a59fda // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index 47f48fe1..3b4b6efa 100644 --- a/go.sum +++ b/go.sum @@ -1,3 +1,5 @@ +buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.10-20250912141014-52f32327d4b0.1 h1:31on4W/yPcV4nZHL4+UCiCvLPsMqe/vJcNg8Rci0scc= +buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.10-20250912141014-52f32327d4b0.1/go.mod h1:fUl8CEN/6ZAMk6bP8ahBJPUJw7rbp+j4x+wCcYi2IG4= github.com/benbjohnson/clock v1.3.0 h1:ip6w0uFQkncKQ979AypyG0ER7mqUSBdKLOgAle/AT8A= github.com/benbjohnson/clock v1.3.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w= @@ -5,8 +7,8 @@ github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46t github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY= -github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI= +github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-playground/assert/v2 v2.2.0 h1:JvknZsQTYeFEAhQwI4qEt9cyV5ONwRHC+lYKSsYSR8s= @@ -23,8 +25,8 @@ github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc= github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= -github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= +github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.1.0 h1:pRhl55Yx1eC7BZ1N+BBWwnKaMyD8uC+34TLdndZMAKk= @@ -35,8 +37,6 @@ github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0 github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/leodido/go-urn v1.2.3 h1:6BE2vPT0lqoz3fmOesHZiaiFh7889ssCo2GMvLCfiuA= github.com/leodido/go-urn v1.2.3/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4= -github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= -github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= @@ -44,12 +44,13 @@ github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQD github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= +github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= +github.com/temporalio/saas-proto v0.756.0 h1:4YD3v4vxe1uvp6gsEFQxYsAju3unwjkMtTaWI7JEbJ8= +github.com/temporalio/saas-proto v0.756.0/go.mod h1:nkjMDSgYA9etaE3RQ2rOwhwpMAtL8f8fa3FeKX9kH0M= github.com/urfave/cli/v2 v2.25.7 h1:VAzn5oq403l5pHjc4OhD54+XGO9cdKVL/7lDjF+iKUs= github.com/urfave/cli/v2 v2.25.7/go.mod h1:8qnjx1vcq5s2/wpsqoZFndg2CE5tNFyrTvS6SinrnYQ= github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 h1:bAn7/zixMGCfxrRTfdpNzjtPYqr8smhKouy9mxVdGPU= @@ -57,47 +58,51 @@ github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673/go.mod h1:N3UwUGtsr github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -go.opentelemetry.io/otel v1.32.0 h1:WnBN+Xjcteh0zdk01SVqV55d/m62NJLJdIyb4y/WO5U= -go.opentelemetry.io/otel v1.32.0/go.mod h1:00DCVSB0RQcnzlwyTfqtxSm+DRr9hpYrHjNGiBHVQIg= -go.opentelemetry.io/otel/metric v1.32.0 h1:xV2umtmNcThh2/a/aCP+h64Xx5wsj8qqnkYZktzNa0M= -go.opentelemetry.io/otel/metric v1.32.0/go.mod h1:jH7CIbbK6SH2V2wE16W05BHCtIDzauciCRLoc/SyMv8= -go.opentelemetry.io/otel/sdk v1.32.0 h1:RNxepc9vK59A8XsgZQouW8ue8Gkb4jpWtJm9ge5lEG4= -go.opentelemetry.io/otel/sdk v1.32.0/go.mod h1:LqgegDBjKMmb2GC6/PrTnteJG39I8/vJCAP9LlJXEjU= -go.opentelemetry.io/otel/sdk/metric v1.32.0 h1:rZvFnvmvawYb0alrYkjraqJq0Z4ZUJAiyYCU9snn1CU= -go.opentelemetry.io/otel/sdk/metric v1.32.0/go.mod h1:PWeZlq0zt9YkYAp3gjKZ0eicRYvOh1Gd+X99x6GHpCQ= -go.opentelemetry.io/otel/trace v1.32.0 h1:WIC9mYrXf8TmY/EXuULKc8hR17vE+Hjv2cssQDe03fM= -go.opentelemetry.io/otel/trace v1.32.0/go.mod h1:+i4rkvCraA+tG6AzwloGaCtkx53Fa+L+V8e9a7YvhT8= +go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJySYA= +go.opentelemetry.io/auto/sdk v1.1.0/go.mod h1:3wSPjt5PWp2RhlCcmmOial7AvC4DQqZb7a7wCow3W8A= +go.opentelemetry.io/otel v1.37.0 h1:9zhNfelUvx0KBfu/gb+ZgeAfAgtWrfHJZcAqFC228wQ= +go.opentelemetry.io/otel v1.37.0/go.mod h1:ehE/umFRLnuLa/vSccNq9oS1ErUlkkK71gMcN34UG8I= +go.opentelemetry.io/otel/metric v1.37.0 h1:mvwbQS5m0tbmqML4NqK+e3aDiO02vsf/WgbsdpcPoZE= +go.opentelemetry.io/otel/metric v1.37.0/go.mod h1:04wGrZurHYKOc+RKeye86GwKiTb9FKm1WHtO+4EVr2E= +go.opentelemetry.io/otel/sdk v1.37.0 h1:ItB0QUqnjesGRvNcmAcU0LyvkVyGJ2xftD29bWdDvKI= +go.opentelemetry.io/otel/sdk v1.37.0/go.mod h1:VredYzxUvuo2q3WRcDnKDjbdvmO0sCzOvVAiY+yUkAg= +go.opentelemetry.io/otel/sdk/metric v1.37.0 h1:90lI228XrB9jCMuSdA0673aubgRobVZFhbjxHHspCPc= +go.opentelemetry.io/otel/sdk/metric v1.37.0/go.mod h1:cNen4ZWfiD37l5NhS+Keb5RXVWZWpRE+9WyVCpbo5ps= +go.opentelemetry.io/otel/trace v1.37.0 h1:HLdcFNbRQBE2imdSEgm/kwqmQj1Or1l/7bW6mxVK7z4= +go.opentelemetry.io/otel/trace v1.37.0/go.mod h1:TlgrlQ+PtQO5XFerSPUYG0JSgGyryXewPGyayAWSBS0= +go.temporal.io/api v1.62.0 h1:rh7LqqV+pxaLNwPLsFRZgYoDJ/NvCNDv0EnWe6oS7A4= +go.temporal.io/api v1.62.0/go.mod h1:iaxoP/9OXMJcQkETTECfwYq4cw/bj4nwov8b3ZLVnXM= go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/dig v1.17.0 h1:5Chju+tUvcC+N7N6EV08BJz41UZuO3BmHcN4A287ZLI= go.uber.org/dig v1.17.0/go.mod h1:rTxpf7l5I0eBTlE6/9RL+lDybC7WFwY2QH55ZSjy1mU= go.uber.org/fx v1.20.1 h1:zVwVQGS8zYvhh9Xxcu4w1M6ESyeMzebzj2NbSayZ4Mk= go.uber.org/fx v1.20.1/go.mod h1:iSYNbHf2y55acNCwCXKx7LbWb5WG1Bnue5RDXz1OREg= -go.uber.org/goleak v1.1.11 h1:wy28qYRKZgnJTxGxvye5/wgWr1EKjmUDGYox5mGlRlI= -go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= +go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= +go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= -go.uber.org/zap v1.23.0 h1:OjGQ5KQDEUawVHxNwQgPpiypGHOxo2mNZsOqTak4fFY= -go.uber.org/zap v1.23.0/go.mod h1:D+nX8jyLsMHMYrln8A0rJjFt/T/9/bGgIhAqxv5URuY= +go.uber.org/zap v1.27.0 h1:aJMhYGrd5QSmlpLMr2MftRKl7t8J8PTZPA732ud/XR8= +go.uber.org/zap v1.27.0/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.31.0 h1:ihbySMvVjLAeSH1IbfcRTkD/iNscyz8rGzjF/E5hV6U= -golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk= +golang.org/x/crypto v0.42.0 h1:chiH31gIWm57EkTXpwnqf8qeuMUi0yekh6mT2AvFlqI= +golang.org/x/crypto v0.42.0/go.mod h1:4+rDnOTJhQCx2q7/j6rAN5XDw8kPjeaXEUR2eL94ix8= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.22.0 h1:D4nJWe9zXqHOmWqj4VMOJhvzj7bEZg4wEYa759z1pH4= -golang.org/x/mod v0.22.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= +golang.org/x/mod v0.27.0 h1:kb+q2PyFnEADO2IEF935ehFUXlWiNjJWtRNgBLSfbxQ= +golang.org/x/mod v0.27.0/go.mod h1:rWI627Fq0DEoudcK+MBkNkCe0EetEaDSwJJkCcjpazc= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= -golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I= -golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4= -golang.org/x/oauth2 v0.24.0 h1:KTBBxWqUa0ykRPLtV69rRto9TLXcqYkeswu48x/gvNE= -golang.org/x/oauth2 v0.24.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= +golang.org/x/net v0.44.0 h1:evd8IRDyfNBMBTTY5XRF1vaZlD+EmWx6x8PkhR04H/I= +golang.org/x/net v0.44.0/go.mod h1:ECOoLqd5U3Lhyeyo/QDCEVQ4sNgYsqvCZ722XogGieY= +golang.org/x/oauth2 v0.30.0 h1:dnDm7JmhM45NNpd8FDDeLhK6FwqbOf4MLCM9zb1BOHI= +golang.org/x/oauth2 v0.30.0/go.mod h1:B++QgG3ZKulg6sRPGD/mqlHQs5rB3Ml9erfeDY7xKlU= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -108,13 +113,13 @@ golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA= -golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.36.0 h1:KVRy2GtZBrk1cBYA7MKu5bEZFxQk4NIDV6RLVcC8o0k= +golang.org/x/sys v0.36.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo= -golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ= +golang.org/x/text v0.29.0 h1:1neNs90w9YzJ9BocxfsQNHKuAT4pkghyXc4nhZ6sJvk= +golang.org/x/text v0.29.0/go.mod h1:7MhJOA9CD2qZyOKYazxdYMF85OwPdEr9jTtBpO7ydH4= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= @@ -124,14 +129,16 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/genproto/googleapis/api v0.0.0-20241202173237-19429a94021a h1:OAiGFfOiA0v9MRYsSidp3ubZaBnteRUyn3xB2ZQ5G/E= -google.golang.org/genproto/googleapis/api v0.0.0-20241202173237-19429a94021a/go.mod h1:jehYqy3+AhJU9ve55aNOaSml7wUXjF9x6z2LcCfpAhY= -google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a h1:hgh8P4EuoxpsuKMXX/To36nOFD7vixReXgn8lPGnt+o= -google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a/go.mod h1:5uTbfoYQed2U9p3KIj2/Zzm02PYhndfdmML0qC3q3FU= -google.golang.org/grpc v1.70.0 h1:pWFv03aZoHzlRKHWicjsZytKAiYCtNS0dHbXnIdq7jQ= -google.golang.org/grpc v1.70.0/go.mod h1:ofIJqVKDXx/JiXrwr2IG4/zwdH9txy3IlF40RmcJSQw= -google.golang.org/protobuf v1.35.2 h1:8Ar7bF+apOIoThw1EdZl0p1oWvMqTHmpA2fRTyZO8io= -google.golang.org/protobuf v1.35.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +gonum.org/v1/gonum v0.16.0 h1:5+ul4Swaf3ESvrOnidPp4GZbzf0mxVQpDCYUQE7OJfk= +gonum.org/v1/gonum v0.16.0/go.mod h1:fef3am4MQ93R2HHpKnLk4/Tbh/s0+wqD5nfa6Pnwy4E= +google.golang.org/genproto/googleapis/api v0.0.0-20251029180050-ab9386a59fda h1:+2XxjfsAu6vqFxwGBRcHiMaDCuZiqXGDUDVWVtrFAnE= +google.golang.org/genproto/googleapis/api v0.0.0-20251029180050-ab9386a59fda/go.mod h1:fDMmzKV90WSg1NbozdqrE64fkuTv6mlq2zxo9ad+3yo= +google.golang.org/genproto/googleapis/rpc v0.0.0-20251029180050-ab9386a59fda h1:i/Q+bfisr7gq6feoJnS/DlpdwEL4ihp41fvRiM3Ork0= +google.golang.org/genproto/googleapis/rpc v0.0.0-20251029180050-ab9386a59fda/go.mod h1:7i2o+ce6H/6BluujYR+kqX3GKH+dChPTQU19wjRPiGk= +google.golang.org/grpc v1.75.1 h1:/ODCNEuf9VghjgO3rqLcfg8fiOP0nSluljWFlDxELLI= +google.golang.org/grpc v1.75.1/go.mod h1:JtPAzKiq4v1xcAB2hydNlWI2RnF85XXcV0mhKXr2ecQ= +google.golang.org/protobuf v1.36.10 h1:AYd7cD/uASjIL6Q9LiTjz8JLcrh/88q5UObnmY3aOOE= +google.golang.org/protobuf v1.36.10/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/protogen/api/account/v1/message.pb.go b/protogen/api/account/v1/message.pb.go index 99708b65..063a6194 100644 --- a/protogen/api/account/v1/message.pb.go +++ b/protogen/api/account/v1/message.pb.go @@ -1,34 +1,33 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: api/account/v1/message.proto package account import ( - encoding_binary "encoding/binary" - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" - types "github.com/gogo/protobuf/types" - io "io" - math "math" - math_bits "math/bits" - reflect "reflect" - strconv "strconv" - strings "strings" + proto "github.com/golang/protobuf/proto" v11 "github.com/temporalio/tcld/protogen/api/common/v1" v1 "github.com/temporalio/tcld/protogen/api/sink/v1" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + "strconv" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type State int32 @@ -47,38 +46,92 @@ const ( STATE_SUSPENDED State = 11 ) -var State_name = map[int32]string{ - 0: "Unspecified", - 1: "Activating", - 2: "ActivationFailed", - 3: "Active", - 4: "Updating", - 5: "UpdateFailed", - 6: "Deleting", - 7: "DeleteFailed", - 8: "Deleted", - 9: "Suspending", - 10: "SuspendFailed", - 11: "Suspended", -} - -var State_value = map[string]int32{ - "Unspecified": 0, - "Activating": 1, - "ActivationFailed": 2, - "Active": 3, - "Updating": 4, - "UpdateFailed": 5, - "Deleting": 6, - "DeleteFailed": 7, - "Deleted": 8, - "Suspending": 9, - "SuspendFailed": 10, - "Suspended": 11, +// Enum value maps for State. +var ( + State_name = map[int32]string{ + 0: "StateUnspecified", + 1: "StateActivating", + 2: "StateActivationFailed", + 3: "StateActive", + 4: "StateUpdating", + 5: "StateUpdateFailed", + 6: "StateDeleting", + 7: "StateDeleteFailed", + 8: "StateDeleted", + 9: "StateSuspending", + 10: "StateSuspendFailed", + 11: "StateSuspended", + } + State_value = map[string]int32{ + "StateUnspecified": 0, + "StateActivating": 1, + "StateActivationFailed": 2, + "StateActive": 3, + "StateUpdating": 4, + "StateUpdateFailed": 5, + "StateDeleting": 6, + "StateDeleteFailed": 7, + "StateDeleted": 8, + "StateSuspending": 9, + "StateSuspendFailed": 10, + "StateSuspended": 11, + } +) + +func (x State) Enum() *State { + p := new(State) + *p = x + return p +} + +func (x State) String() string { + switch x { + case STATE_UNSPECIFIED: + return "Unspecified" + case STATE_ACTIVATING: + return "Activating" + case STATE_ACTIVATION_FAILED: + return "ActivationFailed" + case STATE_ACTIVE: + return "Active" + case STATE_UPDATING: + return "Updating" + case STATE_UPDATE_FAILED: + return "UpdateFailed" + case STATE_DELETING: + return "Deleting" + case STATE_DELETE_FAILED: + return "DeleteFailed" + case STATE_DELETED: + return "Deleted" + case STATE_SUSPENDING: + return "Suspending" + + // Deprecated: Use State.Descriptor instead. + case STATE_SUSPEND_FAILED: + return "SuspendFailed" + case STATE_SUSPENDED: + return "Suspended" + default: + return strconv.Itoa(int(x)) + } + +} + +func (State) Descriptor() protoreflect.EnumDescriptor { + return file_api_account_v1_message_proto_enumTypes[0].Descriptor() +} + +func (State) Type() protoreflect.EnumType { + return &file_api_account_v1_message_proto_enumTypes[0] +} + +func (x State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } func (State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_603c66a56913ad55, []int{0} + return file_api_account_v1_message_proto_rawDescGZIP(), []int{0} } type Period int32 @@ -88,342 +141,403 @@ const ( PERIOD_DAY Period = 1 ) -var Period_name = map[int32]string{ - 0: "Unspecified", - 1: "Day", +// Enum value maps for Period. +var ( + Period_name = map[int32]string{ + 0: "PeriodUnspecified", + 1: "PeriodDay", + } + Period_value = map[string]int32{ + "PeriodUnspecified": 0, + "PeriodDay": 1, + } +) + +func (x Period) Enum() *Period { + p := new(Period) + *p = x + return p +} + +func (x Period) String() string { + switch x { + case PERIOD_UNSPECIFIED: + return "Unspecified" + case PERIOD_DAY: + return "Day" + default: + return strconv.Itoa(int(x)) + } + +} + +func (Period) Descriptor() protoreflect.EnumDescriptor { + return file_api_account_v1_message_proto_enumTypes[1].Descriptor() } -var Period_value = map[string]int32{ - "Unspecified": 0, - "Day": 1, +func (Period) Type() protoreflect.EnumType { + return &file_api_account_v1_message_proto_enumTypes[1] } +func (x Period) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Period.Descriptor instead. func (Period) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_603c66a56913ad55, []int{1} + return file_api_account_v1_message_proto_rawDescGZIP(), []int{1} } type MeteringRecord struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"` } -func (m *MeteringRecord) Reset() { *m = MeteringRecord{} } -func (*MeteringRecord) ProtoMessage() {} -func (*MeteringRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_603c66a56913ad55, []int{0} -} -func (m *MeteringRecord) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MeteringRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MeteringRecord.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *MeteringRecord) Reset() { + *x = MeteringRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_api_account_v1_message_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *MeteringRecord) XXX_Merge(src proto.Message) { - xxx_messageInfo_MeteringRecord.Merge(m, src) -} -func (m *MeteringRecord) XXX_Size() int { - return m.Size() + +func (x *MeteringRecord) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MeteringRecord) XXX_DiscardUnknown() { - xxx_messageInfo_MeteringRecord.DiscardUnknown(m) + +func (*MeteringRecord) ProtoMessage() {} + +func (x *MeteringRecord) ProtoReflect() protoreflect.Message { + mi := &file_api_account_v1_message_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_MeteringRecord proto.InternalMessageInfo +// Deprecated: Use MeteringRecord.ProtoReflect.Descriptor instead. +func (*MeteringRecord) Descriptor() ([]byte, []int) { + return file_api_account_v1_message_proto_rawDescGZIP(), []int{0} +} -func (m *MeteringRecord) GetValue() float64 { - if m != nil { - return m.Value +func (x *MeteringRecord) GetValue() float64 { + if x != nil { + return x.Value } return 0 } -func (m *MeteringRecord) GetUnit() string { - if m != nil { - return m.Unit +func (x *MeteringRecord) GetUnit() string { + if x != nil { + return x.Unit } return "" } type MeteringEntry struct { - StartTime *types.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - EndTime *types.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // The key is metering type. Records map[string]*MeteringRecord `protobuf:"bytes,3,rep,name=records,proto3" json:"records,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // The key is usage category (e.g. Activities, Workflows, Timers, etc.) UsageByCategory map[string]*MeteringRecord `protobuf:"bytes,4,rep,name=usage_by_category,json=usageByCategory,proto3" json:"usage_by_category,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *MeteringEntry) Reset() { *m = MeteringEntry{} } -func (*MeteringEntry) ProtoMessage() {} -func (*MeteringEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_603c66a56913ad55, []int{1} -} -func (m *MeteringEntry) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MeteringEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MeteringEntry.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *MeteringEntry) Reset() { + *x = MeteringEntry{} + if protoimpl.UnsafeEnabled { + mi := &file_api_account_v1_message_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *MeteringEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_MeteringEntry.Merge(m, src) -} -func (m *MeteringEntry) XXX_Size() int { - return m.Size() + +func (x *MeteringEntry) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MeteringEntry) XXX_DiscardUnknown() { - xxx_messageInfo_MeteringEntry.DiscardUnknown(m) + +func (*MeteringEntry) ProtoMessage() {} + +func (x *MeteringEntry) ProtoReflect() protoreflect.Message { + mi := &file_api_account_v1_message_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_MeteringEntry proto.InternalMessageInfo +// Deprecated: Use MeteringEntry.ProtoReflect.Descriptor instead. +func (*MeteringEntry) Descriptor() ([]byte, []int) { + return file_api_account_v1_message_proto_rawDescGZIP(), []int{1} +} -func (m *MeteringEntry) GetStartTime() *types.Timestamp { - if m != nil { - return m.StartTime +func (x *MeteringEntry) GetStartTime() *timestamppb.Timestamp { + if x != nil { + return x.StartTime } return nil } -func (m *MeteringEntry) GetEndTime() *types.Timestamp { - if m != nil { - return m.EndTime +func (x *MeteringEntry) GetEndTime() *timestamppb.Timestamp { + if x != nil { + return x.EndTime } return nil } -func (m *MeteringEntry) GetRecords() map[string]*MeteringRecord { - if m != nil { - return m.Records +func (x *MeteringEntry) GetRecords() map[string]*MeteringRecord { + if x != nil { + return x.Records } return nil } -func (m *MeteringEntry) GetUsageByCategory() map[string]*MeteringRecord { - if m != nil { - return m.UsageByCategory +func (x *MeteringEntry) GetUsageByCategory() map[string]*MeteringRecord { + if x != nil { + return x.UsageByCategory } return nil } type NamespaceUsageRecord struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the namespace Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Entry *MeteringEntry `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry,omitempty"` } -func (m *NamespaceUsageRecord) Reset() { *m = NamespaceUsageRecord{} } -func (*NamespaceUsageRecord) ProtoMessage() {} -func (*NamespaceUsageRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_603c66a56913ad55, []int{2} -} -func (m *NamespaceUsageRecord) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NamespaceUsageRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NamespaceUsageRecord.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NamespaceUsageRecord) Reset() { + *x = NamespaceUsageRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_api_account_v1_message_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NamespaceUsageRecord) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamespaceUsageRecord.Merge(m, src) -} -func (m *NamespaceUsageRecord) XXX_Size() int { - return m.Size() + +func (x *NamespaceUsageRecord) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NamespaceUsageRecord) XXX_DiscardUnknown() { - xxx_messageInfo_NamespaceUsageRecord.DiscardUnknown(m) + +func (*NamespaceUsageRecord) ProtoMessage() {} + +func (x *NamespaceUsageRecord) ProtoReflect() protoreflect.Message { + mi := &file_api_account_v1_message_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NamespaceUsageRecord proto.InternalMessageInfo +// Deprecated: Use NamespaceUsageRecord.ProtoReflect.Descriptor instead. +func (*NamespaceUsageRecord) Descriptor() ([]byte, []int) { + return file_api_account_v1_message_proto_rawDescGZIP(), []int{2} +} -func (m *NamespaceUsageRecord) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *NamespaceUsageRecord) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *NamespaceUsageRecord) GetEntry() *MeteringEntry { - if m != nil { - return m.Entry +func (x *NamespaceUsageRecord) GetEntry() *MeteringEntry { + if x != nil { + return x.Entry } return nil } type MetricsSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // enables the endpoint from which clients can scrape all their namespace metrics Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // base64 encoded ca cert(s) used to authenticate clients connecting to the metrics endpoint AcceptedClientCa string `protobuf:"bytes,2,opt,name=accepted_client_ca,json=acceptedClientCa,proto3" json:"accepted_client_ca,omitempty"` } -func (m *MetricsSpec) Reset() { *m = MetricsSpec{} } -func (*MetricsSpec) ProtoMessage() {} -func (*MetricsSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_603c66a56913ad55, []int{3} -} -func (m *MetricsSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MetricsSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MetricsSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *MetricsSpec) Reset() { + *x = MetricsSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_api_account_v1_message_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *MetricsSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_MetricsSpec.Merge(m, src) -} -func (m *MetricsSpec) XXX_Size() int { - return m.Size() + +func (x *MetricsSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MetricsSpec) XXX_DiscardUnknown() { - xxx_messageInfo_MetricsSpec.DiscardUnknown(m) + +func (*MetricsSpec) ProtoMessage() {} + +func (x *MetricsSpec) ProtoReflect() protoreflect.Message { + mi := &file_api_account_v1_message_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_MetricsSpec proto.InternalMessageInfo +// Deprecated: Use MetricsSpec.ProtoReflect.Descriptor instead. +func (*MetricsSpec) Descriptor() ([]byte, []int) { + return file_api_account_v1_message_proto_rawDescGZIP(), []int{3} +} -func (m *MetricsSpec) GetEnabled() bool { - if m != nil { - return m.Enabled +func (x *MetricsSpec) GetEnabled() bool { + if x != nil { + return x.Enabled } return false } -func (m *MetricsSpec) GetAcceptedClientCa() string { - if m != nil { - return m.AcceptedClientCa +func (x *MetricsSpec) GetAcceptedClientCa() string { + if x != nil { + return x.AcceptedClientCa } return "" } type Metrics struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // prometheus metrics endpoint uri (this is only populated if the AccountSpec has metrics enabled) Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` } -func (m *Metrics) Reset() { *m = Metrics{} } -func (*Metrics) ProtoMessage() {} -func (*Metrics) Descriptor() ([]byte, []int) { - return fileDescriptor_603c66a56913ad55, []int{4} -} -func (m *Metrics) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Metrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Metrics.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Metrics) Reset() { + *x = Metrics{} + if protoimpl.UnsafeEnabled { + mi := &file_api_account_v1_message_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Metrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_Metrics.Merge(m, src) -} -func (m *Metrics) XXX_Size() int { - return m.Size() + +func (x *Metrics) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Metrics) XXX_DiscardUnknown() { - xxx_messageInfo_Metrics.DiscardUnknown(m) + +func (*Metrics) ProtoMessage() {} + +func (x *Metrics) ProtoReflect() protoreflect.Message { + mi := &file_api_account_v1_message_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Metrics proto.InternalMessageInfo +// Deprecated: Use Metrics.ProtoReflect.Descriptor instead. +func (*Metrics) Descriptor() ([]byte, []int) { + return file_api_account_v1_message_proto_rawDescGZIP(), []int{4} +} -func (m *Metrics) GetUri() string { - if m != nil { - return m.Uri +func (x *Metrics) GetUri() string { + if x != nil { + return x.Uri } return "" } type AccountSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Metrics *MetricsSpec `protobuf:"bytes,1,opt,name=metrics,proto3" json:"metrics,omitempty"` // output sink specifications keyed on the sink name OutputSinks map[string]*v1.SinkSpec `protobuf:"bytes,3,rep,name=output_sinks,json=outputSinks,proto3" json:"output_sinks,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *AccountSpec) Reset() { *m = AccountSpec{} } -func (*AccountSpec) ProtoMessage() {} -func (*AccountSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_603c66a56913ad55, []int{5} -} -func (m *AccountSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AccountSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AccountSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AccountSpec) Reset() { + *x = AccountSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_api_account_v1_message_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AccountSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountSpec.Merge(m, src) -} -func (m *AccountSpec) XXX_Size() int { - return m.Size() + +func (x *AccountSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AccountSpec) XXX_DiscardUnknown() { - xxx_messageInfo_AccountSpec.DiscardUnknown(m) + +func (*AccountSpec) ProtoMessage() {} + +func (x *AccountSpec) ProtoReflect() protoreflect.Message { + mi := &file_api_account_v1_message_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_AccountSpec proto.InternalMessageInfo +// Deprecated: Use AccountSpec.ProtoReflect.Descriptor instead. +func (*AccountSpec) Descriptor() ([]byte, []int) { + return file_api_account_v1_message_proto_rawDescGZIP(), []int{5} +} -func (m *AccountSpec) GetMetrics() *MetricsSpec { - if m != nil { - return m.Metrics +func (x *AccountSpec) GetMetrics() *MetricsSpec { + if x != nil { + return x.Metrics } return nil } -func (m *AccountSpec) GetOutputSinks() map[string]*v1.SinkSpec { - if m != nil { - return m.OutputSinks +func (x *AccountSpec) GetOutputSinks() map[string]*v1.SinkSpec { + if x != nil { + return x.OutputSinks } return nil } type Account struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the current version of the account specification // the next update request will have to include this version ResourceVersion string `protobuf:"bytes,1,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` @@ -434,9 +548,9 @@ type Account struct { // the id of the request that is creating/updating the account, if any RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // the date and time when the account was created - CreatedTime *types.Timestamp `protobuf:"bytes,5,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` + CreatedTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` // the date and time when the account was last modified - LastModifiedTime *types.Timestamp `protobuf:"bytes,6,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` + LastModifiedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` // information related to account-scope metrics Metrics *Metrics `protobuf:"bytes,7,opt,name=metrics,proto3" json:"metrics,omitempty"` // The external id we use for assuming role. Reference link @@ -450,3360 +564,584 @@ type Account struct { CloudProvidersAvailable []v11.RegionID_CloudProvider `protobuf:"varint,13,rep,packed,name=cloud_providers_available,json=cloudProvidersAvailable,proto3,enum=api.common.v1.RegionID_CloudProvider" json:"cloud_providers_available,omitempty"` } -func (m *Account) Reset() { *m = Account{} } -func (*Account) ProtoMessage() {} -func (*Account) Descriptor() ([]byte, []int) { - return fileDescriptor_603c66a56913ad55, []int{6} -} -func (m *Account) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Account.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Account) Reset() { + *x = Account{} + if protoimpl.UnsafeEnabled { + mi := &file_api_account_v1_message_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Account) XXX_Merge(src proto.Message) { - xxx_messageInfo_Account.Merge(m, src) -} -func (m *Account) XXX_Size() int { - return m.Size() + +func (x *Account) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Account) XXX_DiscardUnknown() { - xxx_messageInfo_Account.DiscardUnknown(m) + +func (*Account) ProtoMessage() {} + +func (x *Account) ProtoReflect() protoreflect.Message { + mi := &file_api_account_v1_message_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Account proto.InternalMessageInfo +// Deprecated: Use Account.ProtoReflect.Descriptor instead. +func (*Account) Descriptor() ([]byte, []int) { + return file_api_account_v1_message_proto_rawDescGZIP(), []int{6} +} -func (m *Account) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *Account) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *Account) GetSpec() *AccountSpec { - if m != nil { - return m.Spec +func (x *Account) GetSpec() *AccountSpec { + if x != nil { + return x.Spec } return nil } -func (m *Account) GetState() State { - if m != nil { - return m.State +func (x *Account) GetState() State { + if x != nil { + return x.State } return STATE_UNSPECIFIED } -func (m *Account) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *Account) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } -func (m *Account) GetCreatedTime() *types.Timestamp { - if m != nil { - return m.CreatedTime +func (x *Account) GetCreatedTime() *timestamppb.Timestamp { + if x != nil { + return x.CreatedTime } return nil } -func (m *Account) GetLastModifiedTime() *types.Timestamp { - if m != nil { - return m.LastModifiedTime +func (x *Account) GetLastModifiedTime() *timestamppb.Timestamp { + if x != nil { + return x.LastModifiedTime } return nil } -func (m *Account) GetMetrics() *Metrics { - if m != nil { - return m.Metrics +func (x *Account) GetMetrics() *Metrics { + if x != nil { + return x.Metrics } return nil } -func (m *Account) GetAwsExternalId() string { - if m != nil { - return m.AwsExternalId +func (x *Account) GetAwsExternalId() string { + if x != nil { + return x.AwsExternalId } return "" } -func (m *Account) GetOutputSinks() map[string]*v1.Sink { - if m != nil { - return m.OutputSinks +func (x *Account) GetOutputSinks() map[string]*v1.Sink { + if x != nil { + return x.OutputSinks } return nil } -func (m *Account) GetGcpSinkSettings() *GCPSinkSettings { - if m != nil { - return m.GcpSinkSettings +func (x *Account) GetGcpSinkSettings() *GCPSinkSettings { + if x != nil { + return x.GcpSinkSettings } return nil } -func (m *Account) GetCloudProvidersAvailable() []v11.RegionID_CloudProvider { - if m != nil { - return m.CloudProvidersAvailable +func (x *Account) GetCloudProvidersAvailable() []v11.RegionID_CloudProvider { + if x != nil { + return x.CloudProvidersAvailable } return nil } -type GCPSinkSettings struct { - ExportInternalServiceAccountEmails []string `protobuf:"bytes,1,rep,name=export_internal_service_account_emails,json=exportInternalServiceAccountEmails,proto3" json:"export_internal_service_account_emails,omitempty"` - AuditlogInternalServiceAccountEmails []string `protobuf:"bytes,2,rep,name=auditlog_internal_service_account_emails,json=auditlogInternalServiceAccountEmails,proto3" json:"auditlog_internal_service_account_emails,omitempty"` -} +type ProjectConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GCPSinkSettings) Reset() { *m = GCPSinkSettings{} } -func (*GCPSinkSettings) ProtoMessage() {} -func (*GCPSinkSettings) Descriptor() ([]byte, []int) { - return fileDescriptor_603c66a56913ad55, []int{7} -} -func (m *GCPSinkSettings) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GCPSinkSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GCPSinkSettings.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *GCPSinkSettings) XXX_Merge(src proto.Message) { - xxx_messageInfo_GCPSinkSettings.Merge(m, src) -} -func (m *GCPSinkSettings) XXX_Size() int { - return m.Size() -} -func (m *GCPSinkSettings) XXX_DiscardUnknown() { - xxx_messageInfo_GCPSinkSettings.DiscardUnknown(m) + // The ID of the Default Project. + DefaultProjectId string `protobuf:"bytes,1,opt,name=default_project_id,json=defaultProjectId,proto3" json:"default_project_id,omitempty"` } -var xxx_messageInfo_GCPSinkSettings proto.InternalMessageInfo - -func (m *GCPSinkSettings) GetExportInternalServiceAccountEmails() []string { - if m != nil { - return m.ExportInternalServiceAccountEmails +func (x *ProjectConfig) Reset() { + *x = ProjectConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_api_account_v1_message_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *GCPSinkSettings) GetAuditlogInternalServiceAccountEmails() []string { - if m != nil { - return m.AuditlogInternalServiceAccountEmails - } - return nil +func (x *ProjectConfig) String() string { + return protoimpl.X.MessageStringOf(x) } -func init() { - proto.RegisterEnum("api.account.v1.State", State_name, State_value) - proto.RegisterEnum("api.account.v1.Period", Period_name, Period_value) - proto.RegisterType((*MeteringRecord)(nil), "api.account.v1.MeteringRecord") - proto.RegisterType((*MeteringEntry)(nil), "api.account.v1.MeteringEntry") - proto.RegisterMapType((map[string]*MeteringRecord)(nil), "api.account.v1.MeteringEntry.RecordsEntry") - proto.RegisterMapType((map[string]*MeteringRecord)(nil), "api.account.v1.MeteringEntry.UsageByCategoryEntry") - proto.RegisterType((*NamespaceUsageRecord)(nil), "api.account.v1.NamespaceUsageRecord") - proto.RegisterType((*MetricsSpec)(nil), "api.account.v1.MetricsSpec") - proto.RegisterType((*Metrics)(nil), "api.account.v1.Metrics") - proto.RegisterType((*AccountSpec)(nil), "api.account.v1.AccountSpec") - proto.RegisterMapType((map[string]*v1.SinkSpec)(nil), "api.account.v1.AccountSpec.OutputSinksEntry") - proto.RegisterType((*Account)(nil), "api.account.v1.Account") - proto.RegisterMapType((map[string]*v1.Sink)(nil), "api.account.v1.Account.OutputSinksEntry") - proto.RegisterType((*GCPSinkSettings)(nil), "api.account.v1.GCPSinkSettings") -} - -func init() { proto.RegisterFile("api/account/v1/message.proto", fileDescriptor_603c66a56913ad55) } - -var fileDescriptor_603c66a56913ad55 = []byte{ - // 1130 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcd, 0x72, 0x1b, 0x45, - 0x17, 0xd5, 0xe8, 0xc7, 0x92, 0xae, 0x6c, 0x69, 0xdc, 0x71, 0x3e, 0x2b, 0x72, 0x32, 0x71, 0xa9, - 0x3e, 0x82, 0x08, 0xa9, 0x11, 0x71, 0x48, 0x15, 0x84, 0x62, 0xa1, 0x48, 0x93, 0xa0, 0x24, 0xb6, - 0xc5, 0xc8, 0x76, 0x41, 0x16, 0x4c, 0xb5, 0x67, 0x3a, 0xaa, 0xae, 0x48, 0x33, 0xc3, 0x4c, 0x8f, - 0x12, 0xef, 0x78, 0x04, 0x36, 0xbc, 0x03, 0x2f, 0xc1, 0x9e, 0xa5, 0x97, 0x59, 0x62, 0x79, 0x01, - 0xcb, 0xc0, 0x13, 0x50, 0xdd, 0xd3, 0x83, 0x7e, 0xfc, 0xc7, 0x82, 0xdd, 0xf4, 0xbd, 0xe7, 0x9e, - 0x7b, 0xfa, 0xf6, 0xe9, 0x96, 0xe0, 0x26, 0xf6, 0x69, 0x13, 0xdb, 0xb6, 0x17, 0xb9, 0xac, 0x39, - 0xbe, 0xdf, 0x1c, 0x91, 0x30, 0xc4, 0x03, 0xa2, 0xfb, 0x81, 0xc7, 0x3c, 0x54, 0xc6, 0x3e, 0xd5, - 0x65, 0x56, 0x1f, 0xdf, 0xaf, 0xdd, 0x1e, 0x78, 0xde, 0x60, 0x48, 0x9a, 0x22, 0x7b, 0x18, 0xbd, - 0x6a, 0x32, 0x3a, 0x22, 0x21, 0xc3, 0x23, 0x3f, 0x2e, 0xa8, 0xdd, 0xe0, 0x74, 0x21, 0x75, 0x5f, - 0x9f, 0xe1, 0xaa, 0x6d, 0xf0, 0x94, 0xed, 0x8d, 0x46, 0x9e, 0x7b, 0x26, 0x59, 0x7f, 0x04, 0xe5, - 0x6d, 0xc2, 0x48, 0x40, 0xdd, 0x81, 0x49, 0x6c, 0x2f, 0x70, 0xd0, 0x1a, 0xe4, 0xc6, 0x78, 0x18, - 0x91, 0xaa, 0xb2, 0xa9, 0x34, 0x14, 0x33, 0x5e, 0x20, 0x04, 0xd9, 0xc8, 0xa5, 0xac, 0x9a, 0xde, - 0x54, 0x1a, 0x45, 0x53, 0x7c, 0xd7, 0x7f, 0xcf, 0xc0, 0x4a, 0x52, 0x6c, 0xb8, 0x2c, 0x38, 0x42, - 0x9f, 0x03, 0x84, 0x0c, 0x07, 0xcc, 0xe2, 0xf2, 0x04, 0x41, 0x69, 0xab, 0xa6, 0xc7, 0xda, 0xf5, - 0x44, 0xbb, 0xbe, 0x97, 0x68, 0x37, 0x8b, 0x02, 0xcd, 0xd7, 0xe8, 0x21, 0x14, 0x88, 0xeb, 0xc4, - 0x85, 0xe9, 0x2b, 0x0b, 0xf3, 0xc4, 0x75, 0x44, 0x59, 0x07, 0xf2, 0x81, 0xd0, 0x1d, 0x56, 0x33, - 0x9b, 0x99, 0x46, 0x69, 0xeb, 0xae, 0x3e, 0x3f, 0x3a, 0x7d, 0x4e, 0xa1, 0x1e, 0x6f, 0x32, 0x14, - 0x0b, 0x33, 0x29, 0x45, 0xdf, 0xc1, 0x6a, 0xc4, 0x87, 0x62, 0x1d, 0x1e, 0x59, 0x36, 0x66, 0x64, - 0xe0, 0x05, 0x47, 0xd5, 0xac, 0xe0, 0xdb, 0xba, 0x9c, 0x6f, 0x9f, 0x97, 0x3d, 0x3e, 0x6a, 0xcb, - 0xa2, 0x98, 0xb7, 0x12, 0xcd, 0x47, 0x6b, 0x2f, 0x61, 0x79, 0xb6, 0x31, 0x52, 0x21, 0xf3, 0x9a, - 0x1c, 0x89, 0x01, 0x15, 0x4d, 0xfe, 0x89, 0x3e, 0x4d, 0xa6, 0x1e, 0xef, 0x5d, 0xbb, 0xa8, 0x6b, - 0x4c, 0x23, 0x4f, 0xe5, 0x51, 0xfa, 0x33, 0xa5, 0x76, 0x08, 0x6b, 0xe7, 0x89, 0xf8, 0x2f, 0x7b, - 0xd4, 0x29, 0xac, 0xed, 0xe0, 0x11, 0x09, 0x7d, 0x6c, 0x13, 0xd1, 0x4c, 0x7a, 0xe5, 0x26, 0x14, - 0xdd, 0x24, 0x2e, 0x3b, 0x4d, 0x03, 0xe8, 0x01, 0xe4, 0x08, 0x97, 0x22, 0xfb, 0xdd, 0xba, 0x74, - 0x92, 0x66, 0x8c, 0xad, 0xef, 0x43, 0x69, 0x9b, 0xb0, 0x80, 0xda, 0x61, 0xdf, 0x27, 0x36, 0xaa, - 0x42, 0x9e, 0xb8, 0xf8, 0x70, 0x48, 0x1c, 0xc1, 0x5f, 0x30, 0x93, 0x25, 0xba, 0x07, 0x08, 0xdb, - 0x36, 0xf1, 0x19, 0x71, 0x2c, 0x7b, 0x48, 0x89, 0xcb, 0x2c, 0x1b, 0x4b, 0x7f, 0xaa, 0x49, 0xa6, - 0x2d, 0x12, 0x6d, 0x5c, 0xdf, 0x80, 0xbc, 0xa4, 0xe5, 0x83, 0x89, 0x02, 0x9a, 0x0c, 0x26, 0x0a, - 0x68, 0xfd, 0x2f, 0x05, 0x4a, 0xad, 0x58, 0x97, 0x68, 0xfa, 0x10, 0xf2, 0xa3, 0x18, 0x2c, 0x3d, - 0xbc, 0x71, 0x8e, 0xf4, 0x44, 0xa2, 0x99, 0x60, 0xd1, 0x2e, 0x2c, 0x7b, 0x11, 0xf3, 0x23, 0x66, - 0xf1, 0x8b, 0x98, 0x18, 0xf2, 0xde, 0x62, 0xed, 0x4c, 0x27, 0x7d, 0x57, 0xe0, 0xfb, 0x1c, 0x1e, - 0x4f, 0xa1, 0xe4, 0x4d, 0x23, 0xb5, 0x7d, 0x50, 0x17, 0x01, 0xe7, 0x1c, 0xeb, 0xc7, 0xf3, 0xc7, - 0x7a, 0x5d, 0xf4, 0xe3, 0x0a, 0x78, 0x33, 0x5e, 0x29, 0x54, 0x4e, 0x4f, 0xf3, 0x59, 0xb6, 0x90, - 0x56, 0x33, 0xf5, 0x3f, 0x73, 0x90, 0x97, 0x52, 0xd0, 0x47, 0xa0, 0x06, 0x24, 0xf4, 0xa2, 0xc0, - 0x26, 0xd6, 0x98, 0x04, 0x21, 0xf5, 0x5c, 0xd9, 0xa1, 0x92, 0xc4, 0x0f, 0xe2, 0x30, 0x6a, 0x42, - 0x36, 0xf4, 0x89, 0x2d, 0x9b, 0x6d, 0x5c, 0xb2, 0x39, 0x53, 0x00, 0xb9, 0xbc, 0x90, 0x61, 0x46, - 0xaa, 0x99, 0x4d, 0xa5, 0x51, 0x96, 0xf2, 0x66, 0x2a, 0xfa, 0x3c, 0x69, 0xc6, 0x18, 0x74, 0x0b, - 0x20, 0x20, 0xdf, 0x47, 0x24, 0x64, 0x16, 0x75, 0xaa, 0xd9, 0xd8, 0x51, 0x32, 0xd2, 0x75, 0xd0, - 0x97, 0xb0, 0x6c, 0x07, 0x04, 0xf3, 0x23, 0x17, 0x0f, 0x45, 0xee, 0xca, 0x87, 0xa2, 0x24, 0xf1, - 0xe2, 0xb1, 0xf8, 0x0a, 0xd0, 0x10, 0x87, 0xcc, 0x1a, 0x79, 0x0e, 0x7d, 0x45, 0x13, 0x92, 0xa5, - 0x2b, 0x49, 0x54, 0x5e, 0xb5, 0x2d, 0x8b, 0x04, 0xd3, 0xfd, 0xa9, 0x43, 0xf2, 0xa2, 0x7c, 0xfd, - 0x02, 0x87, 0x4c, 0xdd, 0x71, 0x07, 0x2a, 0xf8, 0x4d, 0x68, 0x91, 0xb7, 0x8c, 0x04, 0x2e, 0x1e, - 0xf2, 0xfd, 0x15, 0xc5, 0xfe, 0x56, 0xf0, 0x9b, 0xd0, 0x90, 0xd1, 0xae, 0x83, 0x9e, 0x2f, 0xb8, - 0x08, 0x84, 0x8b, 0x1a, 0x17, 0x0c, 0xfa, 0x72, 0x07, 0xa1, 0xe7, 0xb0, 0x3a, 0xb0, 0x7d, 0xc1, - 0x64, 0x85, 0x84, 0x31, 0xea, 0x0e, 0xc2, 0x6a, 0x49, 0x28, 0xbe, 0xbd, 0xc8, 0xf8, 0xb4, 0xdd, - 0x13, 0x6e, 0x91, 0x30, 0xb3, 0x32, 0xb0, 0xfd, 0xd9, 0x00, 0xc2, 0x70, 0xc3, 0x1e, 0x7a, 0x91, - 0x63, 0xf9, 0x81, 0x37, 0xa6, 0x0e, 0x09, 0x42, 0x0b, 0x8f, 0x31, 0x1d, 0xf2, 0xfb, 0x58, 0x5d, - 0xd9, 0xcc, 0x34, 0xca, 0x5b, 0x1f, 0x08, 0xd2, 0xf8, 0xc7, 0x86, 0x73, 0x9a, 0x64, 0x40, 0x3d, - 0xb7, 0xdb, 0xd1, 0xdb, 0xbc, 0xb0, 0x27, 0xeb, 0xcc, 0x75, 0x7b, 0x76, 0x19, 0xb6, 0x12, 0x96, - 0xda, 0xd7, 0xff, 0xca, 0xf1, 0x1f, 0xce, 0x3b, 0x7e, 0xf5, 0x8c, 0xe3, 0xe7, 0xdd, 0x5e, 0x50, - 0x8b, 0xcf, 0xb2, 0x85, 0x65, 0x75, 0xa5, 0xfe, 0x8b, 0x02, 0x95, 0x85, 0x6d, 0x22, 0x13, 0xee, - 0x90, 0xb7, 0xbe, 0x17, 0x30, 0x8b, 0xba, 0xf2, 0x68, 0x42, 0x12, 0x8c, 0xa9, 0x4d, 0x2c, 0x39, - 0x1c, 0x8b, 0x8c, 0x30, 0x1d, 0xf2, 0xb7, 0x20, 0xd3, 0x28, 0x9a, 0xf5, 0x18, 0xdd, 0x95, 0xe0, - 0x7e, 0x8c, 0x95, 0xc7, 0x61, 0x08, 0x24, 0x3a, 0x80, 0x06, 0x8e, 0x1c, 0xca, 0x86, 0xde, 0xe0, - 0x4a, 0xd6, 0xb4, 0x60, 0xfd, 0x7f, 0x82, 0xbf, 0x8c, 0xf7, 0xee, 0x4f, 0x69, 0xc8, 0x89, 0xfb, - 0x82, 0xae, 0xc3, 0x6a, 0x7f, 0xaf, 0xb5, 0x67, 0x58, 0xfb, 0x3b, 0xfd, 0x9e, 0xd1, 0xee, 0x3e, - 0xe9, 0x1a, 0x1d, 0x35, 0x85, 0xd6, 0x40, 0x8d, 0xc3, 0xad, 0xf6, 0x5e, 0xf7, 0xa0, 0xb5, 0xd7, - 0xdd, 0x79, 0xaa, 0x2a, 0x68, 0x03, 0xd6, 0xe7, 0xa3, 0xbb, 0x3b, 0xd6, 0x93, 0x56, 0xf7, 0x85, - 0xd1, 0x51, 0xd3, 0x48, 0x85, 0xe5, 0x99, 0xa4, 0xa1, 0x66, 0x10, 0x82, 0xb2, 0xe4, 0xee, 0x75, - 0x62, 0x8a, 0x2c, 0x5a, 0x87, 0x6b, 0x33, 0x31, 0x23, 0x29, 0xcf, 0x4d, 0xc1, 0x1d, 0xe3, 0x85, - 0x21, 0xc0, 0x4b, 0x53, 0xb0, 0x88, 0xfd, 0x03, 0xce, 0xa3, 0x55, 0x58, 0x99, 0x4d, 0x74, 0xd4, - 0xc2, 0x54, 0x71, 0x7f, 0xbf, 0xdf, 0x33, 0x76, 0x3a, 0x9c, 0xa1, 0x88, 0xaa, 0xb0, 0x36, 0x17, - 0x4d, 0x28, 0x00, 0x5d, 0x83, 0xca, 0x5c, 0xc6, 0xe8, 0xa8, 0xa5, 0xbb, 0x9f, 0xc0, 0x52, 0x8f, - 0x04, 0xd4, 0x73, 0xd0, 0xff, 0x00, 0xf5, 0x0c, 0xb3, 0xbb, 0xdb, 0x59, 0x18, 0x4c, 0x19, 0x40, - 0xc6, 0x3b, 0xad, 0x6f, 0x55, 0xe5, 0xf1, 0x37, 0xc7, 0x27, 0x5a, 0xea, 0xdd, 0x89, 0x96, 0x7a, - 0x7f, 0xa2, 0x29, 0x3f, 0x4c, 0x34, 0xe5, 0xe7, 0x89, 0xa6, 0xfc, 0x3a, 0xd1, 0x94, 0xe3, 0x89, - 0xa6, 0xfc, 0x36, 0xd1, 0x94, 0x3f, 0x26, 0x5a, 0xea, 0xfd, 0x44, 0x53, 0x7e, 0x3c, 0xd5, 0x52, - 0xc7, 0xa7, 0x5a, 0xea, 0xdd, 0xa9, 0x96, 0x7a, 0x59, 0x67, 0x23, 0x3f, 0x18, 0xea, 0xc2, 0xbd, - 0xcd, 0xf9, 0x3f, 0x70, 0x5f, 0xc8, 0xcf, 0xc3, 0x25, 0xf1, 0x80, 0x3c, 0xf8, 0x3b, 0x00, 0x00, - 0xff, 0xff, 0xee, 0x3d, 0x97, 0xe6, 0xe1, 0x09, 0x00, 0x00, -} +func (*ProjectConfig) ProtoMessage() {} -func (x State) String() string { - s, ok := State_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x Period) String() string { - s, ok := Period_name[int32(x)] - if ok { - return s +func (x *ProjectConfig) ProtoReflect() protoreflect.Message { + mi := &file_api_account_v1_message_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return strconv.Itoa(int(x)) + return mi.MessageOf(x) } -func (this *MeteringRecord) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*MeteringRecord) - if !ok { - that2, ok := that.(MeteringRecord) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Value != that1.Value { - return false - } - if this.Unit != that1.Unit { - return false - } - return true +// Deprecated: Use ProjectConfig.ProtoReflect.Descriptor instead. +func (*ProjectConfig) Descriptor() ([]byte, []int) { + return file_api_account_v1_message_proto_rawDescGZIP(), []int{7} } -func (this *MeteringEntry) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*MeteringEntry) - if !ok { - that2, ok := that.(MeteringEntry) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.StartTime.Equal(that1.StartTime) { - return false - } - if !this.EndTime.Equal(that1.EndTime) { - return false - } - if len(this.Records) != len(that1.Records) { - return false - } - for i := range this.Records { - if !this.Records[i].Equal(that1.Records[i]) { - return false - } +func (x *ProjectConfig) GetDefaultProjectId() string { + if x != nil { + return x.DefaultProjectId } - if len(this.UsageByCategory) != len(that1.UsageByCategory) { - return false - } - for i := range this.UsageByCategory { - if !this.UsageByCategory[i].Equal(that1.UsageByCategory[i]) { - return false - } - } - return true + return "" } -func (this *NamespaceUsageRecord) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*NamespaceUsageRecord) - if !ok { - that2, ok := that.(NamespaceUsageRecord) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if !this.Entry.Equal(that1.Entry) { - return false - } - return true +type GCPSinkSettings struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ExportInternalServiceAccountEmails []string `protobuf:"bytes,1,rep,name=export_internal_service_account_emails,json=exportInternalServiceAccountEmails,proto3" json:"export_internal_service_account_emails,omitempty"` + AuditlogInternalServiceAccountEmails []string `protobuf:"bytes,2,rep,name=auditlog_internal_service_account_emails,json=auditlogInternalServiceAccountEmails,proto3" json:"auditlog_internal_service_account_emails,omitempty"` } -func (this *MetricsSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*MetricsSpec) - if !ok { - that2, ok := that.(MetricsSpec) - if ok { - that1 = &that2 - } else { - return false - } +func (x *GCPSinkSettings) Reset() { + *x = GCPSinkSettings{} + if protoimpl.UnsafeEnabled { + mi := &file_api_account_v1_message_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Enabled != that1.Enabled { - return false - } - if this.AcceptedClientCa != that1.AcceptedClientCa { - return false - } - return true } -func (this *Metrics) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*Metrics) - if !ok { - that2, ok := that.(Metrics) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Uri != that1.Uri { - return false - } - return true +func (x *GCPSinkSettings) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *AccountSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*AccountSpec) - if !ok { - that2, ok := that.(AccountSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Metrics.Equal(that1.Metrics) { - return false - } - if len(this.OutputSinks) != len(that1.OutputSinks) { - return false - } - for i := range this.OutputSinks { - if !this.OutputSinks[i].Equal(that1.OutputSinks[i]) { - return false +func (*GCPSinkSettings) ProtoMessage() {} + +func (x *GCPSinkSettings) ProtoReflect() protoreflect.Message { + mi := &file_api_account_v1_message_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - return true + return mi.MessageOf(x) } -func (this *Account) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*Account) - if !ok { - that2, ok := that.(Account) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.State != that1.State { - return false - } - if this.RequestId != that1.RequestId { - return false - } - if !this.CreatedTime.Equal(that1.CreatedTime) { - return false - } - if !this.LastModifiedTime.Equal(that1.LastModifiedTime) { - return false - } - if !this.Metrics.Equal(that1.Metrics) { - return false - } - if this.AwsExternalId != that1.AwsExternalId { - return false - } - if len(this.OutputSinks) != len(that1.OutputSinks) { - return false - } - for i := range this.OutputSinks { - if !this.OutputSinks[i].Equal(that1.OutputSinks[i]) { - return false - } - } - if !this.GcpSinkSettings.Equal(that1.GcpSinkSettings) { - return false - } - if len(this.CloudProvidersAvailable) != len(that1.CloudProvidersAvailable) { - return false - } - for i := range this.CloudProvidersAvailable { - if this.CloudProvidersAvailable[i] != that1.CloudProvidersAvailable[i] { - return false - } - } - return true +// Deprecated: Use GCPSinkSettings.ProtoReflect.Descriptor instead. +func (*GCPSinkSettings) Descriptor() ([]byte, []int) { + return file_api_account_v1_message_proto_rawDescGZIP(), []int{8} } -func (this *GCPSinkSettings) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GCPSinkSettings) - if !ok { - that2, ok := that.(GCPSinkSettings) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.ExportInternalServiceAccountEmails) != len(that1.ExportInternalServiceAccountEmails) { - return false +func (x *GCPSinkSettings) GetExportInternalServiceAccountEmails() []string { + if x != nil { + return x.ExportInternalServiceAccountEmails } - for i := range this.ExportInternalServiceAccountEmails { - if this.ExportInternalServiceAccountEmails[i] != that1.ExportInternalServiceAccountEmails[i] { - return false - } - } - if len(this.AuditlogInternalServiceAccountEmails) != len(that1.AuditlogInternalServiceAccountEmails) { - return false - } - for i := range this.AuditlogInternalServiceAccountEmails { - if this.AuditlogInternalServiceAccountEmails[i] != that1.AuditlogInternalServiceAccountEmails[i] { - return false - } - } - return true + return nil } -func (this *MeteringRecord) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&account.MeteringRecord{") - s = append(s, "Value: "+fmt.Sprintf("%#v", this.Value)+",\n") - s = append(s, "Unit: "+fmt.Sprintf("%#v", this.Unit)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *MeteringEntry) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&account.MeteringEntry{") - if this.StartTime != nil { - s = append(s, "StartTime: "+fmt.Sprintf("%#v", this.StartTime)+",\n") - } - if this.EndTime != nil { - s = append(s, "EndTime: "+fmt.Sprintf("%#v", this.EndTime)+",\n") - } - keysForRecords := make([]string, 0, len(this.Records)) - for k, _ := range this.Records { - keysForRecords = append(keysForRecords, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForRecords) - mapStringForRecords := "map[string]*MeteringRecord{" - for _, k := range keysForRecords { - mapStringForRecords += fmt.Sprintf("%#v: %#v,", k, this.Records[k]) - } - mapStringForRecords += "}" - if this.Records != nil { - s = append(s, "Records: "+mapStringForRecords+",\n") - } - keysForUsageByCategory := make([]string, 0, len(this.UsageByCategory)) - for k, _ := range this.UsageByCategory { - keysForUsageByCategory = append(keysForUsageByCategory, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForUsageByCategory) - mapStringForUsageByCategory := "map[string]*MeteringRecord{" - for _, k := range keysForUsageByCategory { - mapStringForUsageByCategory += fmt.Sprintf("%#v: %#v,", k, this.UsageByCategory[k]) - } - mapStringForUsageByCategory += "}" - if this.UsageByCategory != nil { - s = append(s, "UsageByCategory: "+mapStringForUsageByCategory+",\n") + +func (x *GCPSinkSettings) GetAuditlogInternalServiceAccountEmails() []string { + if x != nil { + return x.AuditlogInternalServiceAccountEmails } - s = append(s, "}") - return strings.Join(s, "") + return nil } -func (this *NamespaceUsageRecord) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&account.NamespaceUsageRecord{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - if this.Entry != nil { - s = append(s, "Entry: "+fmt.Sprintf("%#v", this.Entry)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") + +var File_api_account_v1_message_proto protoreflect.FileDescriptor + +var file_api_account_v1_message_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2f, 0x76, 0x31, + 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, + 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x1f, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x19, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x69, 0x6e, 0x6b, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x61, 0x70, 0x69, 0x2f, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3a, 0x0a, 0x0e, 0x4d, 0x65, 0x74, 0x65, 0x72, + 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, + 0x12, 0x0a, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, + 0x6e, 0x69, 0x74, 0x22, 0xe7, 0x03, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, + 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x07, 0x72, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x65, 0x72, 0x69, + 0x6e, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x5e, 0x0a, + 0x11, 0x75, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x62, 0x79, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, + 0x72, 0x79, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x65, 0x72, 0x69, + 0x6e, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x55, 0x73, 0x61, 0x67, 0x65, 0x42, 0x79, 0x43, + 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x75, 0x73, + 0x61, 0x67, 0x65, 0x42, 0x79, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x1a, 0x5a, 0x0a, + 0x0c, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x34, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, + 0x4d, 0x65, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x62, 0x0a, 0x14, 0x55, 0x73, 0x61, + 0x67, 0x65, 0x42, 0x79, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x34, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x6f, + 0x72, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x69, 0x0a, + 0x14, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x22, 0x55, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x73, 0x53, 0x70, 0x65, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, + 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x61, 0x22, + 0x1b, 0x0a, 0x07, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, + 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x22, 0xf2, 0x01, 0x0a, + 0x0b, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x12, 0x35, 0x0a, 0x07, + 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, + 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x70, 0x65, 0x63, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x73, 0x12, 0x4f, 0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x73, 0x69, + 0x6e, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x53, 0x69, 0x6e, + 0x6b, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x53, + 0x69, 0x6e, 0x6b, 0x73, 0x1a, 0x55, 0x0a, 0x10, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x53, 0x69, + 0x6e, 0x6b, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2b, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x73, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x69, 0x6e, 0x6b, 0x53, 0x70, 0x65, 0x63, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x4a, 0x04, 0x08, 0x02, 0x10, + 0x03, 0x22, 0xf1, 0x05, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x29, 0x0a, + 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, + 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x2b, 0x0a, 0x05, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x6f, 0x64, + 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x6c, 0x61, + 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x31, + 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, + 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x61, 0x77, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x77, 0x73, 0x45, + 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x4b, 0x0a, 0x0c, 0x6f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x28, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, + 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x53, + 0x69, 0x6e, 0x6b, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, + 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x4b, 0x0a, 0x11, 0x67, 0x63, 0x70, 0x5f, 0x73, 0x69, + 0x6e, 0x6b, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x43, 0x50, 0x53, 0x69, 0x6e, 0x6b, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x52, 0x0f, 0x67, 0x63, 0x70, 0x53, 0x69, 0x6e, 0x6b, 0x53, 0x65, 0x74, 0x74, 0x69, + 0x6e, 0x67, 0x73, 0x12, 0x61, 0x0a, 0x19, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x5f, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, + 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x2e, + 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x17, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x41, 0x76, 0x61, + 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x1a, 0x51, 0x0a, 0x10, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, + 0x53, 0x69, 0x6e, 0x6b, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x27, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x73, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x4a, + 0x04, 0x08, 0x0c, 0x10, 0x0d, 0x22, 0x3d, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2c, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, + 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x10, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x49, 0x64, 0x22, 0xbd, 0x01, 0x0a, 0x0f, 0x47, 0x43, 0x50, 0x53, 0x69, 0x6e, 0x6b, + 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x52, 0x0a, 0x26, 0x65, 0x78, 0x70, 0x6f, + 0x72, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x65, 0x6d, 0x61, 0x69, + 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x22, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, + 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x56, 0x0a, 0x28, + 0x61, 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x24, + 0x61, 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6d, + 0x61, 0x69, 0x6c, 0x73, 0x2a, 0x95, 0x02, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, + 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, + 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x41, + 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, + 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x41, 0x54, + 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, + 0x41, 0x54, 0x45, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x17, + 0x0a, 0x13, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x46, + 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x45, + 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, + 0x45, 0x44, 0x10, 0x07, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x45, + 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x54, 0x41, 0x54, 0x45, + 0x5f, 0x53, 0x55, 0x53, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x09, 0x12, 0x18, 0x0a, + 0x14, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x55, 0x53, 0x50, 0x45, 0x4e, 0x44, 0x5f, 0x46, + 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x54, 0x45, + 0x5f, 0x53, 0x55, 0x53, 0x50, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x0b, 0x2a, 0x30, 0x0a, 0x06, + 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x45, 0x52, 0x49, 0x4f, 0x44, + 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, + 0x0a, 0x0a, 0x50, 0x45, 0x52, 0x49, 0x4f, 0x44, 0x5f, 0x44, 0x41, 0x59, 0x10, 0x01, 0x42, 0xa0, + 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x22, 0x74, 0x6d, 0x70, 0x72, 0x6c, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2f, 0x76, + 0x31, 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0xa2, 0x02, 0x03, 0x41, 0x41, 0x58, 0xaa, + 0x02, 0x0e, 0x41, 0x70, 0x69, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x56, 0x31, + 0xca, 0x02, 0x0e, 0x41, 0x70, 0x69, 0x5c, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5c, 0x56, + 0x31, 0xe2, 0x02, 0x1a, 0x41, 0x70, 0x69, 0x5c, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5c, + 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x10, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x3a, 0x56, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func (this *MetricsSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&account.MetricsSpec{") - s = append(s, "Enabled: "+fmt.Sprintf("%#v", this.Enabled)+",\n") - s = append(s, "AcceptedClientCa: "+fmt.Sprintf("%#v", this.AcceptedClientCa)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *Metrics) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&account.Metrics{") - s = append(s, "Uri: "+fmt.Sprintf("%#v", this.Uri)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *AccountSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&account.AccountSpec{") - if this.Metrics != nil { - s = append(s, "Metrics: "+fmt.Sprintf("%#v", this.Metrics)+",\n") - } - keysForOutputSinks := make([]string, 0, len(this.OutputSinks)) - for k, _ := range this.OutputSinks { - keysForOutputSinks = append(keysForOutputSinks, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForOutputSinks) - mapStringForOutputSinks := "map[string]*v1.SinkSpec{" - for _, k := range keysForOutputSinks { - mapStringForOutputSinks += fmt.Sprintf("%#v: %#v,", k, this.OutputSinks[k]) - } - mapStringForOutputSinks += "}" - if this.OutputSinks != nil { - s = append(s, "OutputSinks: "+mapStringForOutputSinks+",\n") - } - s = append(s, "}") - return strings.Join(s, "") + +var ( + file_api_account_v1_message_proto_rawDescOnce sync.Once + file_api_account_v1_message_proto_rawDescData = file_api_account_v1_message_proto_rawDesc +) + +func file_api_account_v1_message_proto_rawDescGZIP() []byte { + file_api_account_v1_message_proto_rawDescOnce.Do(func() { + file_api_account_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_account_v1_message_proto_rawDescData) + }) + return file_api_account_v1_message_proto_rawDescData +} + +var file_api_account_v1_message_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_api_account_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 13) +var file_api_account_v1_message_proto_goTypes = []interface{}{ + (State)(0), // 0: api.account.v1.State + (Period)(0), // 1: api.account.v1.Period + (*MeteringRecord)(nil), // 2: api.account.v1.MeteringRecord + (*MeteringEntry)(nil), // 3: api.account.v1.MeteringEntry + (*NamespaceUsageRecord)(nil), // 4: api.account.v1.NamespaceUsageRecord + (*MetricsSpec)(nil), // 5: api.account.v1.MetricsSpec + (*Metrics)(nil), // 6: api.account.v1.Metrics + (*AccountSpec)(nil), // 7: api.account.v1.AccountSpec + (*Account)(nil), // 8: api.account.v1.Account + (*ProjectConfig)(nil), // 9: api.account.v1.ProjectConfig + (*GCPSinkSettings)(nil), // 10: api.account.v1.GCPSinkSettings + nil, // 11: api.account.v1.MeteringEntry.RecordsEntry + nil, // 12: api.account.v1.MeteringEntry.UsageByCategoryEntry + nil, // 13: api.account.v1.AccountSpec.OutputSinksEntry + nil, // 14: api.account.v1.Account.OutputSinksEntry + (*timestamppb.Timestamp)(nil), // 15: google.protobuf.Timestamp + (v11.RegionID_CloudProvider)(0), // 16: api.common.v1.RegionID.CloudProvider + (*v1.SinkSpec)(nil), // 17: api.sink.v1.SinkSpec + (*v1.Sink)(nil), // 18: api.sink.v1.Sink +} +var file_api_account_v1_message_proto_depIdxs = []int32{ + 15, // 0: api.account.v1.MeteringEntry.start_time:type_name -> google.protobuf.Timestamp + 15, // 1: api.account.v1.MeteringEntry.end_time:type_name -> google.protobuf.Timestamp + 11, // 2: api.account.v1.MeteringEntry.records:type_name -> api.account.v1.MeteringEntry.RecordsEntry + 12, // 3: api.account.v1.MeteringEntry.usage_by_category:type_name -> api.account.v1.MeteringEntry.UsageByCategoryEntry + 3, // 4: api.account.v1.NamespaceUsageRecord.entry:type_name -> api.account.v1.MeteringEntry + 5, // 5: api.account.v1.AccountSpec.metrics:type_name -> api.account.v1.MetricsSpec + 13, // 6: api.account.v1.AccountSpec.output_sinks:type_name -> api.account.v1.AccountSpec.OutputSinksEntry + 7, // 7: api.account.v1.Account.spec:type_name -> api.account.v1.AccountSpec + 0, // 8: api.account.v1.Account.state:type_name -> api.account.v1.State + 15, // 9: api.account.v1.Account.created_time:type_name -> google.protobuf.Timestamp + 15, // 10: api.account.v1.Account.last_modified_time:type_name -> google.protobuf.Timestamp + 6, // 11: api.account.v1.Account.metrics:type_name -> api.account.v1.Metrics + 14, // 12: api.account.v1.Account.output_sinks:type_name -> api.account.v1.Account.OutputSinksEntry + 10, // 13: api.account.v1.Account.gcp_sink_settings:type_name -> api.account.v1.GCPSinkSettings + 16, // 14: api.account.v1.Account.cloud_providers_available:type_name -> api.common.v1.RegionID.CloudProvider + 2, // 15: api.account.v1.MeteringEntry.RecordsEntry.value:type_name -> api.account.v1.MeteringRecord + 2, // 16: api.account.v1.MeteringEntry.UsageByCategoryEntry.value:type_name -> api.account.v1.MeteringRecord + 17, // 17: api.account.v1.AccountSpec.OutputSinksEntry.value:type_name -> api.sink.v1.SinkSpec + 18, // 18: api.account.v1.Account.OutputSinksEntry.value:type_name -> api.sink.v1.Sink + 19, // [19:19] is the sub-list for method output_type + 19, // [19:19] is the sub-list for method input_type + 19, // [19:19] is the sub-list for extension type_name + 19, // [19:19] is the sub-list for extension extendee + 0, // [0:19] is the sub-list for field type_name +} + +func init() { file_api_account_v1_message_proto_init() } +func file_api_account_v1_message_proto_init() { + if File_api_account_v1_message_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_api_account_v1_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MeteringRecord); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_account_v1_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MeteringEntry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_account_v1_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceUsageRecord); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_account_v1_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_account_v1_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Metrics); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_account_v1_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_account_v1_message_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Account); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_account_v1_message_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_account_v1_message_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GCPSinkSettings); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_api_account_v1_message_proto_rawDesc, + NumEnums: 2, + NumMessages: 13, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_api_account_v1_message_proto_goTypes, + DependencyIndexes: file_api_account_v1_message_proto_depIdxs, + EnumInfos: file_api_account_v1_message_proto_enumTypes, + MessageInfos: file_api_account_v1_message_proto_msgTypes, + }.Build() + File_api_account_v1_message_proto = out.File + file_api_account_v1_message_proto_rawDesc = nil + file_api_account_v1_message_proto_goTypes = nil + file_api_account_v1_message_proto_depIdxs = nil } -func (this *Account) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 15) - s = append(s, "&account.Account{") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - if this.CreatedTime != nil { - s = append(s, "CreatedTime: "+fmt.Sprintf("%#v", this.CreatedTime)+",\n") - } - if this.LastModifiedTime != nil { - s = append(s, "LastModifiedTime: "+fmt.Sprintf("%#v", this.LastModifiedTime)+",\n") - } - if this.Metrics != nil { - s = append(s, "Metrics: "+fmt.Sprintf("%#v", this.Metrics)+",\n") - } - s = append(s, "AwsExternalId: "+fmt.Sprintf("%#v", this.AwsExternalId)+",\n") - keysForOutputSinks := make([]string, 0, len(this.OutputSinks)) - for k, _ := range this.OutputSinks { - keysForOutputSinks = append(keysForOutputSinks, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForOutputSinks) - mapStringForOutputSinks := "map[string]*v1.Sink{" - for _, k := range keysForOutputSinks { - mapStringForOutputSinks += fmt.Sprintf("%#v: %#v,", k, this.OutputSinks[k]) - } - mapStringForOutputSinks += "}" - if this.OutputSinks != nil { - s = append(s, "OutputSinks: "+mapStringForOutputSinks+",\n") - } - if this.GcpSinkSettings != nil { - s = append(s, "GcpSinkSettings: "+fmt.Sprintf("%#v", this.GcpSinkSettings)+",\n") - } - s = append(s, "CloudProvidersAvailable: "+fmt.Sprintf("%#v", this.CloudProvidersAvailable)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GCPSinkSettings) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&account.GCPSinkSettings{") - s = append(s, "ExportInternalServiceAccountEmails: "+fmt.Sprintf("%#v", this.ExportInternalServiceAccountEmails)+",\n") - s = append(s, "AuditlogInternalServiceAccountEmails: "+fmt.Sprintf("%#v", this.AuditlogInternalServiceAccountEmails)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func valueToGoStringMessage(v interface{}, typ string) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) -} -func (m *MeteringRecord) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MeteringRecord) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MeteringRecord) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Unit) > 0 { - i -= len(m.Unit) - copy(dAtA[i:], m.Unit) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Unit))) - i-- - dAtA[i] = 0x12 - } - if m.Value != 0 { - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value)))) - i-- - dAtA[i] = 0x9 - } - return len(dAtA) - i, nil -} - -func (m *MeteringEntry) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MeteringEntry) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MeteringEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.UsageByCategory) > 0 { - for k := range m.UsageByCategory { - v := m.UsageByCategory[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintMessage(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintMessage(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x22 - } - } - if len(m.Records) > 0 { - for k := range m.Records { - v := m.Records[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintMessage(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintMessage(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x1a - } - } - if m.EndTime != nil { - { - size, err := m.EndTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.StartTime != nil { - { - size, err := m.StartTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *NamespaceUsageRecord) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NamespaceUsageRecord) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NamespaceUsageRecord) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Entry != nil { - { - size, err := m.Entry.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MetricsSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MetricsSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MetricsSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AcceptedClientCa) > 0 { - i -= len(m.AcceptedClientCa) - copy(dAtA[i:], m.AcceptedClientCa) - i = encodeVarintMessage(dAtA, i, uint64(len(m.AcceptedClientCa))) - i-- - dAtA[i] = 0x12 - } - if m.Enabled { - i-- - if m.Enabled { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *Metrics) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Metrics) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Metrics) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Uri) > 0 { - i -= len(m.Uri) - copy(dAtA[i:], m.Uri) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Uri))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AccountSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AccountSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AccountSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.OutputSinks) > 0 { - for k := range m.OutputSinks { - v := m.OutputSinks[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintMessage(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintMessage(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x1a - } - } - if m.Metrics != nil { - { - size, err := m.Metrics.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Account) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Account) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Account) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.CloudProvidersAvailable) > 0 { - dAtA9 := make([]byte, len(m.CloudProvidersAvailable)*10) - var j8 int - for _, num := range m.CloudProvidersAvailable { - for num >= 1<<7 { - dAtA9[j8] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j8++ - } - dAtA9[j8] = uint8(num) - j8++ - } - i -= j8 - copy(dAtA[i:], dAtA9[:j8]) - i = encodeVarintMessage(dAtA, i, uint64(j8)) - i-- - dAtA[i] = 0x6a - } - if m.GcpSinkSettings != nil { - { - size, err := m.GcpSinkSettings.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x5a - } - if len(m.OutputSinks) > 0 { - for k := range m.OutputSinks { - v := m.OutputSinks[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintMessage(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintMessage(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x52 - } - } - if len(m.AwsExternalId) > 0 { - i -= len(m.AwsExternalId) - copy(dAtA[i:], m.AwsExternalId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.AwsExternalId))) - i-- - dAtA[i] = 0x4a - } - if m.Metrics != nil { - { - size, err := m.Metrics.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if m.LastModifiedTime != nil { - { - size, err := m.LastModifiedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if m.CreatedTime != nil { - { - size, err := m.CreatedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x22 - } - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x18 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GCPSinkSettings) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GCPSinkSettings) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GCPSinkSettings) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AuditlogInternalServiceAccountEmails) > 0 { - for iNdEx := len(m.AuditlogInternalServiceAccountEmails) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.AuditlogInternalServiceAccountEmails[iNdEx]) - copy(dAtA[i:], m.AuditlogInternalServiceAccountEmails[iNdEx]) - i = encodeVarintMessage(dAtA, i, uint64(len(m.AuditlogInternalServiceAccountEmails[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if len(m.ExportInternalServiceAccountEmails) > 0 { - for iNdEx := len(m.ExportInternalServiceAccountEmails) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ExportInternalServiceAccountEmails[iNdEx]) - copy(dAtA[i:], m.ExportInternalServiceAccountEmails[iNdEx]) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ExportInternalServiceAccountEmails[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func encodeVarintMessage(dAtA []byte, offset int, v uint64) int { - offset -= sovMessage(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *MeteringRecord) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Value != 0 { - n += 9 - } - l = len(m.Unit) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *MeteringEntry) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.StartTime != nil { - l = m.StartTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.EndTime != nil { - l = m.EndTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if len(m.Records) > 0 { - for k, v := range m.Records { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovMessage(uint64(l)) - } - mapEntrySize := 1 + len(k) + sovMessage(uint64(len(k))) + l - n += mapEntrySize + 1 + sovMessage(uint64(mapEntrySize)) - } - } - if len(m.UsageByCategory) > 0 { - for k, v := range m.UsageByCategory { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovMessage(uint64(l)) - } - mapEntrySize := 1 + len(k) + sovMessage(uint64(len(k))) + l - n += mapEntrySize + 1 + sovMessage(uint64(mapEntrySize)) - } - } - return n -} - -func (m *NamespaceUsageRecord) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Entry != nil { - l = m.Entry.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *MetricsSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Enabled { - n += 2 - } - l = len(m.AcceptedClientCa) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *Metrics) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Uri) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *AccountSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metrics != nil { - l = m.Metrics.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if len(m.OutputSinks) > 0 { - for k, v := range m.OutputSinks { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovMessage(uint64(l)) - } - mapEntrySize := 1 + len(k) + sovMessage(uint64(len(k))) + l - n += mapEntrySize + 1 + sovMessage(uint64(mapEntrySize)) - } - } - return n -} - -func (m *Account) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.CreatedTime != nil { - l = m.CreatedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.LastModifiedTime != nil { - l = m.LastModifiedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.Metrics != nil { - l = m.Metrics.Size() - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.AwsExternalId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if len(m.OutputSinks) > 0 { - for k, v := range m.OutputSinks { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovMessage(uint64(l)) - } - mapEntrySize := 1 + len(k) + sovMessage(uint64(len(k))) + l - n += mapEntrySize + 1 + sovMessage(uint64(mapEntrySize)) - } - } - if m.GcpSinkSettings != nil { - l = m.GcpSinkSettings.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if len(m.CloudProvidersAvailable) > 0 { - l = 0 - for _, e := range m.CloudProvidersAvailable { - l += sovMessage(uint64(e)) - } - n += 1 + sovMessage(uint64(l)) + l - } - return n -} - -func (m *GCPSinkSettings) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.ExportInternalServiceAccountEmails) > 0 { - for _, s := range m.ExportInternalServiceAccountEmails { - l = len(s) - n += 1 + l + sovMessage(uint64(l)) - } - } - if len(m.AuditlogInternalServiceAccountEmails) > 0 { - for _, s := range m.AuditlogInternalServiceAccountEmails { - l = len(s) - n += 1 + l + sovMessage(uint64(l)) - } - } - return n -} - -func sovMessage(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozMessage(x uint64) (n int) { - return sovMessage(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (this *MeteringRecord) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&MeteringRecord{`, - `Value:` + fmt.Sprintf("%v", this.Value) + `,`, - `Unit:` + fmt.Sprintf("%v", this.Unit) + `,`, - `}`, - }, "") - return s -} -func (this *MeteringEntry) String() string { - if this == nil { - return "nil" - } - keysForRecords := make([]string, 0, len(this.Records)) - for k, _ := range this.Records { - keysForRecords = append(keysForRecords, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForRecords) - mapStringForRecords := "map[string]*MeteringRecord{" - for _, k := range keysForRecords { - mapStringForRecords += fmt.Sprintf("%v: %v,", k, this.Records[k]) - } - mapStringForRecords += "}" - keysForUsageByCategory := make([]string, 0, len(this.UsageByCategory)) - for k, _ := range this.UsageByCategory { - keysForUsageByCategory = append(keysForUsageByCategory, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForUsageByCategory) - mapStringForUsageByCategory := "map[string]*MeteringRecord{" - for _, k := range keysForUsageByCategory { - mapStringForUsageByCategory += fmt.Sprintf("%v: %v,", k, this.UsageByCategory[k]) - } - mapStringForUsageByCategory += "}" - s := strings.Join([]string{`&MeteringEntry{`, - `StartTime:` + strings.Replace(fmt.Sprintf("%v", this.StartTime), "Timestamp", "types.Timestamp", 1) + `,`, - `EndTime:` + strings.Replace(fmt.Sprintf("%v", this.EndTime), "Timestamp", "types.Timestamp", 1) + `,`, - `Records:` + mapStringForRecords + `,`, - `UsageByCategory:` + mapStringForUsageByCategory + `,`, - `}`, - }, "") - return s -} -func (this *NamespaceUsageRecord) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&NamespaceUsageRecord{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `Entry:` + strings.Replace(this.Entry.String(), "MeteringEntry", "MeteringEntry", 1) + `,`, - `}`, - }, "") - return s -} -func (this *MetricsSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&MetricsSpec{`, - `Enabled:` + fmt.Sprintf("%v", this.Enabled) + `,`, - `AcceptedClientCa:` + fmt.Sprintf("%v", this.AcceptedClientCa) + `,`, - `}`, - }, "") - return s -} -func (this *Metrics) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&Metrics{`, - `Uri:` + fmt.Sprintf("%v", this.Uri) + `,`, - `}`, - }, "") - return s -} -func (this *AccountSpec) String() string { - if this == nil { - return "nil" - } - keysForOutputSinks := make([]string, 0, len(this.OutputSinks)) - for k, _ := range this.OutputSinks { - keysForOutputSinks = append(keysForOutputSinks, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForOutputSinks) - mapStringForOutputSinks := "map[string]*v1.SinkSpec{" - for _, k := range keysForOutputSinks { - mapStringForOutputSinks += fmt.Sprintf("%v: %v,", k, this.OutputSinks[k]) - } - mapStringForOutputSinks += "}" - s := strings.Join([]string{`&AccountSpec{`, - `Metrics:` + strings.Replace(this.Metrics.String(), "MetricsSpec", "MetricsSpec", 1) + `,`, - `OutputSinks:` + mapStringForOutputSinks + `,`, - `}`, - }, "") - return s -} -func (this *Account) String() string { - if this == nil { - return "nil" - } - keysForOutputSinks := make([]string, 0, len(this.OutputSinks)) - for k, _ := range this.OutputSinks { - keysForOutputSinks = append(keysForOutputSinks, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForOutputSinks) - mapStringForOutputSinks := "map[string]*v1.Sink{" - for _, k := range keysForOutputSinks { - mapStringForOutputSinks += fmt.Sprintf("%v: %v,", k, this.OutputSinks[k]) - } - mapStringForOutputSinks += "}" - s := strings.Join([]string{`&Account{`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `Spec:` + strings.Replace(this.Spec.String(), "AccountSpec", "AccountSpec", 1) + `,`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `CreatedTime:` + strings.Replace(fmt.Sprintf("%v", this.CreatedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `LastModifiedTime:` + strings.Replace(fmt.Sprintf("%v", this.LastModifiedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `Metrics:` + strings.Replace(this.Metrics.String(), "Metrics", "Metrics", 1) + `,`, - `AwsExternalId:` + fmt.Sprintf("%v", this.AwsExternalId) + `,`, - `OutputSinks:` + mapStringForOutputSinks + `,`, - `GcpSinkSettings:` + strings.Replace(this.GcpSinkSettings.String(), "GCPSinkSettings", "GCPSinkSettings", 1) + `,`, - `CloudProvidersAvailable:` + fmt.Sprintf("%v", this.CloudProvidersAvailable) + `,`, - `}`, - }, "") - return s -} -func (this *GCPSinkSettings) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GCPSinkSettings{`, - `ExportInternalServiceAccountEmails:` + fmt.Sprintf("%v", this.ExportInternalServiceAccountEmails) + `,`, - `AuditlogInternalServiceAccountEmails:` + fmt.Sprintf("%v", this.AuditlogInternalServiceAccountEmails) + `,`, - `}`, - }, "") - return s -} -func valueToStringMessage(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) -} -func (m *MeteringRecord) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MeteringRecord: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MeteringRecord: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 1 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) - } - var v uint64 - if (iNdEx + 8) > l { - return io.ErrUnexpectedEOF - } - v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - m.Value = float64(math.Float64frombits(v)) - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Unit", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Unit = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MeteringEntry) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MeteringEntry: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MeteringEntry: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.StartTime == nil { - m.StartTime = &types.Timestamp{} - } - if err := m.StartTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EndTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.EndTime == nil { - m.EndTime = &types.Timestamp{} - } - if err := m.EndTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Records", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Records == nil { - m.Records = make(map[string]*MeteringRecord) - } - var mapkey string - var mapvalue *MeteringRecord - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthMessage - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthMessage - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthMessage - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthMessage - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &MeteringRecord{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Records[mapkey] = mapvalue - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UsageByCategory", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.UsageByCategory == nil { - m.UsageByCategory = make(map[string]*MeteringRecord) - } - var mapkey string - var mapvalue *MeteringRecord - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthMessage - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthMessage - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthMessage - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthMessage - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &MeteringRecord{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.UsageByCategory[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NamespaceUsageRecord) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: NamespaceUsageRecord: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NamespaceUsageRecord: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Entry", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Entry == nil { - m.Entry = &MeteringEntry{} - } - if err := m.Entry.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MetricsSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MetricsSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MetricsSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Enabled = bool(v != 0) - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AcceptedClientCa", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AcceptedClientCa = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Metrics) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Metrics: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Metrics: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Uri", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Uri = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AccountSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AccountSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AccountSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Metrics", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metrics == nil { - m.Metrics = &MetricsSpec{} - } - if err := m.Metrics.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OutputSinks", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.OutputSinks == nil { - m.OutputSinks = make(map[string]*v1.SinkSpec) - } - var mapkey string - var mapvalue *v1.SinkSpec - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthMessage - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthMessage - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthMessage - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthMessage - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &v1.SinkSpec{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.OutputSinks[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Account) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Account: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Account: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &AccountSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= State(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CreatedTime == nil { - m.CreatedTime = &types.Timestamp{} - } - if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastModifiedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.LastModifiedTime == nil { - m.LastModifiedTime = &types.Timestamp{} - } - if err := m.LastModifiedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Metrics", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metrics == nil { - m.Metrics = &Metrics{} - } - if err := m.Metrics.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AwsExternalId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AwsExternalId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OutputSinks", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.OutputSinks == nil { - m.OutputSinks = make(map[string]*v1.Sink) - } - var mapkey string - var mapvalue *v1.Sink - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthMessage - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthMessage - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthMessage - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthMessage - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &v1.Sink{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.OutputSinks[mapkey] = mapvalue - iNdEx = postIndex - case 11: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GcpSinkSettings", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.GcpSinkSettings == nil { - m.GcpSinkSettings = &GCPSinkSettings{} - } - if err := m.GcpSinkSettings.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 13: - if wireType == 0 { - var v v11.RegionID_CloudProvider - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= v11.RegionID_CloudProvider(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.CloudProvidersAvailable = append(m.CloudProvidersAvailable, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - if elementCount != 0 && len(m.CloudProvidersAvailable) == 0 { - m.CloudProvidersAvailable = make([]v11.RegionID_CloudProvider, 0, elementCount) - } - for iNdEx < postIndex { - var v v11.RegionID_CloudProvider - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= v11.RegionID_CloudProvider(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.CloudProvidersAvailable = append(m.CloudProvidersAvailable, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field CloudProvidersAvailable", wireType) - } - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GCPSinkSettings) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GCPSinkSettings: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GCPSinkSettings: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExportInternalServiceAccountEmails", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ExportInternalServiceAccountEmails = append(m.ExportInternalServiceAccountEmails, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AuditlogInternalServiceAccountEmails", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AuditlogInternalServiceAccountEmails = append(m.AuditlogInternalServiceAccountEmails, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipMessage(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthMessage - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupMessage - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthMessage - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowMessage = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group") -) diff --git a/protogen/api/accountservice/v1/request_response.pb.go b/protogen/api/accountservice/v1/request_response.pb.go index ae74be53..9da4db57 100644 --- a/protogen/api/accountservice/v1/request_response.pb.go +++ b/protogen/api/accountservice/v1/request_response.pb.go @@ -1,446 +1,482 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: api/accountservice/v1/request_response.proto package accountservice import ( - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - types "github.com/gogo/protobuf/types" - io "io" - math "math" - math_bits "math/bits" - reflect "reflect" - strings "strings" + proto "github.com/golang/protobuf/proto" v1 "github.com/temporalio/tcld/protogen/api/account/v1" v12 "github.com/temporalio/tcld/protogen/api/common/v1" v11 "github.com/temporalio/tcld/protogen/api/request/v1" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type GetNamespaceUsageRequest struct { - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - StartTime *types.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - EndTime *types.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - AggregatedPeriod v1.Period `protobuf:"varint,4,opt,name=aggregated_period,json=aggregatedPeriod,proto3,enum=api.account.v1.Period" json:"aggregated_period,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + AggregatedPeriod v1.Period `protobuf:"varint,4,opt,name=aggregated_period,json=aggregatedPeriod,proto3,enum=api.account.v1.Period" json:"aggregated_period,omitempty"` } -func (m *GetNamespaceUsageRequest) Reset() { *m = GetNamespaceUsageRequest{} } -func (*GetNamespaceUsageRequest) ProtoMessage() {} -func (*GetNamespaceUsageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e50566fc74ec64cc, []int{0} -} -func (m *GetNamespaceUsageRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetNamespaceUsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetNamespaceUsageRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetNamespaceUsageRequest) Reset() { + *x = GetNamespaceUsageRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_accountservice_v1_request_response_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetNamespaceUsageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNamespaceUsageRequest.Merge(m, src) -} -func (m *GetNamespaceUsageRequest) XXX_Size() int { - return m.Size() + +func (x *GetNamespaceUsageRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetNamespaceUsageRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetNamespaceUsageRequest.DiscardUnknown(m) + +func (*GetNamespaceUsageRequest) ProtoMessage() {} + +func (x *GetNamespaceUsageRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_accountservice_v1_request_response_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetNamespaceUsageRequest proto.InternalMessageInfo +// Deprecated: Use GetNamespaceUsageRequest.ProtoReflect.Descriptor instead. +func (*GetNamespaceUsageRequest) Descriptor() ([]byte, []int) { + return file_api_accountservice_v1_request_response_proto_rawDescGZIP(), []int{0} +} -func (m *GetNamespaceUsageRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *GetNamespaceUsageRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *GetNamespaceUsageRequest) GetStartTime() *types.Timestamp { - if m != nil { - return m.StartTime +func (x *GetNamespaceUsageRequest) GetStartTime() *timestamppb.Timestamp { + if x != nil { + return x.StartTime } return nil } -func (m *GetNamespaceUsageRequest) GetEndTime() *types.Timestamp { - if m != nil { - return m.EndTime +func (x *GetNamespaceUsageRequest) GetEndTime() *timestamppb.Timestamp { + if x != nil { + return x.EndTime } return nil } -func (m *GetNamespaceUsageRequest) GetAggregatedPeriod() v1.Period { - if m != nil { - return m.AggregatedPeriod +func (x *GetNamespaceUsageRequest) GetAggregatedPeriod() v1.Period { + if x != nil { + return x.AggregatedPeriod } return v1.PERIOD_UNSPECIFIED } type GetNamespaceUsageResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Entries []*v1.MeteringEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` } -func (m *GetNamespaceUsageResponse) Reset() { *m = GetNamespaceUsageResponse{} } -func (*GetNamespaceUsageResponse) ProtoMessage() {} -func (*GetNamespaceUsageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e50566fc74ec64cc, []int{1} -} -func (m *GetNamespaceUsageResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetNamespaceUsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetNamespaceUsageResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetNamespaceUsageResponse) Reset() { + *x = GetNamespaceUsageResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_accountservice_v1_request_response_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetNamespaceUsageResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNamespaceUsageResponse.Merge(m, src) -} -func (m *GetNamespaceUsageResponse) XXX_Size() int { - return m.Size() + +func (x *GetNamespaceUsageResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetNamespaceUsageResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetNamespaceUsageResponse.DiscardUnknown(m) + +func (*GetNamespaceUsageResponse) ProtoMessage() {} + +func (x *GetNamespaceUsageResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_accountservice_v1_request_response_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetNamespaceUsageResponse proto.InternalMessageInfo +// Deprecated: Use GetNamespaceUsageResponse.ProtoReflect.Descriptor instead. +func (*GetNamespaceUsageResponse) Descriptor() ([]byte, []int) { + return file_api_accountservice_v1_request_response_proto_rawDescGZIP(), []int{1} +} -func (m *GetNamespaceUsageResponse) GetEntries() []*v1.MeteringEntry { - if m != nil { - return m.Entries +func (x *GetNamespaceUsageResponse) GetEntries() []*v1.MeteringEntry { + if x != nil { + return x.Entries } return nil } type GetNamespacesUsageRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the requested size of the page to retrieve PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // the page token - PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - StartTime *types.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - EndTime *types.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` } -func (m *GetNamespacesUsageRequest) Reset() { *m = GetNamespacesUsageRequest{} } -func (*GetNamespacesUsageRequest) ProtoMessage() {} -func (*GetNamespacesUsageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e50566fc74ec64cc, []int{2} -} -func (m *GetNamespacesUsageRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetNamespacesUsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetNamespacesUsageRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetNamespacesUsageRequest) Reset() { + *x = GetNamespacesUsageRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_accountservice_v1_request_response_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetNamespacesUsageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNamespacesUsageRequest.Merge(m, src) -} -func (m *GetNamespacesUsageRequest) XXX_Size() int { - return m.Size() + +func (x *GetNamespacesUsageRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetNamespacesUsageRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetNamespacesUsageRequest.DiscardUnknown(m) + +func (*GetNamespacesUsageRequest) ProtoMessage() {} + +func (x *GetNamespacesUsageRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_accountservice_v1_request_response_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetNamespacesUsageRequest proto.InternalMessageInfo +// Deprecated: Use GetNamespacesUsageRequest.ProtoReflect.Descriptor instead. +func (*GetNamespacesUsageRequest) Descriptor() ([]byte, []int) { + return file_api_accountservice_v1_request_response_proto_rawDescGZIP(), []int{2} +} -func (m *GetNamespacesUsageRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *GetNamespacesUsageRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *GetNamespacesUsageRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *GetNamespacesUsageRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } -func (m *GetNamespacesUsageRequest) GetStartTime() *types.Timestamp { - if m != nil { - return m.StartTime +func (x *GetNamespacesUsageRequest) GetStartTime() *timestamppb.Timestamp { + if x != nil { + return x.StartTime } return nil } -func (m *GetNamespacesUsageRequest) GetEndTime() *types.Timestamp { - if m != nil { - return m.EndTime +func (x *GetNamespacesUsageRequest) GetEndTime() *timestamppb.Timestamp { + if x != nil { + return x.EndTime } return nil } type GetNamespacesUsageResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + UsageRecords []*v1.NamespaceUsageRecord `protobuf:"bytes,1,rep,name=usage_records,json=usageRecords,proto3" json:"usage_records,omitempty"` // the next page's token NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *GetNamespacesUsageResponse) Reset() { *m = GetNamespacesUsageResponse{} } -func (*GetNamespacesUsageResponse) ProtoMessage() {} -func (*GetNamespacesUsageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e50566fc74ec64cc, []int{3} -} -func (m *GetNamespacesUsageResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetNamespacesUsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetNamespacesUsageResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetNamespacesUsageResponse) Reset() { + *x = GetNamespacesUsageResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_accountservice_v1_request_response_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetNamespacesUsageResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNamespacesUsageResponse.Merge(m, src) -} -func (m *GetNamespacesUsageResponse) XXX_Size() int { - return m.Size() + +func (x *GetNamespacesUsageResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetNamespacesUsageResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetNamespacesUsageResponse.DiscardUnknown(m) + +func (*GetNamespacesUsageResponse) ProtoMessage() {} + +func (x *GetNamespacesUsageResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_accountservice_v1_request_response_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetNamespacesUsageResponse proto.InternalMessageInfo +// Deprecated: Use GetNamespacesUsageResponse.ProtoReflect.Descriptor instead. +func (*GetNamespacesUsageResponse) Descriptor() ([]byte, []int) { + return file_api_accountservice_v1_request_response_proto_rawDescGZIP(), []int{3} +} -func (m *GetNamespacesUsageResponse) GetUsageRecords() []*v1.NamespaceUsageRecord { - if m != nil { - return m.UsageRecords +func (x *GetNamespacesUsageResponse) GetUsageRecords() []*v1.NamespaceUsageRecord { + if x != nil { + return x.UsageRecords } return nil } -func (m *GetNamespacesUsageResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *GetNamespacesUsageResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type GetAccountUsageRequest struct { - StartTime *types.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - EndTime *types.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - AggregatedPeriod v1.Period `protobuf:"varint,3,opt,name=aggregated_period,json=aggregatedPeriod,proto3,enum=api.account.v1.Period" json:"aggregated_period,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + AggregatedPeriod v1.Period `protobuf:"varint,3,opt,name=aggregated_period,json=aggregatedPeriod,proto3,enum=api.account.v1.Period" json:"aggregated_period,omitempty"` } -func (m *GetAccountUsageRequest) Reset() { *m = GetAccountUsageRequest{} } -func (*GetAccountUsageRequest) ProtoMessage() {} -func (*GetAccountUsageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e50566fc74ec64cc, []int{4} -} -func (m *GetAccountUsageRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetAccountUsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetAccountUsageRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetAccountUsageRequest) Reset() { + *x = GetAccountUsageRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_accountservice_v1_request_response_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetAccountUsageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountUsageRequest.Merge(m, src) -} -func (m *GetAccountUsageRequest) XXX_Size() int { - return m.Size() + +func (x *GetAccountUsageRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountUsageRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountUsageRequest.DiscardUnknown(m) + +func (*GetAccountUsageRequest) ProtoMessage() {} + +func (x *GetAccountUsageRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_accountservice_v1_request_response_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountUsageRequest proto.InternalMessageInfo +// Deprecated: Use GetAccountUsageRequest.ProtoReflect.Descriptor instead. +func (*GetAccountUsageRequest) Descriptor() ([]byte, []int) { + return file_api_accountservice_v1_request_response_proto_rawDescGZIP(), []int{4} +} -func (m *GetAccountUsageRequest) GetStartTime() *types.Timestamp { - if m != nil { - return m.StartTime +func (x *GetAccountUsageRequest) GetStartTime() *timestamppb.Timestamp { + if x != nil { + return x.StartTime } return nil } -func (m *GetAccountUsageRequest) GetEndTime() *types.Timestamp { - if m != nil { - return m.EndTime +func (x *GetAccountUsageRequest) GetEndTime() *timestamppb.Timestamp { + if x != nil { + return x.EndTime } return nil } -func (m *GetAccountUsageRequest) GetAggregatedPeriod() v1.Period { - if m != nil { - return m.AggregatedPeriod +func (x *GetAccountUsageRequest) GetAggregatedPeriod() v1.Period { + if x != nil { + return x.AggregatedPeriod } return v1.PERIOD_UNSPECIFIED } type GetAccountUsageResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Entries []*v1.MeteringEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` } -func (m *GetAccountUsageResponse) Reset() { *m = GetAccountUsageResponse{} } -func (*GetAccountUsageResponse) ProtoMessage() {} -func (*GetAccountUsageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e50566fc74ec64cc, []int{5} -} -func (m *GetAccountUsageResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetAccountUsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetAccountUsageResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetAccountUsageResponse) Reset() { + *x = GetAccountUsageResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_accountservice_v1_request_response_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetAccountUsageResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountUsageResponse.Merge(m, src) -} -func (m *GetAccountUsageResponse) XXX_Size() int { - return m.Size() + +func (x *GetAccountUsageResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountUsageResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountUsageResponse.DiscardUnknown(m) + +func (*GetAccountUsageResponse) ProtoMessage() {} + +func (x *GetAccountUsageResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_accountservice_v1_request_response_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountUsageResponse proto.InternalMessageInfo +// Deprecated: Use GetAccountUsageResponse.ProtoReflect.Descriptor instead. +func (*GetAccountUsageResponse) Descriptor() ([]byte, []int) { + return file_api_accountservice_v1_request_response_proto_rawDescGZIP(), []int{5} +} -func (m *GetAccountUsageResponse) GetEntries() []*v1.MeteringEntry { - if m != nil { - return m.Entries +func (x *GetAccountUsageResponse) GetEntries() []*v1.MeteringEntry { + if x != nil { + return x.Entries } return nil } type GetAccountRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *GetAccountRequest) Reset() { *m = GetAccountRequest{} } -func (*GetAccountRequest) ProtoMessage() {} -func (*GetAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e50566fc74ec64cc, []int{6} -} -func (m *GetAccountRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetAccountRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetAccountRequest) Reset() { + *x = GetAccountRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_accountservice_v1_request_response_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountRequest.Merge(m, src) -} -func (m *GetAccountRequest) XXX_Size() int { - return m.Size() + +func (x *GetAccountRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountRequest.DiscardUnknown(m) + +func (*GetAccountRequest) ProtoMessage() {} + +func (x *GetAccountRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_accountservice_v1_request_response_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountRequest proto.InternalMessageInfo +// Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead. +func (*GetAccountRequest) Descriptor() ([]byte, []int) { + return file_api_accountservice_v1_request_response_proto_rawDescGZIP(), []int{6} +} type GetAccountResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the account Account *v1.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` } -func (m *GetAccountResponse) Reset() { *m = GetAccountResponse{} } -func (*GetAccountResponse) ProtoMessage() {} -func (*GetAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e50566fc74ec64cc, []int{7} -} -func (m *GetAccountResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetAccountResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetAccountResponse) Reset() { + *x = GetAccountResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_accountservice_v1_request_response_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetAccountResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountResponse.Merge(m, src) -} -func (m *GetAccountResponse) XXX_Size() int { - return m.Size() + +func (x *GetAccountResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountResponse.DiscardUnknown(m) + +func (*GetAccountResponse) ProtoMessage() {} + +func (x *GetAccountResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_accountservice_v1_request_response_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountResponse proto.InternalMessageInfo +// Deprecated: Use GetAccountResponse.ProtoReflect.Descriptor instead. +func (*GetAccountResponse) Descriptor() ([]byte, []int) { + return file_api_accountservice_v1_request_response_proto_rawDescGZIP(), []int{7} +} -func (m *GetAccountResponse) GetAccount() *v1.Account { - if m != nil { - return m.Account +func (x *GetAccountResponse) GetAccount() *v1.Account { + if x != nil { + return x.Account } return nil } type UpdateAccountRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the account specification Spec *v1.AccountSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` // the version of the account for which this update is intended for @@ -450,3000 +486,536 @@ type UpdateAccountRequest struct { RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` } -func (m *UpdateAccountRequest) Reset() { *m = UpdateAccountRequest{} } -func (*UpdateAccountRequest) ProtoMessage() {} -func (*UpdateAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e50566fc74ec64cc, []int{8} -} -func (m *UpdateAccountRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *UpdateAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateAccountRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *UpdateAccountRequest) Reset() { + *x = UpdateAccountRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_accountservice_v1_request_response_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *UpdateAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateAccountRequest.Merge(m, src) -} -func (m *UpdateAccountRequest) XXX_Size() int { - return m.Size() + +func (x *UpdateAccountRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateAccountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateAccountRequest.DiscardUnknown(m) + +func (*UpdateAccountRequest) ProtoMessage() {} + +func (x *UpdateAccountRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_accountservice_v1_request_response_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateAccountRequest proto.InternalMessageInfo +// Deprecated: Use UpdateAccountRequest.ProtoReflect.Descriptor instead. +func (*UpdateAccountRequest) Descriptor() ([]byte, []int) { + return file_api_accountservice_v1_request_response_proto_rawDescGZIP(), []int{8} +} -func (m *UpdateAccountRequest) GetSpec() *v1.AccountSpec { - if m != nil { - return m.Spec +func (x *UpdateAccountRequest) GetSpec() *v1.AccountSpec { + if x != nil { + return x.Spec } return nil } -func (m *UpdateAccountRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *UpdateAccountRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *UpdateAccountRequest) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *UpdateAccountRequest) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } type UpdateAccountResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the request status of the update operation RequestStatus *v11.RequestStatus `protobuf:"bytes,1,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` } -func (m *UpdateAccountResponse) Reset() { *m = UpdateAccountResponse{} } -func (*UpdateAccountResponse) ProtoMessage() {} -func (*UpdateAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e50566fc74ec64cc, []int{9} -} -func (m *UpdateAccountResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *UpdateAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateAccountResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *UpdateAccountResponse) Reset() { + *x = UpdateAccountResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_accountservice_v1_request_response_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *UpdateAccountResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateAccountResponse.Merge(m, src) -} -func (m *UpdateAccountResponse) XXX_Size() int { - return m.Size() -} -func (m *UpdateAccountResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateAccountResponse.DiscardUnknown(m) + +func (x *UpdateAccountResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_UpdateAccountResponse proto.InternalMessageInfo +func (*UpdateAccountResponse) ProtoMessage() {} -func (m *UpdateAccountResponse) GetRequestStatus() *v11.RequestStatus { - if m != nil { - return m.RequestStatus +func (x *UpdateAccountResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_accountservice_v1_request_response_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -type GetRegionsRequest struct { +// Deprecated: Use UpdateAccountResponse.ProtoReflect.Descriptor instead. +func (*UpdateAccountResponse) Descriptor() ([]byte, []int) { + return file_api_accountservice_v1_request_response_proto_rawDescGZIP(), []int{9} } -func (m *GetRegionsRequest) Reset() { *m = GetRegionsRequest{} } -func (*GetRegionsRequest) ProtoMessage() {} -func (*GetRegionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e50566fc74ec64cc, []int{10} -} -func (m *GetRegionsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetRegionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetRegionsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *UpdateAccountResponse) GetRequestStatus() *v11.RequestStatus { + if x != nil { + return x.RequestStatus } -} -func (m *GetRegionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRegionsRequest.Merge(m, src) -} -func (m *GetRegionsRequest) XXX_Size() int { - return m.Size() -} -func (m *GetRegionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetRegionsRequest.DiscardUnknown(m) + return nil } -var xxx_messageInfo_GetRegionsRequest proto.InternalMessageInfo - -type GetRegionsResponse struct { - Regions []*v12.Region `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"` +type GetRegionsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *GetRegionsResponse) Reset() { *m = GetRegionsResponse{} } -func (*GetRegionsResponse) ProtoMessage() {} -func (*GetRegionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e50566fc74ec64cc, []int{11} -} -func (m *GetRegionsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetRegionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetRegionsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetRegionsRequest) Reset() { + *x = GetRegionsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_accountservice_v1_request_response_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetRegionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRegionsResponse.Merge(m, src) -} -func (m *GetRegionsResponse) XXX_Size() int { - return m.Size() -} -func (m *GetRegionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetRegionsResponse.DiscardUnknown(m) -} -var xxx_messageInfo_GetRegionsResponse proto.InternalMessageInfo - -func (m *GetRegionsResponse) GetRegions() []*v12.Region { - if m != nil { - return m.Regions - } - return nil +func (x *GetRegionsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func init() { - proto.RegisterType((*GetNamespaceUsageRequest)(nil), "api.accountservice.v1.GetNamespaceUsageRequest") - proto.RegisterType((*GetNamespaceUsageResponse)(nil), "api.accountservice.v1.GetNamespaceUsageResponse") - proto.RegisterType((*GetNamespacesUsageRequest)(nil), "api.accountservice.v1.GetNamespacesUsageRequest") - proto.RegisterType((*GetNamespacesUsageResponse)(nil), "api.accountservice.v1.GetNamespacesUsageResponse") - proto.RegisterType((*GetAccountUsageRequest)(nil), "api.accountservice.v1.GetAccountUsageRequest") - proto.RegisterType((*GetAccountUsageResponse)(nil), "api.accountservice.v1.GetAccountUsageResponse") - proto.RegisterType((*GetAccountRequest)(nil), "api.accountservice.v1.GetAccountRequest") - proto.RegisterType((*GetAccountResponse)(nil), "api.accountservice.v1.GetAccountResponse") - proto.RegisterType((*UpdateAccountRequest)(nil), "api.accountservice.v1.UpdateAccountRequest") - proto.RegisterType((*UpdateAccountResponse)(nil), "api.accountservice.v1.UpdateAccountResponse") - proto.RegisterType((*GetRegionsRequest)(nil), "api.accountservice.v1.GetRegionsRequest") - proto.RegisterType((*GetRegionsResponse)(nil), "api.accountservice.v1.GetRegionsResponse") -} - -func init() { - proto.RegisterFile("api/accountservice/v1/request_response.proto", fileDescriptor_e50566fc74ec64cc) -} - -var fileDescriptor_e50566fc74ec64cc = []byte{ - // 688 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xcd, 0x6e, 0xd3, 0x4e, - 0x14, 0xc5, 0x33, 0x4d, 0xff, 0xff, 0x34, 0x53, 0xfa, 0x65, 0x68, 0x1b, 0xd2, 0xd6, 0x44, 0x16, - 0x42, 0x41, 0x42, 0x36, 0x29, 0x42, 0x08, 0xb1, 0xe2, 0xa3, 0xaa, 0xba, 0x00, 0x55, 0xd3, 0x96, - 0x05, 0x12, 0x8a, 0x5c, 0xfb, 0xd6, 0xb2, 0xa8, 0x3d, 0x66, 0x66, 0x1c, 0x41, 0x57, 0xbc, 0x01, - 0xf0, 0x16, 0x3c, 0x0a, 0xac, 0xe8, 0xb2, 0x4b, 0xea, 0x6e, 0xd8, 0xd1, 0x47, 0x40, 0xf6, 0xcc, - 0x90, 0x38, 0x29, 0x02, 0xda, 0xe5, 0x9c, 0x7b, 0xef, 0x39, 0xbe, 0x3f, 0x4f, 0x1c, 0x7c, 0xcb, - 0x4d, 0x42, 0xc7, 0xf5, 0x3c, 0x9a, 0xc6, 0x82, 0x03, 0xeb, 0x85, 0x1e, 0x38, 0xbd, 0x8e, 0xc3, - 0xe0, 0x75, 0x0a, 0x5c, 0x74, 0x19, 0xf0, 0x84, 0xc6, 0x1c, 0xec, 0x84, 0x51, 0x41, 0x8d, 0x79, - 0x37, 0x09, 0xed, 0x72, 0xb7, 0xdd, 0xeb, 0x34, 0x97, 0x07, 0x4c, 0xf2, 0xe9, 0x08, 0x38, 0x77, - 0x03, 0x35, 0xd4, 0x5c, 0xca, 0xab, 0x1e, 0x8d, 0x22, 0x1a, 0x8f, 0x16, 0x8b, 0x51, 0x95, 0x36, - 0x5a, 0xbd, 0x16, 0x50, 0x1a, 0xec, 0x83, 0x53, 0x9c, 0x76, 0xd3, 0x3d, 0x47, 0x84, 0x11, 0x70, - 0xe1, 0x46, 0x89, 0x6c, 0xb0, 0x7e, 0x20, 0xdc, 0x58, 0x07, 0xf1, 0xcc, 0x8d, 0x80, 0x27, 0xae, - 0x07, 0x3b, 0xf9, 0x30, 0x91, 0x76, 0xc6, 0x32, 0xae, 0xc7, 0xba, 0xd0, 0x40, 0x2d, 0xd4, 0xae, - 0x93, 0xbe, 0x60, 0xdc, 0xc7, 0x98, 0x0b, 0x97, 0x89, 0x6e, 0xee, 0xd9, 0x18, 0x6b, 0xa1, 0xf6, - 0xe4, 0x6a, 0xd3, 0x96, 0x81, 0xb6, 0x0e, 0xb4, 0xb7, 0x75, 0x20, 0xa9, 0x17, 0xdd, 0xf9, 0xd9, - 0xb8, 0x8b, 0x27, 0x20, 0xf6, 0xe5, 0x60, 0xf5, 0x8f, 0x83, 0x35, 0x88, 0xfd, 0x62, 0xec, 0x31, - 0x9e, 0x73, 0x83, 0x80, 0x41, 0xe0, 0x0a, 0xf0, 0xbb, 0x09, 0xb0, 0x90, 0xfa, 0x8d, 0xf1, 0x16, - 0x6a, 0x4f, 0xaf, 0x2e, 0xd8, 0x03, 0x64, 0xed, 0x5e, 0xc7, 0xde, 0x2c, 0xaa, 0x64, 0xb6, 0x3f, - 0x20, 0x15, 0x6b, 0x1b, 0x5f, 0x3d, 0x63, 0x61, 0xf9, 0x96, 0x8c, 0x7b, 0xb8, 0x06, 0xb1, 0x60, - 0x21, 0xf0, 0x06, 0x6a, 0x55, 0xdb, 0x93, 0xab, 0x2b, 0xc3, 0xbe, 0x4f, 0x41, 0x00, 0x0b, 0xe3, - 0x60, 0x2d, 0x16, 0xec, 0x2d, 0xd1, 0xdd, 0xd6, 0x17, 0x54, 0xb6, 0xe5, 0x25, 0x90, 0x4b, 0xb8, - 0x9e, 0xb8, 0x01, 0x74, 0x79, 0x78, 0x20, 0x41, 0xfe, 0x47, 0x26, 0x72, 0x61, 0x2b, 0x3c, 0x00, - 0x63, 0x05, 0xe3, 0xa2, 0x28, 0xe8, 0x2b, 0x88, 0x0b, 0x8e, 0x75, 0x52, 0xb4, 0x6f, 0xe7, 0xc2, - 0x10, 0xe6, 0xea, 0x79, 0x31, 0x8f, 0xff, 0x35, 0x66, 0xeb, 0x3d, 0xc2, 0xcd, 0xb3, 0x76, 0x51, - 0x8c, 0x36, 0xf0, 0x54, 0x9a, 0x0b, 0x5d, 0x06, 0x1e, 0x65, 0xbe, 0x26, 0x75, 0x7d, 0x98, 0xd4, - 0x30, 0xe2, 0xbc, 0x99, 0x5c, 0x4a, 0xfb, 0x07, 0x6e, 0xdc, 0xc0, 0x33, 0x31, 0xbc, 0x11, 0xdd, - 0x91, 0xfd, 0xa7, 0x72, 0x79, 0x53, 0x33, 0xb0, 0xbe, 0x22, 0xbc, 0xb0, 0x0e, 0xe2, 0xa1, 0x34, - 0x2f, 0xa1, 0x2d, 0xe3, 0x41, 0xe7, 0xc5, 0x33, 0x76, 0xc1, 0x5b, 0x58, 0xfd, 0xc7, 0x5b, 0x48, - 0xf0, 0xe2, 0xc8, 0x42, 0x17, 0xbd, 0x83, 0x97, 0xf1, 0x5c, 0xdf, 0x53, 0xf1, 0xb1, 0xd6, 0xb1, - 0x31, 0x28, 0xaa, 0x8c, 0x0e, 0xae, 0x29, 0x3f, 0x85, 0x6c, 0x71, 0x38, 0x43, 0x4f, 0xe8, 0x3e, - 0xeb, 0x23, 0xc2, 0x57, 0x76, 0x12, 0xdf, 0x15, 0x50, 0x4e, 0x30, 0x1c, 0x3c, 0xce, 0x13, 0xf0, - 0x94, 0xd1, 0xd2, 0x6f, 0x8c, 0xb6, 0x12, 0xf0, 0x48, 0xd1, 0x68, 0xdc, 0xc4, 0xb3, 0x0c, 0x38, - 0x4d, 0x99, 0x07, 0xdd, 0x1e, 0x30, 0x1e, 0x52, 0xfd, 0xda, 0x67, 0xb4, 0xfe, 0x5c, 0xca, 0xf9, - 0x6f, 0x43, 0x7f, 0x49, 0x43, 0x09, 0xb9, 0x4e, 0xea, 0x4a, 0xd9, 0xf0, 0xad, 0x97, 0x78, 0x7e, - 0xe8, 0x91, 0xd4, 0x7e, 0x4f, 0xf0, 0xb4, 0x9e, 0xe3, 0xc2, 0x15, 0x29, 0x57, 0x4f, 0x27, 0x51, - 0xaa, 0x52, 0xfe, 0x74, 0x6a, 0x89, 0xad, 0xa2, 0x89, 0x4c, 0xb1, 0xc1, 0xa3, 0x02, 0x4a, 0x20, - 0x08, 0x69, 0xcc, 0x35, 0xd0, 0xb5, 0x02, 0xe8, 0x2f, 0x51, 0x05, 0x3a, 0xb8, 0xc6, 0xa4, 0xa4, - 0x5e, 0xda, 0x7c, 0x91, 0x24, 0xbf, 0xda, 0x32, 0x28, 0xaf, 0x12, 0xdd, 0xf5, 0x68, 0xef, 0xf0, - 0xd8, 0xac, 0x1c, 0x1d, 0x9b, 0x95, 0xd3, 0x63, 0x13, 0xbd, 0xcb, 0x4c, 0xf4, 0x29, 0x33, 0xd1, - 0xe7, 0xcc, 0x44, 0x87, 0x99, 0x89, 0xbe, 0x65, 0x26, 0xfa, 0x9e, 0x99, 0x95, 0xd3, 0xcc, 0x44, - 0x1f, 0x4e, 0xcc, 0xca, 0xe1, 0x89, 0x59, 0x39, 0x3a, 0x31, 0x2b, 0x2f, 0x6e, 0x8b, 0x28, 0x61, - 0xfb, 0xb6, 0xb7, 0x4f, 0x53, 0xdf, 0x39, 0xf3, 0x9f, 0xe7, 0x41, 0x59, 0xd9, 0xfd, 0xbf, 0xb8, - 0xca, 0x77, 0x7e, 0x06, 0x00, 0x00, 0xff, 0xff, 0xe3, 0x4b, 0xb6, 0xd6, 0xa8, 0x06, 0x00, 0x00, -} - -func (this *GetNamespaceUsageRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } +func (*GetRegionsRequest) ProtoMessage() {} - that1, ok := that.(*GetNamespaceUsageRequest) - if !ok { - that2, ok := that.(GetNamespaceUsageRequest) - if ok { - that1 = &that2 - } else { - return false +func (x *GetRegionsRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_accountservice_v1_request_response_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if !this.StartTime.Equal(that1.StartTime) { - return false - } - if !this.EndTime.Equal(that1.EndTime) { - return false - } - if this.AggregatedPeriod != that1.AggregatedPeriod { - return false - } - return true + return mi.MessageOf(x) } -func (this *GetNamespaceUsageResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetNamespaceUsageResponse) - if !ok { - that2, ok := that.(GetNamespaceUsageResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.Entries) != len(that1.Entries) { - return false - } - for i := range this.Entries { - if !this.Entries[i].Equal(that1.Entries[i]) { - return false - } - } - return true +// Deprecated: Use GetRegionsRequest.ProtoReflect.Descriptor instead. +func (*GetRegionsRequest) Descriptor() ([]byte, []int) { + return file_api_accountservice_v1_request_response_proto_rawDescGZIP(), []int{10} } -func (this *GetNamespacesUsageRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetNamespacesUsageRequest) - if !ok { - that2, ok := that.(GetNamespacesUsageRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.PageSize != that1.PageSize { - return false - } - if this.PageToken != that1.PageToken { - return false - } - if !this.StartTime.Equal(that1.StartTime) { - return false - } - if !this.EndTime.Equal(that1.EndTime) { - return false - } - return true -} -func (this *GetNamespacesUsageResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } +type GetRegionsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields - that1, ok := that.(*GetNamespacesUsageResponse) - if !ok { - that2, ok := that.(GetNamespacesUsageResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.UsageRecords) != len(that1.UsageRecords) { - return false - } - for i := range this.UsageRecords { - if !this.UsageRecords[i].Equal(that1.UsageRecords[i]) { - return false - } - } - if this.NextPageToken != that1.NextPageToken { - return false - } - return true + Regions []*v12.Region `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"` } -func (this *GetAccountUsageRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetAccountUsageRequest) - if !ok { - that2, ok := that.(GetAccountUsageRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false +func (x *GetRegionsResponse) Reset() { + *x = GetRegionsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_accountservice_v1_request_response_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if !this.StartTime.Equal(that1.StartTime) { - return false - } - if !this.EndTime.Equal(that1.EndTime) { - return false - } - if this.AggregatedPeriod != that1.AggregatedPeriod { - return false - } - return true } -func (this *GetAccountUsageResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetAccountUsageResponse) - if !ok { - that2, ok := that.(GetAccountUsageResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.Entries) != len(that1.Entries) { - return false - } - for i := range this.Entries { - if !this.Entries[i].Equal(that1.Entries[i]) { - return false - } - } - return true +func (x *GetRegionsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *GetAccountRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetAccountRequest) - if !ok { - that2, ok := that.(GetAccountRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - return true -} -func (this *GetAccountResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } +func (*GetRegionsResponse) ProtoMessage() {} - that1, ok := that.(*GetAccountResponse) - if !ok { - that2, ok := that.(GetAccountResponse) - if ok { - that1 = &that2 - } else { - return false +func (x *GetRegionsResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_accountservice_v1_request_response_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Account.Equal(that1.Account) { - return false - } - return true + return mi.MessageOf(x) } -func (this *UpdateAccountRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateAccountRequest) - if !ok { - that2, ok := that.(UpdateAccountRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.RequestId != that1.RequestId { - return false - } - return true +// Deprecated: Use GetRegionsResponse.ProtoReflect.Descriptor instead. +func (*GetRegionsResponse) Descriptor() ([]byte, []int) { + return file_api_accountservice_v1_request_response_proto_rawDescGZIP(), []int{11} } -func (this *UpdateAccountResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateAccountResponse) - if !ok { - that2, ok := that.(UpdateAccountResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false +func (x *GetRegionsResponse) GetRegions() []*v12.Region { + if x != nil { + return x.Regions } - if !this.RequestStatus.Equal(that1.RequestStatus) { - return false - } - return true + return nil } -func (this *GetRegionsRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetRegionsRequest) - if !ok { - that2, ok := that.(GetRegionsRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - return true +var File_api_accountservice_v1_request_response_proto protoreflect.FileDescriptor + +var file_api_accountservice_v1_request_response_proto_rawDesc = []byte{ + 0x0a, 0x2c, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, + 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, + 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, + 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1c, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2f, 0x76, 0x31, + 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xef, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x11, + 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x52, + 0x10, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x50, 0x65, 0x72, 0x69, 0x6f, + 0x64, 0x22, 0x54, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, + 0x0a, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, + 0x2e, 0x4d, 0x65, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, + 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x22, 0xc9, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, + 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, + 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, + 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, + 0x69, 0x6d, 0x65, 0x22, 0x8f, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x73, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x49, 0x0a, 0x0d, 0x75, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x6f, + 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, + 0x0c, 0x75, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x26, 0x0a, + 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xcf, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x65, + 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x11, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, + 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, + 0x65, 0x72, 0x69, 0x6f, 0x64, 0x52, 0x10, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x64, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x22, 0x52, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x37, 0x0a, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x22, 0x13, 0x0a, 0x11, 0x47, + 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x22, 0x47, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x91, 0x01, 0x0a, 0x14, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, + 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, + 0x70, 0x65, 0x63, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, + 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x5d, 0x0a, + 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x13, 0x0a, 0x11, + 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x22, 0x45, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x07, 0x72, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, + 0x07, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0xd9, 0x01, 0x0a, 0x19, 0x63, 0x6f, 0x6d, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x30, + 0x74, 0x6d, 0x70, 0x72, 0x6c, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, + 0x31, 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0xa2, 0x02, 0x03, 0x41, 0x41, 0x58, 0xaa, 0x02, 0x15, 0x41, 0x70, 0x69, 0x2e, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, + 0x15, 0x41, 0x70, 0x69, 0x5c, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x21, 0x41, 0x70, 0x69, 0x5c, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x17, 0x41, 0x70, 0x69, + 0x3a, 0x3a, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func (this *GetRegionsResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetRegionsResponse) - if !ok { - that2, ok := that.(GetRegionsResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.Regions) != len(that1.Regions) { - return false - } - for i := range this.Regions { - if !this.Regions[i].Equal(that1.Regions[i]) { - return false - } - } - return true -} -func (this *GetNamespaceUsageRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&accountservice.GetNamespaceUsageRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - if this.StartTime != nil { - s = append(s, "StartTime: "+fmt.Sprintf("%#v", this.StartTime)+",\n") - } - if this.EndTime != nil { - s = append(s, "EndTime: "+fmt.Sprintf("%#v", this.EndTime)+",\n") - } - s = append(s, "AggregatedPeriod: "+fmt.Sprintf("%#v", this.AggregatedPeriod)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetNamespaceUsageResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&accountservice.GetNamespaceUsageResponse{") - if this.Entries != nil { - s = append(s, "Entries: "+fmt.Sprintf("%#v", this.Entries)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetNamespacesUsageRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&accountservice.GetNamespacesUsageRequest{") - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - if this.StartTime != nil { - s = append(s, "StartTime: "+fmt.Sprintf("%#v", this.StartTime)+",\n") - } - if this.EndTime != nil { - s = append(s, "EndTime: "+fmt.Sprintf("%#v", this.EndTime)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetNamespacesUsageResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&accountservice.GetNamespacesUsageResponse{") - if this.UsageRecords != nil { - s = append(s, "UsageRecords: "+fmt.Sprintf("%#v", this.UsageRecords)+",\n") - } - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetAccountUsageRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&accountservice.GetAccountUsageRequest{") - if this.StartTime != nil { - s = append(s, "StartTime: "+fmt.Sprintf("%#v", this.StartTime)+",\n") - } - if this.EndTime != nil { - s = append(s, "EndTime: "+fmt.Sprintf("%#v", this.EndTime)+",\n") - } - s = append(s, "AggregatedPeriod: "+fmt.Sprintf("%#v", this.AggregatedPeriod)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetAccountUsageResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&accountservice.GetAccountUsageResponse{") - if this.Entries != nil { - s = append(s, "Entries: "+fmt.Sprintf("%#v", this.Entries)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") +var ( + file_api_accountservice_v1_request_response_proto_rawDescOnce sync.Once + file_api_accountservice_v1_request_response_proto_rawDescData = file_api_accountservice_v1_request_response_proto_rawDesc +) + +func file_api_accountservice_v1_request_response_proto_rawDescGZIP() []byte { + file_api_accountservice_v1_request_response_proto_rawDescOnce.Do(func() { + file_api_accountservice_v1_request_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_accountservice_v1_request_response_proto_rawDescData) + }) + return file_api_accountservice_v1_request_response_proto_rawDescData +} + +var file_api_accountservice_v1_request_response_proto_msgTypes = make([]protoimpl.MessageInfo, 12) +var file_api_accountservice_v1_request_response_proto_goTypes = []interface{}{ + (*GetNamespaceUsageRequest)(nil), // 0: api.accountservice.v1.GetNamespaceUsageRequest + (*GetNamespaceUsageResponse)(nil), // 1: api.accountservice.v1.GetNamespaceUsageResponse + (*GetNamespacesUsageRequest)(nil), // 2: api.accountservice.v1.GetNamespacesUsageRequest + (*GetNamespacesUsageResponse)(nil), // 3: api.accountservice.v1.GetNamespacesUsageResponse + (*GetAccountUsageRequest)(nil), // 4: api.accountservice.v1.GetAccountUsageRequest + (*GetAccountUsageResponse)(nil), // 5: api.accountservice.v1.GetAccountUsageResponse + (*GetAccountRequest)(nil), // 6: api.accountservice.v1.GetAccountRequest + (*GetAccountResponse)(nil), // 7: api.accountservice.v1.GetAccountResponse + (*UpdateAccountRequest)(nil), // 8: api.accountservice.v1.UpdateAccountRequest + (*UpdateAccountResponse)(nil), // 9: api.accountservice.v1.UpdateAccountResponse + (*GetRegionsRequest)(nil), // 10: api.accountservice.v1.GetRegionsRequest + (*GetRegionsResponse)(nil), // 11: api.accountservice.v1.GetRegionsResponse + (*timestamppb.Timestamp)(nil), // 12: google.protobuf.Timestamp + (v1.Period)(0), // 13: api.account.v1.Period + (*v1.MeteringEntry)(nil), // 14: api.account.v1.MeteringEntry + (*v1.NamespaceUsageRecord)(nil), // 15: api.account.v1.NamespaceUsageRecord + (*v1.Account)(nil), // 16: api.account.v1.Account + (*v1.AccountSpec)(nil), // 17: api.account.v1.AccountSpec + (*v11.RequestStatus)(nil), // 18: api.request.v1.RequestStatus + (*v12.Region)(nil), // 19: api.common.v1.Region +} +var file_api_accountservice_v1_request_response_proto_depIdxs = []int32{ + 12, // 0: api.accountservice.v1.GetNamespaceUsageRequest.start_time:type_name -> google.protobuf.Timestamp + 12, // 1: api.accountservice.v1.GetNamespaceUsageRequest.end_time:type_name -> google.protobuf.Timestamp + 13, // 2: api.accountservice.v1.GetNamespaceUsageRequest.aggregated_period:type_name -> api.account.v1.Period + 14, // 3: api.accountservice.v1.GetNamespaceUsageResponse.entries:type_name -> api.account.v1.MeteringEntry + 12, // 4: api.accountservice.v1.GetNamespacesUsageRequest.start_time:type_name -> google.protobuf.Timestamp + 12, // 5: api.accountservice.v1.GetNamespacesUsageRequest.end_time:type_name -> google.protobuf.Timestamp + 15, // 6: api.accountservice.v1.GetNamespacesUsageResponse.usage_records:type_name -> api.account.v1.NamespaceUsageRecord + 12, // 7: api.accountservice.v1.GetAccountUsageRequest.start_time:type_name -> google.protobuf.Timestamp + 12, // 8: api.accountservice.v1.GetAccountUsageRequest.end_time:type_name -> google.protobuf.Timestamp + 13, // 9: api.accountservice.v1.GetAccountUsageRequest.aggregated_period:type_name -> api.account.v1.Period + 14, // 10: api.accountservice.v1.GetAccountUsageResponse.entries:type_name -> api.account.v1.MeteringEntry + 16, // 11: api.accountservice.v1.GetAccountResponse.account:type_name -> api.account.v1.Account + 17, // 12: api.accountservice.v1.UpdateAccountRequest.spec:type_name -> api.account.v1.AccountSpec + 18, // 13: api.accountservice.v1.UpdateAccountResponse.request_status:type_name -> api.request.v1.RequestStatus + 19, // 14: api.accountservice.v1.GetRegionsResponse.regions:type_name -> api.common.v1.Region + 15, // [15:15] is the sub-list for method output_type + 15, // [15:15] is the sub-list for method input_type + 15, // [15:15] is the sub-list for extension type_name + 15, // [15:15] is the sub-list for extension extendee + 0, // [0:15] is the sub-list for field type_name +} + +func init() { file_api_accountservice_v1_request_response_proto_init() } +func file_api_accountservice_v1_request_response_proto_init() { + if File_api_accountservice_v1_request_response_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_api_accountservice_v1_request_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNamespaceUsageRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_accountservice_v1_request_response_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNamespaceUsageResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_accountservice_v1_request_response_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNamespacesUsageRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_accountservice_v1_request_response_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNamespacesUsageResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_accountservice_v1_request_response_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAccountUsageRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_accountservice_v1_request_response_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAccountUsageResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_accountservice_v1_request_response_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAccountRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_accountservice_v1_request_response_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAccountResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_accountservice_v1_request_response_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateAccountRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_accountservice_v1_request_response_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateAccountResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_accountservice_v1_request_response_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRegionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_accountservice_v1_request_response_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRegionsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_api_accountservice_v1_request_response_proto_rawDesc, + NumEnums: 0, + NumMessages: 12, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_api_accountservice_v1_request_response_proto_goTypes, + DependencyIndexes: file_api_accountservice_v1_request_response_proto_depIdxs, + MessageInfos: file_api_accountservice_v1_request_response_proto_msgTypes, + }.Build() + File_api_accountservice_v1_request_response_proto = out.File + file_api_accountservice_v1_request_response_proto_rawDesc = nil + file_api_accountservice_v1_request_response_proto_goTypes = nil + file_api_accountservice_v1_request_response_proto_depIdxs = nil } -func (this *GetAccountRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 4) - s = append(s, "&accountservice.GetAccountRequest{") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetAccountResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&accountservice.GetAccountResponse{") - if this.Account != nil { - s = append(s, "Account: "+fmt.Sprintf("%#v", this.Account)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateAccountRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&accountservice.UpdateAccountRequest{") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateAccountResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&accountservice.UpdateAccountResponse{") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetRegionsRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 4) - s = append(s, "&accountservice.GetRegionsRequest{") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetRegionsResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&accountservice.GetRegionsResponse{") - if this.Regions != nil { - s = append(s, "Regions: "+fmt.Sprintf("%#v", this.Regions)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func valueToGoStringRequestResponse(v interface{}, typ string) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) -} -func (m *GetNamespaceUsageRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetNamespaceUsageRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetNamespaceUsageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AggregatedPeriod != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.AggregatedPeriod)) - i-- - dAtA[i] = 0x20 - } - if m.EndTime != nil { - { - size, err := m.EndTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.StartTime != nil { - { - size, err := m.StartTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetNamespaceUsageResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetNamespaceUsageResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetNamespaceUsageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Entries) > 0 { - for iNdEx := len(m.Entries) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Entries[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GetNamespacesUsageRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetNamespacesUsageRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetNamespacesUsageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.EndTime != nil { - { - size, err := m.EndTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if m.StartTime != nil { - { - size, err := m.StartTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x12 - } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *GetNamespacesUsageResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetNamespacesUsageResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetNamespacesUsageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.UsageRecords) > 0 { - for iNdEx := len(m.UsageRecords) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.UsageRecords[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GetAccountUsageRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetAccountUsageRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetAccountUsageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AggregatedPeriod != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.AggregatedPeriod)) - i-- - dAtA[i] = 0x18 - } - if m.EndTime != nil { - { - size, err := m.EndTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.StartTime != nil { - { - size, err := m.StartTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetAccountUsageResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetAccountUsageResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetAccountUsageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Entries) > 0 { - for iNdEx := len(m.Entries) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Entries[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GetAccountRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetAccountRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *GetAccountResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetAccountResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Account != nil { - { - size, err := m.Account.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateAccountRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateAccountRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateAccountResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateAccountResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.RequestStatus != nil { - { - size, err := m.RequestStatus.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetRegionsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetRegionsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetRegionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *GetRegionsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetRegionsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetRegionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Regions) > 0 { - for iNdEx := len(m.Regions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Regions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func encodeVarintRequestResponse(dAtA []byte, offset int, v uint64) int { - offset -= sovRequestResponse(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *GetNamespaceUsageRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.StartTime != nil { - l = m.StartTime.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.EndTime != nil { - l = m.EndTime.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.AggregatedPeriod != 0 { - n += 1 + sovRequestResponse(uint64(m.AggregatedPeriod)) - } - return n -} - -func (m *GetNamespaceUsageResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Entries) > 0 { - for _, e := range m.Entries { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - return n -} - -func (m *GetNamespacesUsageRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PageSize != 0 { - n += 1 + sovRequestResponse(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.StartTime != nil { - l = m.StartTime.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.EndTime != nil { - l = m.EndTime.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetNamespacesUsageResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.UsageRecords) > 0 { - for _, e := range m.UsageRecords { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetAccountUsageRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.StartTime != nil { - l = m.StartTime.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.EndTime != nil { - l = m.EndTime.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.AggregatedPeriod != 0 { - n += 1 + sovRequestResponse(uint64(m.AggregatedPeriod)) - } - return n -} - -func (m *GetAccountUsageResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Entries) > 0 { - for _, e := range m.Entries { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - return n -} - -func (m *GetAccountRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *GetAccountResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Account != nil { - l = m.Account.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateAccountRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateAccountResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.RequestStatus != nil { - l = m.RequestStatus.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetRegionsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *GetRegionsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Regions) > 0 { - for _, e := range m.Regions { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - return n -} - -func sovRequestResponse(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozRequestResponse(x uint64) (n int) { - return sovRequestResponse(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (this *GetNamespaceUsageRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetNamespaceUsageRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `StartTime:` + strings.Replace(fmt.Sprintf("%v", this.StartTime), "Timestamp", "types.Timestamp", 1) + `,`, - `EndTime:` + strings.Replace(fmt.Sprintf("%v", this.EndTime), "Timestamp", "types.Timestamp", 1) + `,`, - `AggregatedPeriod:` + fmt.Sprintf("%v", this.AggregatedPeriod) + `,`, - `}`, - }, "") - return s -} -func (this *GetNamespaceUsageResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForEntries := "[]*MeteringEntry{" - for _, f := range this.Entries { - repeatedStringForEntries += strings.Replace(fmt.Sprintf("%v", f), "MeteringEntry", "v1.MeteringEntry", 1) + "," - } - repeatedStringForEntries += "}" - s := strings.Join([]string{`&GetNamespaceUsageResponse{`, - `Entries:` + repeatedStringForEntries + `,`, - `}`, - }, "") - return s -} -func (this *GetNamespacesUsageRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetNamespacesUsageRequest{`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `StartTime:` + strings.Replace(fmt.Sprintf("%v", this.StartTime), "Timestamp", "types.Timestamp", 1) + `,`, - `EndTime:` + strings.Replace(fmt.Sprintf("%v", this.EndTime), "Timestamp", "types.Timestamp", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetNamespacesUsageResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForUsageRecords := "[]*NamespaceUsageRecord{" - for _, f := range this.UsageRecords { - repeatedStringForUsageRecords += strings.Replace(fmt.Sprintf("%v", f), "NamespaceUsageRecord", "v1.NamespaceUsageRecord", 1) + "," - } - repeatedStringForUsageRecords += "}" - s := strings.Join([]string{`&GetNamespacesUsageResponse{`, - `UsageRecords:` + repeatedStringForUsageRecords + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetAccountUsageRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetAccountUsageRequest{`, - `StartTime:` + strings.Replace(fmt.Sprintf("%v", this.StartTime), "Timestamp", "types.Timestamp", 1) + `,`, - `EndTime:` + strings.Replace(fmt.Sprintf("%v", this.EndTime), "Timestamp", "types.Timestamp", 1) + `,`, - `AggregatedPeriod:` + fmt.Sprintf("%v", this.AggregatedPeriod) + `,`, - `}`, - }, "") - return s -} -func (this *GetAccountUsageResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForEntries := "[]*MeteringEntry{" - for _, f := range this.Entries { - repeatedStringForEntries += strings.Replace(fmt.Sprintf("%v", f), "MeteringEntry", "v1.MeteringEntry", 1) + "," - } - repeatedStringForEntries += "}" - s := strings.Join([]string{`&GetAccountUsageResponse{`, - `Entries:` + repeatedStringForEntries + `,`, - `}`, - }, "") - return s -} -func (this *GetAccountRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetAccountRequest{`, - `}`, - }, "") - return s -} -func (this *GetAccountResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetAccountResponse{`, - `Account:` + strings.Replace(fmt.Sprintf("%v", this.Account), "Account", "v1.Account", 1) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateAccountRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateAccountRequest{`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "AccountSpec", "v1.AccountSpec", 1) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateAccountResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateAccountResponse{`, - `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v11.RequestStatus", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetRegionsRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetRegionsRequest{`, - `}`, - }, "") - return s -} -func (this *GetRegionsResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForRegions := "[]*Region{" - for _, f := range this.Regions { - repeatedStringForRegions += strings.Replace(fmt.Sprintf("%v", f), "Region", "v12.Region", 1) + "," - } - repeatedStringForRegions += "}" - s := strings.Join([]string{`&GetRegionsResponse{`, - `Regions:` + repeatedStringForRegions + `,`, - `}`, - }, "") - return s -} -func valueToStringRequestResponse(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) -} -func (m *GetNamespaceUsageRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetNamespaceUsageRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespaceUsageRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.StartTime == nil { - m.StartTime = &types.Timestamp{} - } - if err := m.StartTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EndTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.EndTime == nil { - m.EndTime = &types.Timestamp{} - } - if err := m.EndTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AggregatedPeriod", wireType) - } - m.AggregatedPeriod = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.AggregatedPeriod |= v1.Period(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetNamespaceUsageResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetNamespaceUsageResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespaceUsageResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Entries", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Entries = append(m.Entries, &v1.MeteringEntry{}) - if err := m.Entries[len(m.Entries)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetNamespacesUsageRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetNamespacesUsageRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespacesUsageRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.StartTime == nil { - m.StartTime = &types.Timestamp{} - } - if err := m.StartTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EndTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.EndTime == nil { - m.EndTime = &types.Timestamp{} - } - if err := m.EndTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetNamespacesUsageResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetNamespacesUsageResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespacesUsageResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UsageRecords", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.UsageRecords = append(m.UsageRecords, &v1.NamespaceUsageRecord{}) - if err := m.UsageRecords[len(m.UsageRecords)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetAccountUsageRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetAccountUsageRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetAccountUsageRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.StartTime == nil { - m.StartTime = &types.Timestamp{} - } - if err := m.StartTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EndTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.EndTime == nil { - m.EndTime = &types.Timestamp{} - } - if err := m.EndTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AggregatedPeriod", wireType) - } - m.AggregatedPeriod = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.AggregatedPeriod |= v1.Period(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetAccountUsageResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetAccountUsageResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetAccountUsageResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Entries", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Entries = append(m.Entries, &v1.MeteringEntry{}) - if err := m.Entries[len(m.Entries)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetAccountRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetAccountRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetAccountResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetAccountResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Account", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Account == nil { - m.Account = &v1.Account{} - } - if err := m.Account.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateAccountRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateAccountRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v1.AccountSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateAccountResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateAccountResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestStatus", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RequestStatus == nil { - m.RequestStatus = &v11.RequestStatus{} - } - if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetRegionsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetRegionsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetRegionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetRegionsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetRegionsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetRegionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Regions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Regions = append(m.Regions, &v12.Region{}) - if err := m.Regions[len(m.Regions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipRequestResponse(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthRequestResponse - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupRequestResponse - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthRequestResponse - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthRequestResponse = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowRequestResponse = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupRequestResponse = fmt.Errorf("proto: unexpected end of group") -) diff --git a/protogen/api/accountservice/v1/service.pb.go b/protogen/api/accountservice/v1/service.pb.go index 57017b35..a55a0808 100644 --- a/protogen/api/accountservice/v1/service.pb.go +++ b/protogen/api/accountservice/v1/service.pb.go @@ -1,326 +1,153 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: api/accountservice/v1/service.proto package accountservice import ( - context "context" - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -func init() { - proto.RegisterFile("api/accountservice/v1/service.proto", fileDescriptor_3e50bdfe3e07e117) -} - -var fileDescriptor_3e50bdfe3e07e117 = []byte{ - // 324 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xb1, 0x4e, 0xc3, 0x30, - 0x10, 0x86, 0xed, 0x01, 0x06, 0x4b, 0x80, 0x88, 0xc4, 0xd2, 0xe1, 0x06, 0x58, 0x40, 0x14, 0xa7, - 0x85, 0x91, 0x09, 0x96, 0x6e, 0x0c, 0x45, 0x5d, 0x58, 0x90, 0x49, 0x8f, 0x2a, 0x52, 0x5b, 0x1b, - 0xdb, 0xad, 0x90, 0x58, 0x78, 0x04, 0x1e, 0x83, 0x9d, 0x97, 0x60, 0xec, 0xd8, 0x91, 0xba, 0x0b, - 0x63, 0x1f, 0x01, 0x09, 0x27, 0xa1, 0x81, 0x14, 0xcc, 0x66, 0xf9, 0xbe, 0xff, 0x3e, 0x9f, 0xa5, - 0x63, 0x7b, 0x42, 0xa5, 0xb1, 0x48, 0x12, 0x39, 0x1a, 0x5a, 0x83, 0x7a, 0x9c, 0x26, 0x18, 0x8f, - 0x9b, 0x71, 0x76, 0xe4, 0x4a, 0x4b, 0x2b, 0xa3, 0x1d, 0xa1, 0x52, 0x5e, 0x86, 0xf8, 0xb8, 0x59, - 0xab, 0x57, 0x67, 0x35, 0xde, 0x8d, 0xd0, 0xd8, 0x6b, 0x8d, 0x46, 0xc9, 0xa1, 0xc9, 0x9a, 0x1c, - 0xbf, 0xac, 0xb1, 0xcd, 0x33, 0x0f, 0x5f, 0x7a, 0x38, 0xba, 0x67, 0xdb, 0x2d, 0xb4, 0x17, 0x62, - 0x80, 0x46, 0x89, 0x04, 0x3b, 0x46, 0xf4, 0x30, 0x8a, 0x79, 0xa5, 0x8d, 0xff, 0x20, 0xdb, 0xde, - 0x53, 0x6b, 0x84, 0x07, 0xfc, 0x83, 0x76, 0x49, 0xf4, 0xc0, 0xa2, 0xe5, 0xb2, 0xf1, 0xea, 0x90, - 0x4e, 0xa6, 0xe4, 0x6e, 0xfe, 0x23, 0x51, 0xc8, 0x35, 0xdb, 0x6a, 0xa1, 0xcd, 0xfe, 0xc2, 0x9b, - 0x8f, 0x56, 0xf7, 0x59, 0xe6, 0x72, 0x2d, 0x0f, 0xc5, 0x0b, 0x67, 0xc2, 0xd8, 0x57, 0x31, 0xda, - 0xff, 0x33, 0x9f, 0x9b, 0x0e, 0x02, 0xc8, 0x42, 0xd2, 0x67, 0x1b, 0x1d, 0xd5, 0x15, 0x16, 0x73, - 0xcf, 0xe1, 0x8a, 0x74, 0x89, 0xca, 0x55, 0xf5, 0x30, 0xf8, 0xdb, 0x48, 0x6d, 0xec, 0xa5, 0x72, - 0x68, 0x7e, 0x1b, 0x29, 0x43, 0x02, 0x46, 0x2a, 0xc8, 0x5c, 0x72, 0x7e, 0x3b, 0x99, 0x01, 0x99, - 0xce, 0x80, 0x2c, 0x66, 0x40, 0x1f, 0x1d, 0xd0, 0x67, 0x07, 0xf4, 0xd5, 0x01, 0x9d, 0x38, 0xa0, - 0x6f, 0x0e, 0xe8, 0xbb, 0x03, 0xb2, 0x70, 0x40, 0x9f, 0xe6, 0x40, 0x26, 0x73, 0x20, 0xd3, 0x39, - 0x90, 0xab, 0x86, 0x1d, 0x28, 0xdd, 0xe7, 0x49, 0x5f, 0x8e, 0xba, 0x71, 0xe5, 0x96, 0x9c, 0x96, - 0x6f, 0x6e, 0xd6, 0x3f, 0x97, 0xe4, 0xe4, 0x23, 0x00, 0x00, 0xff, 0xff, 0xa1, 0xcd, 0x29, 0x05, - 0x90, 0x03, 0x00, 0x00, -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConnInterface - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 - -// AccountServiceClient is the client API for AccountService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AccountServiceClient interface { - // Gets the usage records of a given namespace. - GetNamespaceUsage(ctx context.Context, in *GetNamespaceUsageRequest, opts ...grpc.CallOption) (*GetNamespaceUsageResponse, error) - // Gets the usage records of a subset of namespaces belonging to a Temporal account. - GetNamespacesUsage(ctx context.Context, in *GetNamespacesUsageRequest, opts ...grpc.CallOption) (*GetNamespacesUsageResponse, error) - // Gets the usage records of a Temporal account. - GetAccountUsage(ctx context.Context, in *GetAccountUsageRequest, opts ...grpc.CallOption) (*GetAccountUsageResponse, error) - // Describes account configuration in detail - GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*GetAccountResponse, error) - // Updates Account configuration settings on Temporal cloud. - UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...grpc.CallOption) (*UpdateAccountResponse, error) - // Gets all cloud regions enabled for namespace creation. - GetRegions(ctx context.Context, in *GetRegionsRequest, opts ...grpc.CallOption) (*GetRegionsResponse, error) -} - -type accountServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewAccountServiceClient(cc grpc.ClientConnInterface) AccountServiceClient { - return &accountServiceClient{cc} -} - -func (c *accountServiceClient) GetNamespaceUsage(ctx context.Context, in *GetNamespaceUsageRequest, opts ...grpc.CallOption) (*GetNamespaceUsageResponse, error) { - out := new(GetNamespaceUsageResponse) - err := c.cc.Invoke(ctx, "/api.accountservice.v1.AccountService/GetNamespaceUsage", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *accountServiceClient) GetNamespacesUsage(ctx context.Context, in *GetNamespacesUsageRequest, opts ...grpc.CallOption) (*GetNamespacesUsageResponse, error) { - out := new(GetNamespacesUsageResponse) - err := c.cc.Invoke(ctx, "/api.accountservice.v1.AccountService/GetNamespacesUsage", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *accountServiceClient) GetAccountUsage(ctx context.Context, in *GetAccountUsageRequest, opts ...grpc.CallOption) (*GetAccountUsageResponse, error) { - out := new(GetAccountUsageResponse) - err := c.cc.Invoke(ctx, "/api.accountservice.v1.AccountService/GetAccountUsage", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *accountServiceClient) GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*GetAccountResponse, error) { - out := new(GetAccountResponse) - err := c.cc.Invoke(ctx, "/api.accountservice.v1.AccountService/GetAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *accountServiceClient) UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...grpc.CallOption) (*UpdateAccountResponse, error) { - out := new(UpdateAccountResponse) - err := c.cc.Invoke(ctx, "/api.accountservice.v1.AccountService/UpdateAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *accountServiceClient) GetRegions(ctx context.Context, in *GetRegionsRequest, opts ...grpc.CallOption) (*GetRegionsResponse, error) { - out := new(GetRegionsResponse) - err := c.cc.Invoke(ctx, "/api.accountservice.v1.AccountService/GetRegions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AccountServiceServer is the server API for AccountService service. -type AccountServiceServer interface { - // Gets the usage records of a given namespace. - GetNamespaceUsage(context.Context, *GetNamespaceUsageRequest) (*GetNamespaceUsageResponse, error) - // Gets the usage records of a subset of namespaces belonging to a Temporal account. - GetNamespacesUsage(context.Context, *GetNamespacesUsageRequest) (*GetNamespacesUsageResponse, error) - // Gets the usage records of a Temporal account. - GetAccountUsage(context.Context, *GetAccountUsageRequest) (*GetAccountUsageResponse, error) - // Describes account configuration in detail - GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error) - // Updates Account configuration settings on Temporal cloud. - UpdateAccount(context.Context, *UpdateAccountRequest) (*UpdateAccountResponse, error) - // Gets all cloud regions enabled for namespace creation. - GetRegions(context.Context, *GetRegionsRequest) (*GetRegionsResponse, error) -} - -// UnimplementedAccountServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAccountServiceServer struct { -} - -func (*UnimplementedAccountServiceServer) GetNamespaceUsage(ctx context.Context, req *GetNamespaceUsageRequest) (*GetNamespaceUsageResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNamespaceUsage not implemented") -} -func (*UnimplementedAccountServiceServer) GetNamespacesUsage(ctx context.Context, req *GetNamespacesUsageRequest) (*GetNamespacesUsageResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNamespacesUsage not implemented") -} -func (*UnimplementedAccountServiceServer) GetAccountUsage(ctx context.Context, req *GetAccountUsageRequest) (*GetAccountUsageResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccountUsage not implemented") -} -func (*UnimplementedAccountServiceServer) GetAccount(ctx context.Context, req *GetAccountRequest) (*GetAccountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccount not implemented") -} -func (*UnimplementedAccountServiceServer) UpdateAccount(ctx context.Context, req *UpdateAccountRequest) (*UpdateAccountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateAccount not implemented") -} -func (*UnimplementedAccountServiceServer) GetRegions(ctx context.Context, req *GetRegionsRequest) (*GetRegionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRegions not implemented") -} - -func RegisterAccountServiceServer(s *grpc.Server, srv AccountServiceServer) { - s.RegisterService(&_AccountService_serviceDesc, srv) -} - -func _AccountService_GetNamespaceUsage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNamespaceUsageRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AccountServiceServer).GetNamespaceUsage(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.accountservice.v1.AccountService/GetNamespaceUsage", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AccountServiceServer).GetNamespaceUsage(ctx, req.(*GetNamespaceUsageRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AccountService_GetNamespacesUsage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNamespacesUsageRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AccountServiceServer).GetNamespacesUsage(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.accountservice.v1.AccountService/GetNamespacesUsage", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AccountServiceServer).GetNamespacesUsage(ctx, req.(*GetNamespacesUsageRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AccountService_GetAccountUsage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAccountUsageRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AccountServiceServer).GetAccountUsage(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.accountservice.v1.AccountService/GetAccountUsage", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AccountServiceServer).GetAccountUsage(ctx, req.(*GetAccountUsageRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AccountService_GetAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAccountRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AccountServiceServer).GetAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.accountservice.v1.AccountService/GetAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AccountServiceServer).GetAccount(ctx, req.(*GetAccountRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AccountService_UpdateAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateAccountRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AccountServiceServer).UpdateAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.accountservice.v1.AccountService/UpdateAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AccountServiceServer).UpdateAccount(ctx, req.(*UpdateAccountRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AccountService_GetRegions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AccountServiceServer).GetRegions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.accountservice.v1.AccountService/GetRegions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AccountServiceServer).GetRegions(ctx, req.(*GetRegionsRequest)) - } - return interceptor(ctx, in, info, handler) -} +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -var _AccountService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "api.accountservice.v1.AccountService", - HandlerType: (*AccountServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetNamespaceUsage", - Handler: _AccountService_GetNamespaceUsage_Handler, - }, - { - MethodName: "GetNamespacesUsage", - Handler: _AccountService_GetNamespacesUsage_Handler, - }, - { - MethodName: "GetAccountUsage", - Handler: _AccountService_GetAccountUsage_Handler, - }, - { - MethodName: "GetAccount", - Handler: _AccountService_GetAccount_Handler, - }, - { - MethodName: "UpdateAccount", - Handler: _AccountService_UpdateAccount_Handler, - }, - { - MethodName: "GetRegions", - Handler: _AccountService_GetRegions_Handler, +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +var File_api_accountservice_v1_service_proto protoreflect.FileDescriptor + +var file_api_accountservice_v1_service_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x2c, 0x61, 0x70, + 0x69, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xb3, 0x05, 0x0a, 0x0e, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x78, 0x0a, + 0x11, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x55, 0x73, 0x61, + 0x67, 0x65, 0x12, 0x2f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7b, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x30, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x73, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x31, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x73, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x72, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x29, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6c, 0x0a, + 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2b, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x0a, 0x47, + 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x28, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x42, 0xd1, 0x01, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0c, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x30, + 0x74, 0x6d, 0x70, 0x72, 0x6c, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, + 0x31, 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0xa2, 0x02, 0x03, 0x41, 0x41, 0x58, 0xaa, 0x02, 0x15, 0x41, 0x70, 0x69, 0x2e, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, + 0x15, 0x41, 0x70, 0x69, 0x5c, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x21, 0x41, 0x70, 0x69, 0x5c, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x17, 0x41, 0x70, 0x69, + 0x3a, 0x3a, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var file_api_accountservice_v1_service_proto_goTypes = []interface{}{ + (*GetNamespaceUsageRequest)(nil), // 0: api.accountservice.v1.GetNamespaceUsageRequest + (*GetNamespacesUsageRequest)(nil), // 1: api.accountservice.v1.GetNamespacesUsageRequest + (*GetAccountUsageRequest)(nil), // 2: api.accountservice.v1.GetAccountUsageRequest + (*GetAccountRequest)(nil), // 3: api.accountservice.v1.GetAccountRequest + (*UpdateAccountRequest)(nil), // 4: api.accountservice.v1.UpdateAccountRequest + (*GetRegionsRequest)(nil), // 5: api.accountservice.v1.GetRegionsRequest + (*GetNamespaceUsageResponse)(nil), // 6: api.accountservice.v1.GetNamespaceUsageResponse + (*GetNamespacesUsageResponse)(nil), // 7: api.accountservice.v1.GetNamespacesUsageResponse + (*GetAccountUsageResponse)(nil), // 8: api.accountservice.v1.GetAccountUsageResponse + (*GetAccountResponse)(nil), // 9: api.accountservice.v1.GetAccountResponse + (*UpdateAccountResponse)(nil), // 10: api.accountservice.v1.UpdateAccountResponse + (*GetRegionsResponse)(nil), // 11: api.accountservice.v1.GetRegionsResponse +} +var file_api_accountservice_v1_service_proto_depIdxs = []int32{ + 0, // 0: api.accountservice.v1.AccountService.GetNamespaceUsage:input_type -> api.accountservice.v1.GetNamespaceUsageRequest + 1, // 1: api.accountservice.v1.AccountService.GetNamespacesUsage:input_type -> api.accountservice.v1.GetNamespacesUsageRequest + 2, // 2: api.accountservice.v1.AccountService.GetAccountUsage:input_type -> api.accountservice.v1.GetAccountUsageRequest + 3, // 3: api.accountservice.v1.AccountService.GetAccount:input_type -> api.accountservice.v1.GetAccountRequest + 4, // 4: api.accountservice.v1.AccountService.UpdateAccount:input_type -> api.accountservice.v1.UpdateAccountRequest + 5, // 5: api.accountservice.v1.AccountService.GetRegions:input_type -> api.accountservice.v1.GetRegionsRequest + 6, // 6: api.accountservice.v1.AccountService.GetNamespaceUsage:output_type -> api.accountservice.v1.GetNamespaceUsageResponse + 7, // 7: api.accountservice.v1.AccountService.GetNamespacesUsage:output_type -> api.accountservice.v1.GetNamespacesUsageResponse + 8, // 8: api.accountservice.v1.AccountService.GetAccountUsage:output_type -> api.accountservice.v1.GetAccountUsageResponse + 9, // 9: api.accountservice.v1.AccountService.GetAccount:output_type -> api.accountservice.v1.GetAccountResponse + 10, // 10: api.accountservice.v1.AccountService.UpdateAccount:output_type -> api.accountservice.v1.UpdateAccountResponse + 11, // 11: api.accountservice.v1.AccountService.GetRegions:output_type -> api.accountservice.v1.GetRegionsResponse + 6, // [6:12] is the sub-list for method output_type + 0, // [0:6] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_api_accountservice_v1_service_proto_init() } +func file_api_accountservice_v1_service_proto_init() { + if File_api_accountservice_v1_service_proto != nil { + return + } + file_api_accountservice_v1_request_response_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_api_accountservice_v1_service_proto_rawDesc, + NumEnums: 0, + NumMessages: 0, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "api/accountservice/v1/service.proto", + GoTypes: file_api_accountservice_v1_service_proto_goTypes, + DependencyIndexes: file_api_accountservice_v1_service_proto_depIdxs, + }.Build() + File_api_accountservice_v1_service_proto = out.File + file_api_accountservice_v1_service_proto_rawDesc = nil + file_api_accountservice_v1_service_proto_goTypes = nil + file_api_accountservice_v1_service_proto_depIdxs = nil } diff --git a/protogen/api/accountservice/v1/service_grpc.pb.go b/protogen/api/accountservice/v1/service_grpc.pb.go new file mode 100644 index 00000000..6e58ea37 --- /dev/null +++ b/protogen/api/accountservice/v1/service_grpc.pb.go @@ -0,0 +1,297 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc (unknown) +// source: api/accountservice/v1/service.proto + +package accountservice + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// AccountServiceClient is the client API for AccountService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type AccountServiceClient interface { + // Gets the usage records of a given namespace. + GetNamespaceUsage(ctx context.Context, in *GetNamespaceUsageRequest, opts ...grpc.CallOption) (*GetNamespaceUsageResponse, error) + // Gets the usage records of a subset of namespaces belonging to a Temporal account. + GetNamespacesUsage(ctx context.Context, in *GetNamespacesUsageRequest, opts ...grpc.CallOption) (*GetNamespacesUsageResponse, error) + // Gets the usage records of a Temporal account. + GetAccountUsage(ctx context.Context, in *GetAccountUsageRequest, opts ...grpc.CallOption) (*GetAccountUsageResponse, error) + // Describes account configuration in detail + GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*GetAccountResponse, error) + // Updates Account configuration settings on Temporal cloud. + UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...grpc.CallOption) (*UpdateAccountResponse, error) + // Gets all cloud regions enabled for namespace creation. + GetRegions(ctx context.Context, in *GetRegionsRequest, opts ...grpc.CallOption) (*GetRegionsResponse, error) +} + +type accountServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewAccountServiceClient(cc grpc.ClientConnInterface) AccountServiceClient { + return &accountServiceClient{cc} +} + +func (c *accountServiceClient) GetNamespaceUsage(ctx context.Context, in *GetNamespaceUsageRequest, opts ...grpc.CallOption) (*GetNamespaceUsageResponse, error) { + out := new(GetNamespaceUsageResponse) + err := c.cc.Invoke(ctx, "/api.accountservice.v1.AccountService/GetNamespaceUsage", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *accountServiceClient) GetNamespacesUsage(ctx context.Context, in *GetNamespacesUsageRequest, opts ...grpc.CallOption) (*GetNamespacesUsageResponse, error) { + out := new(GetNamespacesUsageResponse) + err := c.cc.Invoke(ctx, "/api.accountservice.v1.AccountService/GetNamespacesUsage", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *accountServiceClient) GetAccountUsage(ctx context.Context, in *GetAccountUsageRequest, opts ...grpc.CallOption) (*GetAccountUsageResponse, error) { + out := new(GetAccountUsageResponse) + err := c.cc.Invoke(ctx, "/api.accountservice.v1.AccountService/GetAccountUsage", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *accountServiceClient) GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*GetAccountResponse, error) { + out := new(GetAccountResponse) + err := c.cc.Invoke(ctx, "/api.accountservice.v1.AccountService/GetAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *accountServiceClient) UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...grpc.CallOption) (*UpdateAccountResponse, error) { + out := new(UpdateAccountResponse) + err := c.cc.Invoke(ctx, "/api.accountservice.v1.AccountService/UpdateAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *accountServiceClient) GetRegions(ctx context.Context, in *GetRegionsRequest, opts ...grpc.CallOption) (*GetRegionsResponse, error) { + out := new(GetRegionsResponse) + err := c.cc.Invoke(ctx, "/api.accountservice.v1.AccountService/GetRegions", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// AccountServiceServer is the server API for AccountService service. +// All implementations must embed UnimplementedAccountServiceServer +// for forward compatibility +type AccountServiceServer interface { + // Gets the usage records of a given namespace. + GetNamespaceUsage(context.Context, *GetNamespaceUsageRequest) (*GetNamespaceUsageResponse, error) + // Gets the usage records of a subset of namespaces belonging to a Temporal account. + GetNamespacesUsage(context.Context, *GetNamespacesUsageRequest) (*GetNamespacesUsageResponse, error) + // Gets the usage records of a Temporal account. + GetAccountUsage(context.Context, *GetAccountUsageRequest) (*GetAccountUsageResponse, error) + // Describes account configuration in detail + GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error) + // Updates Account configuration settings on Temporal cloud. + UpdateAccount(context.Context, *UpdateAccountRequest) (*UpdateAccountResponse, error) + // Gets all cloud regions enabled for namespace creation. + GetRegions(context.Context, *GetRegionsRequest) (*GetRegionsResponse, error) + mustEmbedUnimplementedAccountServiceServer() +} + +// UnimplementedAccountServiceServer must be embedded to have forward compatible implementations. +type UnimplementedAccountServiceServer struct { +} + +func (UnimplementedAccountServiceServer) GetNamespaceUsage(context.Context, *GetNamespaceUsageRequest) (*GetNamespaceUsageResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNamespaceUsage not implemented") +} +func (UnimplementedAccountServiceServer) GetNamespacesUsage(context.Context, *GetNamespacesUsageRequest) (*GetNamespacesUsageResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNamespacesUsage not implemented") +} +func (UnimplementedAccountServiceServer) GetAccountUsage(context.Context, *GetAccountUsageRequest) (*GetAccountUsageResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAccountUsage not implemented") +} +func (UnimplementedAccountServiceServer) GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAccount not implemented") +} +func (UnimplementedAccountServiceServer) UpdateAccount(context.Context, *UpdateAccountRequest) (*UpdateAccountResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateAccount not implemented") +} +func (UnimplementedAccountServiceServer) GetRegions(context.Context, *GetRegionsRequest) (*GetRegionsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetRegions not implemented") +} +func (UnimplementedAccountServiceServer) mustEmbedUnimplementedAccountServiceServer() {} + +// UnsafeAccountServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to AccountServiceServer will +// result in compilation errors. +type UnsafeAccountServiceServer interface { + mustEmbedUnimplementedAccountServiceServer() +} + +func RegisterAccountServiceServer(s grpc.ServiceRegistrar, srv AccountServiceServer) { + s.RegisterService(&AccountService_ServiceDesc, srv) +} + +func _AccountService_GetNamespaceUsage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetNamespaceUsageRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AccountServiceServer).GetNamespaceUsage(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.accountservice.v1.AccountService/GetNamespaceUsage", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AccountServiceServer).GetNamespaceUsage(ctx, req.(*GetNamespaceUsageRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AccountService_GetNamespacesUsage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetNamespacesUsageRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AccountServiceServer).GetNamespacesUsage(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.accountservice.v1.AccountService/GetNamespacesUsage", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AccountServiceServer).GetNamespacesUsage(ctx, req.(*GetNamespacesUsageRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AccountService_GetAccountUsage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAccountUsageRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AccountServiceServer).GetAccountUsage(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.accountservice.v1.AccountService/GetAccountUsage", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AccountServiceServer).GetAccountUsage(ctx, req.(*GetAccountUsageRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AccountService_GetAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAccountRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AccountServiceServer).GetAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.accountservice.v1.AccountService/GetAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AccountServiceServer).GetAccount(ctx, req.(*GetAccountRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AccountService_UpdateAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateAccountRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AccountServiceServer).UpdateAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.accountservice.v1.AccountService/UpdateAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AccountServiceServer).UpdateAccount(ctx, req.(*UpdateAccountRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AccountService_GetRegions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetRegionsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AccountServiceServer).GetRegions(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.accountservice.v1.AccountService/GetRegions", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AccountServiceServer).GetRegions(ctx, req.(*GetRegionsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// AccountService_ServiceDesc is the grpc.ServiceDesc for AccountService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var AccountService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "api.accountservice.v1.AccountService", + HandlerType: (*AccountServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetNamespaceUsage", + Handler: _AccountService_GetNamespaceUsage_Handler, + }, + { + MethodName: "GetNamespacesUsage", + Handler: _AccountService_GetNamespacesUsage_Handler, + }, + { + MethodName: "GetAccountUsage", + Handler: _AccountService_GetAccountUsage_Handler, + }, + { + MethodName: "GetAccount", + Handler: _AccountService_GetAccount_Handler, + }, + { + MethodName: "UpdateAccount", + Handler: _AccountService_UpdateAccount_Handler, + }, + { + MethodName: "GetRegions", + Handler: _AccountService_GetRegions_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "api/accountservice/v1/service.proto", +} diff --git a/protogen/api/auth/v1/message.pb.go b/protogen/api/auth/v1/message.pb.go index 94723ecf..04dcfaf5 100644 --- a/protogen/api/auth/v1/message.pb.go +++ b/protogen/api/auth/v1/message.pb.go @@ -1,31 +1,31 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: api/auth/v1/message.proto package auth import ( - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" - types "github.com/gogo/protobuf/types" - io "io" - math "math" - math_bits "math/bits" + proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" - strconv "strconv" - strings "strings" + "strconv" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type UserState int32 @@ -49,32 +49,81 @@ const ( USER_STATE_DELETED UserState = 8 ) -var UserState_name = map[int32]string{ - 0: "Unspecified", - 1: "Creating", - 2: "CreateFailed", - 3: "Active", - 4: "Updating", - 5: "UpdateFailed", - 6: "Deleting", - 7: "DeleteFailed", - 8: "Deleted", -} - -var UserState_value = map[string]int32{ - "Unspecified": 0, - "Creating": 1, - "CreateFailed": 2, - "Active": 3, - "Updating": 4, - "UpdateFailed": 5, - "Deleting": 6, - "DeleteFailed": 7, - "Deleted": 8, +// Enum value maps for UserState. +var ( + UserState_name = map[int32]string{ + 0: "UserStateUnspecified", + 1: "UserStateCreating", + 2: "UserStateCreateFailed", + 3: "UserStateActive", + 4: "UserStateUpdating", + 5: "UserStateUpdateFailed", + 6: "UserStateDeleting", + 7: "UserStateDeleteFailed", + 8: "UserStateDeleted", + } + UserState_value = map[string]int32{ + "UserStateUnspecified": 0, + "UserStateCreating": 1, + "UserStateCreateFailed": 2, + "UserStateActive": 3, + "UserStateUpdating": 4, + "UserStateUpdateFailed": 5, + "UserStateDeleting": 6, + "UserStateDeleteFailed": 7, + "UserStateDeleted": 8, + } +) + +func (x UserState) Enum() *UserState { + p := new(UserState) + *p = x + return p +} + +func (x UserState) String() string { + switch x { + case USER_STATE_UNSPECIFIED: + return "Unspecified" + case USER_STATE_CREATING: + return "Creating" + case USER_STATE_CREATE_FAILED: + return "CreateFailed" + case USER_STATE_ACTIVE: + return "Active" + case USER_STATE_UPDATING: + return "Updating" + case USER_STATE_UPDATE_FAILED: + return "UpdateFailed" + case USER_STATE_DELETING: + return "Deleting" + case USER_STATE_DELETE_FAILED: + return "DeleteFailed" + case USER_STATE_DELETED: + return "Deleted" + default: + return strconv. + + // Deprecated: Use UserState.Descriptor instead. + Itoa(int(x)) + } + +} + +func (UserState) Descriptor() protoreflect.EnumDescriptor { + return file_api_auth_v1_message_proto_enumTypes[0].Descriptor() +} + +func (UserState) Type() protoreflect.EnumType { + return &file_api_auth_v1_message_proto_enumTypes[0] +} + +func (x UserState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } func (UserState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{0} + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{0} } type RoleType int32 @@ -85,18 +134,51 @@ const ( ROLE_TYPE_PREDEFINED RoleType = 1 ) -var RoleType_name = map[int32]string{ - 0: "Unspecified", - 1: "Predefined", +// Enum value maps for RoleType. +var ( + RoleType_name = map[int32]string{ + 0: "RoleTypeUnspecified", + 1: "RoleTypePredefined", + } + RoleType_value = map[string]int32{ + "RoleTypeUnspecified": 0, + "RoleTypePredefined": 1, + } +) + +func (x RoleType) Enum() *RoleType { + p := new(RoleType) + *p = x + return p +} + +func (x RoleType) String() string { + switch x { + case ROLE_TYPE_UNSPECIFIED: + return "Unspecified" + case ROLE_TYPE_PREDEFINED: + return "Predefined" + default: + return strconv.Itoa(int(x)) + } + +} + +func (RoleType) Descriptor() protoreflect.EnumDescriptor { + return file_api_auth_v1_message_proto_enumTypes[1].Descriptor() +} + +func (RoleType) Type() protoreflect.EnumType { + return &file_api_auth_v1_message_proto_enumTypes[1] } -var RoleType_value = map[string]int32{ - "Unspecified": 0, - "Predefined": 1, +func (x RoleType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use RoleType.Descriptor instead. func (RoleType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{1} + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{1} } type NamespaceActionGroup int32 @@ -111,22 +193,59 @@ const ( NAMESPACE_ACTION_GROUP_READ NamespaceActionGroup = 3 ) -var NamespaceActionGroup_name = map[int32]string{ - 0: "Unspecified", - 1: "Admin", - 2: "Write", - 3: "Read", +// Enum value maps for NamespaceActionGroup. +var ( + NamespaceActionGroup_name = map[int32]string{ + 0: "NamespaceActionGroupUnspecified", + 1: "NamespaceActionGroupAdmin", + 2: "NamespaceActionGroupWrite", + 3: "NamespaceActionGroupRead", + } + NamespaceActionGroup_value = map[string]int32{ + "NamespaceActionGroupUnspecified": 0, + "NamespaceActionGroupAdmin": 1, + "NamespaceActionGroupWrite": 2, + "NamespaceActionGroupRead": 3, + } +) + +func (x NamespaceActionGroup) Enum() *NamespaceActionGroup { + p := new(NamespaceActionGroup) + *p = x + return p +} + +func (x NamespaceActionGroup) String() string { + switch x { + case NAMESPACE_ACTION_GROUP_UNSPECIFIED: + return "Unspecified" + case NAMESPACE_ACTION_GROUP_ADMIN: + return "Admin" + case NAMESPACE_ACTION_GROUP_WRITE: + return "Write" + case NAMESPACE_ACTION_GROUP_READ: + return "Read" + default: + return strconv.Itoa(int(x)) + } + +} + +func (NamespaceActionGroup) Descriptor() protoreflect.EnumDescriptor { + return file_api_auth_v1_message_proto_enumTypes[2].Descriptor() +} + +func (NamespaceActionGroup) Type() protoreflect.EnumType { + return &file_api_auth_v1_message_proto_enumTypes[2] } -var NamespaceActionGroup_value = map[string]int32{ - "Unspecified": 0, - "Admin": 1, - "Write": 2, - "Read": 3, +func (x NamespaceActionGroup) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use NamespaceActionGroup.Descriptor instead. func (NamespaceActionGroup) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{2} + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{2} } type AccountActionGroup int32 @@ -147,28 +266,71 @@ const ( ACCOUNT_ACTION_GROUP_METRICS_READ AccountActionGroup = 6 ) -var AccountActionGroup_name = map[int32]string{ - 0: "Unspecified", - 1: "Admin", - 2: "Developer", - 3: "Read", - 4: "Owner", - 5: "FinanceAdmin", - 6: "MetricsRead", +// Enum value maps for AccountActionGroup. +var ( + AccountActionGroup_name = map[int32]string{ + 0: "AccountActionGroupUnspecified", + 1: "AccountActionGroupAdmin", + 2: "AccountActionGroupDeveloper", + 3: "AccountActionGroupRead", + 4: "AccountActionGroupOwner", + 5: "AccountActionGroupFinanceAdmin", + 6: "AccountActionGroupMetricsRead", + } + AccountActionGroup_value = map[string]int32{ + "AccountActionGroupUnspecified": 0, + "AccountActionGroupAdmin": 1, + "AccountActionGroupDeveloper": 2, + "AccountActionGroupRead": 3, + "AccountActionGroupOwner": 4, + "AccountActionGroupFinanceAdmin": 5, + "AccountActionGroupMetricsRead": 6, + } +) + +func (x AccountActionGroup) Enum() *AccountActionGroup { + p := new(AccountActionGroup) + *p = x + return p +} + +func (x AccountActionGroup) String() string { + switch x { + case ACCOUNT_ACTION_GROUP_UNSPECIFIED: + return "Unspecified" + case ACCOUNT_ACTION_GROUP_ADMIN: + return "Admin" + case ACCOUNT_ACTION_GROUP_DEVELOPER: + return "Developer" + case ACCOUNT_ACTION_GROUP_READ: + return "Read" + case ACCOUNT_ACTION_GROUP_OWNER: + return "Owner" + case ACCOUNT_ACTION_GROUP_FINANCE_ADMIN: + return "FinanceAdmin" + case ACCOUNT_ACTION_GROUP_METRICS_READ: + return "MetricsRead" + default: + return strconv.Itoa(int(x)) + } + +} + +func (AccountActionGroup) Descriptor() protoreflect.EnumDescriptor { + return file_api_auth_v1_message_proto_enumTypes[3].Descriptor() } -var AccountActionGroup_value = map[string]int32{ - "Unspecified": 0, - "Admin": 1, - "Developer": 2, - "Read": 3, - "Owner": 4, - "FinanceAdmin": 5, - "MetricsRead": 6, +func (AccountActionGroup) Type() protoreflect.EnumType { + return &file_api_auth_v1_message_proto_enumTypes[3] } +func (x AccountActionGroup) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AccountActionGroup.Descriptor instead. func (AccountActionGroup) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{3} + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{3} } type APIKeyAccessType int32 @@ -179,18 +341,51 @@ const ( APIKEY_ACCESS_TYPE_INHERIT_OWNER_ACCESS APIKeyAccessType = 1 ) -var APIKeyAccessType_name = map[int32]string{ - 0: "ApikeyAccessTypeUnspecified", - 1: "ApikeyAccessTypeInheritOwnerAccess", +// Enum value maps for APIKeyAccessType. +var ( + APIKeyAccessType_name = map[int32]string{ + 0: "ApikeyAccessTypeUnspecified", + 1: "ApikeyAccessTypeInheritOwnerAccess", + } + APIKeyAccessType_value = map[string]int32{ + "ApikeyAccessTypeUnspecified": 0, + "ApikeyAccessTypeInheritOwnerAccess": 1, + } +) + +func (x APIKeyAccessType) Enum() *APIKeyAccessType { + p := new(APIKeyAccessType) + *p = x + return p +} + +func (x APIKeyAccessType) String() string { + switch x { + case APIKEY_ACCESS_TYPE_UNSPECIFIED: + return "ApikeyAccessTypeUnspecified" + case APIKEY_ACCESS_TYPE_INHERIT_OWNER_ACCESS: + return "ApikeyAccessTypeInheritOwnerAccess" + default: + return strconv.Itoa(int(x)) + } + +} + +func (APIKeyAccessType) Descriptor() protoreflect.EnumDescriptor { + return file_api_auth_v1_message_proto_enumTypes[4].Descriptor() +} + +func (APIKeyAccessType) Type() protoreflect.EnumType { + return &file_api_auth_v1_message_proto_enumTypes[4] } -var APIKeyAccessType_value = map[string]int32{ - "ApikeyAccessTypeUnspecified": 0, - "ApikeyAccessTypeInheritOwnerAccess": 1, +func (x APIKeyAccessType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use APIKeyAccessType.Descriptor instead. func (APIKeyAccessType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{4} + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{4} } type APIKeyOwnerType int32 @@ -203,20 +398,55 @@ const ( APIKEY_OWNER_TYPE_SERVICE_ACCOUNT APIKeyOwnerType = 2 ) -var APIKeyOwnerType_name = map[int32]string{ - 0: "ApikeyOwnerTypeUnspecified", - 1: "ApikeyOwnerTypeUser", - 2: "ApikeyOwnerTypeServiceAccount", +// Enum value maps for APIKeyOwnerType. +var ( + APIKeyOwnerType_name = map[int32]string{ + 0: "ApikeyOwnerTypeUnspecified", + 1: "ApikeyOwnerTypeUser", + 2: "ApikeyOwnerTypeServiceAccount", + } + APIKeyOwnerType_value = map[string]int32{ + "ApikeyOwnerTypeUnspecified": 0, + "ApikeyOwnerTypeUser": 1, + "ApikeyOwnerTypeServiceAccount": 2, + } +) + +func (x APIKeyOwnerType) Enum() *APIKeyOwnerType { + p := new(APIKeyOwnerType) + *p = x + return p +} + +func (x APIKeyOwnerType) String() string { + switch x { + case APIKEY_OWNER_TYPE_UNSPECIFIED: + return "ApikeyOwnerTypeUnspecified" + case APIKEY_OWNER_TYPE_USER: + return "ApikeyOwnerTypeUser" + case APIKEY_OWNER_TYPE_SERVICE_ACCOUNT: + return "ApikeyOwnerTypeServiceAccount" + default: + return strconv.Itoa(int(x)) + } + +} + +func (APIKeyOwnerType) Descriptor() protoreflect.EnumDescriptor { + return file_api_auth_v1_message_proto_enumTypes[5].Descriptor() } -var APIKeyOwnerType_value = map[string]int32{ - "ApikeyOwnerTypeUnspecified": 0, - "ApikeyOwnerTypeUser": 1, - "ApikeyOwnerTypeServiceAccount": 2, +func (APIKeyOwnerType) Type() protoreflect.EnumType { + return &file_api_auth_v1_message_proto_enumTypes[5] } +func (x APIKeyOwnerType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use APIKeyOwnerType.Descriptor instead. func (APIKeyOwnerType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{5} + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{5} } type APIKeyState int32 @@ -243,34 +473,84 @@ const ( APIKEY_STATE_DELETED APIKeyState = 9 ) -var APIKeyState_name = map[int32]string{ - 0: "ApikeyStateUnspecified", - 1: "ApikeyStateCreating", - 2: "ApikeyStateCreateFailed", - 3: "ApikeyStateActive", - 4: "ApikeyStateUpdating", - 5: "ApikeyStateUpdateFailed", - 6: "ApikeyStateExpired", - 7: "ApikeyStateDeleting", - 8: "ApikeyStateDeleteFailed", - 9: "ApikeyStateDeleted", -} - -var APIKeyState_value = map[string]int32{ - "ApikeyStateUnspecified": 0, - "ApikeyStateCreating": 1, - "ApikeyStateCreateFailed": 2, - "ApikeyStateActive": 3, - "ApikeyStateUpdating": 4, - "ApikeyStateUpdateFailed": 5, - "ApikeyStateExpired": 6, - "ApikeyStateDeleting": 7, - "ApikeyStateDeleteFailed": 8, - "ApikeyStateDeleted": 9, +// Enum value maps for APIKeyState. +var ( + APIKeyState_name = map[int32]string{ + 0: "ApikeyStateUnspecified", + 1: "ApikeyStateCreating", + 2: "ApikeyStateCreateFailed", + 3: "ApikeyStateActive", + 4: "ApikeyStateUpdating", + 5: "ApikeyStateUpdateFailed", + 6: "ApikeyStateExpired", + 7: "ApikeyStateDeleting", + 8: "ApikeyStateDeleteFailed", + 9: "ApikeyStateDeleted", + } + APIKeyState_value = map[string]int32{ + "ApikeyStateUnspecified": 0, + "ApikeyStateCreating": 1, + "ApikeyStateCreateFailed": 2, + "ApikeyStateActive": 3, + "ApikeyStateUpdating": 4, + "ApikeyStateUpdateFailed": 5, + "ApikeyStateExpired": 6, + "ApikeyStateDeleting": 7, + "ApikeyStateDeleteFailed": 8, + "ApikeyStateDeleted": 9, + } +) + +func (x APIKeyState) Enum() *APIKeyState { + p := new(APIKeyState) + *p = x + return p +} + +func (x APIKeyState) String() string { + switch x { + case APIKEY_STATE_UNSPECIFIED: + return "ApikeyStateUnspecified" + case APIKEY_STATE_CREATING: + return "ApikeyStateCreating" + case APIKEY_STATE_CREATE_FAILED: + return "ApikeyStateCreateFailed" + case APIKEY_STATE_ACTIVE: + return "ApikeyStateActive" + case APIKEY_STATE_UPDATING: + return "ApikeyStateUpdating" + case APIKEY_STATE_UPDATE_FAILED: + return "ApikeyStateUpdateFailed" + case APIKEY_STATE_EXPIRED: + return "ApikeyStateExpired" + case APIKEY_STATE_DELETING: + + // Deprecated: Use APIKeyState.Descriptor instead. + return "ApikeyStateDeleting" + case APIKEY_STATE_DELETE_FAILED: + return "ApikeyStateDeleteFailed" + case APIKEY_STATE_DELETED: + return "ApikeyStateDeleted" + default: + return strconv.Itoa(int(x)) + } + +} + +func (APIKeyState) Descriptor() protoreflect.EnumDescriptor { + return file_api_auth_v1_message_proto_enumTypes[6].Descriptor() +} + +func (APIKeyState) Type() protoreflect.EnumType { + return &file_api_auth_v1_message_proto_enumTypes[6] +} + +func (x APIKeyState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } func (APIKeyState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{6} + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{6} } type ServiceAccountState int32 @@ -287,32 +567,80 @@ const ( SERVICE_ACCOUNT_STATE_DELETED ServiceAccountState = 8 ) -var ServiceAccountState_name = map[int32]string{ - 0: "Unspecified", - 1: "Creating", - 2: "CreateFailed", - 3: "Active", - 4: "Updating", - 5: "UpdateFailed", - 6: "Deleting", - 7: "DeleteFailed", - 8: "Deleted", -} - -var ServiceAccountState_value = map[string]int32{ - "Unspecified": 0, - "Creating": 1, - "CreateFailed": 2, - "Active": 3, - "Updating": 4, - "UpdateFailed": 5, - "Deleting": 6, - "DeleteFailed": 7, - "Deleted": 8, +// Enum value maps for ServiceAccountState. +var ( + ServiceAccountState_name = map[int32]string{ + 0: "ServiceAccountStateUnspecified", + 1: "ServiceAccountStateCreating", + 2: "ServiceAccountStateCreateFailed", + 3: "ServiceAccountStateActive", + 4: "ServiceAccountStateUpdating", + 5: "ServiceAccountStateUpdateFailed", + 6: "ServiceAccountStateDeleting", + 7: "ServiceAccountStateDeleteFailed", + 8: "ServiceAccountStateDeleted", + } + ServiceAccountState_value = map[string]int32{ + "ServiceAccountStateUnspecified": 0, + "ServiceAccountStateCreating": 1, + "ServiceAccountStateCreateFailed": 2, + "ServiceAccountStateActive": 3, + "ServiceAccountStateUpdating": 4, + "ServiceAccountStateUpdateFailed": 5, + "ServiceAccountStateDeleting": 6, + "ServiceAccountStateDeleteFailed": 7, + "ServiceAccountStateDeleted": 8, + } +) + +func (x ServiceAccountState) Enum() *ServiceAccountState { + p := new(ServiceAccountState) + *p = x + return p +} + +func (x ServiceAccountState) String() string { + switch x { + case SERVICE_ACCOUNT_STATE_UNSPECIFIED: + return "Unspecified" + case SERVICE_ACCOUNT_STATE_CREATING: + return "Creating" + case SERVICE_ACCOUNT_STATE_CREATE_FAILED: + return "CreateFailed" + case SERVICE_ACCOUNT_STATE_ACTIVE: + return "Active" + case SERVICE_ACCOUNT_STATE_UPDATING: + return "Updating" + case SERVICE_ACCOUNT_STATE_UPDATE_FAILED: + return "UpdateFailed" + case SERVICE_ACCOUNT_STATE_DELETING: + return "Deleting" + case SERVICE_ACCOUNT_STATE_DELETE_FAILED: + return "DeleteFailed" + + // Deprecated: Use ServiceAccountState.Descriptor instead. + case SERVICE_ACCOUNT_STATE_DELETED: + return "Deleted" + default: + return strconv.Itoa(int(x)) + } + +} + +func (ServiceAccountState) Descriptor() protoreflect.EnumDescriptor { + return file_api_auth_v1_message_proto_enumTypes[7].Descriptor() +} + +func (ServiceAccountState) Type() protoreflect.EnumType { + return &file_api_auth_v1_message_proto_enumTypes[7] +} + +func (x ServiceAccountState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } func (ServiceAccountState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{7} + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{7} } type ServiceAccountScopeType int32 @@ -325,18 +653,51 @@ const ( SERVICE_ACCOUNT_SCOPE_TYPE_NAMESPACE ServiceAccountScopeType = 1 ) -var ServiceAccountScopeType_name = map[int32]string{ - 0: "Unspecified", - 1: "Namespace", +// Enum value maps for ServiceAccountScopeType. +var ( + ServiceAccountScopeType_name = map[int32]string{ + 0: "ServiceAccountScopeTypeUnspecified", + 1: "ServiceAccountScopeTypeNamespace", + } + ServiceAccountScopeType_value = map[string]int32{ + "ServiceAccountScopeTypeUnspecified": 0, + "ServiceAccountScopeTypeNamespace": 1, + } +) + +func (x ServiceAccountScopeType) Enum() *ServiceAccountScopeType { + p := new(ServiceAccountScopeType) + *p = x + return p +} + +func (x ServiceAccountScopeType) String() string { + switch x { + case SERVICE_ACCOUNT_SCOPE_TYPE_UNSPECIFIED: + return "Unspecified" + case SERVICE_ACCOUNT_SCOPE_TYPE_NAMESPACE: + return "Namespace" + default: + return strconv.Itoa(int(x)) + } + } -var ServiceAccountScopeType_value = map[string]int32{ - "Unspecified": 0, - "Namespace": 1, +func (ServiceAccountScopeType) Descriptor() protoreflect.EnumDescriptor { + return file_api_auth_v1_message_proto_enumTypes[8].Descriptor() } +func (ServiceAccountScopeType) Type() protoreflect.EnumType { + return &file_api_auth_v1_message_proto_enumTypes[8] +} + +func (x ServiceAccountScopeType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ServiceAccountScopeType.Descriptor instead. func (ServiceAccountScopeType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{8} + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{8} } type IdentityType int32 @@ -348,194 +709,247 @@ const ( IDENTITY_TYPE_USER_GROUP IdentityType = 3 ) -var IdentityType_name = map[int32]string{ - 0: "Unspecified", - 1: "User", - 2: "ServiceAccount", - 3: "UserGroup", +// Enum value maps for IdentityType. +var ( + IdentityType_name = map[int32]string{ + 0: "IdentityTypeUnspecified", + 1: "IdentityTypeUser", + 2: "IdentityTypeServiceAccount", + 3: "IdentityTypeUserGroup", + } + IdentityType_value = map[string]int32{ + "IdentityTypeUnspecified": 0, + "IdentityTypeUser": 1, + "IdentityTypeServiceAccount": 2, + "IdentityTypeUserGroup": 3, + } +) + +func (x IdentityType) Enum() *IdentityType { + p := new(IdentityType) + *p = x + return p +} + +func (x IdentityType) String() string { + switch x { + case IDENTITY_TYPE_UNSPECIFIED: + return "Unspecified" + case IDENTITY_TYPE_USER: + return "User" + case IDENTITY_TYPE_SERVICE_ACCOUNT: + return "ServiceAccount" + case IDENTITY_TYPE_USER_GROUP: + return "UserGroup" + default: + return strconv.Itoa(int(x)) + } + +} + +func (IdentityType) Descriptor() protoreflect.EnumDescriptor { + return file_api_auth_v1_message_proto_enumTypes[9].Descriptor() +} + +func (IdentityType) Type() protoreflect.EnumType { + return &file_api_auth_v1_message_proto_enumTypes[9] } -var IdentityType_value = map[string]int32{ - "Unspecified": 0, - "User": 1, - "ServiceAccount": 2, - "UserGroup": 3, +func (x IdentityType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use IdentityType.Descriptor instead. func (IdentityType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{9} + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{9} } type UserSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the email address associated to the user Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // the roles assigned to the user Roles []string `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"` } -func (m *UserSpec) Reset() { *m = UserSpec{} } -func (*UserSpec) ProtoMessage() {} -func (*UserSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{0} -} -func (m *UserSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *UserSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UserSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *UserSpec) Reset() { + *x = UserSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_api_auth_v1_message_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *UserSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserSpec.Merge(m, src) -} -func (m *UserSpec) XXX_Size() int { - return m.Size() + +func (x *UserSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserSpec) XXX_DiscardUnknown() { - xxx_messageInfo_UserSpec.DiscardUnknown(m) + +func (*UserSpec) ProtoMessage() {} + +func (x *UserSpec) ProtoReflect() protoreflect.Message { + mi := &file_api_auth_v1_message_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UserSpec proto.InternalMessageInfo +// Deprecated: Use UserSpec.ProtoReflect.Descriptor instead. +func (*UserSpec) Descriptor() ([]byte, []int) { + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{0} +} -func (m *UserSpec) GetEmail() string { - if m != nil { - return m.Email +func (x *UserSpec) GetEmail() string { + if x != nil { + return x.Email } return "" } -func (m *UserSpec) GetRoles() []string { - if m != nil { - return m.Roles +func (x *UserSpec) GetRoles() []string { + if x != nil { + return x.Roles } return nil } // should be used along side namespace_id to determine permissions set for a user type UserNamespacePermissions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the user to set namespace permissions for UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // the namespace action group to set for the user ActionGroup NamespaceActionGroup `protobuf:"varint,2,opt,name=action_group,json=actionGroup,proto3,enum=api.auth.v1.NamespaceActionGroup" json:"action_group,omitempty"` } -func (m *UserNamespacePermissions) Reset() { *m = UserNamespacePermissions{} } -func (*UserNamespacePermissions) ProtoMessage() {} -func (*UserNamespacePermissions) Descriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{1} -} -func (m *UserNamespacePermissions) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *UserNamespacePermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UserNamespacePermissions.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *UserNamespacePermissions) Reset() { + *x = UserNamespacePermissions{} + if protoimpl.UnsafeEnabled { + mi := &file_api_auth_v1_message_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *UserNamespacePermissions) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserNamespacePermissions.Merge(m, src) -} -func (m *UserNamespacePermissions) XXX_Size() int { - return m.Size() + +func (x *UserNamespacePermissions) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserNamespacePermissions) XXX_DiscardUnknown() { - xxx_messageInfo_UserNamespacePermissions.DiscardUnknown(m) + +func (*UserNamespacePermissions) ProtoMessage() {} + +func (x *UserNamespacePermissions) ProtoReflect() protoreflect.Message { + mi := &file_api_auth_v1_message_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UserNamespacePermissions proto.InternalMessageInfo +// Deprecated: Use UserNamespacePermissions.ProtoReflect.Descriptor instead. +func (*UserNamespacePermissions) Descriptor() ([]byte, []int) { + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{1} +} -func (m *UserNamespacePermissions) GetUserId() string { - if m != nil { - return m.UserId +func (x *UserNamespacePermissions) GetUserId() string { + if x != nil { + return x.UserId } return "" } -func (m *UserNamespacePermissions) GetActionGroup() NamespaceActionGroup { - if m != nil { - return m.ActionGroup +func (x *UserNamespacePermissions) GetActionGroup() NamespaceActionGroup { + if x != nil { + return x.ActionGroup } return NAMESPACE_ACTION_GROUP_UNSPECIFIED } type Invitation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the uri of the invitation sent to the user Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // the date and time when the user was created - CreatedTime *types.Timestamp `protobuf:"bytes,2,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` + CreatedTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` // the date and time when the invitation expires or has expired - ExpiryTime *types.Timestamp `protobuf:"bytes,3,opt,name=expiry_time,json=expiryTime,proto3" json:"expiry_time,omitempty"` + ExpiryTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expiry_time,json=expiryTime,proto3" json:"expiry_time,omitempty"` } -func (m *Invitation) Reset() { *m = Invitation{} } -func (*Invitation) ProtoMessage() {} -func (*Invitation) Descriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{2} -} -func (m *Invitation) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Invitation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Invitation.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Invitation) Reset() { + *x = Invitation{} + if protoimpl.UnsafeEnabled { + mi := &file_api_auth_v1_message_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Invitation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Invitation.Merge(m, src) -} -func (m *Invitation) XXX_Size() int { - return m.Size() + +func (x *Invitation) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Invitation) XXX_DiscardUnknown() { - xxx_messageInfo_Invitation.DiscardUnknown(m) + +func (*Invitation) ProtoMessage() {} + +func (x *Invitation) ProtoReflect() protoreflect.Message { + mi := &file_api_auth_v1_message_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Invitation proto.InternalMessageInfo +// Deprecated: Use Invitation.ProtoReflect.Descriptor instead. +func (*Invitation) Descriptor() ([]byte, []int) { + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{2} +} -func (m *Invitation) GetUri() string { - if m != nil { - return m.Uri +func (x *Invitation) GetUri() string { + if x != nil { + return x.Uri } return "" } -func (m *Invitation) GetCreatedTime() *types.Timestamp { - if m != nil { - return m.CreatedTime +func (x *Invitation) GetCreatedTime() *timestamppb.Timestamp { + if x != nil { + return x.CreatedTime } return nil } -func (m *Invitation) GetExpiryTime() *types.Timestamp { - if m != nil { - return m.ExpiryTime +func (x *Invitation) GetExpiryTime() *timestamppb.Timestamp { + if x != nil { + return x.ExpiryTime } return nil } type User struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the id of the user Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // the current version of the user specification @@ -550,250 +964,266 @@ type User struct { // the details of the open invitation sent to the user, if any Invitation *Invitation `protobuf:"bytes,6,opt,name=invitation,proto3" json:"invitation,omitempty"` // the date and time when the user was created - CreatedTime *types.Timestamp `protobuf:"bytes,7,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` + CreatedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` // the date and time when the user was last modified - LastModifiedTime *types.Timestamp `protobuf:"bytes,8,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` + LastModifiedTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` } -func (m *User) Reset() { *m = User{} } -func (*User) ProtoMessage() {} -func (*User) Descriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{3} -} -func (m *User) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_User.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *User) Reset() { + *x = User{} + if protoimpl.UnsafeEnabled { + mi := &file_api_auth_v1_message_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *User) XXX_Merge(src proto.Message) { - xxx_messageInfo_User.Merge(m, src) -} -func (m *User) XXX_Size() int { - return m.Size() + +func (x *User) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *User) XXX_DiscardUnknown() { - xxx_messageInfo_User.DiscardUnknown(m) + +func (*User) ProtoMessage() {} + +func (x *User) ProtoReflect() protoreflect.Message { + mi := &file_api_auth_v1_message_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_User proto.InternalMessageInfo +// Deprecated: Use User.ProtoReflect.Descriptor instead. +func (*User) Descriptor() ([]byte, []int) { + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{3} +} -func (m *User) GetId() string { - if m != nil { - return m.Id +func (x *User) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *User) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *User) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *User) GetSpec() *UserSpec { - if m != nil { - return m.Spec +func (x *User) GetSpec() *UserSpec { + if x != nil { + return x.Spec } return nil } -func (m *User) GetState() UserState { - if m != nil { - return m.State +func (x *User) GetState() UserState { + if x != nil { + return x.State } return USER_STATE_UNSPECIFIED } -func (m *User) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *User) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } -func (m *User) GetInvitation() *Invitation { - if m != nil { - return m.Invitation +func (x *User) GetInvitation() *Invitation { + if x != nil { + return x.Invitation } return nil } -func (m *User) GetCreatedTime() *types.Timestamp { - if m != nil { - return m.CreatedTime +func (x *User) GetCreatedTime() *timestamppb.Timestamp { + if x != nil { + return x.CreatedTime } return nil } -func (m *User) GetLastModifiedTime() *types.Timestamp { - if m != nil { - return m.LastModifiedTime +func (x *User) GetLastModifiedTime() *timestamppb.Timestamp { + if x != nil { + return x.LastModifiedTime } return nil } type NamespaceRoleSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the namespace the role is defined for Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // the action group to enable for the namepspace ActionGroup NamespaceActionGroup `protobuf:"varint,2,opt,name=action_group,json=actionGroup,proto3,enum=api.auth.v1.NamespaceActionGroup" json:"action_group,omitempty"` } -func (m *NamespaceRoleSpec) Reset() { *m = NamespaceRoleSpec{} } -func (*NamespaceRoleSpec) ProtoMessage() {} -func (*NamespaceRoleSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{4} -} -func (m *NamespaceRoleSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NamespaceRoleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NamespaceRoleSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NamespaceRoleSpec) Reset() { + *x = NamespaceRoleSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_api_auth_v1_message_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NamespaceRoleSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamespaceRoleSpec.Merge(m, src) -} -func (m *NamespaceRoleSpec) XXX_Size() int { - return m.Size() + +func (x *NamespaceRoleSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NamespaceRoleSpec) XXX_DiscardUnknown() { - xxx_messageInfo_NamespaceRoleSpec.DiscardUnknown(m) + +func (*NamespaceRoleSpec) ProtoMessage() {} + +func (x *NamespaceRoleSpec) ProtoReflect() protoreflect.Message { + mi := &file_api_auth_v1_message_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NamespaceRoleSpec proto.InternalMessageInfo +// Deprecated: Use NamespaceRoleSpec.ProtoReflect.Descriptor instead. +func (*NamespaceRoleSpec) Descriptor() ([]byte, []int) { + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{4} +} -func (m *NamespaceRoleSpec) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *NamespaceRoleSpec) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *NamespaceRoleSpec) GetActionGroup() NamespaceActionGroup { - if m != nil { - return m.ActionGroup +func (x *NamespaceRoleSpec) GetActionGroup() NamespaceActionGroup { + if x != nil { + return x.ActionGroup } return NAMESPACE_ACTION_GROUP_UNSPECIFIED } type AccountRoleSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the action group to enable for the account ActionGroup AccountActionGroup `protobuf:"varint,1,opt,name=action_group,json=actionGroup,proto3,enum=api.auth.v1.AccountActionGroup" json:"action_group,omitempty"` } -func (m *AccountRoleSpec) Reset() { *m = AccountRoleSpec{} } -func (*AccountRoleSpec) ProtoMessage() {} -func (*AccountRoleSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{5} -} -func (m *AccountRoleSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AccountRoleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AccountRoleSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AccountRoleSpec) Reset() { + *x = AccountRoleSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_api_auth_v1_message_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AccountRoleSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountRoleSpec.Merge(m, src) -} -func (m *AccountRoleSpec) XXX_Size() int { - return m.Size() + +func (x *AccountRoleSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AccountRoleSpec) XXX_DiscardUnknown() { - xxx_messageInfo_AccountRoleSpec.DiscardUnknown(m) + +func (*AccountRoleSpec) ProtoMessage() {} + +func (x *AccountRoleSpec) ProtoReflect() protoreflect.Message { + mi := &file_api_auth_v1_message_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_AccountRoleSpec proto.InternalMessageInfo +// Deprecated: Use AccountRoleSpec.ProtoReflect.Descriptor instead. +func (*AccountRoleSpec) Descriptor() ([]byte, []int) { + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{5} +} -func (m *AccountRoleSpec) GetActionGroup() AccountActionGroup { - if m != nil { - return m.ActionGroup +func (x *AccountRoleSpec) GetActionGroup() AccountActionGroup { + if x != nil { + return x.ActionGroup } return ACCOUNT_ACTION_GROUP_UNSPECIFIED } type RoleSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the global account role AccountRole *AccountRoleSpec `protobuf:"bytes,1,opt,name=account_role,json=accountRole,proto3" json:"account_role,omitempty"` // the list of namespace roles NamespaceRoles []*NamespaceRoleSpec `protobuf:"bytes,2,rep,name=namespace_roles,json=namespaceRoles,proto3" json:"namespace_roles,omitempty"` } -func (m *RoleSpec) Reset() { *m = RoleSpec{} } -func (*RoleSpec) ProtoMessage() {} -func (*RoleSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{6} -} -func (m *RoleSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *RoleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RoleSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *RoleSpec) Reset() { + *x = RoleSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_api_auth_v1_message_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *RoleSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_RoleSpec.Merge(m, src) -} -func (m *RoleSpec) XXX_Size() int { - return m.Size() + +func (x *RoleSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RoleSpec) XXX_DiscardUnknown() { - xxx_messageInfo_RoleSpec.DiscardUnknown(m) + +func (*RoleSpec) ProtoMessage() {} + +func (x *RoleSpec) ProtoReflect() protoreflect.Message { + mi := &file_api_auth_v1_message_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RoleSpec proto.InternalMessageInfo +// Deprecated: Use RoleSpec.ProtoReflect.Descriptor instead. +func (*RoleSpec) Descriptor() ([]byte, []int) { + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{6} +} -func (m *RoleSpec) GetAccountRole() *AccountRoleSpec { - if m != nil { - return m.AccountRole +func (x *RoleSpec) GetAccountRole() *AccountRoleSpec { + if x != nil { + return x.AccountRole } return nil } -func (m *RoleSpec) GetNamespaceRoles() []*NamespaceRoleSpec { - if m != nil { - return m.NamespaceRoles +func (x *RoleSpec) GetNamespaceRoles() []*NamespaceRoleSpec { + if x != nil { + return x.NamespaceRoles } return nil } type Role struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the id of the role Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // the role type @@ -802,60 +1232,64 @@ type Role struct { Spec *RoleSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` } -func (m *Role) Reset() { *m = Role{} } -func (*Role) ProtoMessage() {} -func (*Role) Descriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{7} -} -func (m *Role) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Role) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Role.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Role) Reset() { + *x = Role{} + if protoimpl.UnsafeEnabled { + mi := &file_api_auth_v1_message_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Role) XXX_Merge(src proto.Message) { - xxx_messageInfo_Role.Merge(m, src) -} -func (m *Role) XXX_Size() int { - return m.Size() + +func (x *Role) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Role) XXX_DiscardUnknown() { - xxx_messageInfo_Role.DiscardUnknown(m) + +func (*Role) ProtoMessage() {} + +func (x *Role) ProtoReflect() protoreflect.Message { + mi := &file_api_auth_v1_message_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Role proto.InternalMessageInfo +// Deprecated: Use Role.ProtoReflect.Descriptor instead. +func (*Role) Descriptor() ([]byte, []int) { + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{7} +} -func (m *Role) GetId() string { - if m != nil { - return m.Id +func (x *Role) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *Role) GetType() RoleType { - if m != nil { - return m.Type +func (x *Role) GetType() RoleType { + if x != nil { + return x.Type } return ROLE_TYPE_UNSPECIFIED } -func (m *Role) GetSpec() *RoleSpec { - if m != nil { - return m.Spec +func (x *Role) GetSpec() *RoleSpec { + if x != nil { + return x.Spec } return nil } type APIKeySpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the access type of the apikey AccessType APIKeyAccessType `protobuf:"varint,1,opt,name=access_type,json=accessType,proto3,enum=api.auth.v1.APIKeyAccessType" json:"access_type,omitempty"` // the user friendly name for the apikey @@ -863,79 +1297,83 @@ type APIKeySpec struct { // the more comprehensive description for the apikey Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // expiry timestamp of the apikey - ExpiryTime *types.Timestamp `protobuf:"bytes,4,opt,name=expiry_time,json=expiryTime,proto3" json:"expiry_time,omitempty"` + ExpiryTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expiry_time,json=expiryTime,proto3" json:"expiry_time,omitempty"` // whether the apikey is disabled Disabled bool `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"` } -func (m *APIKeySpec) Reset() { *m = APIKeySpec{} } -func (*APIKeySpec) ProtoMessage() {} -func (*APIKeySpec) Descriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{8} -} -func (m *APIKeySpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *APIKeySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_APIKeySpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *APIKeySpec) Reset() { + *x = APIKeySpec{} + if protoimpl.UnsafeEnabled { + mi := &file_api_auth_v1_message_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *APIKeySpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_APIKeySpec.Merge(m, src) -} -func (m *APIKeySpec) XXX_Size() int { - return m.Size() -} -func (m *APIKeySpec) XXX_DiscardUnknown() { - xxx_messageInfo_APIKeySpec.DiscardUnknown(m) + +func (x *APIKeySpec) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_APIKeySpec proto.InternalMessageInfo +func (*APIKeySpec) ProtoMessage() {} + +func (x *APIKeySpec) ProtoReflect() protoreflect.Message { + mi := &file_api_auth_v1_message_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use APIKeySpec.ProtoReflect.Descriptor instead. +func (*APIKeySpec) Descriptor() ([]byte, []int) { + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{8} +} -func (m *APIKeySpec) GetAccessType() APIKeyAccessType { - if m != nil { - return m.AccessType +func (x *APIKeySpec) GetAccessType() APIKeyAccessType { + if x != nil { + return x.AccessType } return APIKEY_ACCESS_TYPE_UNSPECIFIED } -func (m *APIKeySpec) GetDisplayName() string { - if m != nil { - return m.DisplayName +func (x *APIKeySpec) GetDisplayName() string { + if x != nil { + return x.DisplayName } return "" } -func (m *APIKeySpec) GetDescription() string { - if m != nil { - return m.Description +func (x *APIKeySpec) GetDescription() string { + if x != nil { + return x.Description } return "" } -func (m *APIKeySpec) GetExpiryTime() *types.Timestamp { - if m != nil { - return m.ExpiryTime +func (x *APIKeySpec) GetExpiryTime() *timestamppb.Timestamp { + if x != nil { + return x.ExpiryTime } return nil } -func (m *APIKeySpec) GetDisabled() bool { - if m != nil { - return m.Disabled +func (x *APIKeySpec) GetDisabled() bool { + if x != nil { + return x.Disabled } return false } type Owner struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the id of the owner // if the owner is an user, this is the id of the user. OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` @@ -943,53 +1381,57 @@ type Owner struct { OwnerType APIKeyOwnerType `protobuf:"varint,2,opt,name=owner_type,json=ownerType,proto3,enum=api.auth.v1.APIKeyOwnerType" json:"owner_type,omitempty"` } -func (m *Owner) Reset() { *m = Owner{} } -func (*Owner) ProtoMessage() {} -func (*Owner) Descriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{9} -} -func (m *Owner) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Owner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Owner.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Owner) Reset() { + *x = Owner{} + if protoimpl.UnsafeEnabled { + mi := &file_api_auth_v1_message_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Owner) XXX_Merge(src proto.Message) { - xxx_messageInfo_Owner.Merge(m, src) -} -func (m *Owner) XXX_Size() int { - return m.Size() + +func (x *Owner) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Owner) XXX_DiscardUnknown() { - xxx_messageInfo_Owner.DiscardUnknown(m) + +func (*Owner) ProtoMessage() {} + +func (x *Owner) ProtoReflect() protoreflect.Message { + mi := &file_api_auth_v1_message_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Owner proto.InternalMessageInfo +// Deprecated: Use Owner.ProtoReflect.Descriptor instead. +func (*Owner) Descriptor() ([]byte, []int) { + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{9} +} -func (m *Owner) GetOwnerId() string { - if m != nil { - return m.OwnerId +func (x *Owner) GetOwnerId() string { + if x != nil { + return x.OwnerId } return "" } -func (m *Owner) GetOwnerType() APIKeyOwnerType { - if m != nil { - return m.OwnerType +func (x *Owner) GetOwnerType() APIKeyOwnerType { + if x != nil { + return x.OwnerType } return APIKEY_OWNER_TYPE_UNSPECIFIED } type APIKey struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the id of the apikey Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // the owner of the apikey @@ -1004,188 +1446,200 @@ type APIKey struct { // the id of the request that is creating/updating/deleting the apikey, if any RequestId string `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // the date and time when the apikey was created - CreatedTime *types.Timestamp `protobuf:"bytes,7,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` + CreatedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` // the date and time when the apikey was last modified - LastModifiedTime *types.Timestamp `protobuf:"bytes,8,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` + LastModifiedTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` } -func (m *APIKey) Reset() { *m = APIKey{} } -func (*APIKey) ProtoMessage() {} -func (*APIKey) Descriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{10} -} -func (m *APIKey) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *APIKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_APIKey.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *APIKey) Reset() { + *x = APIKey{} + if protoimpl.UnsafeEnabled { + mi := &file_api_auth_v1_message_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *APIKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_APIKey.Merge(m, src) -} -func (m *APIKey) XXX_Size() int { - return m.Size() + +func (x *APIKey) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *APIKey) XXX_DiscardUnknown() { - xxx_messageInfo_APIKey.DiscardUnknown(m) + +func (*APIKey) ProtoMessage() {} + +func (x *APIKey) ProtoReflect() protoreflect.Message { + mi := &file_api_auth_v1_message_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_APIKey proto.InternalMessageInfo +// Deprecated: Use APIKey.ProtoReflect.Descriptor instead. +func (*APIKey) Descriptor() ([]byte, []int) { + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{10} +} -func (m *APIKey) GetId() string { - if m != nil { - return m.Id +func (x *APIKey) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *APIKey) GetOwner() *Owner { - if m != nil { - return m.Owner +func (x *APIKey) GetOwner() *Owner { + if x != nil { + return x.Owner } return nil } -func (m *APIKey) GetSpec() *APIKeySpec { - if m != nil { - return m.Spec +func (x *APIKey) GetSpec() *APIKeySpec { + if x != nil { + return x.Spec } return nil } -func (m *APIKey) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *APIKey) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *APIKey) GetState() APIKeyState { - if m != nil { - return m.State +func (x *APIKey) GetState() APIKeyState { + if x != nil { + return x.State } return APIKEY_STATE_UNSPECIFIED } -func (m *APIKey) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *APIKey) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } -func (m *APIKey) GetCreatedTime() *types.Timestamp { - if m != nil { - return m.CreatedTime +func (x *APIKey) GetCreatedTime() *timestamppb.Timestamp { + if x != nil { + return x.CreatedTime } return nil } -func (m *APIKey) GetLastModifiedTime() *types.Timestamp { - if m != nil { - return m.LastModifiedTime +func (x *APIKey) GetLastModifiedTime() *timestamppb.Timestamp { + if x != nil { + return x.LastModifiedTime } return nil } type AccountAccess struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The role on the account. Role AccountActionGroup `protobuf:"varint,1,opt,name=role,proto3,enum=api.auth.v1.AccountActionGroup" json:"role,omitempty"` } -func (m *AccountAccess) Reset() { *m = AccountAccess{} } -func (*AccountAccess) ProtoMessage() {} -func (*AccountAccess) Descriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{11} -} -func (m *AccountAccess) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AccountAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AccountAccess.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AccountAccess) Reset() { + *x = AccountAccess{} + if protoimpl.UnsafeEnabled { + mi := &file_api_auth_v1_message_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AccountAccess) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountAccess.Merge(m, src) -} -func (m *AccountAccess) XXX_Size() int { - return m.Size() + +func (x *AccountAccess) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AccountAccess) XXX_DiscardUnknown() { - xxx_messageInfo_AccountAccess.DiscardUnknown(m) + +func (*AccountAccess) ProtoMessage() {} + +func (x *AccountAccess) ProtoReflect() protoreflect.Message { + mi := &file_api_auth_v1_message_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_AccountAccess proto.InternalMessageInfo +// Deprecated: Use AccountAccess.ProtoReflect.Descriptor instead. +func (*AccountAccess) Descriptor() ([]byte, []int) { + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{11} +} -func (m *AccountAccess) GetRole() AccountActionGroup { - if m != nil { - return m.Role +func (x *AccountAccess) GetRole() AccountActionGroup { + if x != nil { + return x.Role } return ACCOUNT_ACTION_GROUP_UNSPECIFIED } type NamespaceAccess struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The permission for this namespace. Permission NamespaceActionGroup `protobuf:"varint,1,opt,name=permission,proto3,enum=api.auth.v1.NamespaceActionGroup" json:"permission,omitempty"` } -func (m *NamespaceAccess) Reset() { *m = NamespaceAccess{} } -func (*NamespaceAccess) ProtoMessage() {} -func (*NamespaceAccess) Descriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{12} -} -func (m *NamespaceAccess) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NamespaceAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NamespaceAccess.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NamespaceAccess) Reset() { + *x = NamespaceAccess{} + if protoimpl.UnsafeEnabled { + mi := &file_api_auth_v1_message_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NamespaceAccess) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamespaceAccess.Merge(m, src) -} -func (m *NamespaceAccess) XXX_Size() int { - return m.Size() + +func (x *NamespaceAccess) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NamespaceAccess) XXX_DiscardUnknown() { - xxx_messageInfo_NamespaceAccess.DiscardUnknown(m) + +func (*NamespaceAccess) ProtoMessage() {} + +func (x *NamespaceAccess) ProtoReflect() protoreflect.Message { + mi := &file_api_auth_v1_message_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NamespaceAccess proto.InternalMessageInfo +// Deprecated: Use NamespaceAccess.ProtoReflect.Descriptor instead. +func (*NamespaceAccess) Descriptor() ([]byte, []int) { + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{12} +} -func (m *NamespaceAccess) GetPermission() NamespaceActionGroup { - if m != nil { - return m.Permission +func (x *NamespaceAccess) GetPermission() NamespaceActionGroup { + if x != nil { + return x.Permission } return NAMESPACE_ACTION_GROUP_UNSPECIFIED } type Access struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The account access AccountAccess *AccountAccess `protobuf:"bytes,1,opt,name=account_access,json=accountAccess,proto3" json:"account_access,omitempty"` // The map of namespace accesses @@ -1193,53 +1647,57 @@ type Access struct { NamespaceAccesses map[string]*NamespaceAccess `protobuf:"bytes,2,rep,name=namespace_accesses,json=namespaceAccesses,proto3" json:"namespace_accesses,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *Access) Reset() { *m = Access{} } -func (*Access) ProtoMessage() {} -func (*Access) Descriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{13} -} -func (m *Access) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Access) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Access.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Access) Reset() { + *x = Access{} + if protoimpl.UnsafeEnabled { + mi := &file_api_auth_v1_message_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Access) XXX_Merge(src proto.Message) { - xxx_messageInfo_Access.Merge(m, src) -} -func (m *Access) XXX_Size() int { - return m.Size() + +func (x *Access) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Access) XXX_DiscardUnknown() { - xxx_messageInfo_Access.DiscardUnknown(m) + +func (*Access) ProtoMessage() {} + +func (x *Access) ProtoReflect() protoreflect.Message { + mi := &file_api_auth_v1_message_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Access proto.InternalMessageInfo +// Deprecated: Use Access.ProtoReflect.Descriptor instead. +func (*Access) Descriptor() ([]byte, []int) { + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{13} +} -func (m *Access) GetAccountAccess() *AccountAccess { - if m != nil { - return m.AccountAccess +func (x *Access) GetAccountAccess() *AccountAccess { + if x != nil { + return x.AccountAccess } return nil } -func (m *Access) GetNamespaceAccesses() map[string]*NamespaceAccess { - if m != nil { - return m.NamespaceAccesses +func (x *Access) GetNamespaceAccesses() map[string]*NamespaceAccess { + if x != nil { + return x.NamespaceAccesses } return nil } type ServiceAccount struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the service account. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The current version of the service account specification. @@ -1252,94 +1710,98 @@ type ServiceAccount struct { // The request id that is creating/updating/deleting the service account, if any. RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // The date and time when the service account was created - CreatedTime *types.Timestamp `protobuf:"bytes,6,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` + CreatedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` // The date and time when the service account was last modified // Will not be set if the service account has never been modified. - LastModifiedTime *types.Timestamp `protobuf:"bytes,7,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` + LastModifiedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` } -func (m *ServiceAccount) Reset() { *m = ServiceAccount{} } -func (*ServiceAccount) ProtoMessage() {} -func (*ServiceAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{14} -} -func (m *ServiceAccount) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ServiceAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ServiceAccount.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ServiceAccount) Reset() { + *x = ServiceAccount{} + if protoimpl.UnsafeEnabled { + mi := &file_api_auth_v1_message_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ServiceAccount) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceAccount.Merge(m, src) -} -func (m *ServiceAccount) XXX_Size() int { - return m.Size() + +func (x *ServiceAccount) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ServiceAccount) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceAccount.DiscardUnknown(m) + +func (*ServiceAccount) ProtoMessage() {} + +func (x *ServiceAccount) ProtoReflect() protoreflect.Message { + mi := &file_api_auth_v1_message_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ServiceAccount proto.InternalMessageInfo +// Deprecated: Use ServiceAccount.ProtoReflect.Descriptor instead. +func (*ServiceAccount) Descriptor() ([]byte, []int) { + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{14} +} -func (m *ServiceAccount) GetId() string { - if m != nil { - return m.Id +func (x *ServiceAccount) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *ServiceAccount) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *ServiceAccount) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *ServiceAccount) GetSpec() *ServiceAccountSpec { - if m != nil { - return m.Spec +func (x *ServiceAccount) GetSpec() *ServiceAccountSpec { + if x != nil { + return x.Spec } return nil } -func (m *ServiceAccount) GetState() ServiceAccountState { - if m != nil { - return m.State +func (x *ServiceAccount) GetState() ServiceAccountState { + if x != nil { + return x.State } return SERVICE_ACCOUNT_STATE_UNSPECIFIED } -func (m *ServiceAccount) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *ServiceAccount) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } -func (m *ServiceAccount) GetCreatedTime() *types.Timestamp { - if m != nil { - return m.CreatedTime +func (x *ServiceAccount) GetCreatedTime() *timestamppb.Timestamp { + if x != nil { + return x.CreatedTime } return nil } -func (m *ServiceAccount) GetLastModifiedTime() *types.Timestamp { - if m != nil { - return m.LastModifiedTime +func (x *ServiceAccount) GetLastModifiedTime() *timestamppb.Timestamp { + if x != nil { + return x.LastModifiedTime } return nil } type ServiceAccountSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The name associated with the service account. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The access assigned to the service account. @@ -1351,111 +1813,119 @@ type ServiceAccountSpec struct { Scope *ServiceAccountScope `protobuf:"bytes,4,opt,name=scope,proto3" json:"scope,omitempty"` } -func (m *ServiceAccountSpec) Reset() { *m = ServiceAccountSpec{} } -func (*ServiceAccountSpec) ProtoMessage() {} -func (*ServiceAccountSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{15} -} -func (m *ServiceAccountSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ServiceAccountSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ServiceAccountSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ServiceAccountSpec) Reset() { + *x = ServiceAccountSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_api_auth_v1_message_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ServiceAccountSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceAccountSpec.Merge(m, src) -} -func (m *ServiceAccountSpec) XXX_Size() int { - return m.Size() + +func (x *ServiceAccountSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ServiceAccountSpec) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceAccountSpec.DiscardUnknown(m) + +func (*ServiceAccountSpec) ProtoMessage() {} + +func (x *ServiceAccountSpec) ProtoReflect() protoreflect.Message { + mi := &file_api_auth_v1_message_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ServiceAccountSpec proto.InternalMessageInfo +// Deprecated: Use ServiceAccountSpec.ProtoReflect.Descriptor instead. +func (*ServiceAccountSpec) Descriptor() ([]byte, []int) { + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{15} +} -func (m *ServiceAccountSpec) GetName() string { - if m != nil { - return m.Name +func (x *ServiceAccountSpec) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ServiceAccountSpec) GetAccess() *Access { - if m != nil { - return m.Access +func (x *ServiceAccountSpec) GetAccess() *Access { + if x != nil { + return x.Access } return nil } -func (m *ServiceAccountSpec) GetDescription() string { - if m != nil { - return m.Description +func (x *ServiceAccountSpec) GetDescription() string { + if x != nil { + return x.Description } return "" } -func (m *ServiceAccountSpec) GetScope() *ServiceAccountScope { - if m != nil { - return m.Scope +func (x *ServiceAccountSpec) GetScope() *ServiceAccountScope { + if x != nil { + return x.Scope } return nil } type ServiceAccountScope struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The service account scope type. Type ServiceAccountScopeType `protobuf:"varint,1,opt,name=type,proto3,enum=api.auth.v1.ServiceAccountScopeType" json:"type,omitempty"` } -func (m *ServiceAccountScope) Reset() { *m = ServiceAccountScope{} } -func (*ServiceAccountScope) ProtoMessage() {} -func (*ServiceAccountScope) Descriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{16} -} -func (m *ServiceAccountScope) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ServiceAccountScope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ServiceAccountScope.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ServiceAccountScope) Reset() { + *x = ServiceAccountScope{} + if protoimpl.UnsafeEnabled { + mi := &file_api_auth_v1_message_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ServiceAccountScope) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceAccountScope.Merge(m, src) -} -func (m *ServiceAccountScope) XXX_Size() int { - return m.Size() + +func (x *ServiceAccountScope) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ServiceAccountScope) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceAccountScope.DiscardUnknown(m) + +func (*ServiceAccountScope) ProtoMessage() {} + +func (x *ServiceAccountScope) ProtoReflect() protoreflect.Message { + mi := &file_api_auth_v1_message_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ServiceAccountScope proto.InternalMessageInfo +// Deprecated: Use ServiceAccountScope.ProtoReflect.Descriptor instead. +func (*ServiceAccountScope) Descriptor() ([]byte, []int) { + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{16} +} -func (m *ServiceAccountScope) GetType() ServiceAccountScopeType { - if m != nil { - return m.Type +func (x *ServiceAccountScope) GetType() ServiceAccountScopeType { + if x != nil { + return x.Type } return SERVICE_ACCOUNT_SCOPE_TYPE_UNSPECIFIED } type IdentityNamespacePermissions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The identity to add namespace permissions for. IdentityId string `protobuf:"bytes,1,opt,name=identity_id,json=identityId,proto3" json:"identity_id,omitempty"` // The identity type to add namespace permissions for. @@ -1464,5513 +1934,722 @@ type IdentityNamespacePermissions struct { ActionGroup NamespaceActionGroup `protobuf:"varint,3,opt,name=action_group,json=actionGroup,proto3,enum=api.auth.v1.NamespaceActionGroup" json:"action_group,omitempty"` } -func (m *IdentityNamespacePermissions) Reset() { *m = IdentityNamespacePermissions{} } -func (*IdentityNamespacePermissions) ProtoMessage() {} -func (*IdentityNamespacePermissions) Descriptor() ([]byte, []int) { - return fileDescriptor_bea184b0c3eae56b, []int{17} -} -func (m *IdentityNamespacePermissions) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *IdentityNamespacePermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_IdentityNamespacePermissions.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *IdentityNamespacePermissions) XXX_Merge(src proto.Message) { - xxx_messageInfo_IdentityNamespacePermissions.Merge(m, src) -} -func (m *IdentityNamespacePermissions) XXX_Size() int { - return m.Size() -} -func (m *IdentityNamespacePermissions) XXX_DiscardUnknown() { - xxx_messageInfo_IdentityNamespacePermissions.DiscardUnknown(m) -} - -var xxx_messageInfo_IdentityNamespacePermissions proto.InternalMessageInfo - -func (m *IdentityNamespacePermissions) GetIdentityId() string { - if m != nil { - return m.IdentityId - } - return "" -} - -func (m *IdentityNamespacePermissions) GetIdentityType() IdentityType { - if m != nil { - return m.IdentityType - } - return IDENTITY_TYPE_UNSPECIFIED -} - -func (m *IdentityNamespacePermissions) GetActionGroup() NamespaceActionGroup { - if m != nil { - return m.ActionGroup - } - return NAMESPACE_ACTION_GROUP_UNSPECIFIED -} - -func init() { - proto.RegisterEnum("api.auth.v1.UserState", UserState_name, UserState_value) - proto.RegisterEnum("api.auth.v1.RoleType", RoleType_name, RoleType_value) - proto.RegisterEnum("api.auth.v1.NamespaceActionGroup", NamespaceActionGroup_name, NamespaceActionGroup_value) - proto.RegisterEnum("api.auth.v1.AccountActionGroup", AccountActionGroup_name, AccountActionGroup_value) - proto.RegisterEnum("api.auth.v1.APIKeyAccessType", APIKeyAccessType_name, APIKeyAccessType_value) - proto.RegisterEnum("api.auth.v1.APIKeyOwnerType", APIKeyOwnerType_name, APIKeyOwnerType_value) - proto.RegisterEnum("api.auth.v1.APIKeyState", APIKeyState_name, APIKeyState_value) - proto.RegisterEnum("api.auth.v1.ServiceAccountState", ServiceAccountState_name, ServiceAccountState_value) - proto.RegisterEnum("api.auth.v1.ServiceAccountScopeType", ServiceAccountScopeType_name, ServiceAccountScopeType_value) - proto.RegisterEnum("api.auth.v1.IdentityType", IdentityType_name, IdentityType_value) - proto.RegisterType((*UserSpec)(nil), "api.auth.v1.UserSpec") - proto.RegisterType((*UserNamespacePermissions)(nil), "api.auth.v1.UserNamespacePermissions") - proto.RegisterType((*Invitation)(nil), "api.auth.v1.Invitation") - proto.RegisterType((*User)(nil), "api.auth.v1.User") - proto.RegisterType((*NamespaceRoleSpec)(nil), "api.auth.v1.NamespaceRoleSpec") - proto.RegisterType((*AccountRoleSpec)(nil), "api.auth.v1.AccountRoleSpec") - proto.RegisterType((*RoleSpec)(nil), "api.auth.v1.RoleSpec") - proto.RegisterType((*Role)(nil), "api.auth.v1.Role") - proto.RegisterType((*APIKeySpec)(nil), "api.auth.v1.APIKeySpec") - proto.RegisterType((*Owner)(nil), "api.auth.v1.Owner") - proto.RegisterType((*APIKey)(nil), "api.auth.v1.APIKey") - proto.RegisterType((*AccountAccess)(nil), "api.auth.v1.AccountAccess") - proto.RegisterType((*NamespaceAccess)(nil), "api.auth.v1.NamespaceAccess") - proto.RegisterType((*Access)(nil), "api.auth.v1.Access") - proto.RegisterMapType((map[string]*NamespaceAccess)(nil), "api.auth.v1.Access.NamespaceAccessesEntry") - proto.RegisterType((*ServiceAccount)(nil), "api.auth.v1.ServiceAccount") - proto.RegisterType((*ServiceAccountSpec)(nil), "api.auth.v1.ServiceAccountSpec") - proto.RegisterType((*ServiceAccountScope)(nil), "api.auth.v1.ServiceAccountScope") - proto.RegisterType((*IdentityNamespacePermissions)(nil), "api.auth.v1.IdentityNamespacePermissions") -} - -func init() { proto.RegisterFile("api/auth/v1/message.proto", fileDescriptor_bea184b0c3eae56b) } - -var fileDescriptor_bea184b0c3eae56b = []byte{ - // 1665 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xbd, 0x73, 0xdb, 0xc8, - 0x15, 0x17, 0xf8, 0x25, 0xea, 0x51, 0x96, 0xe0, 0xd5, 0x17, 0xc5, 0x50, 0x10, 0x85, 0xf8, 0xee, - 0x74, 0x74, 0x86, 0x9a, 0x93, 0x67, 0x2e, 0x37, 0xf1, 0xe4, 0x6e, 0x60, 0x12, 0x92, 0x31, 0x96, - 0x48, 0x0e, 0x48, 0xc9, 0x51, 0x1a, 0x0c, 0x44, 0xae, 0x15, 0x8c, 0x49, 0x02, 0x01, 0x40, 0x39, - 0xec, 0x52, 0xa5, 0xc8, 0xa4, 0x48, 0x91, 0x2a, 0x6d, 0x9a, 0xa4, 0xca, 0x5f, 0x91, 0x99, 0x94, - 0x2e, 0x5d, 0xda, 0x72, 0xe3, 0x49, 0xe5, 0x49, 0xeb, 0x26, 0xb3, 0x8b, 0x0f, 0xe2, 0x8b, 0xf4, - 0x47, 0x5c, 0x5c, 0x25, 0xe2, 0xbd, 0xdf, 0xfb, 0xbd, 0x7d, 0xbf, 0xdd, 0xf7, 0x76, 0x47, 0xb0, - 0xad, 0x1a, 0xda, 0x81, 0x3a, 0xb6, 0x7f, 0x73, 0x70, 0xfd, 0xcd, 0xc1, 0x10, 0x5b, 0x96, 0x7a, - 0x85, 0x6b, 0x86, 0xa9, 0xdb, 0x3a, 0x2a, 0xa8, 0x86, 0x56, 0x23, 0xae, 0xda, 0xf5, 0x37, 0xa5, - 0xdd, 0x2b, 0x5d, 0xbf, 0x1a, 0xe0, 0x03, 0xea, 0xba, 0x1c, 0x3f, 0x39, 0xb0, 0xb5, 0x21, 0xb6, - 0x6c, 0x75, 0x68, 0x38, 0x68, 0xfe, 0x5b, 0xc8, 0x9f, 0x59, 0xd8, 0xec, 0x18, 0xb8, 0x87, 0xd6, - 0x21, 0x8b, 0x87, 0xaa, 0x36, 0x28, 0x32, 0x15, 0x66, 0x7f, 0x49, 0x76, 0x3e, 0x88, 0xd5, 0xd4, - 0x07, 0xd8, 0x2a, 0xa6, 0x2a, 0x69, 0x62, 0xa5, 0x1f, 0xfc, 0x04, 0x8a, 0x24, 0xae, 0xa9, 0x0e, - 0xb1, 0x65, 0xa8, 0x3d, 0xdc, 0xc6, 0xe6, 0x50, 0xb3, 0x2c, 0x4d, 0x1f, 0x59, 0x68, 0x0b, 0x16, - 0xc7, 0x16, 0x36, 0x15, 0xad, 0xef, 0x32, 0xe5, 0xc8, 0xa7, 0xd4, 0x47, 0x0d, 0x58, 0x56, 0x7b, - 0xb6, 0xa6, 0x8f, 0x94, 0x2b, 0x53, 0x1f, 0x1b, 0xc5, 0x54, 0x85, 0xd9, 0x5f, 0x39, 0xdc, 0xab, - 0x05, 0x56, 0x5c, 0xf3, 0x19, 0x05, 0x8a, 0x3c, 0x26, 0x40, 0xb9, 0xa0, 0x4e, 0x3f, 0xf8, 0xbf, - 0x32, 0x00, 0xd2, 0xe8, 0x5a, 0xb3, 0x55, 0x62, 0x43, 0x2c, 0xa4, 0xc7, 0xa6, 0xe6, 0x66, 0x22, - 0x3f, 0xd1, 0x2f, 0x61, 0xb9, 0x67, 0x62, 0xd5, 0xc6, 0x7d, 0x85, 0x94, 0x4b, 0xd3, 0x14, 0x0e, - 0x4b, 0x35, 0x47, 0x8b, 0x9a, 0xa7, 0x45, 0xad, 0xeb, 0x69, 0x21, 0x17, 0x5c, 0x3c, 0xb1, 0xa0, - 0xfb, 0x50, 0xc0, 0xbf, 0x33, 0x34, 0x73, 0xe2, 0x44, 0xa7, 0xdf, 0x1b, 0x0d, 0x0e, 0x9c, 0x18, - 0xf8, 0x77, 0x29, 0xc8, 0x10, 0x61, 0xd0, 0x0a, 0xa4, 0xfc, 0xfa, 0x53, 0x5a, 0x1f, 0x7d, 0x0d, - 0xac, 0x89, 0x2d, 0x7d, 0x6c, 0xf6, 0xb0, 0x72, 0x8d, 0x4d, 0xa2, 0x14, 0x5d, 0xd8, 0x92, 0xbc, - 0xea, 0xd9, 0xcf, 0x1d, 0x33, 0xfa, 0x1a, 0x32, 0x96, 0x81, 0x7b, 0x6e, 0xe6, 0x8d, 0x90, 0x3c, - 0xde, 0x66, 0xc9, 0x14, 0x82, 0x7e, 0x06, 0x59, 0xcb, 0x56, 0x6d, 0x5c, 0xcc, 0x50, 0x29, 0x37, - 0xe3, 0x58, 0xe2, 0x95, 0x1d, 0x10, 0xda, 0x01, 0x30, 0xf1, 0x6f, 0xc7, 0xd8, 0xb2, 0xc9, 0xde, - 0x64, 0x69, 0xf6, 0x25, 0xd7, 0x22, 0xf5, 0xd1, 0xcf, 0x01, 0x34, 0x5f, 0xd7, 0x62, 0x8e, 0x66, - 0xdf, 0x0a, 0x31, 0x4e, 0x65, 0x97, 0x03, 0xd0, 0x98, 0xe0, 0x8b, 0x1f, 0x27, 0xf8, 0x43, 0x40, - 0x03, 0xd5, 0xb2, 0x95, 0xa1, 0xde, 0xd7, 0x9e, 0x68, 0x1e, 0x49, 0xfe, 0xbd, 0x24, 0x2c, 0x89, - 0x3a, 0x75, 0x83, 0xa8, 0xfa, 0xcf, 0xe0, 0xb6, 0x7f, 0x7e, 0x64, 0x7d, 0x80, 0xe9, 0xb1, 0x2e, - 0xc3, 0xd2, 0xc8, 0x33, 0xba, 0x1b, 0x32, 0x35, 0x7c, 0xa6, 0x33, 0x79, 0x06, 0xab, 0x42, 0xaf, - 0xa7, 0x8f, 0x47, 0xb6, 0x9f, 0xf6, 0x41, 0x84, 0x98, 0xa1, 0xc4, 0xbb, 0x21, 0x62, 0x37, 0x66, - 0x26, 0xed, 0x5f, 0x18, 0xc8, 0xfb, 0x84, 0x3f, 0x10, 0x42, 0x8a, 0x57, 0x48, 0x0f, 0x52, 0xc2, - 0xc2, 0x61, 0x39, 0x89, 0xd0, 0x8b, 0x21, 0x6c, 0xbe, 0x01, 0x1d, 0xc3, 0xaa, 0x5f, 0xb7, 0x32, - 0xed, 0xe9, 0xc2, 0x21, 0x97, 0x5c, 0xad, 0xcf, 0xb2, 0x32, 0x0a, 0x9a, 0x2c, 0x7e, 0x00, 0x19, - 0x4a, 0x18, 0x3f, 0xe3, 0x19, 0x7b, 0x62, 0x60, 0x57, 0xc3, 0xf0, 0xc1, 0x25, 0x01, 0xdd, 0x89, - 0x81, 0x65, 0x0a, 0x99, 0x7b, 0xc6, 0xfd, 0xbc, 0x14, 0xc2, 0xff, 0x87, 0x01, 0x10, 0xda, 0xd2, - 0x23, 0x3c, 0xa1, 0x32, 0x7c, 0x0f, 0xa4, 0x28, 0x6c, 0x59, 0x0a, 0xcd, 0xe5, 0xc8, 0xba, 0x13, - 0x56, 0x81, 0xa2, 0x05, 0x8a, 0xa2, 0x39, 0x41, 0xf5, 0x7f, 0xa3, 0x3d, 0x58, 0xee, 0x6b, 0x96, - 0x31, 0x50, 0x27, 0x0a, 0x29, 0xcb, 0x6d, 0xc2, 0x82, 0x6b, 0x23, 0xc5, 0xa3, 0x0a, 0x14, 0xfa, - 0xd8, 0xea, 0x99, 0x9a, 0x41, 0x3b, 0x21, 0xed, 0x22, 0xa6, 0xa6, 0xe8, 0x8c, 0xc8, 0x7c, 0xcc, - 0x8c, 0x40, 0x25, 0xc8, 0xf7, 0x35, 0x4b, 0xbd, 0x1c, 0x60, 0xa7, 0x09, 0xf3, 0xb2, 0xff, 0xcd, - 0x2b, 0x90, 0x6d, 0x3d, 0x1b, 0x61, 0x13, 0x6d, 0x43, 0x5e, 0x27, 0x3f, 0xa6, 0x53, 0x74, 0x91, - 0x7e, 0x4b, 0x7d, 0x74, 0x1f, 0xc0, 0x71, 0x05, 0xc4, 0x2e, 0x27, 0x08, 0x40, 0x89, 0x68, 0xfd, - 0x4b, 0xba, 0xf7, 0x93, 0xff, 0x6f, 0x0a, 0x72, 0x8e, 0x3b, 0xb6, 0x7d, 0xfb, 0x90, 0xa5, 0x38, - 0x77, 0x60, 0xa2, 0x10, 0x25, 0x25, 0x93, 0x1d, 0x00, 0xba, 0x1b, 0xda, 0xbd, 0xad, 0x84, 0xdc, - 0x81, 0x19, 0x95, 0x34, 0xf9, 0x32, 0xc9, 0x93, 0xaf, 0xe6, 0x8d, 0xb3, 0x2c, 0x2d, 0xaa, 0x98, - 0x44, 0x3c, 0x7b, 0xa0, 0xe5, 0xa2, 0x03, 0xed, 0x47, 0x33, 0x97, 0x1a, 0x70, 0xcb, 0x6f, 0x75, - 0x72, 0x10, 0xd1, 0x3d, 0xc8, 0xf8, 0x3d, 0xfc, 0x01, 0x43, 0x81, 0x82, 0xf9, 0x2e, 0xac, 0x06, - 0x26, 0x11, 0xe5, 0x11, 0x00, 0x0c, 0xff, 0xe6, 0x75, 0xd9, 0x3e, 0x60, 0x76, 0x05, 0x82, 0xf8, - 0x3f, 0x92, 0x03, 0xe1, 0xb1, 0xad, 0x78, 0x13, 0xc6, 0x69, 0x18, 0x77, 0xc6, 0x94, 0x92, 0xd7, - 0x47, 0x10, 0xf2, 0x2d, 0x35, 0x54, 0xd8, 0x05, 0xa0, 0xe9, 0x8c, 0x71, 0x48, 0xfc, 0x31, 0x53, - 0x8d, 0xd2, 0x60, 0xcb, 0xaa, 0x45, 0x2a, 0xc2, 0x96, 0x38, 0xb2, 0xcd, 0x89, 0x7c, 0x7b, 0x14, - 0xb5, 0x97, 0x2e, 0x61, 0x33, 0x19, 0x4c, 0x9e, 0x00, 0x4f, 0xf1, 0xc4, 0x7b, 0x02, 0x3c, 0xc5, - 0x13, 0x74, 0x08, 0xd9, 0x6b, 0x75, 0x30, 0xf6, 0xee, 0xfe, 0xf2, 0x2c, 0x49, 0x68, 0x09, 0x0e, - 0xf4, 0x17, 0xa9, 0xef, 0x18, 0xfe, 0x65, 0x0a, 0x56, 0x3a, 0xd8, 0xbc, 0xd6, 0xa8, 0x93, 0xd4, - 0xf5, 0xff, 0x5c, 0xe4, 0xf7, 0x42, 0x6d, 0x12, 0xde, 0xe5, 0x70, 0x96, 0x40, 0xbb, 0x7c, 0x1b, - 0xbe, 0xd2, 0x2b, 0xf3, 0xa2, 0x3e, 0xe2, 0x72, 0x8f, 0xf6, 0x42, 0xee, 0x73, 0xf4, 0xc2, 0xe2, - 0x27, 0xf4, 0xc2, 0x3f, 0x19, 0x40, 0xf1, 0xe2, 0x11, 0x82, 0x0c, 0x1d, 0xc7, 0x8e, 0xd0, 0xf4, - 0x37, 0xba, 0x0b, 0x39, 0xf7, 0x1c, 0x3a, 0xdb, 0xb8, 0x96, 0x70, 0x80, 0x64, 0x17, 0xf2, 0x01, - 0x43, 0x9b, 0x28, 0xdb, 0xd3, 0x0d, 0x6f, 0x5c, 0xcf, 0x55, 0x96, 0xe0, 0x64, 0x07, 0xce, 0xb7, - 0x60, 0x2d, 0xc1, 0x8b, 0xbe, 0x73, 0x6f, 0x3b, 0xa7, 0xeb, 0xee, 0xbc, 0x8f, 0x6d, 0x7a, 0xf9, - 0xf1, 0xff, 0x62, 0xa0, 0x2c, 0xf5, 0xf1, 0xc8, 0xd6, 0xec, 0x49, 0xe2, 0x0b, 0x7a, 0x17, 0x0a, - 0x9a, 0xeb, 0x9f, 0xce, 0x7f, 0xf0, 0x4c, 0x52, 0x1f, 0x7d, 0x0f, 0xb7, 0x7c, 0x40, 0xe0, 0x16, - 0xd8, 0x0e, 0xbf, 0xd6, 0x5c, 0x04, 0xcd, 0xbc, 0xac, 0x05, 0xbe, 0x62, 0xaf, 0x9e, 0xf4, 0xa7, - 0xbc, 0x7a, 0xaa, 0xef, 0x18, 0x58, 0xf2, 0x1f, 0x99, 0xa8, 0x04, 0x9b, 0x67, 0x1d, 0x51, 0x56, - 0x3a, 0x5d, 0xa1, 0x2b, 0x2a, 0x67, 0xcd, 0x4e, 0x5b, 0xac, 0x4b, 0x47, 0x92, 0xd8, 0x60, 0x17, - 0xd0, 0x16, 0xac, 0x05, 0x7c, 0x75, 0x59, 0x14, 0xba, 0x52, 0xf3, 0x98, 0x65, 0x50, 0x19, 0x8a, - 0x51, 0x87, 0xa8, 0x1c, 0x09, 0xd2, 0x89, 0xd8, 0x60, 0x53, 0x68, 0x03, 0x6e, 0x07, 0xbc, 0x42, - 0xbd, 0x2b, 0x9d, 0x8b, 0x6c, 0x3a, 0xc2, 0x76, 0xd6, 0x6e, 0x38, 0x6c, 0x99, 0x08, 0x1b, 0x75, - 0xf8, 0x6c, 0xd9, 0x48, 0x58, 0x43, 0x3c, 0x11, 0x69, 0x58, 0x2e, 0x12, 0x46, 0x1d, 0x7e, 0xd8, - 0x22, 0xda, 0x04, 0x14, 0xf3, 0x36, 0xd8, 0x7c, 0xf5, 0x07, 0xe7, 0x6d, 0x46, 0xf5, 0xdc, 0x86, - 0x0d, 0xb9, 0x75, 0x22, 0x2a, 0xdd, 0x8b, 0x76, 0xb4, 0xf4, 0x22, 0xac, 0x4f, 0x5d, 0x6d, 0x59, - 0x6c, 0x88, 0x47, 0x52, 0x53, 0x6c, 0xb0, 0x4c, 0xf5, 0x6f, 0x0c, 0xac, 0x27, 0x89, 0x8c, 0xbe, - 0x04, 0xbe, 0x29, 0x9c, 0x8a, 0x9d, 0xb6, 0x50, 0x77, 0xaa, 0x6e, 0x35, 0x95, 0x63, 0xb9, 0x75, - 0xd6, 0x8e, 0x50, 0x57, 0xa0, 0x3c, 0x03, 0x27, 0x34, 0x4e, 0xa5, 0x26, 0xcb, 0xcc, 0x41, 0x3c, - 0x96, 0xa5, 0xae, 0xc8, 0xa6, 0xd0, 0x2e, 0xfc, 0x64, 0x06, 0x42, 0x16, 0x85, 0x06, 0x9b, 0xae, - 0xfe, 0x29, 0x05, 0x28, 0x7e, 0x25, 0xa1, 0x3b, 0x50, 0x11, 0xea, 0xf5, 0xd6, 0x59, 0xb3, 0x3b, - 0x6f, 0x85, 0x1c, 0x94, 0x12, 0x51, 0xde, 0xfa, 0x78, 0xe0, 0x12, 0xfd, 0x0d, 0xf1, 0x5c, 0x3c, - 0x69, 0xb5, 0x45, 0x99, 0x4d, 0xa1, 0x1d, 0xd8, 0x4e, 0xc4, 0x38, 0xeb, 0x9b, 0x99, 0xa2, 0xf5, - 0xb8, 0x29, 0xca, 0x6c, 0x86, 0x88, 0x99, 0xe8, 0x3f, 0x92, 0x9a, 0x42, 0x93, 0xd4, 0x4c, 0x97, - 0x92, 0x45, 0x5f, 0xc0, 0x5e, 0x22, 0xee, 0x54, 0xec, 0xca, 0x52, 0xbd, 0xe3, 0xa4, 0xcb, 0x55, - 0x7b, 0xc0, 0x46, 0x9f, 0x97, 0xb4, 0x8a, 0xb6, 0xf4, 0x48, 0xbc, 0x50, 0x84, 0x7a, 0x5d, 0xec, - 0x74, 0x92, 0x8e, 0xc1, 0x5d, 0xf8, 0x2a, 0x01, 0x23, 0x35, 0x1f, 0x8a, 0xb2, 0xd4, 0x75, 0x16, - 0xeb, 0x7a, 0x58, 0xa6, 0xfa, 0x0c, 0x56, 0x23, 0x4f, 0x38, 0xb4, 0x07, 0x3b, 0x6e, 0xbc, 0x83, - 0x4d, 0x48, 0x51, 0x82, 0xcd, 0x04, 0x48, 0x47, 0x94, 0x59, 0x86, 0x56, 0x17, 0xf3, 0x75, 0x44, - 0xf9, 0x5c, 0xa2, 0xdb, 0x4e, 0xeb, 0x66, 0x53, 0xd5, 0x7f, 0xa4, 0xa0, 0x10, 0x78, 0x67, 0x91, - 0xce, 0x70, 0xc3, 0x92, 0xba, 0x7a, 0x1b, 0x36, 0x42, 0xde, 0x40, 0x5f, 0x93, 0x5d, 0x89, 0xb9, - 0x02, 0x9d, 0xbd, 0x05, 0x6b, 0x21, 0xbf, 0xdf, 0xdb, 0x51, 0xce, 0x40, 0x77, 0x47, 0x39, 0xa3, - 0xfd, 0x5d, 0x84, 0xf5, 0x90, 0x5f, 0xfc, 0x55, 0x5b, 0x92, 0xc5, 0x06, 0x9b, 0x8b, 0x91, 0xfa, - 0xbd, 0xbf, 0x18, 0x23, 0x0d, 0x77, 0x7f, 0x3e, 0x46, 0xea, 0xf5, 0xff, 0x52, 0xf5, 0x4d, 0x2a, - 0x76, 0x2f, 0x50, 0xcd, 0xbe, 0x80, 0xbd, 0x88, 0xb0, 0x89, 0xe2, 0xf1, 0xc0, 0x25, 0xc3, 0x02, - 0x2a, 0x7e, 0x05, 0x3f, 0x9d, 0x83, 0x09, 0xc8, 0x59, 0x81, 0x72, 0x32, 0xd0, 0xd7, 0x75, 0x66, - 0xba, 0x80, 0xc0, 0x33, 0xd3, 0x45, 0x95, 0x9e, 0x49, 0x16, 0x18, 0xaa, 0x33, 0xc9, 0xa2, 0xf3, - 0x75, 0x0f, 0x76, 0xe6, 0x01, 0xc9, 0xa8, 0xd5, 0x61, 0x6b, 0xc6, 0x8d, 0x8a, 0xaa, 0xf0, 0x65, - 0x2c, 0xba, 0xde, 0x6a, 0x27, 0x8e, 0xe2, 0x7d, 0xb8, 0x33, 0x07, 0xeb, 0x8f, 0x41, 0x96, 0xa9, - 0xfe, 0x81, 0x81, 0xe5, 0xe0, 0xf5, 0x49, 0x86, 0x90, 0xd4, 0x10, 0x9b, 0x5d, 0xa9, 0x7b, 0x91, - 0xc4, 0xbc, 0x09, 0x28, 0xe2, 0x76, 0xda, 0x6e, 0x0f, 0x76, 0xc2, 0xf6, 0x58, 0xcb, 0x91, 0x16, - 0x8b, 0x87, 0x3a, 0xb3, 0x87, 0x4d, 0x3f, 0x90, 0x9f, 0xbf, 0xe2, 0x16, 0x5e, 0xbc, 0xe2, 0x16, - 0xde, 0xbe, 0xe2, 0x98, 0xdf, 0xdf, 0x70, 0xcc, 0xdf, 0x6f, 0x38, 0xe6, 0xdf, 0x37, 0x1c, 0xf3, - 0xfc, 0x86, 0x63, 0x5e, 0xde, 0x70, 0xcc, 0x9b, 0x1b, 0x6e, 0xe1, 0xed, 0x0d, 0xc7, 0xfc, 0xf9, - 0x35, 0xb7, 0xf0, 0xfc, 0x35, 0xb7, 0xf0, 0xe2, 0x35, 0xb7, 0xf0, 0xeb, 0xb2, 0x3d, 0x34, 0xcc, - 0x41, 0xad, 0x37, 0xd0, 0xc7, 0xfd, 0x83, 0xc0, 0xbf, 0x0a, 0xef, 0x93, 0xbf, 0x97, 0x39, 0xfa, - 0x4e, 0xbb, 0xf7, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x44, 0x1a, 0x9c, 0xb1, 0x45, 0x14, 0x00, - 0x00, -} - -func (x UserState) String() string { - s, ok := UserState_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x RoleType) String() string { - s, ok := RoleType_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x NamespaceActionGroup) String() string { - s, ok := NamespaceActionGroup_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x AccountActionGroup) String() string { - s, ok := AccountActionGroup_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x APIKeyAccessType) String() string { - s, ok := APIKeyAccessType_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x APIKeyOwnerType) String() string { - s, ok := APIKeyOwnerType_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x APIKeyState) String() string { - s, ok := APIKeyState_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x ServiceAccountState) String() string { - s, ok := ServiceAccountState_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x ServiceAccountScopeType) String() string { - s, ok := ServiceAccountScopeType_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x IdentityType) String() string { - s, ok := IdentityType_name[int32(x)] - if ok { - return s +func (x *IdentityNamespacePermissions) Reset() { + *x = IdentityNamespacePermissions{} + if protoimpl.UnsafeEnabled { + mi := &file_api_auth_v1_message_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return strconv.Itoa(int(x)) } -func (this *UserSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UserSpec) - if !ok { - that2, ok := that.(UserSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Email != that1.Email { - return false - } - if len(this.Roles) != len(that1.Roles) { - return false - } - for i := range this.Roles { - if this.Roles[i] != that1.Roles[i] { - return false - } - } - return true +func (x *IdentityNamespacePermissions) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *UserNamespacePermissions) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UserNamespacePermissions) - if !ok { - that2, ok := that.(UserNamespacePermissions) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.UserId != that1.UserId { - return false - } - if this.ActionGroup != that1.ActionGroup { - return false - } - return true -} -func (this *Invitation) Equal(that interface{}) bool { - if that == nil { - return this == nil - } +func (*IdentityNamespacePermissions) ProtoMessage() {} - that1, ok := that.(*Invitation) - if !ok { - that2, ok := that.(Invitation) - if ok { - that1 = &that2 - } else { - return false +func (x *IdentityNamespacePermissions) ProtoReflect() protoreflect.Message { + mi := &file_api_auth_v1_message_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Uri != that1.Uri { - return false - } - if !this.CreatedTime.Equal(that1.CreatedTime) { - return false - } - if !this.ExpiryTime.Equal(that1.ExpiryTime) { - return false - } - return true + return mi.MessageOf(x) } -func (this *User) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*User) - if !ok { - that2, ok := that.(User) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Id != that1.Id { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.State != that1.State { - return false - } - if this.RequestId != that1.RequestId { - return false - } - if !this.Invitation.Equal(that1.Invitation) { - return false - } - if !this.CreatedTime.Equal(that1.CreatedTime) { - return false - } - if !this.LastModifiedTime.Equal(that1.LastModifiedTime) { - return false - } - return true +// Deprecated: Use IdentityNamespacePermissions.ProtoReflect.Descriptor instead. +func (*IdentityNamespacePermissions) Descriptor() ([]byte, []int) { + return file_api_auth_v1_message_proto_rawDescGZIP(), []int{17} } -func (this *NamespaceRoleSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*NamespaceRoleSpec) - if !ok { - that2, ok := that.(NamespaceRoleSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if this.ActionGroup != that1.ActionGroup { - return false +func (x *IdentityNamespacePermissions) GetIdentityId() string { + if x != nil { + return x.IdentityId } - return true + return "" } -func (this *AccountRoleSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*AccountRoleSpec) - if !ok { - that2, ok := that.(AccountRoleSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false +func (x *IdentityNamespacePermissions) GetIdentityType() IdentityType { + if x != nil { + return x.IdentityType } - if this.ActionGroup != that1.ActionGroup { - return false - } - return true + return IDENTITY_TYPE_UNSPECIFIED } -func (this *RoleSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*RoleSpec) - if !ok { - that2, ok := that.(RoleSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AccountRole.Equal(that1.AccountRole) { - return false - } - if len(this.NamespaceRoles) != len(that1.NamespaceRoles) { - return false - } - for i := range this.NamespaceRoles { - if !this.NamespaceRoles[i].Equal(that1.NamespaceRoles[i]) { - return false - } +func (x *IdentityNamespacePermissions) GetActionGroup() NamespaceActionGroup { + if x != nil { + return x.ActionGroup } - return true + return NAMESPACE_ACTION_GROUP_UNSPECIFIED } -func (this *Role) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*Role) - if !ok { - that2, ok := that.(Role) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Id != that1.Id { - return false - } - if this.Type != that1.Type { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - return true +var File_api_auth_v1_message_proto protoreflect.FileDescriptor + +var file_api_auth_v1_message_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x61, 0x70, 0x69, + 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x36, 0x0a, 0x08, 0x55, 0x73, 0x65, + 0x72, 0x53, 0x70, 0x65, 0x63, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x72, + 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, + 0x73, 0x22, 0x79, 0x0a, 0x18, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x17, 0x0a, + 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x44, 0x0a, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, + 0x0b, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x9a, 0x01, 0x0a, + 0x0a, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, + 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x3d, 0x0a, + 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, + 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, + 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65, + 0x78, 0x70, 0x69, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xfb, 0x02, 0x0a, 0x04, 0x55, 0x73, + 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, + 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x70, + 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x2c, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, + 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x0a, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x0a, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3d, + 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x48, 0x0a, + 0x12, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x69, 0x66, + 0x69, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x77, 0x0a, 0x11, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x1c, 0x0a, 0x09, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0c, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, + 0x6f, 0x75, 0x70, 0x52, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x22, 0x55, 0x0a, 0x0f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x53, + 0x70, 0x65, 0x63, 0x12, 0x42, 0x0a, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0b, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x94, 0x01, 0x0a, 0x08, 0x52, 0x6f, 0x6c, 0x65, + 0x53, 0x70, 0x65, 0x63, 0x12, 0x3f, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, + 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x47, 0x0a, 0x0f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x0e, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x22, 0x6c, + 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x29, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, + 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x12, 0x29, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, + 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0xea, 0x01, 0x0a, + 0x0a, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x53, 0x70, 0x65, 0x63, 0x12, 0x3e, 0x0a, 0x0b, 0x61, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, + 0x50, 0x49, 0x4b, 0x65, 0x79, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x0a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, + 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, + 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x3b, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, + 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0x5f, 0x0a, 0x05, 0x4f, 0x77, 0x6e, + 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3b, 0x0a, + 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, + 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x22, 0xf2, 0x02, 0x0a, 0x06, 0x41, + 0x50, 0x49, 0x4b, 0x65, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, + 0x76, 0x31, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, + 0x2b, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x50, 0x49, 0x4b, + 0x65, 0x79, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x29, 0x0a, 0x10, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, + 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x6f, + 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x6c, + 0x61, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, + 0x44, 0x0a, 0x0d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x12, 0x33, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, + 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x22, 0x54, 0x0a, 0x0f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x41, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, + 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x8a, 0x02, 0x0a, 0x06, + 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x41, 0x0a, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x0d, 0x61, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x59, 0x0a, 0x12, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, + 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x11, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x65, 0x73, 0x1a, 0x62, 0x0a, 0x16, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xe0, 0x02, 0x0a, 0x0e, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, + 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x36, 0x0a, 0x05, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x48, 0x0a, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, + 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x4d, + 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xaf, 0x01, 0x0a, 0x12, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x70, + 0x65, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, + 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x06, 0x61, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, + 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x22, 0x4f, 0x0a, + 0x13, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, + 0x63, 0x6f, 0x70, 0x65, 0x12, 0x38, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, + 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, + 0x63, 0x6f, 0x70, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xc5, + 0x01, 0x0a, 0x1c, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x1f, 0x0a, 0x0b, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, + 0x12, 0x3e, 0x0a, 0x0d, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, + 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x0c, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x44, 0x0a, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, + 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2a, 0xfb, 0x01, 0x0a, 0x09, 0x55, 0x73, 0x65, 0x72, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, + 0x12, 0x17, 0x0a, 0x13, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, + 0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x55, 0x53, 0x45, + 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x5f, 0x46, + 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x55, 0x53, 0x45, 0x52, 0x5f, + 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x03, 0x12, 0x17, + 0x0a, 0x13, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x50, 0x44, + 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x1c, 0x0a, 0x18, 0x55, 0x53, 0x45, 0x52, 0x5f, + 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, + 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x53, 0x54, + 0x41, 0x54, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x06, 0x12, 0x1c, + 0x0a, 0x18, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x45, 0x4c, + 0x45, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x07, 0x12, 0x16, 0x0a, 0x12, + 0x55, 0x53, 0x45, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, + 0x45, 0x44, 0x10, 0x08, 0x2a, 0x3f, 0x0a, 0x08, 0x52, 0x6f, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x19, 0x0a, 0x15, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, + 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x52, + 0x4f, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x52, 0x45, 0x44, 0x45, 0x46, 0x49, + 0x4e, 0x45, 0x44, 0x10, 0x01, 0x2a, 0xa3, 0x01, 0x0a, 0x14, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x26, + 0x0a, 0x22, 0x4e, 0x41, 0x4d, 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, + 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1c, 0x4e, 0x41, 0x4d, 0x45, 0x53, 0x50, + 0x41, 0x43, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, + 0x5f, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x20, 0x0a, 0x1c, 0x4e, 0x41, 0x4d, 0x45, + 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x47, 0x52, 0x4f, + 0x55, 0x50, 0x5f, 0x57, 0x52, 0x49, 0x54, 0x45, 0x10, 0x02, 0x12, 0x1f, 0x0a, 0x1b, 0x4e, 0x41, + 0x4d, 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x47, + 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x10, 0x03, 0x2a, 0x8c, 0x02, 0x0a, 0x12, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, + 0x75, 0x70, 0x12, 0x24, 0x0a, 0x20, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x41, 0x43, + 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, + 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1e, 0x0a, 0x1a, 0x41, 0x43, 0x43, 0x4f, + 0x55, 0x4e, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, + 0x5f, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x22, 0x0a, 0x1e, 0x41, 0x43, 0x43, 0x4f, + 0x55, 0x4e, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, + 0x5f, 0x44, 0x45, 0x56, 0x45, 0x4c, 0x4f, 0x50, 0x45, 0x52, 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x19, + 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x47, + 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x10, 0x03, 0x12, 0x1e, 0x0a, 0x1a, 0x41, + 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x47, 0x52, + 0x4f, 0x55, 0x50, 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x10, 0x04, 0x12, 0x26, 0x0a, 0x22, 0x41, + 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x47, 0x52, + 0x4f, 0x55, 0x50, 0x5f, 0x46, 0x49, 0x4e, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x41, 0x44, 0x4d, 0x49, + 0x4e, 0x10, 0x05, 0x12, 0x25, 0x0a, 0x21, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x41, + 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x4d, 0x45, 0x54, 0x52, + 0x49, 0x43, 0x53, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x10, 0x06, 0x2a, 0x63, 0x0a, 0x10, 0x41, 0x50, + 0x49, 0x4b, 0x65, 0x79, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, + 0x0a, 0x1e, 0x41, 0x50, 0x49, 0x4b, 0x45, 0x59, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, + 0x10, 0x00, 0x12, 0x2b, 0x0a, 0x27, 0x41, 0x50, 0x49, 0x4b, 0x45, 0x59, 0x5f, 0x41, 0x43, 0x43, + 0x45, 0x53, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x48, 0x45, 0x52, 0x49, 0x54, + 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01, 0x2a, + 0x77, 0x0a, 0x0f, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x21, 0x0a, 0x1d, 0x41, 0x50, 0x49, 0x4b, 0x45, 0x59, 0x5f, 0x4f, 0x57, 0x4e, + 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, + 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x50, 0x49, 0x4b, 0x45, 0x59, 0x5f, + 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x10, + 0x01, 0x12, 0x25, 0x0a, 0x21, 0x41, 0x50, 0x49, 0x4b, 0x45, 0x59, 0x5f, 0x4f, 0x57, 0x4e, 0x45, + 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x41, + 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0x02, 0x2a, 0xa9, 0x02, 0x0a, 0x0b, 0x41, 0x50, 0x49, + 0x4b, 0x65, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x41, 0x50, 0x49, 0x4b, + 0x45, 0x59, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, + 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x50, 0x49, 0x4b, 0x45, 0x59, + 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, + 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x41, 0x50, 0x49, 0x4b, 0x45, 0x59, 0x5f, 0x53, 0x54, 0x41, 0x54, + 0x45, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, + 0x02, 0x12, 0x17, 0x0a, 0x13, 0x41, 0x50, 0x49, 0x4b, 0x45, 0x59, 0x5f, 0x53, 0x54, 0x41, 0x54, + 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x03, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x50, + 0x49, 0x4b, 0x45, 0x59, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, + 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x1e, 0x0a, 0x1a, 0x41, 0x50, 0x49, 0x4b, 0x45, 0x59, 0x5f, + 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, + 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x18, 0x0a, 0x14, 0x41, 0x50, 0x49, 0x4b, 0x45, 0x59, 0x5f, + 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x06, 0x12, + 0x19, 0x0a, 0x15, 0x41, 0x50, 0x49, 0x4b, 0x45, 0x59, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, + 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x07, 0x12, 0x1e, 0x0a, 0x1a, 0x41, 0x50, + 0x49, 0x4b, 0x45, 0x59, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, + 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x08, 0x12, 0x18, 0x0a, 0x14, 0x41, 0x50, + 0x49, 0x4b, 0x45, 0x59, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, + 0x45, 0x44, 0x10, 0x09, 0x2a, 0xe8, 0x02, 0x0a, 0x13, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x25, 0x0a, 0x21, + 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, + 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, + 0x44, 0x10, 0x00, 0x12, 0x22, 0x0a, 0x1e, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x41, + 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x52, 0x45, + 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x27, 0x0a, 0x23, 0x53, 0x45, 0x52, 0x56, 0x49, + 0x43, 0x45, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, + 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x02, + 0x12, 0x20, 0x0a, 0x1c, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x41, 0x43, 0x43, 0x4f, + 0x55, 0x4e, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, + 0x10, 0x03, 0x12, 0x22, 0x0a, 0x1e, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x41, 0x43, + 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x50, 0x44, 0x41, + 0x54, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x27, 0x0a, 0x23, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, + 0x45, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, + 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, + 0x22, 0x0a, 0x1e, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, + 0x4e, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4e, + 0x47, 0x10, 0x06, 0x12, 0x27, 0x0a, 0x23, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x41, + 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x45, 0x4c, + 0x45, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x07, 0x12, 0x21, 0x0a, 0x1d, + 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, + 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x08, 0x2a, + 0x6f, 0x0a, 0x17, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x26, 0x53, 0x45, + 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x53, 0x43, + 0x4f, 0x50, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, + 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x28, 0x0a, 0x24, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, + 0x45, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, 0x10, 0x01, + 0x2a, 0x86, 0x01, 0x0a, 0x0c, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, + 0x12, 0x16, 0x0a, 0x12, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x10, 0x01, 0x12, 0x21, 0x0a, 0x1d, 0x49, 0x44, 0x45, 0x4e, + 0x54, 0x49, 0x54, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, + 0x45, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x49, + 0x44, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x53, 0x45, + 0x52, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x03, 0x42, 0x8b, 0x01, 0x0a, 0x0f, 0x63, 0x6f, + 0x6d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1c, 0x74, + 0x6d, 0x70, 0x72, 0x6c, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, + 0x75, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x75, 0x74, 0x68, 0xa2, 0x02, 0x03, 0x41, 0x41, + 0x58, 0xaa, 0x02, 0x0b, 0x41, 0x70, 0x69, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x2e, 0x56, 0x31, 0xca, + 0x02, 0x0b, 0x41, 0x70, 0x69, 0x5c, 0x41, 0x75, 0x74, 0x68, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x17, + 0x41, 0x70, 0x69, 0x5c, 0x41, 0x75, 0x74, 0x68, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0d, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x41, + 0x75, 0x74, 0x68, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func (this *APIKeySpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*APIKeySpec) - if !ok { - that2, ok := that.(APIKeySpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.AccessType != that1.AccessType { - return false - } - if this.DisplayName != that1.DisplayName { - return false - } - if this.Description != that1.Description { - return false - } - if !this.ExpiryTime.Equal(that1.ExpiryTime) { - return false - } - if this.Disabled != that1.Disabled { - return false - } - return true -} -func (this *Owner) Equal(that interface{}) bool { - if that == nil { - return this == nil - } +var ( + file_api_auth_v1_message_proto_rawDescOnce sync.Once + file_api_auth_v1_message_proto_rawDescData = file_api_auth_v1_message_proto_rawDesc +) - that1, ok := that.(*Owner) - if !ok { - that2, ok := that.(Owner) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.OwnerId != that1.OwnerId { - return false - } - if this.OwnerType != that1.OwnerType { - return false - } - return true +func file_api_auth_v1_message_proto_rawDescGZIP() []byte { + file_api_auth_v1_message_proto_rawDescOnce.Do(func() { + file_api_auth_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_auth_v1_message_proto_rawDescData) + }) + return file_api_auth_v1_message_proto_rawDescData +} + +var file_api_auth_v1_message_proto_enumTypes = make([]protoimpl.EnumInfo, 10) +var file_api_auth_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 19) +var file_api_auth_v1_message_proto_goTypes = []interface{}{ + (UserState)(0), // 0: api.auth.v1.UserState + (RoleType)(0), // 1: api.auth.v1.RoleType + (NamespaceActionGroup)(0), // 2: api.auth.v1.NamespaceActionGroup + (AccountActionGroup)(0), // 3: api.auth.v1.AccountActionGroup + (APIKeyAccessType)(0), // 4: api.auth.v1.APIKeyAccessType + (APIKeyOwnerType)(0), // 5: api.auth.v1.APIKeyOwnerType + (APIKeyState)(0), // 6: api.auth.v1.APIKeyState + (ServiceAccountState)(0), // 7: api.auth.v1.ServiceAccountState + (ServiceAccountScopeType)(0), // 8: api.auth.v1.ServiceAccountScopeType + (IdentityType)(0), // 9: api.auth.v1.IdentityType + (*UserSpec)(nil), // 10: api.auth.v1.UserSpec + (*UserNamespacePermissions)(nil), // 11: api.auth.v1.UserNamespacePermissions + (*Invitation)(nil), // 12: api.auth.v1.Invitation + (*User)(nil), // 13: api.auth.v1.User + (*NamespaceRoleSpec)(nil), // 14: api.auth.v1.NamespaceRoleSpec + (*AccountRoleSpec)(nil), // 15: api.auth.v1.AccountRoleSpec + (*RoleSpec)(nil), // 16: api.auth.v1.RoleSpec + (*Role)(nil), // 17: api.auth.v1.Role + (*APIKeySpec)(nil), // 18: api.auth.v1.APIKeySpec + (*Owner)(nil), // 19: api.auth.v1.Owner + (*APIKey)(nil), // 20: api.auth.v1.APIKey + (*AccountAccess)(nil), // 21: api.auth.v1.AccountAccess + (*NamespaceAccess)(nil), // 22: api.auth.v1.NamespaceAccess + (*Access)(nil), // 23: api.auth.v1.Access + (*ServiceAccount)(nil), // 24: api.auth.v1.ServiceAccount + (*ServiceAccountSpec)(nil), // 25: api.auth.v1.ServiceAccountSpec + (*ServiceAccountScope)(nil), // 26: api.auth.v1.ServiceAccountScope + (*IdentityNamespacePermissions)(nil), // 27: api.auth.v1.IdentityNamespacePermissions + nil, // 28: api.auth.v1.Access.NamespaceAccessesEntry + (*timestamppb.Timestamp)(nil), // 29: google.protobuf.Timestamp +} +var file_api_auth_v1_message_proto_depIdxs = []int32{ + 2, // 0: api.auth.v1.UserNamespacePermissions.action_group:type_name -> api.auth.v1.NamespaceActionGroup + 29, // 1: api.auth.v1.Invitation.created_time:type_name -> google.protobuf.Timestamp + 29, // 2: api.auth.v1.Invitation.expiry_time:type_name -> google.protobuf.Timestamp + 10, // 3: api.auth.v1.User.spec:type_name -> api.auth.v1.UserSpec + 0, // 4: api.auth.v1.User.state:type_name -> api.auth.v1.UserState + 12, // 5: api.auth.v1.User.invitation:type_name -> api.auth.v1.Invitation + 29, // 6: api.auth.v1.User.created_time:type_name -> google.protobuf.Timestamp + 29, // 7: api.auth.v1.User.last_modified_time:type_name -> google.protobuf.Timestamp + 2, // 8: api.auth.v1.NamespaceRoleSpec.action_group:type_name -> api.auth.v1.NamespaceActionGroup + 3, // 9: api.auth.v1.AccountRoleSpec.action_group:type_name -> api.auth.v1.AccountActionGroup + 15, // 10: api.auth.v1.RoleSpec.account_role:type_name -> api.auth.v1.AccountRoleSpec + 14, // 11: api.auth.v1.RoleSpec.namespace_roles:type_name -> api.auth.v1.NamespaceRoleSpec + 1, // 12: api.auth.v1.Role.type:type_name -> api.auth.v1.RoleType + 16, // 13: api.auth.v1.Role.spec:type_name -> api.auth.v1.RoleSpec + 4, // 14: api.auth.v1.APIKeySpec.access_type:type_name -> api.auth.v1.APIKeyAccessType + 29, // 15: api.auth.v1.APIKeySpec.expiry_time:type_name -> google.protobuf.Timestamp + 5, // 16: api.auth.v1.Owner.owner_type:type_name -> api.auth.v1.APIKeyOwnerType + 19, // 17: api.auth.v1.APIKey.owner:type_name -> api.auth.v1.Owner + 18, // 18: api.auth.v1.APIKey.spec:type_name -> api.auth.v1.APIKeySpec + 6, // 19: api.auth.v1.APIKey.state:type_name -> api.auth.v1.APIKeyState + 29, // 20: api.auth.v1.APIKey.created_time:type_name -> google.protobuf.Timestamp + 29, // 21: api.auth.v1.APIKey.last_modified_time:type_name -> google.protobuf.Timestamp + 3, // 22: api.auth.v1.AccountAccess.role:type_name -> api.auth.v1.AccountActionGroup + 2, // 23: api.auth.v1.NamespaceAccess.permission:type_name -> api.auth.v1.NamespaceActionGroup + 21, // 24: api.auth.v1.Access.account_access:type_name -> api.auth.v1.AccountAccess + 28, // 25: api.auth.v1.Access.namespace_accesses:type_name -> api.auth.v1.Access.NamespaceAccessesEntry + 25, // 26: api.auth.v1.ServiceAccount.spec:type_name -> api.auth.v1.ServiceAccountSpec + 7, // 27: api.auth.v1.ServiceAccount.state:type_name -> api.auth.v1.ServiceAccountState + 29, // 28: api.auth.v1.ServiceAccount.created_time:type_name -> google.protobuf.Timestamp + 29, // 29: api.auth.v1.ServiceAccount.last_modified_time:type_name -> google.protobuf.Timestamp + 23, // 30: api.auth.v1.ServiceAccountSpec.access:type_name -> api.auth.v1.Access + 26, // 31: api.auth.v1.ServiceAccountSpec.scope:type_name -> api.auth.v1.ServiceAccountScope + 8, // 32: api.auth.v1.ServiceAccountScope.type:type_name -> api.auth.v1.ServiceAccountScopeType + 9, // 33: api.auth.v1.IdentityNamespacePermissions.identity_type:type_name -> api.auth.v1.IdentityType + 2, // 34: api.auth.v1.IdentityNamespacePermissions.action_group:type_name -> api.auth.v1.NamespaceActionGroup + 22, // 35: api.auth.v1.Access.NamespaceAccessesEntry.value:type_name -> api.auth.v1.NamespaceAccess + 36, // [36:36] is the sub-list for method output_type + 36, // [36:36] is the sub-list for method input_type + 36, // [36:36] is the sub-list for extension type_name + 36, // [36:36] is the sub-list for extension extendee + 0, // [0:36] is the sub-list for field type_name +} + +func init() { file_api_auth_v1_message_proto_init() } +func file_api_auth_v1_message_proto_init() { + if File_api_auth_v1_message_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_api_auth_v1_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_auth_v1_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserNamespacePermissions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_auth_v1_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Invitation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_auth_v1_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*User); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_auth_v1_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceRoleSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_auth_v1_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountRoleSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_auth_v1_message_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoleSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_auth_v1_message_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Role); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_auth_v1_message_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*APIKeySpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_auth_v1_message_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Owner); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_auth_v1_message_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*APIKey); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_auth_v1_message_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountAccess); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_auth_v1_message_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceAccess); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_auth_v1_message_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Access); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_auth_v1_message_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceAccount); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_auth_v1_message_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceAccountSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_auth_v1_message_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceAccountScope); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_auth_v1_message_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IdentityNamespacePermissions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_api_auth_v1_message_proto_rawDesc, + NumEnums: 10, + NumMessages: 19, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_api_auth_v1_message_proto_goTypes, + DependencyIndexes: file_api_auth_v1_message_proto_depIdxs, + EnumInfos: file_api_auth_v1_message_proto_enumTypes, + MessageInfos: file_api_auth_v1_message_proto_msgTypes, + }.Build() + File_api_auth_v1_message_proto = out.File + file_api_auth_v1_message_proto_rawDesc = nil + file_api_auth_v1_message_proto_goTypes = nil + file_api_auth_v1_message_proto_depIdxs = nil } -func (this *APIKey) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*APIKey) - if !ok { - that2, ok := that.(APIKey) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Id != that1.Id { - return false - } - if !this.Owner.Equal(that1.Owner) { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.State != that1.State { - return false - } - if this.RequestId != that1.RequestId { - return false - } - if !this.CreatedTime.Equal(that1.CreatedTime) { - return false - } - if !this.LastModifiedTime.Equal(that1.LastModifiedTime) { - return false - } - return true -} -func (this *AccountAccess) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*AccountAccess) - if !ok { - that2, ok := that.(AccountAccess) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Role != that1.Role { - return false - } - return true -} -func (this *NamespaceAccess) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*NamespaceAccess) - if !ok { - that2, ok := that.(NamespaceAccess) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Permission != that1.Permission { - return false - } - return true -} -func (this *Access) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*Access) - if !ok { - that2, ok := that.(Access) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AccountAccess.Equal(that1.AccountAccess) { - return false - } - if len(this.NamespaceAccesses) != len(that1.NamespaceAccesses) { - return false - } - for i := range this.NamespaceAccesses { - if !this.NamespaceAccesses[i].Equal(that1.NamespaceAccesses[i]) { - return false - } - } - return true -} -func (this *ServiceAccount) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*ServiceAccount) - if !ok { - that2, ok := that.(ServiceAccount) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Id != that1.Id { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.State != that1.State { - return false - } - if this.RequestId != that1.RequestId { - return false - } - if !this.CreatedTime.Equal(that1.CreatedTime) { - return false - } - if !this.LastModifiedTime.Equal(that1.LastModifiedTime) { - return false - } - return true -} -func (this *ServiceAccountSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*ServiceAccountSpec) - if !ok { - that2, ok := that.(ServiceAccountSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Name != that1.Name { - return false - } - if !this.Access.Equal(that1.Access) { - return false - } - if this.Description != that1.Description { - return false - } - if !this.Scope.Equal(that1.Scope) { - return false - } - return true -} -func (this *ServiceAccountScope) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*ServiceAccountScope) - if !ok { - that2, ok := that.(ServiceAccountScope) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Type != that1.Type { - return false - } - return true -} -func (this *IdentityNamespacePermissions) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*IdentityNamespacePermissions) - if !ok { - that2, ok := that.(IdentityNamespacePermissions) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.IdentityId != that1.IdentityId { - return false - } - if this.IdentityType != that1.IdentityType { - return false - } - if this.ActionGroup != that1.ActionGroup { - return false - } - return true -} -func (this *UserSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&auth.UserSpec{") - s = append(s, "Email: "+fmt.Sprintf("%#v", this.Email)+",\n") - s = append(s, "Roles: "+fmt.Sprintf("%#v", this.Roles)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UserNamespacePermissions) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&auth.UserNamespacePermissions{") - s = append(s, "UserId: "+fmt.Sprintf("%#v", this.UserId)+",\n") - s = append(s, "ActionGroup: "+fmt.Sprintf("%#v", this.ActionGroup)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *Invitation) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&auth.Invitation{") - s = append(s, "Uri: "+fmt.Sprintf("%#v", this.Uri)+",\n") - if this.CreatedTime != nil { - s = append(s, "CreatedTime: "+fmt.Sprintf("%#v", this.CreatedTime)+",\n") - } - if this.ExpiryTime != nil { - s = append(s, "ExpiryTime: "+fmt.Sprintf("%#v", this.ExpiryTime)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *User) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 12) - s = append(s, "&auth.User{") - s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - if this.Invitation != nil { - s = append(s, "Invitation: "+fmt.Sprintf("%#v", this.Invitation)+",\n") - } - if this.CreatedTime != nil { - s = append(s, "CreatedTime: "+fmt.Sprintf("%#v", this.CreatedTime)+",\n") - } - if this.LastModifiedTime != nil { - s = append(s, "LastModifiedTime: "+fmt.Sprintf("%#v", this.LastModifiedTime)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *NamespaceRoleSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&auth.NamespaceRoleSpec{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "ActionGroup: "+fmt.Sprintf("%#v", this.ActionGroup)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *AccountRoleSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&auth.AccountRoleSpec{") - s = append(s, "ActionGroup: "+fmt.Sprintf("%#v", this.ActionGroup)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *RoleSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&auth.RoleSpec{") - if this.AccountRole != nil { - s = append(s, "AccountRole: "+fmt.Sprintf("%#v", this.AccountRole)+",\n") - } - if this.NamespaceRoles != nil { - s = append(s, "NamespaceRoles: "+fmt.Sprintf("%#v", this.NamespaceRoles)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *Role) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&auth.Role{") - s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") - s = append(s, "Type: "+fmt.Sprintf("%#v", this.Type)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *APIKeySpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 9) - s = append(s, "&auth.APIKeySpec{") - s = append(s, "AccessType: "+fmt.Sprintf("%#v", this.AccessType)+",\n") - s = append(s, "DisplayName: "+fmt.Sprintf("%#v", this.DisplayName)+",\n") - s = append(s, "Description: "+fmt.Sprintf("%#v", this.Description)+",\n") - if this.ExpiryTime != nil { - s = append(s, "ExpiryTime: "+fmt.Sprintf("%#v", this.ExpiryTime)+",\n") - } - s = append(s, "Disabled: "+fmt.Sprintf("%#v", this.Disabled)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *Owner) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&auth.Owner{") - s = append(s, "OwnerId: "+fmt.Sprintf("%#v", this.OwnerId)+",\n") - s = append(s, "OwnerType: "+fmt.Sprintf("%#v", this.OwnerType)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *APIKey) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 12) - s = append(s, "&auth.APIKey{") - s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") - if this.Owner != nil { - s = append(s, "Owner: "+fmt.Sprintf("%#v", this.Owner)+",\n") - } - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - if this.CreatedTime != nil { - s = append(s, "CreatedTime: "+fmt.Sprintf("%#v", this.CreatedTime)+",\n") - } - if this.LastModifiedTime != nil { - s = append(s, "LastModifiedTime: "+fmt.Sprintf("%#v", this.LastModifiedTime)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *AccountAccess) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&auth.AccountAccess{") - s = append(s, "Role: "+fmt.Sprintf("%#v", this.Role)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *NamespaceAccess) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&auth.NamespaceAccess{") - s = append(s, "Permission: "+fmt.Sprintf("%#v", this.Permission)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *Access) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&auth.Access{") - if this.AccountAccess != nil { - s = append(s, "AccountAccess: "+fmt.Sprintf("%#v", this.AccountAccess)+",\n") - } - keysForNamespaceAccesses := make([]string, 0, len(this.NamespaceAccesses)) - for k, _ := range this.NamespaceAccesses { - keysForNamespaceAccesses = append(keysForNamespaceAccesses, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForNamespaceAccesses) - mapStringForNamespaceAccesses := "map[string]*NamespaceAccess{" - for _, k := range keysForNamespaceAccesses { - mapStringForNamespaceAccesses += fmt.Sprintf("%#v: %#v,", k, this.NamespaceAccesses[k]) - } - mapStringForNamespaceAccesses += "}" - if this.NamespaceAccesses != nil { - s = append(s, "NamespaceAccesses: "+mapStringForNamespaceAccesses+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ServiceAccount) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 11) - s = append(s, "&auth.ServiceAccount{") - s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - if this.CreatedTime != nil { - s = append(s, "CreatedTime: "+fmt.Sprintf("%#v", this.CreatedTime)+",\n") - } - if this.LastModifiedTime != nil { - s = append(s, "LastModifiedTime: "+fmt.Sprintf("%#v", this.LastModifiedTime)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ServiceAccountSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&auth.ServiceAccountSpec{") - s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") - if this.Access != nil { - s = append(s, "Access: "+fmt.Sprintf("%#v", this.Access)+",\n") - } - s = append(s, "Description: "+fmt.Sprintf("%#v", this.Description)+",\n") - if this.Scope != nil { - s = append(s, "Scope: "+fmt.Sprintf("%#v", this.Scope)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ServiceAccountScope) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&auth.ServiceAccountScope{") - s = append(s, "Type: "+fmt.Sprintf("%#v", this.Type)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *IdentityNamespacePermissions) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&auth.IdentityNamespacePermissions{") - s = append(s, "IdentityId: "+fmt.Sprintf("%#v", this.IdentityId)+",\n") - s = append(s, "IdentityType: "+fmt.Sprintf("%#v", this.IdentityType)+",\n") - s = append(s, "ActionGroup: "+fmt.Sprintf("%#v", this.ActionGroup)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func valueToGoStringMessage(v interface{}, typ string) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) -} -func (m *UserSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UserSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UserSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Roles) > 0 { - for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Roles[iNdEx]) - copy(dAtA[i:], m.Roles[iNdEx]) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Roles[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if len(m.Email) > 0 { - i -= len(m.Email) - copy(dAtA[i:], m.Email) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Email))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UserNamespacePermissions) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UserNamespacePermissions) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UserNamespacePermissions) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ActionGroup != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.ActionGroup)) - i-- - dAtA[i] = 0x10 - } - if len(m.UserId) > 0 { - i -= len(m.UserId) - copy(dAtA[i:], m.UserId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.UserId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Invitation) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Invitation) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Invitation) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ExpiryTime != nil { - { - size, err := m.ExpiryTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.CreatedTime != nil { - { - size, err := m.CreatedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Uri) > 0 { - i -= len(m.Uri) - copy(dAtA[i:], m.Uri) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Uri))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *User) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *User) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *User) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.LastModifiedTime != nil { - { - size, err := m.LastModifiedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x42 - } - if m.CreatedTime != nil { - { - size, err := m.CreatedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if m.Invitation != nil { - { - size, err := m.Invitation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x2a - } - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x20 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *NamespaceRoleSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NamespaceRoleSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NamespaceRoleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ActionGroup != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.ActionGroup)) - i-- - dAtA[i] = 0x10 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AccountRoleSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AccountRoleSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AccountRoleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ActionGroup != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.ActionGroup)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *RoleSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RoleSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RoleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NamespaceRoles) > 0 { - for iNdEx := len(m.NamespaceRoles) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.NamespaceRoles[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if m.AccountRole != nil { - { - size, err := m.AccountRole.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Role) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Role) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Role) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Type != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.Type)) - i-- - dAtA[i] = 0x10 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *APIKeySpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *APIKeySpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *APIKeySpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Disabled { - i-- - if m.Disabled { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x28 - } - if m.ExpiryTime != nil { - { - size, err := m.ExpiryTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if len(m.Description) > 0 { - i -= len(m.Description) - copy(dAtA[i:], m.Description) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Description))) - i-- - dAtA[i] = 0x1a - } - if len(m.DisplayName) > 0 { - i -= len(m.DisplayName) - copy(dAtA[i:], m.DisplayName) - i = encodeVarintMessage(dAtA, i, uint64(len(m.DisplayName))) - i-- - dAtA[i] = 0x12 - } - if m.AccessType != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.AccessType)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *Owner) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Owner) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Owner) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.OwnerType != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.OwnerType)) - i-- - dAtA[i] = 0x10 - } - if len(m.OwnerId) > 0 { - i -= len(m.OwnerId) - copy(dAtA[i:], m.OwnerId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.OwnerId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *APIKey) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *APIKey) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *APIKey) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.LastModifiedTime != nil { - { - size, err := m.LastModifiedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x42 - } - if m.CreatedTime != nil { - { - size, err := m.CreatedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x32 - } - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x28 - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x22 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Owner != nil { - { - size, err := m.Owner.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AccountAccess) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AccountAccess) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AccountAccess) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Role != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.Role)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *NamespaceAccess) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NamespaceAccess) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NamespaceAccess) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Permission != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.Permission)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *Access) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Access) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Access) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NamespaceAccesses) > 0 { - for k := range m.NamespaceAccesses { - v := m.NamespaceAccesses[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintMessage(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintMessage(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x12 - } - } - if m.AccountAccess != nil { - { - size, err := m.AccountAccess.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ServiceAccount) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ServiceAccount) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ServiceAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.LastModifiedTime != nil { - { - size, err := m.LastModifiedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if m.CreatedTime != nil { - { - size, err := m.CreatedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x2a - } - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x20 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ServiceAccountSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ServiceAccountSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ServiceAccountSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Scope != nil { - { - size, err := m.Scope.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if len(m.Description) > 0 { - i -= len(m.Description) - copy(dAtA[i:], m.Description) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Description))) - i-- - dAtA[i] = 0x1a - } - if m.Access != nil { - { - size, err := m.Access.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ServiceAccountScope) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ServiceAccountScope) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ServiceAccountScope) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Type != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.Type)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *IdentityNamespacePermissions) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *IdentityNamespacePermissions) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *IdentityNamespacePermissions) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ActionGroup != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.ActionGroup)) - i-- - dAtA[i] = 0x18 - } - if m.IdentityType != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.IdentityType)) - i-- - dAtA[i] = 0x10 - } - if len(m.IdentityId) > 0 { - i -= len(m.IdentityId) - copy(dAtA[i:], m.IdentityId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.IdentityId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintMessage(dAtA []byte, offset int, v uint64) int { - offset -= sovMessage(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *UserSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Email) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if len(m.Roles) > 0 { - for _, s := range m.Roles { - l = len(s) - n += 1 + l + sovMessage(uint64(l)) - } - } - return n -} - -func (m *UserNamespacePermissions) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.UserId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.ActionGroup != 0 { - n += 1 + sovMessage(uint64(m.ActionGroup)) - } - return n -} - -func (m *Invitation) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Uri) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.CreatedTime != nil { - l = m.CreatedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.ExpiryTime != nil { - l = m.ExpiryTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *User) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Invitation != nil { - l = m.Invitation.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.CreatedTime != nil { - l = m.CreatedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.LastModifiedTime != nil { - l = m.LastModifiedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *NamespaceRoleSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.ActionGroup != 0 { - n += 1 + sovMessage(uint64(m.ActionGroup)) - } - return n -} - -func (m *AccountRoleSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ActionGroup != 0 { - n += 1 + sovMessage(uint64(m.ActionGroup)) - } - return n -} - -func (m *RoleSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AccountRole != nil { - l = m.AccountRole.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if len(m.NamespaceRoles) > 0 { - for _, e := range m.NamespaceRoles { - l = e.Size() - n += 1 + l + sovMessage(uint64(l)) - } - } - return n -} - -func (m *Role) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Type != 0 { - n += 1 + sovMessage(uint64(m.Type)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *APIKeySpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AccessType != 0 { - n += 1 + sovMessage(uint64(m.AccessType)) - } - l = len(m.DisplayName) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.Description) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.ExpiryTime != nil { - l = m.ExpiryTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.Disabled { - n += 2 - } - return n -} - -func (m *Owner) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.OwnerId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.OwnerType != 0 { - n += 1 + sovMessage(uint64(m.OwnerType)) - } - return n -} - -func (m *APIKey) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Owner != nil { - l = m.Owner.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.CreatedTime != nil { - l = m.CreatedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.LastModifiedTime != nil { - l = m.LastModifiedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *AccountAccess) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Role != 0 { - n += 1 + sovMessage(uint64(m.Role)) - } - return n -} - -func (m *NamespaceAccess) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Permission != 0 { - n += 1 + sovMessage(uint64(m.Permission)) - } - return n -} - -func (m *Access) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AccountAccess != nil { - l = m.AccountAccess.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if len(m.NamespaceAccesses) > 0 { - for k, v := range m.NamespaceAccesses { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovMessage(uint64(l)) - } - mapEntrySize := 1 + len(k) + sovMessage(uint64(len(k))) + l - n += mapEntrySize + 1 + sovMessage(uint64(mapEntrySize)) - } - } - return n -} - -func (m *ServiceAccount) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.CreatedTime != nil { - l = m.CreatedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.LastModifiedTime != nil { - l = m.LastModifiedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *ServiceAccountSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Access != nil { - l = m.Access.Size() - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.Description) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Scope != nil { - l = m.Scope.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *ServiceAccountScope) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Type != 0 { - n += 1 + sovMessage(uint64(m.Type)) - } - return n -} - -func (m *IdentityNamespacePermissions) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.IdentityId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.IdentityType != 0 { - n += 1 + sovMessage(uint64(m.IdentityType)) - } - if m.ActionGroup != 0 { - n += 1 + sovMessage(uint64(m.ActionGroup)) - } - return n -} - -func sovMessage(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozMessage(x uint64) (n int) { - return sovMessage(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (this *UserSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UserSpec{`, - `Email:` + fmt.Sprintf("%v", this.Email) + `,`, - `Roles:` + fmt.Sprintf("%v", this.Roles) + `,`, - `}`, - }, "") - return s -} -func (this *UserNamespacePermissions) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UserNamespacePermissions{`, - `UserId:` + fmt.Sprintf("%v", this.UserId) + `,`, - `ActionGroup:` + fmt.Sprintf("%v", this.ActionGroup) + `,`, - `}`, - }, "") - return s -} -func (this *Invitation) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&Invitation{`, - `Uri:` + fmt.Sprintf("%v", this.Uri) + `,`, - `CreatedTime:` + strings.Replace(fmt.Sprintf("%v", this.CreatedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `ExpiryTime:` + strings.Replace(fmt.Sprintf("%v", this.ExpiryTime), "Timestamp", "types.Timestamp", 1) + `,`, - `}`, - }, "") - return s -} -func (this *User) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&User{`, - `Id:` + fmt.Sprintf("%v", this.Id) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `Spec:` + strings.Replace(this.Spec.String(), "UserSpec", "UserSpec", 1) + `,`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `Invitation:` + strings.Replace(this.Invitation.String(), "Invitation", "Invitation", 1) + `,`, - `CreatedTime:` + strings.Replace(fmt.Sprintf("%v", this.CreatedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `LastModifiedTime:` + strings.Replace(fmt.Sprintf("%v", this.LastModifiedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `}`, - }, "") - return s -} -func (this *NamespaceRoleSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&NamespaceRoleSpec{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `ActionGroup:` + fmt.Sprintf("%v", this.ActionGroup) + `,`, - `}`, - }, "") - return s -} -func (this *AccountRoleSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&AccountRoleSpec{`, - `ActionGroup:` + fmt.Sprintf("%v", this.ActionGroup) + `,`, - `}`, - }, "") - return s -} -func (this *RoleSpec) String() string { - if this == nil { - return "nil" - } - repeatedStringForNamespaceRoles := "[]*NamespaceRoleSpec{" - for _, f := range this.NamespaceRoles { - repeatedStringForNamespaceRoles += strings.Replace(f.String(), "NamespaceRoleSpec", "NamespaceRoleSpec", 1) + "," - } - repeatedStringForNamespaceRoles += "}" - s := strings.Join([]string{`&RoleSpec{`, - `AccountRole:` + strings.Replace(this.AccountRole.String(), "AccountRoleSpec", "AccountRoleSpec", 1) + `,`, - `NamespaceRoles:` + repeatedStringForNamespaceRoles + `,`, - `}`, - }, "") - return s -} -func (this *Role) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&Role{`, - `Id:` + fmt.Sprintf("%v", this.Id) + `,`, - `Type:` + fmt.Sprintf("%v", this.Type) + `,`, - `Spec:` + strings.Replace(this.Spec.String(), "RoleSpec", "RoleSpec", 1) + `,`, - `}`, - }, "") - return s -} -func (this *APIKeySpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&APIKeySpec{`, - `AccessType:` + fmt.Sprintf("%v", this.AccessType) + `,`, - `DisplayName:` + fmt.Sprintf("%v", this.DisplayName) + `,`, - `Description:` + fmt.Sprintf("%v", this.Description) + `,`, - `ExpiryTime:` + strings.Replace(fmt.Sprintf("%v", this.ExpiryTime), "Timestamp", "types.Timestamp", 1) + `,`, - `Disabled:` + fmt.Sprintf("%v", this.Disabled) + `,`, - `}`, - }, "") - return s -} -func (this *Owner) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&Owner{`, - `OwnerId:` + fmt.Sprintf("%v", this.OwnerId) + `,`, - `OwnerType:` + fmt.Sprintf("%v", this.OwnerType) + `,`, - `}`, - }, "") - return s -} -func (this *APIKey) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&APIKey{`, - `Id:` + fmt.Sprintf("%v", this.Id) + `,`, - `Owner:` + strings.Replace(this.Owner.String(), "Owner", "Owner", 1) + `,`, - `Spec:` + strings.Replace(this.Spec.String(), "APIKeySpec", "APIKeySpec", 1) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `CreatedTime:` + strings.Replace(fmt.Sprintf("%v", this.CreatedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `LastModifiedTime:` + strings.Replace(fmt.Sprintf("%v", this.LastModifiedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `}`, - }, "") - return s -} -func (this *AccountAccess) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&AccountAccess{`, - `Role:` + fmt.Sprintf("%v", this.Role) + `,`, - `}`, - }, "") - return s -} -func (this *NamespaceAccess) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&NamespaceAccess{`, - `Permission:` + fmt.Sprintf("%v", this.Permission) + `,`, - `}`, - }, "") - return s -} -func (this *Access) String() string { - if this == nil { - return "nil" - } - keysForNamespaceAccesses := make([]string, 0, len(this.NamespaceAccesses)) - for k, _ := range this.NamespaceAccesses { - keysForNamespaceAccesses = append(keysForNamespaceAccesses, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForNamespaceAccesses) - mapStringForNamespaceAccesses := "map[string]*NamespaceAccess{" - for _, k := range keysForNamespaceAccesses { - mapStringForNamespaceAccesses += fmt.Sprintf("%v: %v,", k, this.NamespaceAccesses[k]) - } - mapStringForNamespaceAccesses += "}" - s := strings.Join([]string{`&Access{`, - `AccountAccess:` + strings.Replace(this.AccountAccess.String(), "AccountAccess", "AccountAccess", 1) + `,`, - `NamespaceAccesses:` + mapStringForNamespaceAccesses + `,`, - `}`, - }, "") - return s -} -func (this *ServiceAccount) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ServiceAccount{`, - `Id:` + fmt.Sprintf("%v", this.Id) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `Spec:` + strings.Replace(this.Spec.String(), "ServiceAccountSpec", "ServiceAccountSpec", 1) + `,`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `CreatedTime:` + strings.Replace(fmt.Sprintf("%v", this.CreatedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `LastModifiedTime:` + strings.Replace(fmt.Sprintf("%v", this.LastModifiedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `}`, - }, "") - return s -} -func (this *ServiceAccountSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ServiceAccountSpec{`, - `Name:` + fmt.Sprintf("%v", this.Name) + `,`, - `Access:` + strings.Replace(this.Access.String(), "Access", "Access", 1) + `,`, - `Description:` + fmt.Sprintf("%v", this.Description) + `,`, - `Scope:` + strings.Replace(this.Scope.String(), "ServiceAccountScope", "ServiceAccountScope", 1) + `,`, - `}`, - }, "") - return s -} -func (this *ServiceAccountScope) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ServiceAccountScope{`, - `Type:` + fmt.Sprintf("%v", this.Type) + `,`, - `}`, - }, "") - return s -} -func (this *IdentityNamespacePermissions) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&IdentityNamespacePermissions{`, - `IdentityId:` + fmt.Sprintf("%v", this.IdentityId) + `,`, - `IdentityType:` + fmt.Sprintf("%v", this.IdentityType) + `,`, - `ActionGroup:` + fmt.Sprintf("%v", this.ActionGroup) + `,`, - `}`, - }, "") - return s -} -func valueToStringMessage(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) -} -func (m *UserSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UserSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UserSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Email", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Email = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Roles = append(m.Roles, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UserNamespacePermissions) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UserNamespacePermissions: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UserNamespacePermissions: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.UserId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ActionGroup", wireType) - } - m.ActionGroup = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ActionGroup |= NamespaceActionGroup(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Invitation) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Invitation: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Invitation: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Uri", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Uri = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CreatedTime == nil { - m.CreatedTime = &types.Timestamp{} - } - if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExpiryTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ExpiryTime == nil { - m.ExpiryTime = &types.Timestamp{} - } - if err := m.ExpiryTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *User) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: User: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: User: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &UserSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= UserState(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Invitation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Invitation == nil { - m.Invitation = &Invitation{} - } - if err := m.Invitation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CreatedTime == nil { - m.CreatedTime = &types.Timestamp{} - } - if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastModifiedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.LastModifiedTime == nil { - m.LastModifiedTime = &types.Timestamp{} - } - if err := m.LastModifiedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NamespaceRoleSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: NamespaceRoleSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NamespaceRoleSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ActionGroup", wireType) - } - m.ActionGroup = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ActionGroup |= NamespaceActionGroup(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AccountRoleSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AccountRoleSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AccountRoleSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ActionGroup", wireType) - } - m.ActionGroup = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ActionGroup |= AccountActionGroup(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RoleSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RoleSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RoleSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AccountRole", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AccountRole == nil { - m.AccountRole = &AccountRoleSpec{} - } - if err := m.AccountRole.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NamespaceRoles", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NamespaceRoles = append(m.NamespaceRoles, &NamespaceRoleSpec{}) - if err := m.NamespaceRoles[len(m.NamespaceRoles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Role) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Role: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Role: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - m.Type = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Type |= RoleType(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &RoleSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *APIKeySpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: APIKeySpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: APIKeySpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AccessType", wireType) - } - m.AccessType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.AccessType |= APIKeyAccessType(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DisplayName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DisplayName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Description = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExpiryTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ExpiryTime == nil { - m.ExpiryTime = &types.Timestamp{} - } - if err := m.ExpiryTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Disabled", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Disabled = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Owner) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Owner: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Owner: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OwnerId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.OwnerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field OwnerType", wireType) - } - m.OwnerType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.OwnerType |= APIKeyOwnerType(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *APIKey) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: APIKey: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: APIKey: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Owner == nil { - m.Owner = &Owner{} - } - if err := m.Owner.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &APIKeySpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= APIKeyState(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CreatedTime == nil { - m.CreatedTime = &types.Timestamp{} - } - if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastModifiedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.LastModifiedTime == nil { - m.LastModifiedTime = &types.Timestamp{} - } - if err := m.LastModifiedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AccountAccess) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AccountAccess: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AccountAccess: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType) - } - m.Role = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Role |= AccountActionGroup(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NamespaceAccess) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: NamespaceAccess: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NamespaceAccess: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Permission", wireType) - } - m.Permission = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Permission |= NamespaceActionGroup(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Access) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Access: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Access: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AccountAccess", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AccountAccess == nil { - m.AccountAccess = &AccountAccess{} - } - if err := m.AccountAccess.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NamespaceAccesses", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.NamespaceAccesses == nil { - m.NamespaceAccesses = make(map[string]*NamespaceAccess) - } - var mapkey string - var mapvalue *NamespaceAccess - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthMessage - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthMessage - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthMessage - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthMessage - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &NamespaceAccess{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.NamespaceAccesses[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ServiceAccount) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ServiceAccount: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ServiceAccount: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &ServiceAccountSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= ServiceAccountState(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CreatedTime == nil { - m.CreatedTime = &types.Timestamp{} - } - if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastModifiedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.LastModifiedTime == nil { - m.LastModifiedTime = &types.Timestamp{} - } - if err := m.LastModifiedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ServiceAccountSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ServiceAccountSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ServiceAccountSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Access == nil { - m.Access = &Access{} - } - if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Description = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Scope", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Scope == nil { - m.Scope = &ServiceAccountScope{} - } - if err := m.Scope.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ServiceAccountScope) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ServiceAccountScope: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ServiceAccountScope: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - m.Type = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Type |= ServiceAccountScopeType(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *IdentityNamespacePermissions) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: IdentityNamespacePermissions: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: IdentityNamespacePermissions: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IdentityId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.IdentityId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IdentityType", wireType) - } - m.IdentityType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.IdentityType |= IdentityType(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ActionGroup", wireType) - } - m.ActionGroup = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ActionGroup |= NamespaceActionGroup(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipMessage(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthMessage - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupMessage - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthMessage - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowMessage = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group") -) diff --git a/protogen/api/auth/v1/wrapper.pb.go b/protogen/api/auth/v1/wrapper.pb.go index 41b7c3ca..58e7ef57 100644 --- a/protogen/api/auth/v1/wrapper.pb.go +++ b/protogen/api/auth/v1/wrapper.pb.go @@ -2,8 +2,9 @@ package auth import ( "fmt" - "github.com/gogo/protobuf/types" "strings" + + "google.golang.org/protobuf/types/known/timestamppb" ) type GetUsersResponseWrapper struct { @@ -18,8 +19,8 @@ type UserWrapper struct { State UserState `protobuf:"varint,4,opt,name=state,proto3,enum=api.auth.v1.UserState" json:"state,omitempty"` RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` Invitation *Invitation `protobuf:"bytes,6,opt,name=invitation,proto3" json:"invitation,omitempty"` - CreatedTime *types.Timestamp `protobuf:"bytes,7,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` - LastModifiedTime *types.Timestamp `protobuf:"bytes,8,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` + CreatedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` + LastModifiedTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` } type UserSpecWrapper struct { @@ -66,8 +67,8 @@ func (this *UserWrapper) String() string { `State:` + fmt.Sprintf("%v", this.State) + `,`, `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, `Invitation:` + strings.Replace(this.Invitation.String(), "Invitation", "Invitation", 1) + `,`, - `CreatedTime:` + strings.Replace(fmt.Sprintf("%v", this.CreatedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `LastModifiedTime:` + strings.Replace(fmt.Sprintf("%v", this.LastModifiedTime), "Timestamp", "types.Timestamp", 1) + `,`, + `CreatedTime:` + strings.Replace(fmt.Sprintf("%v", this.CreatedTime), "Timestamp", "timestamppb.Timestamp", 1) + `,`, + `LastModifiedTime:` + strings.Replace(fmt.Sprintf("%v", this.LastModifiedTime), "Timestamp", "timestamppb.Timestamp", 1) + `,`, `}`, }, "") return s diff --git a/protogen/api/authservice/v1/request_response.pb.go b/protogen/api/authservice/v1/request_response.pb.go index f2453fd0..15101a31 100644 --- a/protogen/api/authservice/v1/request_response.pb.go +++ b/protogen/api/authservice/v1/request_response.pb.go @@ -1,120 +1,133 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: api/authservice/v1/request_response.proto package authservice import ( - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - io "io" - math "math" - math_bits "math/bits" - reflect "reflect" - strings "strings" + proto "github.com/golang/protobuf/proto" v1 "github.com/temporalio/tcld/protogen/api/auth/v1" v11 "github.com/temporalio/tcld/protogen/api/request/v1" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type GetRoleRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the id of the role to get RoleId string `protobuf:"bytes,4,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` } -func (m *GetRoleRequest) Reset() { *m = GetRoleRequest{} } -func (*GetRoleRequest) ProtoMessage() {} -func (*GetRoleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{0} -} -func (m *GetRoleRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetRoleRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetRoleRequest) Reset() { + *x = GetRoleRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetRoleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRoleRequest.Merge(m, src) -} -func (m *GetRoleRequest) XXX_Size() int { - return m.Size() + +func (x *GetRoleRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetRoleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetRoleRequest.DiscardUnknown(m) + +func (*GetRoleRequest) ProtoMessage() {} + +func (x *GetRoleRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetRoleRequest proto.InternalMessageInfo +// Deprecated: Use GetRoleRequest.ProtoReflect.Descriptor instead. +func (*GetRoleRequest) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{0} +} -func (m *GetRoleRequest) GetRoleId() string { - if m != nil { - return m.RoleId +func (x *GetRoleRequest) GetRoleId() string { + if x != nil { + return x.RoleId } return "" } type GetRoleResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the role Role *v1.Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` } -func (m *GetRoleResponse) Reset() { *m = GetRoleResponse{} } -func (*GetRoleResponse) ProtoMessage() {} -func (*GetRoleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{1} -} -func (m *GetRoleResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetRoleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetRoleResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetRoleResponse) Reset() { + *x = GetRoleResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetRoleResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRoleResponse.Merge(m, src) -} -func (m *GetRoleResponse) XXX_Size() int { - return m.Size() + +func (x *GetRoleResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetRoleResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetRoleResponse.DiscardUnknown(m) + +func (*GetRoleResponse) ProtoMessage() {} + +func (x *GetRoleResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetRoleResponse proto.InternalMessageInfo +// Deprecated: Use GetRoleResponse.ProtoReflect.Descriptor instead. +func (*GetRoleResponse) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{1} +} -func (m *GetRoleResponse) GetRole() *v1.Role { - if m != nil { - return m.Role +func (x *GetRoleResponse) GetRole() *v1.Role { + if x != nil { + return x.Role } return nil } type GetRolesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the requested size of the page to retrieve PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // the page token @@ -125,206 +138,222 @@ type GetRolesRequest struct { UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` } -func (m *GetRolesRequest) Reset() { *m = GetRolesRequest{} } -func (*GetRolesRequest) ProtoMessage() {} -func (*GetRolesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{2} -} -func (m *GetRolesRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetRolesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetRolesRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetRolesRequest) Reset() { + *x = GetRolesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetRolesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRolesRequest.Merge(m, src) -} -func (m *GetRolesRequest) XXX_Size() int { - return m.Size() + +func (x *GetRolesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetRolesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetRolesRequest.DiscardUnknown(m) + +func (*GetRolesRequest) ProtoMessage() {} + +func (x *GetRolesRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetRolesRequest proto.InternalMessageInfo +// Deprecated: Use GetRolesRequest.ProtoReflect.Descriptor instead. +func (*GetRolesRequest) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{2} +} -func (m *GetRolesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *GetRolesRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *GetRolesRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *GetRolesRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } -func (m *GetRolesRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *GetRolesRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *GetRolesRequest) GetUserId() string { - if m != nil { - return m.UserId +func (x *GetRolesRequest) GetUserId() string { + if x != nil { + return x.UserId } return "" } type GetRolesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the list of roles Roles []*v1.Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` // the next page's token NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *GetRolesResponse) Reset() { *m = GetRolesResponse{} } -func (*GetRolesResponse) ProtoMessage() {} -func (*GetRolesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{3} -} -func (m *GetRolesResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetRolesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetRolesResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetRolesResponse) Reset() { + *x = GetRolesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetRolesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRolesResponse.Merge(m, src) -} -func (m *GetRolesResponse) XXX_Size() int { - return m.Size() + +func (x *GetRolesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetRolesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetRolesResponse.DiscardUnknown(m) + +func (*GetRolesResponse) ProtoMessage() {} + +func (x *GetRolesResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetRolesResponse proto.InternalMessageInfo +// Deprecated: Use GetRolesResponse.ProtoReflect.Descriptor instead. +func (*GetRolesResponse) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{3} +} -func (m *GetRolesResponse) GetRoles() []*v1.Role { - if m != nil { - return m.Roles +func (x *GetRolesResponse) GetRoles() []*v1.Role { + if x != nil { + return x.Roles } return nil } -func (m *GetRolesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *GetRolesResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type GetRolesByPermissionsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Specs []*v1.RoleSpec `protobuf:"bytes,1,rep,name=specs,proto3" json:"specs,omitempty"` } -func (m *GetRolesByPermissionsRequest) Reset() { *m = GetRolesByPermissionsRequest{} } -func (*GetRolesByPermissionsRequest) ProtoMessage() {} -func (*GetRolesByPermissionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{4} -} -func (m *GetRolesByPermissionsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetRolesByPermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetRolesByPermissionsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetRolesByPermissionsRequest) Reset() { + *x = GetRolesByPermissionsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetRolesByPermissionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRolesByPermissionsRequest.Merge(m, src) -} -func (m *GetRolesByPermissionsRequest) XXX_Size() int { - return m.Size() + +func (x *GetRolesByPermissionsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetRolesByPermissionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetRolesByPermissionsRequest.DiscardUnknown(m) + +func (*GetRolesByPermissionsRequest) ProtoMessage() {} + +func (x *GetRolesByPermissionsRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetRolesByPermissionsRequest proto.InternalMessageInfo +// Deprecated: Use GetRolesByPermissionsRequest.ProtoReflect.Descriptor instead. +func (*GetRolesByPermissionsRequest) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{4} +} -func (m *GetRolesByPermissionsRequest) GetSpecs() []*v1.RoleSpec { - if m != nil { - return m.Specs +func (x *GetRolesByPermissionsRequest) GetSpecs() []*v1.RoleSpec { + if x != nil { + return x.Specs } return nil } type GetRolesByPermissionsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Roles []*v1.Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` } -func (m *GetRolesByPermissionsResponse) Reset() { *m = GetRolesByPermissionsResponse{} } -func (*GetRolesByPermissionsResponse) ProtoMessage() {} -func (*GetRolesByPermissionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{5} -} -func (m *GetRolesByPermissionsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetRolesByPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetRolesByPermissionsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetRolesByPermissionsResponse) Reset() { + *x = GetRolesByPermissionsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetRolesByPermissionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRolesByPermissionsResponse.Merge(m, src) -} -func (m *GetRolesByPermissionsResponse) XXX_Size() int { - return m.Size() + +func (x *GetRolesByPermissionsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetRolesByPermissionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetRolesByPermissionsResponse.DiscardUnknown(m) + +func (*GetRolesByPermissionsResponse) ProtoMessage() {} + +func (x *GetRolesByPermissionsResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetRolesByPermissionsResponse proto.InternalMessageInfo +// Deprecated: Use GetRolesByPermissionsResponse.ProtoReflect.Descriptor instead. +func (*GetRolesByPermissionsResponse) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{5} +} -func (m *GetRolesByPermissionsResponse) GetRoles() []*v1.Role { - if m != nil { - return m.Roles +func (x *GetRolesByPermissionsResponse) GetRoles() []*v1.Role { + if x != nil { + return x.Roles } return nil } type GetUsersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the requested size of the page to retrieve PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // the page token @@ -335,411 +364,443 @@ type GetUsersRequest struct { State v1.UserState `protobuf:"varint,4,opt,name=state,proto3,enum=api.auth.v1.UserState" json:"state,omitempty"` } -func (m *GetUsersRequest) Reset() { *m = GetUsersRequest{} } -func (*GetUsersRequest) ProtoMessage() {} -func (*GetUsersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{6} -} -func (m *GetUsersRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetUsersRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetUsersRequest) Reset() { + *x = GetUsersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetUsersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUsersRequest.Merge(m, src) -} -func (m *GetUsersRequest) XXX_Size() int { - return m.Size() + +func (x *GetUsersRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetUsersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetUsersRequest.DiscardUnknown(m) + +func (*GetUsersRequest) ProtoMessage() {} + +func (x *GetUsersRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetUsersRequest proto.InternalMessageInfo +// Deprecated: Use GetUsersRequest.ProtoReflect.Descriptor instead. +func (*GetUsersRequest) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{6} +} -func (m *GetUsersRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *GetUsersRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *GetUsersRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *GetUsersRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } -func (m *GetUsersRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *GetUsersRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *GetUsersRequest) GetState() v1.UserState { - if m != nil { - return m.State +func (x *GetUsersRequest) GetState() v1.UserState { + if x != nil { + return x.State } return v1.USER_STATE_UNSPECIFIED } type GetUsersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the list of users Users []*v1.User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // the next page's token NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *GetUsersResponse) Reset() { *m = GetUsersResponse{} } -func (*GetUsersResponse) ProtoMessage() {} -func (*GetUsersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{7} -} -func (m *GetUsersResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetUsersResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetUsersResponse) Reset() { + *x = GetUsersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetUsersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUsersResponse.Merge(m, src) -} -func (m *GetUsersResponse) XXX_Size() int { - return m.Size() + +func (x *GetUsersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetUsersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetUsersResponse.DiscardUnknown(m) + +func (*GetUsersResponse) ProtoMessage() {} + +func (x *GetUsersResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetUsersResponse proto.InternalMessageInfo +// Deprecated: Use GetUsersResponse.ProtoReflect.Descriptor instead. +func (*GetUsersResponse) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{7} +} -func (m *GetUsersResponse) GetUsers() []*v1.User { - if m != nil { - return m.Users +func (x *GetUsersResponse) GetUsers() []*v1.User { + if x != nil { + return x.Users } return nil } -func (m *GetUsersResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *GetUsersResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type GetUserRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the id of the user to get UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // or the email address of the user to get UserEmail string `protobuf:"bytes,2,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` } -func (m *GetUserRequest) Reset() { *m = GetUserRequest{} } -func (*GetUserRequest) ProtoMessage() {} -func (*GetUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{8} -} -func (m *GetUserRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetUserRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetUserRequest) Reset() { + *x = GetUserRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetUserRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserRequest.Merge(m, src) -} -func (m *GetUserRequest) XXX_Size() int { - return m.Size() + +func (x *GetUserRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetUserRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserRequest.DiscardUnknown(m) + +func (*GetUserRequest) ProtoMessage() {} + +func (x *GetUserRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetUserRequest proto.InternalMessageInfo +// Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead. +func (*GetUserRequest) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{8} +} -func (m *GetUserRequest) GetUserId() string { - if m != nil { - return m.UserId +func (x *GetUserRequest) GetUserId() string { + if x != nil { + return x.UserId } return "" } -func (m *GetUserRequest) GetUserEmail() string { - if m != nil { - return m.UserEmail +func (x *GetUserRequest) GetUserEmail() string { + if x != nil { + return x.UserEmail } return "" } type GetUserResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the user User *v1.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` } -func (m *GetUserResponse) Reset() { *m = GetUserResponse{} } -func (*GetUserResponse) ProtoMessage() {} -func (*GetUserResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{9} -} -func (m *GetUserResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetUserResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetUserResponse) Reset() { + *x = GetUserResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetUserResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserResponse.Merge(m, src) -} -func (m *GetUserResponse) XXX_Size() int { - return m.Size() + +func (x *GetUserResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetUserResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserResponse.DiscardUnknown(m) + +func (*GetUserResponse) ProtoMessage() {} + +func (x *GetUserResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetUserResponse proto.InternalMessageInfo +// Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead. +func (*GetUserResponse) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{9} +} -func (m *GetUserResponse) GetUser() *v1.User { - if m != nil { - return m.User +func (x *GetUserResponse) GetUser() *v1.User { + if x != nil { + return x.User } return nil } type InviteUsersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the specs for the users to send invitations to Specs []*v1.UserSpec `protobuf:"bytes,1,rep,name=specs,proto3" json:"specs,omitempty"` // the request id to use for this operation - optional RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` } -func (m *InviteUsersRequest) Reset() { *m = InviteUsersRequest{} } -func (*InviteUsersRequest) ProtoMessage() {} -func (*InviteUsersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{10} -} -func (m *InviteUsersRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *InviteUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_InviteUsersRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *InviteUsersRequest) Reset() { + *x = InviteUsersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *InviteUsersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_InviteUsersRequest.Merge(m, src) -} -func (m *InviteUsersRequest) XXX_Size() int { - return m.Size() + +func (x *InviteUsersRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *InviteUsersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_InviteUsersRequest.DiscardUnknown(m) + +func (*InviteUsersRequest) ProtoMessage() {} + +func (x *InviteUsersRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_InviteUsersRequest proto.InternalMessageInfo +// Deprecated: Use InviteUsersRequest.ProtoReflect.Descriptor instead. +func (*InviteUsersRequest) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{10} +} -func (m *InviteUsersRequest) GetSpecs() []*v1.UserSpec { - if m != nil { - return m.Specs +func (x *InviteUsersRequest) GetSpecs() []*v1.UserSpec { + if x != nil { + return x.Specs } return nil } -func (m *InviteUsersRequest) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *InviteUsersRequest) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } type InviteUsersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the request status of the invitation operation RequestStatus *v11.RequestStatus `protobuf:"bytes,1,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` } -func (m *InviteUsersResponse) Reset() { *m = InviteUsersResponse{} } -func (*InviteUsersResponse) ProtoMessage() {} -func (*InviteUsersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{11} -} -func (m *InviteUsersResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *InviteUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_InviteUsersResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *InviteUsersResponse) Reset() { + *x = InviteUsersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *InviteUsersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_InviteUsersResponse.Merge(m, src) -} -func (m *InviteUsersResponse) XXX_Size() int { - return m.Size() + +func (x *InviteUsersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *InviteUsersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_InviteUsersResponse.DiscardUnknown(m) + +func (*InviteUsersResponse) ProtoMessage() {} + +func (x *InviteUsersResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_InviteUsersResponse proto.InternalMessageInfo +// Deprecated: Use InviteUsersResponse.ProtoReflect.Descriptor instead. +func (*InviteUsersResponse) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{11} +} -func (m *InviteUsersResponse) GetRequestStatus() *v11.RequestStatus { - if m != nil { - return m.RequestStatus +func (x *InviteUsersResponse) GetRequestStatus() *v11.RequestStatus { + if x != nil { + return x.RequestStatus } return nil } type ResendUserInviteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the id of user UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // the request id to use for this operation - optional RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` } -func (m *ResendUserInviteRequest) Reset() { *m = ResendUserInviteRequest{} } -func (*ResendUserInviteRequest) ProtoMessage() {} -func (*ResendUserInviteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{12} -} -func (m *ResendUserInviteRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ResendUserInviteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ResendUserInviteRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ResendUserInviteRequest) Reset() { + *x = ResendUserInviteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ResendUserInviteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResendUserInviteRequest.Merge(m, src) -} -func (m *ResendUserInviteRequest) XXX_Size() int { - return m.Size() + +func (x *ResendUserInviteRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResendUserInviteRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ResendUserInviteRequest.DiscardUnknown(m) + +func (*ResendUserInviteRequest) ProtoMessage() {} + +func (x *ResendUserInviteRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ResendUserInviteRequest proto.InternalMessageInfo +// Deprecated: Use ResendUserInviteRequest.ProtoReflect.Descriptor instead. +func (*ResendUserInviteRequest) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{12} +} -func (m *ResendUserInviteRequest) GetUserId() string { - if m != nil { - return m.UserId +func (x *ResendUserInviteRequest) GetUserId() string { + if x != nil { + return x.UserId } return "" } -func (m *ResendUserInviteRequest) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *ResendUserInviteRequest) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } type ResendUserInviteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the request status of the resend invitation operation RequestStatus *v11.RequestStatus `protobuf:"bytes,1,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` } -func (m *ResendUserInviteResponse) Reset() { *m = ResendUserInviteResponse{} } -func (*ResendUserInviteResponse) ProtoMessage() {} -func (*ResendUserInviteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{13} -} -func (m *ResendUserInviteResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ResendUserInviteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ResendUserInviteResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ResendUserInviteResponse) Reset() { + *x = ResendUserInviteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ResendUserInviteResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResendUserInviteResponse.Merge(m, src) -} -func (m *ResendUserInviteResponse) XXX_Size() int { - return m.Size() + +func (x *ResendUserInviteResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResendUserInviteResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ResendUserInviteResponse.DiscardUnknown(m) + +func (*ResendUserInviteResponse) ProtoMessage() {} + +func (x *ResendUserInviteResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ResendUserInviteResponse proto.InternalMessageInfo +// Deprecated: Use ResendUserInviteResponse.ProtoReflect.Descriptor instead. +func (*ResendUserInviteResponse) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{13} +} -func (m *ResendUserInviteResponse) GetRequestStatus() *v11.RequestStatus { - if m != nil { - return m.RequestStatus +func (x *ResendUserInviteResponse) GetRequestStatus() *v11.RequestStatus { + if x != nil { + return x.RequestStatus } return nil } type UpdateUserRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the id of the user to update UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // the new user specification @@ -751,111 +812,119 @@ type UpdateUserRequest struct { RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` } -func (m *UpdateUserRequest) Reset() { *m = UpdateUserRequest{} } -func (*UpdateUserRequest) ProtoMessage() {} -func (*UpdateUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{14} -} -func (m *UpdateUserRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *UpdateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateUserRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *UpdateUserRequest) Reset() { + *x = UpdateUserRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *UpdateUserRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateUserRequest.Merge(m, src) -} -func (m *UpdateUserRequest) XXX_Size() int { - return m.Size() + +func (x *UpdateUserRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateUserRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateUserRequest.DiscardUnknown(m) + +func (*UpdateUserRequest) ProtoMessage() {} + +func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateUserRequest proto.InternalMessageInfo +// Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead. +func (*UpdateUserRequest) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{14} +} -func (m *UpdateUserRequest) GetUserId() string { - if m != nil { - return m.UserId +func (x *UpdateUserRequest) GetUserId() string { + if x != nil { + return x.UserId } return "" } -func (m *UpdateUserRequest) GetSpec() *v1.UserSpec { - if m != nil { - return m.Spec +func (x *UpdateUserRequest) GetSpec() *v1.UserSpec { + if x != nil { + return x.Spec } return nil } -func (m *UpdateUserRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *UpdateUserRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *UpdateUserRequest) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *UpdateUserRequest) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } type UpdateUserResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the request status of the update operation RequestStatus *v11.RequestStatus `protobuf:"bytes,1,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` } -func (m *UpdateUserResponse) Reset() { *m = UpdateUserResponse{} } -func (*UpdateUserResponse) ProtoMessage() {} -func (*UpdateUserResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{15} -} -func (m *UpdateUserResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *UpdateUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateUserResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *UpdateUserResponse) Reset() { + *x = UpdateUserResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *UpdateUserResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateUserResponse.Merge(m, src) -} -func (m *UpdateUserResponse) XXX_Size() int { - return m.Size() + +func (x *UpdateUserResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateUserResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateUserResponse.DiscardUnknown(m) + +func (*UpdateUserResponse) ProtoMessage() {} + +func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateUserResponse proto.InternalMessageInfo +// Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead. +func (*UpdateUserResponse) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{15} +} -func (m *UpdateUserResponse) GetRequestStatus() *v11.RequestStatus { - if m != nil { - return m.RequestStatus +func (x *UpdateUserResponse) GetRequestStatus() *v11.RequestStatus { + if x != nil { + return x.RequestStatus } return nil } type DeleteUserRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the id of the user to delete UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // the version of the user for which this delete is intended for @@ -865,371 +934,393 @@ type DeleteUserRequest struct { RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` } -func (m *DeleteUserRequest) Reset() { *m = DeleteUserRequest{} } -func (*DeleteUserRequest) ProtoMessage() {} -func (*DeleteUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{16} -} -func (m *DeleteUserRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DeleteUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteUserRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *DeleteUserRequest) Reset() { + *x = DeleteUserRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *DeleteUserRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteUserRequest.Merge(m, src) -} -func (m *DeleteUserRequest) XXX_Size() int { - return m.Size() + +func (x *DeleteUserRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteUserRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteUserRequest.DiscardUnknown(m) + +func (*DeleteUserRequest) ProtoMessage() {} + +func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteUserRequest proto.InternalMessageInfo +// Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead. +func (*DeleteUserRequest) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{16} +} -func (m *DeleteUserRequest) GetUserId() string { - if m != nil { - return m.UserId +func (x *DeleteUserRequest) GetUserId() string { + if x != nil { + return x.UserId } return "" } -func (m *DeleteUserRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *DeleteUserRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *DeleteUserRequest) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *DeleteUserRequest) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } type DeleteUserResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the request status of the delete operation RequestStatus *v11.RequestStatus `protobuf:"bytes,1,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` } -func (m *DeleteUserResponse) Reset() { *m = DeleteUserResponse{} } -func (*DeleteUserResponse) ProtoMessage() {} -func (*DeleteUserResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{17} -} -func (m *DeleteUserResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DeleteUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteUserResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *DeleteUserResponse) Reset() { + *x = DeleteUserResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *DeleteUserResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteUserResponse.Merge(m, src) -} -func (m *DeleteUserResponse) XXX_Size() int { - return m.Size() + +func (x *DeleteUserResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteUserResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteUserResponse.DiscardUnknown(m) + +func (*DeleteUserResponse) ProtoMessage() {} + +func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteUserResponse proto.InternalMessageInfo +// Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead. +func (*DeleteUserResponse) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{17} +} -func (m *DeleteUserResponse) GetRequestStatus() *v11.RequestStatus { - if m != nil { - return m.RequestStatus +func (x *DeleteUserResponse) GetRequestStatus() *v11.RequestStatus { + if x != nil { + return x.RequestStatus } return nil } type UpdateUserNamespacePermissionsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` UserNamespacePermissions []*v1.UserNamespacePermissions `protobuf:"bytes,2,rep,name=user_namespace_permissions,json=userNamespacePermissions,proto3" json:"user_namespace_permissions,omitempty"` // the request id to use for this operation - optional RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` } -func (m *UpdateUserNamespacePermissionsRequest) Reset() { *m = UpdateUserNamespacePermissionsRequest{} } -func (*UpdateUserNamespacePermissionsRequest) ProtoMessage() {} -func (*UpdateUserNamespacePermissionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{18} -} -func (m *UpdateUserNamespacePermissionsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *UpdateUserNamespacePermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateUserNamespacePermissionsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *UpdateUserNamespacePermissionsRequest) Reset() { + *x = UpdateUserNamespacePermissionsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *UpdateUserNamespacePermissionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateUserNamespacePermissionsRequest.Merge(m, src) -} -func (m *UpdateUserNamespacePermissionsRequest) XXX_Size() int { - return m.Size() + +func (x *UpdateUserNamespacePermissionsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateUserNamespacePermissionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateUserNamespacePermissionsRequest.DiscardUnknown(m) + +func (*UpdateUserNamespacePermissionsRequest) ProtoMessage() {} + +func (x *UpdateUserNamespacePermissionsRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateUserNamespacePermissionsRequest proto.InternalMessageInfo +// Deprecated: Use UpdateUserNamespacePermissionsRequest.ProtoReflect.Descriptor instead. +func (*UpdateUserNamespacePermissionsRequest) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{18} +} -func (m *UpdateUserNamespacePermissionsRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *UpdateUserNamespacePermissionsRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *UpdateUserNamespacePermissionsRequest) GetUserNamespacePermissions() []*v1.UserNamespacePermissions { - if m != nil { - return m.UserNamespacePermissions +func (x *UpdateUserNamespacePermissionsRequest) GetUserNamespacePermissions() []*v1.UserNamespacePermissions { + if x != nil { + return x.UserNamespacePermissions } return nil } -func (m *UpdateUserNamespacePermissionsRequest) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *UpdateUserNamespacePermissionsRequest) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } type UpdateUserNamespacePermissionsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the request status of the update operation RequestStatus *v11.RequestStatus `protobuf:"bytes,1,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` } -func (m *UpdateUserNamespacePermissionsResponse) Reset() { - *m = UpdateUserNamespacePermissionsResponse{} -} -func (*UpdateUserNamespacePermissionsResponse) ProtoMessage() {} -func (*UpdateUserNamespacePermissionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{19} -} -func (m *UpdateUserNamespacePermissionsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *UpdateUserNamespacePermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateUserNamespacePermissionsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *UpdateUserNamespacePermissionsResponse) Reset() { + *x = UpdateUserNamespacePermissionsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *UpdateUserNamespacePermissionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateUserNamespacePermissionsResponse.Merge(m, src) + +func (x *UpdateUserNamespacePermissionsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateUserNamespacePermissionsResponse) XXX_Size() int { - return m.Size() -} -func (m *UpdateUserNamespacePermissionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateUserNamespacePermissionsResponse.DiscardUnknown(m) + +func (*UpdateUserNamespacePermissionsResponse) ProtoMessage() {} + +func (x *UpdateUserNamespacePermissionsResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateUserNamespacePermissionsResponse proto.InternalMessageInfo +// Deprecated: Use UpdateUserNamespacePermissionsResponse.ProtoReflect.Descriptor instead. +func (*UpdateUserNamespacePermissionsResponse) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{19} +} -func (m *UpdateUserNamespacePermissionsResponse) GetRequestStatus() *v11.RequestStatus { - if m != nil { - return m.RequestStatus +func (x *UpdateUserNamespacePermissionsResponse) GetRequestStatus() *v11.RequestStatus { + if x != nil { + return x.RequestStatus } return nil } type UpdateIdentityNamespacePermissionsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` IdentityNamespacePermissions []*v1.IdentityNamespacePermissions `protobuf:"bytes,2,rep,name=identity_namespace_permissions,json=identityNamespacePermissions,proto3" json:"identity_namespace_permissions,omitempty"` // the request id to use for this operation - optional RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` } -func (m *UpdateIdentityNamespacePermissionsRequest) Reset() { - *m = UpdateIdentityNamespacePermissionsRequest{} +func (x *UpdateIdentityNamespacePermissionsRequest) Reset() { + *x = UpdateIdentityNamespacePermissionsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateIdentityNamespacePermissionsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } + func (*UpdateIdentityNamespacePermissionsRequest) ProtoMessage() {} -func (*UpdateIdentityNamespacePermissionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{20} -} -func (m *UpdateIdentityNamespacePermissionsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *UpdateIdentityNamespacePermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateIdentityNamespacePermissionsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (x *UpdateIdentityNamespacePermissionsRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *UpdateIdentityNamespacePermissionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateIdentityNamespacePermissionsRequest.Merge(m, src) -} -func (m *UpdateIdentityNamespacePermissionsRequest) XXX_Size() int { - return m.Size() -} -func (m *UpdateIdentityNamespacePermissionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateIdentityNamespacePermissionsRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateIdentityNamespacePermissionsRequest proto.InternalMessageInfo +// Deprecated: Use UpdateIdentityNamespacePermissionsRequest.ProtoReflect.Descriptor instead. +func (*UpdateIdentityNamespacePermissionsRequest) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{20} +} -func (m *UpdateIdentityNamespacePermissionsRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *UpdateIdentityNamespacePermissionsRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *UpdateIdentityNamespacePermissionsRequest) GetIdentityNamespacePermissions() []*v1.IdentityNamespacePermissions { - if m != nil { - return m.IdentityNamespacePermissions +func (x *UpdateIdentityNamespacePermissionsRequest) GetIdentityNamespacePermissions() []*v1.IdentityNamespacePermissions { + if x != nil { + return x.IdentityNamespacePermissions } return nil } -func (m *UpdateIdentityNamespacePermissionsRequest) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *UpdateIdentityNamespacePermissionsRequest) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } type UpdateIdentityNamespacePermissionsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the request status of the update operation RequestStatus *v11.RequestStatus `protobuf:"bytes,1,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` } -func (m *UpdateIdentityNamespacePermissionsResponse) Reset() { - *m = UpdateIdentityNamespacePermissionsResponse{} +func (x *UpdateIdentityNamespacePermissionsResponse) Reset() { + *x = UpdateIdentityNamespacePermissionsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateIdentityNamespacePermissionsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } + func (*UpdateIdentityNamespacePermissionsResponse) ProtoMessage() {} -func (*UpdateIdentityNamespacePermissionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{21} -} -func (m *UpdateIdentityNamespacePermissionsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *UpdateIdentityNamespacePermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateIdentityNamespacePermissionsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (x *UpdateIdentityNamespacePermissionsResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *UpdateIdentityNamespacePermissionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateIdentityNamespacePermissionsResponse.Merge(m, src) -} -func (m *UpdateIdentityNamespacePermissionsResponse) XXX_Size() int { - return m.Size() -} -func (m *UpdateIdentityNamespacePermissionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateIdentityNamespacePermissionsResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateIdentityNamespacePermissionsResponse proto.InternalMessageInfo +// Deprecated: Use UpdateIdentityNamespacePermissionsResponse.ProtoReflect.Descriptor instead. +func (*UpdateIdentityNamespacePermissionsResponse) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{21} +} -func (m *UpdateIdentityNamespacePermissionsResponse) GetRequestStatus() *v11.RequestStatus { - if m != nil { - return m.RequestStatus +func (x *UpdateIdentityNamespacePermissionsResponse) GetRequestStatus() *v11.RequestStatus { + if x != nil { + return x.RequestStatus } return nil } type CreateAPIKeyRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the spec for the apikey Spec *v1.APIKeySpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` // the request id to use for this operation - optional RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` } -func (m *CreateAPIKeyRequest) Reset() { *m = CreateAPIKeyRequest{} } -func (*CreateAPIKeyRequest) ProtoMessage() {} -func (*CreateAPIKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{22} -} -func (m *CreateAPIKeyRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CreateAPIKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateAPIKeyRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CreateAPIKeyRequest) Reset() { + *x = CreateAPIKeyRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CreateAPIKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateAPIKeyRequest.Merge(m, src) -} -func (m *CreateAPIKeyRequest) XXX_Size() int { - return m.Size() + +func (x *CreateAPIKeyRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateAPIKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateAPIKeyRequest.DiscardUnknown(m) + +func (*CreateAPIKeyRequest) ProtoMessage() {} + +func (x *CreateAPIKeyRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CreateAPIKeyRequest proto.InternalMessageInfo +// Deprecated: Use CreateAPIKeyRequest.ProtoReflect.Descriptor instead. +func (*CreateAPIKeyRequest) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{22} +} -func (m *CreateAPIKeyRequest) GetSpec() *v1.APIKeySpec { - if m != nil { - return m.Spec +func (x *CreateAPIKeyRequest) GetSpec() *v1.APIKeySpec { + if x != nil { + return x.Spec } return nil } -func (m *CreateAPIKeyRequest) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *CreateAPIKeyRequest) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } type CreateAPIKeyResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the apikey id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // the apikey secret key @@ -1238,60 +1329,64 @@ type CreateAPIKeyResponse struct { RequestStatus *v11.RequestStatus `protobuf:"bytes,3,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` } -func (m *CreateAPIKeyResponse) Reset() { *m = CreateAPIKeyResponse{} } -func (*CreateAPIKeyResponse) ProtoMessage() {} -func (*CreateAPIKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{23} -} -func (m *CreateAPIKeyResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CreateAPIKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateAPIKeyResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CreateAPIKeyResponse) Reset() { + *x = CreateAPIKeyResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CreateAPIKeyResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateAPIKeyResponse.Merge(m, src) -} -func (m *CreateAPIKeyResponse) XXX_Size() int { - return m.Size() + +func (x *CreateAPIKeyResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateAPIKeyResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateAPIKeyResponse.DiscardUnknown(m) + +func (*CreateAPIKeyResponse) ProtoMessage() {} + +func (x *CreateAPIKeyResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CreateAPIKeyResponse proto.InternalMessageInfo +// Deprecated: Use CreateAPIKeyResponse.ProtoReflect.Descriptor instead. +func (*CreateAPIKeyResponse) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{23} +} -func (m *CreateAPIKeyResponse) GetId() string { - if m != nil { - return m.Id +func (x *CreateAPIKeyResponse) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *CreateAPIKeyResponse) GetSecretKey() string { - if m != nil { - return m.SecretKey +func (x *CreateAPIKeyResponse) GetSecretKey() string { + if x != nil { + return x.SecretKey } return "" } -func (m *CreateAPIKeyResponse) GetRequestStatus() *v11.RequestStatus { - if m != nil { - return m.RequestStatus +func (x *CreateAPIKeyResponse) GetRequestStatus() *v11.RequestStatus { + if x != nil { + return x.RequestStatus } return nil } type GetAPIKeysRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the requested size of the page to retrieve PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // the page token @@ -1305,215 +1400,231 @@ type GetAPIKeysRequest struct { OwnerType string `protobuf:"bytes,5,opt,name=owner_type,json=ownerType,proto3" json:"owner_type,omitempty"` } -func (m *GetAPIKeysRequest) Reset() { *m = GetAPIKeysRequest{} } -func (*GetAPIKeysRequest) ProtoMessage() {} -func (*GetAPIKeysRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{24} -} -func (m *GetAPIKeysRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetAPIKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetAPIKeysRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetAPIKeysRequest) Reset() { + *x = GetAPIKeysRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetAPIKeysRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAPIKeysRequest.Merge(m, src) -} -func (m *GetAPIKeysRequest) XXX_Size() int { - return m.Size() + +func (x *GetAPIKeysRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAPIKeysRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAPIKeysRequest.DiscardUnknown(m) + +func (*GetAPIKeysRequest) ProtoMessage() {} + +func (x *GetAPIKeysRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAPIKeysRequest proto.InternalMessageInfo +// Deprecated: Use GetAPIKeysRequest.ProtoReflect.Descriptor instead. +func (*GetAPIKeysRequest) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{24} +} -func (m *GetAPIKeysRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *GetAPIKeysRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *GetAPIKeysRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *GetAPIKeysRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } -func (m *GetAPIKeysRequest) GetOwnerId() string { - if m != nil { - return m.OwnerId +func (x *GetAPIKeysRequest) GetOwnerId() string { + if x != nil { + return x.OwnerId } return "" } -func (m *GetAPIKeysRequest) GetUserEmail() string { - if m != nil { - return m.UserEmail +func (x *GetAPIKeysRequest) GetUserEmail() string { + if x != nil { + return x.UserEmail } return "" } -func (m *GetAPIKeysRequest) GetOwnerType() string { - if m != nil { - return m.OwnerType +func (x *GetAPIKeysRequest) GetOwnerType() string { + if x != nil { + return x.OwnerType } return "" } type GetAPIKeysResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the list of apikeys ApiKeys []*v1.APIKey `protobuf:"bytes,1,rep,name=api_keys,json=apiKeys,proto3" json:"api_keys,omitempty"` // the next page's token NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *GetAPIKeysResponse) Reset() { *m = GetAPIKeysResponse{} } -func (*GetAPIKeysResponse) ProtoMessage() {} -func (*GetAPIKeysResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{25} -} -func (m *GetAPIKeysResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetAPIKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetAPIKeysResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetAPIKeysResponse) Reset() { + *x = GetAPIKeysResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetAPIKeysResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAPIKeysResponse.Merge(m, src) -} -func (m *GetAPIKeysResponse) XXX_Size() int { - return m.Size() + +func (x *GetAPIKeysResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAPIKeysResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetAPIKeysResponse.DiscardUnknown(m) + +func (*GetAPIKeysResponse) ProtoMessage() {} + +func (x *GetAPIKeysResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAPIKeysResponse proto.InternalMessageInfo +// Deprecated: Use GetAPIKeysResponse.ProtoReflect.Descriptor instead. +func (*GetAPIKeysResponse) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{25} +} -func (m *GetAPIKeysResponse) GetApiKeys() []*v1.APIKey { - if m != nil { - return m.ApiKeys +func (x *GetAPIKeysResponse) GetApiKeys() []*v1.APIKey { + if x != nil { + return x.ApiKeys } return nil } -func (m *GetAPIKeysResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *GetAPIKeysResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type GetAPIKeyRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the apikey id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (m *GetAPIKeyRequest) Reset() { *m = GetAPIKeyRequest{} } -func (*GetAPIKeyRequest) ProtoMessage() {} -func (*GetAPIKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{26} -} -func (m *GetAPIKeyRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetAPIKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetAPIKeyRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetAPIKeyRequest) Reset() { + *x = GetAPIKeyRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetAPIKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAPIKeyRequest.Merge(m, src) -} -func (m *GetAPIKeyRequest) XXX_Size() int { - return m.Size() + +func (x *GetAPIKeyRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAPIKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAPIKeyRequest.DiscardUnknown(m) + +func (*GetAPIKeyRequest) ProtoMessage() {} + +func (x *GetAPIKeyRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAPIKeyRequest proto.InternalMessageInfo +// Deprecated: Use GetAPIKeyRequest.ProtoReflect.Descriptor instead. +func (*GetAPIKeyRequest) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{26} +} -func (m *GetAPIKeyRequest) GetId() string { - if m != nil { - return m.Id +func (x *GetAPIKeyRequest) GetId() string { + if x != nil { + return x.Id } return "" } type GetAPIKeyResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the apikey ApiKey *v1.APIKey `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"` } -func (m *GetAPIKeyResponse) Reset() { *m = GetAPIKeyResponse{} } -func (*GetAPIKeyResponse) ProtoMessage() {} -func (*GetAPIKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{27} -} -func (m *GetAPIKeyResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetAPIKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetAPIKeyResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetAPIKeyResponse) Reset() { + *x = GetAPIKeyResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetAPIKeyResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAPIKeyResponse.Merge(m, src) -} -func (m *GetAPIKeyResponse) XXX_Size() int { - return m.Size() + +func (x *GetAPIKeyResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAPIKeyResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetAPIKeyResponse.DiscardUnknown(m) + +func (*GetAPIKeyResponse) ProtoMessage() {} + +func (x *GetAPIKeyResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetAPIKeyResponse proto.InternalMessageInfo +// Deprecated: Use GetAPIKeyResponse.ProtoReflect.Descriptor instead. +func (*GetAPIKeyResponse) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{27} +} -func (m *GetAPIKeyResponse) GetApiKey() *v1.APIKey { - if m != nil { - return m.ApiKey +func (x *GetAPIKeyResponse) GetApiKey() *v1.APIKey { + if x != nil { + return x.ApiKey } return nil } type DeleteAPIKeyRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the apikey id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // the version of the apikey for which this delete is intended for @@ -1523,104 +1634,112 @@ type DeleteAPIKeyRequest struct { RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` } -func (m *DeleteAPIKeyRequest) Reset() { *m = DeleteAPIKeyRequest{} } -func (*DeleteAPIKeyRequest) ProtoMessage() {} -func (*DeleteAPIKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{28} -} -func (m *DeleteAPIKeyRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DeleteAPIKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteAPIKeyRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *DeleteAPIKeyRequest) Reset() { + *x = DeleteAPIKeyRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *DeleteAPIKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteAPIKeyRequest.Merge(m, src) -} -func (m *DeleteAPIKeyRequest) XXX_Size() int { - return m.Size() + +func (x *DeleteAPIKeyRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteAPIKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteAPIKeyRequest.DiscardUnknown(m) + +func (*DeleteAPIKeyRequest) ProtoMessage() {} + +func (x *DeleteAPIKeyRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteAPIKeyRequest proto.InternalMessageInfo +// Deprecated: Use DeleteAPIKeyRequest.ProtoReflect.Descriptor instead. +func (*DeleteAPIKeyRequest) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{28} +} -func (m *DeleteAPIKeyRequest) GetId() string { - if m != nil { - return m.Id +func (x *DeleteAPIKeyRequest) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *DeleteAPIKeyRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *DeleteAPIKeyRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *DeleteAPIKeyRequest) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *DeleteAPIKeyRequest) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } type DeleteAPIKeyResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the request status of the delete operation RequestStatus *v11.RequestStatus `protobuf:"bytes,3,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` } -func (m *DeleteAPIKeyResponse) Reset() { *m = DeleteAPIKeyResponse{} } -func (*DeleteAPIKeyResponse) ProtoMessage() {} -func (*DeleteAPIKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{29} -} -func (m *DeleteAPIKeyResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DeleteAPIKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteAPIKeyResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *DeleteAPIKeyResponse) Reset() { + *x = DeleteAPIKeyResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *DeleteAPIKeyResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteAPIKeyResponse.Merge(m, src) -} -func (m *DeleteAPIKeyResponse) XXX_Size() int { - return m.Size() + +func (x *DeleteAPIKeyResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteAPIKeyResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteAPIKeyResponse.DiscardUnknown(m) + +func (*DeleteAPIKeyResponse) ProtoMessage() {} + +func (x *DeleteAPIKeyResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteAPIKeyResponse proto.InternalMessageInfo +// Deprecated: Use DeleteAPIKeyResponse.ProtoReflect.Descriptor instead. +func (*DeleteAPIKeyResponse) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{29} +} -func (m *DeleteAPIKeyResponse) GetRequestStatus() *v11.RequestStatus { - if m != nil { - return m.RequestStatus +func (x *DeleteAPIKeyResponse) GetRequestStatus() *v11.RequestStatus { + if x != nil { + return x.RequestStatus } return nil } type UpdateAPIKeyRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the id of the apikey to update Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // the new apikey specification @@ -1632,199 +1751,215 @@ type UpdateAPIKeyRequest struct { RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` } -func (m *UpdateAPIKeyRequest) Reset() { *m = UpdateAPIKeyRequest{} } -func (*UpdateAPIKeyRequest) ProtoMessage() {} -func (*UpdateAPIKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{30} -} -func (m *UpdateAPIKeyRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *UpdateAPIKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateAPIKeyRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *UpdateAPIKeyRequest) Reset() { + *x = UpdateAPIKeyRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *UpdateAPIKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateAPIKeyRequest.Merge(m, src) -} -func (m *UpdateAPIKeyRequest) XXX_Size() int { - return m.Size() + +func (x *UpdateAPIKeyRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateAPIKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateAPIKeyRequest.DiscardUnknown(m) + +func (*UpdateAPIKeyRequest) ProtoMessage() {} + +func (x *UpdateAPIKeyRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[30] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateAPIKeyRequest proto.InternalMessageInfo +// Deprecated: Use UpdateAPIKeyRequest.ProtoReflect.Descriptor instead. +func (*UpdateAPIKeyRequest) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{30} +} -func (m *UpdateAPIKeyRequest) GetId() string { - if m != nil { - return m.Id +func (x *UpdateAPIKeyRequest) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *UpdateAPIKeyRequest) GetSpec() *v1.APIKeySpec { - if m != nil { - return m.Spec +func (x *UpdateAPIKeyRequest) GetSpec() *v1.APIKeySpec { + if x != nil { + return x.Spec } return nil } -func (m *UpdateAPIKeyRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *UpdateAPIKeyRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *UpdateAPIKeyRequest) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *UpdateAPIKeyRequest) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } type UpdateAPIKeyResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the request status of the update operation RequestStatus *v11.RequestStatus `protobuf:"bytes,1,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` } -func (m *UpdateAPIKeyResponse) Reset() { *m = UpdateAPIKeyResponse{} } -func (*UpdateAPIKeyResponse) ProtoMessage() {} -func (*UpdateAPIKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{31} -} -func (m *UpdateAPIKeyResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *UpdateAPIKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateAPIKeyResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *UpdateAPIKeyResponse) Reset() { + *x = UpdateAPIKeyResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *UpdateAPIKeyResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateAPIKeyResponse.Merge(m, src) -} -func (m *UpdateAPIKeyResponse) XXX_Size() int { - return m.Size() + +func (x *UpdateAPIKeyResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateAPIKeyResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateAPIKeyResponse.DiscardUnknown(m) + +func (*UpdateAPIKeyResponse) ProtoMessage() {} + +func (x *UpdateAPIKeyResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateAPIKeyResponse proto.InternalMessageInfo +// Deprecated: Use UpdateAPIKeyResponse.ProtoReflect.Descriptor instead. +func (*UpdateAPIKeyResponse) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{31} +} -func (m *UpdateAPIKeyResponse) GetRequestStatus() *v11.RequestStatus { - if m != nil { - return m.RequestStatus +func (x *UpdateAPIKeyResponse) GetRequestStatus() *v11.RequestStatus { + if x != nil { + return x.RequestStatus } return nil } type GetServiceAccountRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // ID of the service account to retrieve. ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` } -func (m *GetServiceAccountRequest) Reset() { *m = GetServiceAccountRequest{} } -func (*GetServiceAccountRequest) ProtoMessage() {} -func (*GetServiceAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{32} -} -func (m *GetServiceAccountRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetServiceAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetServiceAccountRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetServiceAccountRequest) Reset() { + *x = GetServiceAccountRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetServiceAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServiceAccountRequest.Merge(m, src) -} -func (m *GetServiceAccountRequest) XXX_Size() int { - return m.Size() + +func (x *GetServiceAccountRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetServiceAccountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetServiceAccountRequest.DiscardUnknown(m) + +func (*GetServiceAccountRequest) ProtoMessage() {} + +func (x *GetServiceAccountRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[32] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetServiceAccountRequest proto.InternalMessageInfo +// Deprecated: Use GetServiceAccountRequest.ProtoReflect.Descriptor instead. +func (*GetServiceAccountRequest) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{32} +} -func (m *GetServiceAccountRequest) GetServiceAccountId() string { - if m != nil { - return m.ServiceAccountId +func (x *GetServiceAccountRequest) GetServiceAccountId() string { + if x != nil { + return x.ServiceAccountId } return "" } type GetServiceAccountResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The service account retrieved. ServiceAccount *v1.ServiceAccount `protobuf:"bytes,1,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` } -func (m *GetServiceAccountResponse) Reset() { *m = GetServiceAccountResponse{} } -func (*GetServiceAccountResponse) ProtoMessage() {} -func (*GetServiceAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{33} -} -func (m *GetServiceAccountResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetServiceAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetServiceAccountResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetServiceAccountResponse) Reset() { + *x = GetServiceAccountResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetServiceAccountResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServiceAccountResponse.Merge(m, src) -} -func (m *GetServiceAccountResponse) XXX_Size() int { - return m.Size() + +func (x *GetServiceAccountResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetServiceAccountResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetServiceAccountResponse.DiscardUnknown(m) + +func (*GetServiceAccountResponse) ProtoMessage() {} + +func (x *GetServiceAccountResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[33] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetServiceAccountResponse proto.InternalMessageInfo +// Deprecated: Use GetServiceAccountResponse.ProtoReflect.Descriptor instead. +func (*GetServiceAccountResponse) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{33} +} -func (m *GetServiceAccountResponse) GetServiceAccount() *v1.ServiceAccount { - if m != nil { - return m.ServiceAccount +func (x *GetServiceAccountResponse) GetServiceAccount() *v1.ServiceAccount { + if x != nil { + return x.ServiceAccount } return nil } type GetServiceAccountsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The requested size of the page to retrieve - optional. // Cannot exceed 1000. Defaults to 100. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` @@ -1832,212 +1967,228 @@ type GetServiceAccountsRequest struct { PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *GetServiceAccountsRequest) Reset() { *m = GetServiceAccountsRequest{} } -func (*GetServiceAccountsRequest) ProtoMessage() {} -func (*GetServiceAccountsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{34} -} -func (m *GetServiceAccountsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetServiceAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetServiceAccountsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetServiceAccountsRequest) Reset() { + *x = GetServiceAccountsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetServiceAccountsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServiceAccountsRequest.Merge(m, src) -} -func (m *GetServiceAccountsRequest) XXX_Size() int { - return m.Size() + +func (x *GetServiceAccountsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetServiceAccountsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetServiceAccountsRequest.DiscardUnknown(m) + +func (*GetServiceAccountsRequest) ProtoMessage() {} + +func (x *GetServiceAccountsRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[34] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetServiceAccountsRequest proto.InternalMessageInfo +// Deprecated: Use GetServiceAccountsRequest.ProtoReflect.Descriptor instead. +func (*GetServiceAccountsRequest) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{34} +} -func (m *GetServiceAccountsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *GetServiceAccountsRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *GetServiceAccountsRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *GetServiceAccountsRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } type GetServiceAccountsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The list of service accounts in ascending ID order. ServiceAccount []*v1.ServiceAccount `protobuf:"bytes,1,rep,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` // The next page token, set if there is another page. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *GetServiceAccountsResponse) Reset() { *m = GetServiceAccountsResponse{} } -func (*GetServiceAccountsResponse) ProtoMessage() {} -func (*GetServiceAccountsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{35} -} -func (m *GetServiceAccountsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetServiceAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetServiceAccountsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetServiceAccountsResponse) Reset() { + *x = GetServiceAccountsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetServiceAccountsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServiceAccountsResponse.Merge(m, src) -} -func (m *GetServiceAccountsResponse) XXX_Size() int { - return m.Size() + +func (x *GetServiceAccountsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetServiceAccountsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetServiceAccountsResponse.DiscardUnknown(m) + +func (*GetServiceAccountsResponse) ProtoMessage() {} + +func (x *GetServiceAccountsResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[35] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetServiceAccountsResponse proto.InternalMessageInfo +// Deprecated: Use GetServiceAccountsResponse.ProtoReflect.Descriptor instead. +func (*GetServiceAccountsResponse) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{35} +} -func (m *GetServiceAccountsResponse) GetServiceAccount() []*v1.ServiceAccount { - if m != nil { - return m.ServiceAccount +func (x *GetServiceAccountsResponse) GetServiceAccount() []*v1.ServiceAccount { + if x != nil { + return x.ServiceAccount } return nil } -func (m *GetServiceAccountsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *GetServiceAccountsResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type CreateServiceAccountRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The spec of the service account to create. Spec *v1.ServiceAccountSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` // The ID to use for this request - optional. RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` } -func (m *CreateServiceAccountRequest) Reset() { *m = CreateServiceAccountRequest{} } -func (*CreateServiceAccountRequest) ProtoMessage() {} -func (*CreateServiceAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{36} -} -func (m *CreateServiceAccountRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CreateServiceAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateServiceAccountRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CreateServiceAccountRequest) Reset() { + *x = CreateServiceAccountRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CreateServiceAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateServiceAccountRequest.Merge(m, src) -} -func (m *CreateServiceAccountRequest) XXX_Size() int { - return m.Size() + +func (x *CreateServiceAccountRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateServiceAccountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateServiceAccountRequest.DiscardUnknown(m) + +func (*CreateServiceAccountRequest) ProtoMessage() {} + +func (x *CreateServiceAccountRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[36] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CreateServiceAccountRequest proto.InternalMessageInfo +// Deprecated: Use CreateServiceAccountRequest.ProtoReflect.Descriptor instead. +func (*CreateServiceAccountRequest) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{36} +} -func (m *CreateServiceAccountRequest) GetSpec() *v1.ServiceAccountSpec { - if m != nil { - return m.Spec +func (x *CreateServiceAccountRequest) GetSpec() *v1.ServiceAccountSpec { + if x != nil { + return x.Spec } return nil } -func (m *CreateServiceAccountRequest) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *CreateServiceAccountRequest) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } type CreateServiceAccountResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The ID of the created service account. ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // the request status of the operation RequestStatus *v11.RequestStatus `protobuf:"bytes,2,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` } -func (m *CreateServiceAccountResponse) Reset() { *m = CreateServiceAccountResponse{} } -func (*CreateServiceAccountResponse) ProtoMessage() {} -func (*CreateServiceAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{37} -} -func (m *CreateServiceAccountResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CreateServiceAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateServiceAccountResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CreateServiceAccountResponse) Reset() { + *x = CreateServiceAccountResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CreateServiceAccountResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateServiceAccountResponse.Merge(m, src) -} -func (m *CreateServiceAccountResponse) XXX_Size() int { - return m.Size() + +func (x *CreateServiceAccountResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateServiceAccountResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateServiceAccountResponse.DiscardUnknown(m) + +func (*CreateServiceAccountResponse) ProtoMessage() {} + +func (x *CreateServiceAccountResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[37] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CreateServiceAccountResponse proto.InternalMessageInfo +// Deprecated: Use CreateServiceAccountResponse.ProtoReflect.Descriptor instead. +func (*CreateServiceAccountResponse) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{37} +} -func (m *CreateServiceAccountResponse) GetServiceAccountId() string { - if m != nil { - return m.ServiceAccountId +func (x *CreateServiceAccountResponse) GetServiceAccountId() string { + if x != nil { + return x.ServiceAccountId } return "" } -func (m *CreateServiceAccountResponse) GetRequestStatus() *v11.RequestStatus { - if m != nil { - return m.RequestStatus +func (x *CreateServiceAccountResponse) GetRequestStatus() *v11.RequestStatus { + if x != nil { + return x.RequestStatus } return nil } type CreateServiceAccountAPIKeyRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // ID of the service account to create the API key for. ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // The spec for the apikey to create. @@ -2046,60 +2197,64 @@ type CreateServiceAccountAPIKeyRequest struct { RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` } -func (m *CreateServiceAccountAPIKeyRequest) Reset() { *m = CreateServiceAccountAPIKeyRequest{} } -func (*CreateServiceAccountAPIKeyRequest) ProtoMessage() {} -func (*CreateServiceAccountAPIKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{38} -} -func (m *CreateServiceAccountAPIKeyRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CreateServiceAccountAPIKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateServiceAccountAPIKeyRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CreateServiceAccountAPIKeyRequest) Reset() { + *x = CreateServiceAccountAPIKeyRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CreateServiceAccountAPIKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateServiceAccountAPIKeyRequest.Merge(m, src) -} -func (m *CreateServiceAccountAPIKeyRequest) XXX_Size() int { - return m.Size() + +func (x *CreateServiceAccountAPIKeyRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateServiceAccountAPIKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateServiceAccountAPIKeyRequest.DiscardUnknown(m) + +func (*CreateServiceAccountAPIKeyRequest) ProtoMessage() {} + +func (x *CreateServiceAccountAPIKeyRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[38] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CreateServiceAccountAPIKeyRequest proto.InternalMessageInfo +// Deprecated: Use CreateServiceAccountAPIKeyRequest.ProtoReflect.Descriptor instead. +func (*CreateServiceAccountAPIKeyRequest) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{38} +} -func (m *CreateServiceAccountAPIKeyRequest) GetServiceAccountId() string { - if m != nil { - return m.ServiceAccountId +func (x *CreateServiceAccountAPIKeyRequest) GetServiceAccountId() string { + if x != nil { + return x.ServiceAccountId } return "" } -func (m *CreateServiceAccountAPIKeyRequest) GetSpec() *v1.APIKeySpec { - if m != nil { - return m.Spec +func (x *CreateServiceAccountAPIKeyRequest) GetSpec() *v1.APIKeySpec { + if x != nil { + return x.Spec } return nil } -func (m *CreateServiceAccountAPIKeyRequest) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *CreateServiceAccountAPIKeyRequest) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } type CreateServiceAccountAPIKeyResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The apikey id ApiKeyId string `protobuf:"bytes,1,opt,name=api_key_id,json=apiKeyId,proto3" json:"api_key_id,omitempty"` // The apikey secret key @@ -2108,60 +2263,64 @@ type CreateServiceAccountAPIKeyResponse struct { RequestStatus *v11.RequestStatus `protobuf:"bytes,3,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` } -func (m *CreateServiceAccountAPIKeyResponse) Reset() { *m = CreateServiceAccountAPIKeyResponse{} } -func (*CreateServiceAccountAPIKeyResponse) ProtoMessage() {} -func (*CreateServiceAccountAPIKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{39} -} -func (m *CreateServiceAccountAPIKeyResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CreateServiceAccountAPIKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateServiceAccountAPIKeyResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CreateServiceAccountAPIKeyResponse) Reset() { + *x = CreateServiceAccountAPIKeyResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CreateServiceAccountAPIKeyResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateServiceAccountAPIKeyResponse.Merge(m, src) -} -func (m *CreateServiceAccountAPIKeyResponse) XXX_Size() int { - return m.Size() + +func (x *CreateServiceAccountAPIKeyResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateServiceAccountAPIKeyResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateServiceAccountAPIKeyResponse.DiscardUnknown(m) + +func (*CreateServiceAccountAPIKeyResponse) ProtoMessage() {} + +func (x *CreateServiceAccountAPIKeyResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[39] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CreateServiceAccountAPIKeyResponse proto.InternalMessageInfo +// Deprecated: Use CreateServiceAccountAPIKeyResponse.ProtoReflect.Descriptor instead. +func (*CreateServiceAccountAPIKeyResponse) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{39} +} -func (m *CreateServiceAccountAPIKeyResponse) GetApiKeyId() string { - if m != nil { - return m.ApiKeyId +func (x *CreateServiceAccountAPIKeyResponse) GetApiKeyId() string { + if x != nil { + return x.ApiKeyId } return "" } -func (m *CreateServiceAccountAPIKeyResponse) GetSecretKey() string { - if m != nil { - return m.SecretKey +func (x *CreateServiceAccountAPIKeyResponse) GetSecretKey() string { + if x != nil { + return x.SecretKey } return "" } -func (m *CreateServiceAccountAPIKeyResponse) GetRequestStatus() *v11.RequestStatus { - if m != nil { - return m.RequestStatus +func (x *CreateServiceAccountAPIKeyResponse) GetRequestStatus() *v11.RequestStatus { + if x != nil { + return x.RequestStatus } return nil } type UpdateServiceAccountRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The ID of the service account to update. ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // The new service account specification. @@ -2173,10616 +2332,1231 @@ type UpdateServiceAccountRequest struct { RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` } -func (m *UpdateServiceAccountRequest) Reset() { *m = UpdateServiceAccountRequest{} } -func (*UpdateServiceAccountRequest) ProtoMessage() {} -func (*UpdateServiceAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{40} -} -func (m *UpdateServiceAccountRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *UpdateServiceAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateServiceAccountRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *UpdateServiceAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateServiceAccountRequest.Merge(m, src) -} -func (m *UpdateServiceAccountRequest) XXX_Size() int { - return m.Size() -} -func (m *UpdateServiceAccountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateServiceAccountRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateServiceAccountRequest proto.InternalMessageInfo - -func (m *UpdateServiceAccountRequest) GetServiceAccountId() string { - if m != nil { - return m.ServiceAccountId +func (x *UpdateServiceAccountRequest) Reset() { + *x = UpdateServiceAccountRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" } -func (m *UpdateServiceAccountRequest) GetSpec() *v1.ServiceAccountSpec { - if m != nil { - return m.Spec - } - return nil +func (x *UpdateServiceAccountRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateServiceAccountRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion - } - return "" -} +func (*UpdateServiceAccountRequest) ProtoMessage() {} -func (m *UpdateServiceAccountRequest) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *UpdateServiceAccountRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[40] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -type UpdateServiceAccountResponse struct { - // the request status of the update operation - RequestStatus *v11.RequestStatus `protobuf:"bytes,1,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` +// Deprecated: Use UpdateServiceAccountRequest.ProtoReflect.Descriptor instead. +func (*UpdateServiceAccountRequest) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{40} } -func (m *UpdateServiceAccountResponse) Reset() { *m = UpdateServiceAccountResponse{} } -func (*UpdateServiceAccountResponse) ProtoMessage() {} -func (*UpdateServiceAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{41} -} -func (m *UpdateServiceAccountResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *UpdateServiceAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateServiceAccountResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *UpdateServiceAccountRequest) GetServiceAccountId() string { + if x != nil { + return x.ServiceAccountId } + return "" } -func (m *UpdateServiceAccountResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateServiceAccountResponse.Merge(m, src) -} -func (m *UpdateServiceAccountResponse) XXX_Size() int { - return m.Size() -} -func (m *UpdateServiceAccountResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateServiceAccountResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateServiceAccountResponse proto.InternalMessageInfo -func (m *UpdateServiceAccountResponse) GetRequestStatus() *v11.RequestStatus { - if m != nil { - return m.RequestStatus +func (x *UpdateServiceAccountRequest) GetSpec() *v1.ServiceAccountSpec { + if x != nil { + return x.Spec } return nil } -type DeleteServiceAccountRequest struct { - // The ID of the service account to delete; - ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` - // The version of the service account for which this update is intended for. - // The latest version can be found in the GetServiceAccount response. - ResourceVersion string `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` - // The ID to use for this request - optional. - RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` -} - -func (m *DeleteServiceAccountRequest) Reset() { *m = DeleteServiceAccountRequest{} } -func (*DeleteServiceAccountRequest) ProtoMessage() {} -func (*DeleteServiceAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{42} -} -func (m *DeleteServiceAccountRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DeleteServiceAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteServiceAccountRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *DeleteServiceAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteServiceAccountRequest.Merge(m, src) -} -func (m *DeleteServiceAccountRequest) XXX_Size() int { - return m.Size() -} -func (m *DeleteServiceAccountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteServiceAccountRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteServiceAccountRequest proto.InternalMessageInfo - -func (m *DeleteServiceAccountRequest) GetServiceAccountId() string { - if m != nil { - return m.ServiceAccountId +func (x *UpdateServiceAccountRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *DeleteServiceAccountRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *UpdateServiceAccountRequest) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } -func (m *DeleteServiceAccountRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} +type UpdateServiceAccountResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -type DeleteServiceAccountResponse struct { // the request status of the update operation RequestStatus *v11.RequestStatus `protobuf:"bytes,1,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` } -func (m *DeleteServiceAccountResponse) Reset() { *m = DeleteServiceAccountResponse{} } -func (*DeleteServiceAccountResponse) ProtoMessage() {} -func (*DeleteServiceAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82df425cb2a9bb43, []int{43} -} -func (m *DeleteServiceAccountResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DeleteServiceAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteServiceAccountResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *DeleteServiceAccountResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteServiceAccountResponse.Merge(m, src) -} -func (m *DeleteServiceAccountResponse) XXX_Size() int { - return m.Size() -} -func (m *DeleteServiceAccountResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteServiceAccountResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteServiceAccountResponse proto.InternalMessageInfo - -func (m *DeleteServiceAccountResponse) GetRequestStatus() *v11.RequestStatus { - if m != nil { - return m.RequestStatus +func (x *UpdateServiceAccountResponse) Reset() { + *x = UpdateServiceAccountResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func init() { - proto.RegisterType((*GetRoleRequest)(nil), "api.authservice.v1.GetRoleRequest") - proto.RegisterType((*GetRoleResponse)(nil), "api.authservice.v1.GetRoleResponse") - proto.RegisterType((*GetRolesRequest)(nil), "api.authservice.v1.GetRolesRequest") - proto.RegisterType((*GetRolesResponse)(nil), "api.authservice.v1.GetRolesResponse") - proto.RegisterType((*GetRolesByPermissionsRequest)(nil), "api.authservice.v1.GetRolesByPermissionsRequest") - proto.RegisterType((*GetRolesByPermissionsResponse)(nil), "api.authservice.v1.GetRolesByPermissionsResponse") - proto.RegisterType((*GetUsersRequest)(nil), "api.authservice.v1.GetUsersRequest") - proto.RegisterType((*GetUsersResponse)(nil), "api.authservice.v1.GetUsersResponse") - proto.RegisterType((*GetUserRequest)(nil), "api.authservice.v1.GetUserRequest") - proto.RegisterType((*GetUserResponse)(nil), "api.authservice.v1.GetUserResponse") - proto.RegisterType((*InviteUsersRequest)(nil), "api.authservice.v1.InviteUsersRequest") - proto.RegisterType((*InviteUsersResponse)(nil), "api.authservice.v1.InviteUsersResponse") - proto.RegisterType((*ResendUserInviteRequest)(nil), "api.authservice.v1.ResendUserInviteRequest") - proto.RegisterType((*ResendUserInviteResponse)(nil), "api.authservice.v1.ResendUserInviteResponse") - proto.RegisterType((*UpdateUserRequest)(nil), "api.authservice.v1.UpdateUserRequest") - proto.RegisterType((*UpdateUserResponse)(nil), "api.authservice.v1.UpdateUserResponse") - proto.RegisterType((*DeleteUserRequest)(nil), "api.authservice.v1.DeleteUserRequest") - proto.RegisterType((*DeleteUserResponse)(nil), "api.authservice.v1.DeleteUserResponse") - proto.RegisterType((*UpdateUserNamespacePermissionsRequest)(nil), "api.authservice.v1.UpdateUserNamespacePermissionsRequest") - proto.RegisterType((*UpdateUserNamespacePermissionsResponse)(nil), "api.authservice.v1.UpdateUserNamespacePermissionsResponse") - proto.RegisterType((*UpdateIdentityNamespacePermissionsRequest)(nil), "api.authservice.v1.UpdateIdentityNamespacePermissionsRequest") - proto.RegisterType((*UpdateIdentityNamespacePermissionsResponse)(nil), "api.authservice.v1.UpdateIdentityNamespacePermissionsResponse") - proto.RegisterType((*CreateAPIKeyRequest)(nil), "api.authservice.v1.CreateAPIKeyRequest") - proto.RegisterType((*CreateAPIKeyResponse)(nil), "api.authservice.v1.CreateAPIKeyResponse") - proto.RegisterType((*GetAPIKeysRequest)(nil), "api.authservice.v1.GetAPIKeysRequest") - proto.RegisterType((*GetAPIKeysResponse)(nil), "api.authservice.v1.GetAPIKeysResponse") - proto.RegisterType((*GetAPIKeyRequest)(nil), "api.authservice.v1.GetAPIKeyRequest") - proto.RegisterType((*GetAPIKeyResponse)(nil), "api.authservice.v1.GetAPIKeyResponse") - proto.RegisterType((*DeleteAPIKeyRequest)(nil), "api.authservice.v1.DeleteAPIKeyRequest") - proto.RegisterType((*DeleteAPIKeyResponse)(nil), "api.authservice.v1.DeleteAPIKeyResponse") - proto.RegisterType((*UpdateAPIKeyRequest)(nil), "api.authservice.v1.UpdateAPIKeyRequest") - proto.RegisterType((*UpdateAPIKeyResponse)(nil), "api.authservice.v1.UpdateAPIKeyResponse") - proto.RegisterType((*GetServiceAccountRequest)(nil), "api.authservice.v1.GetServiceAccountRequest") - proto.RegisterType((*GetServiceAccountResponse)(nil), "api.authservice.v1.GetServiceAccountResponse") - proto.RegisterType((*GetServiceAccountsRequest)(nil), "api.authservice.v1.GetServiceAccountsRequest") - proto.RegisterType((*GetServiceAccountsResponse)(nil), "api.authservice.v1.GetServiceAccountsResponse") - proto.RegisterType((*CreateServiceAccountRequest)(nil), "api.authservice.v1.CreateServiceAccountRequest") - proto.RegisterType((*CreateServiceAccountResponse)(nil), "api.authservice.v1.CreateServiceAccountResponse") - proto.RegisterType((*CreateServiceAccountAPIKeyRequest)(nil), "api.authservice.v1.CreateServiceAccountAPIKeyRequest") - proto.RegisterType((*CreateServiceAccountAPIKeyResponse)(nil), "api.authservice.v1.CreateServiceAccountAPIKeyResponse") - proto.RegisterType((*UpdateServiceAccountRequest)(nil), "api.authservice.v1.UpdateServiceAccountRequest") - proto.RegisterType((*UpdateServiceAccountResponse)(nil), "api.authservice.v1.UpdateServiceAccountResponse") - proto.RegisterType((*DeleteServiceAccountRequest)(nil), "api.authservice.v1.DeleteServiceAccountRequest") - proto.RegisterType((*DeleteServiceAccountResponse)(nil), "api.authservice.v1.DeleteServiceAccountResponse") -} - -func init() { - proto.RegisterFile("api/authservice/v1/request_response.proto", fileDescriptor_82df425cb2a9bb43) -} - -var fileDescriptor_82df425cb2a9bb43 = []byte{ - // 1174 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcd, 0x6f, 0x1b, 0x55, - 0x10, 0xf7, 0x73, 0xbe, 0x07, 0x35, 0x1f, 0x9b, 0x40, 0x9c, 0xc4, 0x59, 0xc2, 0x4a, 0x29, 0x75, - 0x1b, 0x39, 0x4a, 0x7b, 0x41, 0xe2, 0x94, 0x52, 0x94, 0x58, 0x91, 0x50, 0xd8, 0xb4, 0x20, 0x95, - 0x4a, 0xce, 0xb2, 0x3b, 0x2a, 0xab, 0x3a, 0xbb, 0xdb, 0x7d, 0x6b, 0x83, 0x7b, 0xe2, 0xc0, 0x09, - 0x2e, 0x08, 0x89, 0x03, 0x12, 0x1c, 0x38, 0xd1, 0x3f, 0x05, 0x38, 0xe5, 0x58, 0x6e, 0xc4, 0xb9, - 0x70, 0xec, 0x9f, 0x80, 0xde, 0xc7, 0x7e, 0xd9, 0x9b, 0xb5, 0x1d, 0xad, 0x7a, 0xcb, 0x7b, 0x33, - 0xef, 0xcd, 0x6f, 0x7e, 0x33, 0xf3, 0x7b, 0x1b, 0x43, 0xcd, 0xf0, 0xec, 0x5d, 0xa3, 0x1d, 0x7c, - 0x45, 0xd1, 0xef, 0xd8, 0x26, 0xee, 0x76, 0xf6, 0x76, 0x7d, 0x7c, 0xde, 0x46, 0x1a, 0x34, 0x7d, - 0xa4, 0x9e, 0xeb, 0x50, 0xac, 0x7b, 0xbe, 0x1b, 0xb8, 0x8a, 0x62, 0x78, 0x76, 0x3d, 0xe1, 0x5a, - 0xef, 0xec, 0xad, 0xaf, 0x85, 0xc7, 0xd9, 0xb9, 0x33, 0xa4, 0xd4, 0x78, 0x2a, 0xdd, 0xd7, 0xab, - 0xcc, 0x24, 0xaf, 0x1a, 0xb0, 0x6a, 0x35, 0x98, 0x3f, 0xc0, 0x40, 0x77, 0x5b, 0xa8, 0x0b, 0x17, - 0x65, 0x15, 0x66, 0x7c, 0xb7, 0x85, 0x4d, 0xdb, 0xaa, 0x4c, 0x6e, 0x91, 0x5b, 0x73, 0xfa, 0x34, - 0x5b, 0x36, 0x2c, 0xed, 0x03, 0x58, 0x88, 0x5c, 0x05, 0x20, 0x65, 0x1b, 0x26, 0x99, 0xb1, 0x42, - 0xb6, 0xc8, 0xad, 0xb7, 0xee, 0x2e, 0xd5, 0x43, 0x64, 0xf5, 0xce, 0x5e, 0x9d, 0x3b, 0x72, 0xb3, - 0xf6, 0x1d, 0x89, 0x8e, 0xd2, 0x30, 0xcc, 0x06, 0xcc, 0x79, 0xc6, 0x53, 0x6c, 0x52, 0xfb, 0x85, - 0x38, 0x3f, 0xa5, 0xcf, 0xb2, 0x8d, 0x13, 0xfb, 0x05, 0x2a, 0x9b, 0x00, 0xdc, 0x18, 0xb8, 0xcf, - 0xd0, 0xa9, 0x94, 0x39, 0x0c, 0xee, 0xfe, 0x90, 0x6d, 0x28, 0x55, 0x98, 0x73, 0x8c, 0x33, 0xa4, - 0x9e, 0x61, 0x62, 0x65, 0x42, 0x58, 0xa3, 0x0d, 0x96, 0x40, 0x9b, 0xa2, 0x9f, 0x48, 0x80, 0x2d, - 0x1b, 0x96, 0x66, 0xc2, 0x62, 0x8c, 0x42, 0x66, 0xf0, 0x3e, 0x4c, 0x31, 0x88, 0xb4, 0x42, 0xb6, - 0x26, 0xb2, 0x53, 0x10, 0x76, 0xe5, 0x26, 0x2c, 0x38, 0xf8, 0x4d, 0xd0, 0x1c, 0xc0, 0x75, 0x83, - 0x6d, 0x1f, 0x87, 0xd8, 0xb4, 0x23, 0xa8, 0x86, 0x41, 0xee, 0x77, 0x8f, 0xd1, 0x3f, 0xb3, 0x29, - 0xb5, 0x5d, 0x27, 0xca, 0xfb, 0x0e, 0x4c, 0x51, 0x0f, 0xcd, 0x30, 0xe0, 0xdb, 0x03, 0x01, 0x4f, - 0x3c, 0x34, 0x75, 0xe1, 0xa3, 0x1d, 0xc2, 0xe6, 0x15, 0x97, 0x8d, 0x09, 0x5f, 0xfb, 0x45, 0x94, - 0xe0, 0x11, 0x45, 0xff, 0x0d, 0x94, 0x60, 0x07, 0xa6, 0x68, 0x60, 0x04, 0xc8, 0x0b, 0x30, 0x7f, - 0xf7, 0x9d, 0x14, 0x2c, 0x86, 0xe1, 0x84, 0x59, 0x75, 0xe1, 0x24, 0xeb, 0x22, 0xa1, 0xc5, 0x89, - 0xb1, 0xaa, 0x65, 0x27, 0xc6, 0x5c, 0x75, 0x61, 0x1f, 0xb9, 0x2e, 0x87, 0xbc, 0xd1, 0xf9, 0xc9, - 0xb8, 0xd1, 0xc3, 0x3e, 0x21, 0xc9, 0x3e, 0x61, 0xa9, 0x73, 0x03, 0x9e, 0x19, 0x76, 0x2b, 0x4c, - 0x9d, 0xed, 0x7c, 0xcc, 0x36, 0xe4, 0x1c, 0x88, 0x9b, 0xe2, 0x39, 0x60, 0xf6, 0xcc, 0x39, 0xe0, - 0x8e, 0xdc, 0xac, 0x9d, 0x82, 0xd2, 0x70, 0x3a, 0x76, 0x80, 0xa9, 0x32, 0xe4, 0x76, 0x04, 0x27, - 0x2b, 0xee, 0x08, 0x86, 0x2d, 0x94, 0x05, 0xdb, 0x0a, 0xb1, 0xc9, 0x9d, 0x86, 0xa5, 0x7d, 0x01, - 0xcb, 0xa9, 0x08, 0x12, 0xdf, 0x03, 0x98, 0x0f, 0x4f, 0x31, 0xca, 0xdb, 0x54, 0x22, 0xdd, 0xe4, - 0xb1, 0xa4, 0x89, 0xb7, 0x8c, 0xf8, 0xf3, 0x84, 0x3b, 0xe9, 0x37, 0xfc, 0xe4, 0x52, 0xfb, 0x14, - 0x56, 0x75, 0xa4, 0xe8, 0x58, 0xec, 0x72, 0x11, 0x66, 0x14, 0x2e, 0xf3, 0xf0, 0x9e, 0x42, 0x65, - 0xf0, 0xca, 0x42, 0x41, 0xff, 0x4e, 0x60, 0xe9, 0x91, 0x67, 0x19, 0x82, 0x92, 0xa1, 0x78, 0x6b, - 0x30, 0xc9, 0x88, 0xe6, 0x48, 0xaf, 0xac, 0x05, 0x77, 0x51, 0x6a, 0xb0, 0xe8, 0x23, 0x75, 0xdb, - 0xbe, 0x89, 0xcd, 0x0e, 0xfa, 0x6c, 0x30, 0xe5, 0x24, 0x2c, 0x84, 0xfb, 0x9f, 0x89, 0xed, 0x3e, - 0x16, 0x26, 0xfb, 0x59, 0x78, 0x0c, 0x4a, 0x12, 0x62, 0xa1, 0xf9, 0x77, 0x60, 0xe9, 0x01, 0xb6, - 0x70, 0xe4, 0xf4, 0x07, 0x73, 0x2a, 0x8f, 0x92, 0xd3, 0x44, 0x46, 0x4e, 0xc9, 0xb8, 0x85, 0xe6, - 0xf4, 0x17, 0x81, 0xed, 0x98, 0xb0, 0x4f, 0x42, 0xd9, 0xc9, 0x50, 0xdb, 0x94, 0x4c, 0x91, 0x7e, - 0x99, 0x32, 0x61, 0x9d, 0xd3, 0x10, 0xed, 0x34, 0xbd, 0xf8, 0x8a, 0x4a, 0x99, 0x8f, 0xe3, 0xf6, - 0x40, 0x0b, 0x64, 0xc6, 0xab, 0xb4, 0xaf, 0xb0, 0x0c, 0xe3, 0xc9, 0x81, 0x9b, 0xc3, 0x52, 0x29, - 0x94, 0xbb, 0x7f, 0x08, 0xd4, 0x44, 0xc0, 0x86, 0x85, 0x4e, 0x60, 0x07, 0xdd, 0xeb, 0xf3, 0xe7, - 0x82, 0x6a, 0xcb, 0x4b, 0x72, 0x39, 0xac, 0xa5, 0x38, 0xcc, 0x8d, 0x5b, 0xb5, 0x73, 0xac, 0xc3, - 0xb8, 0xf4, 0xe1, 0xf6, 0x28, 0xa9, 0x15, 0xca, 0xa7, 0x01, 0xcb, 0x1f, 0xf9, 0x68, 0x04, 0xb8, - 0x7f, 0xdc, 0x38, 0xc2, 0x6e, 0x2c, 0xea, 0x42, 0x47, 0xc4, 0x95, 0xab, 0x29, 0x02, 0x84, 0x67, - 0x42, 0x49, 0x86, 0x88, 0xe4, 0x0f, 0x04, 0x56, 0xd2, 0x31, 0x64, 0x06, 0xf3, 0x50, 0x8e, 0x26, - 0xb8, 0x6c, 0x73, 0xb1, 0xa5, 0x68, 0xfa, 0x18, 0x34, 0x9f, 0x61, 0x37, 0xbc, 0x47, 0xec, 0x1c, - 0x61, 0x37, 0x23, 0xe1, 0x89, 0x6b, 0x24, 0xfc, 0x92, 0xc0, 0xd2, 0x01, 0x06, 0x02, 0x4a, 0x21, - 0xdf, 0x12, 0x6b, 0x30, 0xeb, 0x7e, 0xed, 0x08, 0x39, 0x12, 0x35, 0x9d, 0xe1, 0xeb, 0x81, 0xa7, - 0x78, 0xb2, 0xef, 0x29, 0x66, 0x66, 0x71, 0x32, 0xe8, 0x7a, 0x58, 0x99, 0x12, 0x66, 0xbe, 0xf3, - 0xb0, 0xeb, 0xa1, 0xd6, 0x02, 0x25, 0x89, 0x54, 0xb2, 0x56, 0x87, 0x59, 0xc3, 0xb3, 0x19, 0x45, - 0xe1, 0x93, 0xbb, 0x9c, 0x51, 0x1e, 0x7d, 0xc6, 0xf0, 0x6c, 0x76, 0x6e, 0xe4, 0x2f, 0x0c, 0x8d, - 0x7f, 0xc6, 0xa4, 0xdb, 0xa0, 0xaf, 0x42, 0xda, 0x7e, 0x82, 0xbb, 0x08, 0xd0, 0x0e, 0xcc, 0x48, - 0x40, 0xb2, 0x5d, 0x32, 0xf1, 0x4c, 0x0b, 0x3c, 0x9a, 0x0b, 0xcb, 0x42, 0x58, 0x73, 0x23, 0x15, - 0xa8, 0xe4, 0x4f, 0x60, 0x25, 0x1d, 0xf0, 0xca, 0xf9, 0xb9, 0x4e, 0x3b, 0xfd, 0x4a, 0x60, 0x59, - 0x0c, 0x6d, 0x7e, 0x3e, 0x77, 0x52, 0x0f, 0xf3, 0x90, 0x81, 0x2a, 0xee, 0x69, 0x7e, 0x02, 0x2b, - 0x69, 0x74, 0x85, 0x8a, 0xc7, 0x21, 0x54, 0x0e, 0x30, 0x38, 0x11, 0xff, 0xc7, 0xed, 0x9b, 0xa6, - 0xdb, 0x76, 0x82, 0x90, 0x80, 0x1d, 0x50, 0xe4, 0x3f, 0x78, 0x4d, 0x43, 0x58, 0xe2, 0xe7, 0x7a, - 0x91, 0xa6, 0x8e, 0x34, 0x2c, 0xcd, 0x80, 0xb5, 0x8c, 0x9b, 0x22, 0xb0, 0x0b, 0x7d, 0x57, 0x49, - 0xb4, 0x1b, 0x29, 0x1a, 0xfb, 0x4e, 0xcf, 0xa7, 0x83, 0x68, 0x9f, 0x67, 0x84, 0x28, 0x62, 0xfe, - 0xb5, 0xef, 0x09, 0xac, 0x67, 0xdd, 0x9c, 0x87, 0x7e, 0x62, 0x4c, 0xf4, 0x23, 0x4f, 0xf1, 0x73, - 0xd8, 0x10, 0x5a, 0x9b, 0x5d, 0x95, 0x7b, 0x29, 0x5d, 0x7f, 0x37, 0x07, 0xc1, 0xe8, 0xfa, 0xfe, - 0x13, 0x81, 0x6a, 0x76, 0xcc, 0x48, 0x20, 0xc6, 0x68, 0x85, 0x8c, 0xd6, 0x2c, 0x5f, 0xa3, 0x35, - 0x7f, 0x23, 0xf0, 0x5e, 0x16, 0xa8, 0xf4, 0x94, 0x8e, 0x87, 0x6c, 0xac, 0x19, 0x1e, 0xa2, 0x4a, - 0x7f, 0x10, 0xd0, 0xf2, 0xf0, 0x49, 0xea, 0xaa, 0x00, 0x52, 0x5b, 0x63, 0x60, 0xb3, 0x42, 0x49, - 0x1b, 0x6f, 0xe8, 0xc1, 0xfc, 0x9b, 0xc0, 0x86, 0xd0, 0x90, 0x02, 0x06, 0x3d, 0x6a, 0xc0, 0xf2, - 0x38, 0x0d, 0x58, 0x9c, 0x1e, 0x5a, 0x50, 0xcd, 0xce, 0xa5, 0x50, 0x5d, 0xfc, 0x99, 0xc0, 0x86, - 0x78, 0x73, 0x8a, 0xa0, 0xac, 0xb8, 0xa7, 0xd0, 0x82, 0x6a, 0x36, 0xac, 0x22, 0xb3, 0xbf, 0x7f, - 0x7a, 0x7e, 0xa1, 0x96, 0x5e, 0x5d, 0xa8, 0xa5, 0xd7, 0x17, 0x2a, 0xf9, 0xb6, 0xa7, 0x92, 0x97, - 0x3d, 0x95, 0xfc, 0xd9, 0x53, 0xc9, 0x79, 0x4f, 0x25, 0xff, 0xf6, 0x54, 0xf2, 0x5f, 0x4f, 0x2d, - 0xbd, 0xee, 0xa9, 0xe4, 0xc7, 0x4b, 0xb5, 0x74, 0x7e, 0xa9, 0x96, 0x5e, 0x5d, 0xaa, 0xa5, 0xc7, - 0xb7, 0x83, 0x33, 0xcf, 0x6f, 0xd5, 0xcd, 0x96, 0xdb, 0xb6, 0x76, 0x07, 0x7f, 0x4d, 0xfc, 0x30, - 0xb1, 0xfc, 0x72, 0x9a, 0xff, 0xf8, 0x77, 0xef, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb3, 0xf8, - 0xbc, 0x78, 0x76, 0x14, 0x00, 0x00, -} - -func (this *GetRoleRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*GetRoleRequest) - if !ok { - that2, ok := that.(GetRoleRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.RoleId != that1.RoleId { - return false - } - return true +func (x *UpdateServiceAccountResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *GetRoleResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetRoleResponse) - if !ok { - that2, ok := that.(GetRoleResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Role.Equal(that1.Role) { - return false - } - return true -} -func (this *GetRolesRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } +func (*UpdateServiceAccountResponse) ProtoMessage() {} - that1, ok := that.(*GetRolesRequest) - if !ok { - that2, ok := that.(GetRolesRequest) - if ok { - that1 = &that2 - } else { - return false +func (x *UpdateServiceAccountResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[41] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.PageSize != that1.PageSize { - return false - } - if this.PageToken != that1.PageToken { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if this.UserId != that1.UserId { - return false - } - return true + return mi.MessageOf(x) } -func (this *GetRolesResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetRolesResponse) - if !ok { - that2, ok := that.(GetRolesResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.Roles) != len(that1.Roles) { - return false - } - for i := range this.Roles { - if !this.Roles[i].Equal(that1.Roles[i]) { - return false - } - } - if this.NextPageToken != that1.NextPageToken { - return false - } - return true +// Deprecated: Use UpdateServiceAccountResponse.ProtoReflect.Descriptor instead. +func (*UpdateServiceAccountResponse) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{41} } -func (this *GetRolesByPermissionsRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetRolesByPermissionsRequest) - if !ok { - that2, ok := that.(GetRolesByPermissionsRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.Specs) != len(that1.Specs) { - return false +func (x *UpdateServiceAccountResponse) GetRequestStatus() *v11.RequestStatus { + if x != nil { + return x.RequestStatus } - for i := range this.Specs { - if !this.Specs[i].Equal(that1.Specs[i]) { - return false - } - } - return true + return nil } -func (this *GetRolesByPermissionsResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetRolesByPermissionsResponse) - if !ok { - that2, ok := that.(GetRolesByPermissionsResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.Roles) != len(that1.Roles) { - return false - } - for i := range this.Roles { - if !this.Roles[i].Equal(that1.Roles[i]) { - return false - } - } - return true -} -func (this *GetUsersRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } +type DeleteServiceAccountRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields - that1, ok := that.(*GetUsersRequest) - if !ok { - that2, ok := that.(GetUsersRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.PageSize != that1.PageSize { - return false - } - if this.PageToken != that1.PageToken { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if this.State != that1.State { - return false - } - return true + // The ID of the service account to delete; + ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` + // The version of the service account for which this update is intended for. + // The latest version can be found in the GetServiceAccount response. + ResourceVersion string `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` + // The ID to use for this request - optional. + RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` } -func (this *GetUsersResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetUsersResponse) - if !ok { - that2, ok := that.(GetUsersResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.Users) != len(that1.Users) { - return false - } - for i := range this.Users { - if !this.Users[i].Equal(that1.Users[i]) { - return false - } - } - if this.NextPageToken != that1.NextPageToken { - return false +func (x *DeleteServiceAccountRequest) Reset() { + *x = DeleteServiceAccountRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return true } -func (this *GetUserRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetUserRequest) - if !ok { - that2, ok := that.(GetUserRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.UserId != that1.UserId { - return false - } - if this.UserEmail != that1.UserEmail { - return false - } - return true +func (x *DeleteServiceAccountRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *GetUserResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetUserResponse) - if !ok { - that2, ok := that.(GetUserResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.User.Equal(that1.User) { - return false - } - return true -} -func (this *InviteUsersRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } +func (*DeleteServiceAccountRequest) ProtoMessage() {} - that1, ok := that.(*InviteUsersRequest) - if !ok { - that2, ok := that.(InviteUsersRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.Specs) != len(that1.Specs) { - return false - } - for i := range this.Specs { - if !this.Specs[i].Equal(that1.Specs[i]) { - return false +func (x *DeleteServiceAccountRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[42] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if this.RequestId != that1.RequestId { - return false - } - return true + return mi.MessageOf(x) } -func (this *InviteUsersResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*InviteUsersResponse) - if !ok { - that2, ok := that.(InviteUsersResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.RequestStatus.Equal(that1.RequestStatus) { - return false - } - return true +// Deprecated: Use DeleteServiceAccountRequest.ProtoReflect.Descriptor instead. +func (*DeleteServiceAccountRequest) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{42} } -func (this *ResendUserInviteRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*ResendUserInviteRequest) - if !ok { - that2, ok := that.(ResendUserInviteRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.UserId != that1.UserId { - return false - } - if this.RequestId != that1.RequestId { - return false +func (x *DeleteServiceAccountRequest) GetServiceAccountId() string { + if x != nil { + return x.ServiceAccountId } - return true + return "" } -func (this *ResendUserInviteResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*ResendUserInviteResponse) - if !ok { - that2, ok := that.(ResendUserInviteResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false +func (x *DeleteServiceAccountRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } - if !this.RequestStatus.Equal(that1.RequestStatus) { - return false - } - return true + return "" } -func (this *UpdateUserRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateUserRequest) - if !ok { - that2, ok := that.(UpdateUserRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.UserId != that1.UserId { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false +func (x *DeleteServiceAccountRequest) GetRequestId() string { + if x != nil { + return x.RequestId } - if this.RequestId != that1.RequestId { - return false - } - return true + return "" } -func (this *UpdateUserResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateUserResponse) - if !ok { - that2, ok := that.(UpdateUserResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.RequestStatus.Equal(that1.RequestStatus) { - return false - } - return true -} -func (this *DeleteUserRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } +type DeleteServiceAccountResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields - that1, ok := that.(*DeleteUserRequest) - if !ok { - that2, ok := that.(DeleteUserRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.UserId != that1.UserId { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.RequestId != that1.RequestId { - return false - } - return true + // the request status of the update operation + RequestStatus *v11.RequestStatus `protobuf:"bytes,1,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` } -func (this *DeleteUserResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*DeleteUserResponse) - if !ok { - that2, ok := that.(DeleteUserResponse) - if ok { - that1 = &that2 - } else { - return false - } +func (x *DeleteServiceAccountResponse) Reset() { + *x = DeleteServiceAccountResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.RequestStatus.Equal(that1.RequestStatus) { - return false - } - return true } -func (this *UpdateUserNamespacePermissionsRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateUserNamespacePermissionsRequest) - if !ok { - that2, ok := that.(UpdateUserNamespacePermissionsRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if len(this.UserNamespacePermissions) != len(that1.UserNamespacePermissions) { - return false - } - for i := range this.UserNamespacePermissions { - if !this.UserNamespacePermissions[i].Equal(that1.UserNamespacePermissions[i]) { - return false - } - } - if this.RequestId != that1.RequestId { - return false - } - return true +func (x *DeleteServiceAccountResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *UpdateUserNamespacePermissionsResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateUserNamespacePermissionsResponse) - if !ok { - that2, ok := that.(UpdateUserNamespacePermissionsResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.RequestStatus.Equal(that1.RequestStatus) { - return false - } - return true -} -func (this *UpdateIdentityNamespacePermissionsRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } +func (*DeleteServiceAccountResponse) ProtoMessage() {} - that1, ok := that.(*UpdateIdentityNamespacePermissionsRequest) - if !ok { - that2, ok := that.(UpdateIdentityNamespacePermissionsRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if len(this.IdentityNamespacePermissions) != len(that1.IdentityNamespacePermissions) { - return false - } - for i := range this.IdentityNamespacePermissions { - if !this.IdentityNamespacePermissions[i].Equal(that1.IdentityNamespacePermissions[i]) { - return false +func (x *DeleteServiceAccountResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_authservice_v1_request_response_proto_msgTypes[43] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if this.RequestId != that1.RequestId { - return false - } - return true + return mi.MessageOf(x) } -func (this *UpdateIdentityNamespacePermissionsResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateIdentityNamespacePermissionsResponse) - if !ok { - that2, ok := that.(UpdateIdentityNamespacePermissionsResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.RequestStatus.Equal(that1.RequestStatus) { - return false - } - return true +// Deprecated: Use DeleteServiceAccountResponse.ProtoReflect.Descriptor instead. +func (*DeleteServiceAccountResponse) Descriptor() ([]byte, []int) { + return file_api_authservice_v1_request_response_proto_rawDescGZIP(), []int{43} +} + +func (x *DeleteServiceAccountResponse) GetRequestStatus() *v11.RequestStatus { + if x != nil { + return x.RequestStatus + } + return nil +} + +var File_api_authservice_v1_request_response_proto protoreflect.FileDescriptor + +var file_api_authservice_v1_request_response_proto_rawDesc = []byte{ + 0x0a, 0x29, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x61, 0x70, 0x69, + 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x1a, + 0x19, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x61, 0x70, 0x69, 0x2f, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x29, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x52, + 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, + 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6c, + 0x65, 0x49, 0x64, 0x22, 0x38, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, + 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x22, 0x84, 0x01, + 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, + 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1c, 0x0a, + 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x75, + 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, + 0x65, 0x72, 0x49, 0x64, 0x22, 0x63, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, + 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, + 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, + 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x4b, 0x0a, 0x1c, 0x47, 0x65, 0x74, + 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x42, 0x79, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x05, 0x73, 0x70, 0x65, + 0x63, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, + 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, + 0x05, 0x73, 0x70, 0x65, 0x63, 0x73, 0x22, 0x48, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, + 0x65, 0x73, 0x42, 0x79, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, + 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, + 0x22, 0x99, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, + 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, + 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2c, + 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x63, 0x0a, 0x10, + 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x27, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x11, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, + 0x65, 0x72, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, + 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x22, 0x48, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, + 0x75, 0x73, 0x65, 0x72, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x38, 0x0a, 0x0f, 0x47, + 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, + 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, + 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x60, 0x0a, 0x12, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x55, + 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x05, 0x73, + 0x70, 0x65, 0x63, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x70, 0x65, + 0x63, 0x52, 0x05, 0x73, 0x70, 0x65, 0x63, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x5b, 0x0a, 0x13, 0x49, 0x6e, 0x76, 0x69, 0x74, + 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, + 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x22, 0x51, 0x0a, 0x17, 0x52, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, + 0x65, 0x72, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x60, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x65, 0x6e, + 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xa1, 0x01, 0x0a, 0x11, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, + 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, + 0x70, 0x65, 0x63, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, + 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x5a, 0x0a, + 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x76, 0x0a, 0x11, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, + 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, + 0x64, 0x22, 0x5a, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, + 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xc9, 0x01, + 0x0a, 0x25, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x63, 0x0a, 0x1a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x18, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x6e, 0x0a, 0x26, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xd9, 0x01, 0x0a, 0x29, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x6f, 0x0a, 0x1e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x1c, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x72, 0x0a, 0x2a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x61, 0x0a, 0x13, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x2b, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x50, 0x49, + 0x4b, 0x65, 0x79, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x1d, 0x0a, + 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x8b, 0x01, 0x0a, + 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, + 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, + 0x74, 0x4b, 0x65, 0x79, 0x12, 0x44, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xa8, 0x01, 0x0a, 0x11, 0x47, + 0x65, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, + 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x19, 0x0a, 0x08, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, + 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, + 0x72, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x54, 0x79, 0x70, 0x65, 0x22, 0x6c, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x41, 0x50, 0x49, 0x4b, + 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x08, 0x61, + 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x50, 0x49, 0x4b, + 0x65, 0x79, 0x52, 0x07, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, + 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x22, 0x22, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x41, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x50, + 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x07, + 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x50, 0x49, 0x4b, + 0x65, 0x79, 0x52, 0x06, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x22, 0x6f, 0x0a, 0x13, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x5c, 0x0a, 0x14, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x9c, 0x01, 0x0a, 0x13, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x2b, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x50, + 0x49, 0x4b, 0x65, 0x79, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x29, + 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x5c, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x44, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x48, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, + 0x22, 0x61, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, + 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, + 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x22, 0x57, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, + 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x8a, 0x01, 0x0a, + 0x1a, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0f, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, + 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, + 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x71, 0x0a, 0x1b, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, + 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x1d, 0x0a, + 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x92, 0x01, 0x0a, + 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, + 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x44, 0x0a, 0x0e, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x22, 0x9d, 0x01, 0x0a, 0x21, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, + 0x31, 0x2e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, + 0x65, 0x63, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, + 0x64, 0x22, 0xa7, 0x01, 0x0a, 0x22, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x5f, + 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x70, + 0x69, 0x4b, 0x65, 0x79, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, + 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x63, 0x72, + 0x65, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x44, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xca, 0x01, 0x0a, 0x1b, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x33, 0x0a, 0x04, 0x73, 0x70, 0x65, + 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, + 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x29, + 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x64, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, + 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x95, + 0x01, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, + 0x0a, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x64, 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0xc4, 0x01, 0x0a, + 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, + 0x2a, 0x74, 0x6d, 0x70, 0x72, 0x6c, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x3b, + 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0xa2, 0x02, 0x03, 0x41, 0x41, + 0x58, 0xaa, 0x02, 0x12, 0x41, 0x70, 0x69, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x12, 0x41, 0x70, 0x69, 0x5c, 0x41, 0x75, 0x74, + 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1e, 0x41, 0x70, + 0x69, 0x5c, 0x41, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, + 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x14, 0x41, + 0x70, 0x69, 0x3a, 0x3a, 0x41, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x3a, + 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func (this *CreateAPIKeyRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CreateAPIKeyRequest) - if !ok { - that2, ok := that.(CreateAPIKeyRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.RequestId != that1.RequestId { - return false - } - return true -} -func (this *CreateAPIKeyResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } +var ( + file_api_authservice_v1_request_response_proto_rawDescOnce sync.Once + file_api_authservice_v1_request_response_proto_rawDescData = file_api_authservice_v1_request_response_proto_rawDesc +) - that1, ok := that.(*CreateAPIKeyResponse) - if !ok { - that2, ok := that.(CreateAPIKeyResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Id != that1.Id { - return false - } - if this.SecretKey != that1.SecretKey { - return false - } - if !this.RequestStatus.Equal(that1.RequestStatus) { - return false - } - return true +func file_api_authservice_v1_request_response_proto_rawDescGZIP() []byte { + file_api_authservice_v1_request_response_proto_rawDescOnce.Do(func() { + file_api_authservice_v1_request_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_authservice_v1_request_response_proto_rawDescData) + }) + return file_api_authservice_v1_request_response_proto_rawDescData +} + +var file_api_authservice_v1_request_response_proto_msgTypes = make([]protoimpl.MessageInfo, 44) +var file_api_authservice_v1_request_response_proto_goTypes = []interface{}{ + (*GetRoleRequest)(nil), // 0: api.authservice.v1.GetRoleRequest + (*GetRoleResponse)(nil), // 1: api.authservice.v1.GetRoleResponse + (*GetRolesRequest)(nil), // 2: api.authservice.v1.GetRolesRequest + (*GetRolesResponse)(nil), // 3: api.authservice.v1.GetRolesResponse + (*GetRolesByPermissionsRequest)(nil), // 4: api.authservice.v1.GetRolesByPermissionsRequest + (*GetRolesByPermissionsResponse)(nil), // 5: api.authservice.v1.GetRolesByPermissionsResponse + (*GetUsersRequest)(nil), // 6: api.authservice.v1.GetUsersRequest + (*GetUsersResponse)(nil), // 7: api.authservice.v1.GetUsersResponse + (*GetUserRequest)(nil), // 8: api.authservice.v1.GetUserRequest + (*GetUserResponse)(nil), // 9: api.authservice.v1.GetUserResponse + (*InviteUsersRequest)(nil), // 10: api.authservice.v1.InviteUsersRequest + (*InviteUsersResponse)(nil), // 11: api.authservice.v1.InviteUsersResponse + (*ResendUserInviteRequest)(nil), // 12: api.authservice.v1.ResendUserInviteRequest + (*ResendUserInviteResponse)(nil), // 13: api.authservice.v1.ResendUserInviteResponse + (*UpdateUserRequest)(nil), // 14: api.authservice.v1.UpdateUserRequest + (*UpdateUserResponse)(nil), // 15: api.authservice.v1.UpdateUserResponse + (*DeleteUserRequest)(nil), // 16: api.authservice.v1.DeleteUserRequest + (*DeleteUserResponse)(nil), // 17: api.authservice.v1.DeleteUserResponse + (*UpdateUserNamespacePermissionsRequest)(nil), // 18: api.authservice.v1.UpdateUserNamespacePermissionsRequest + (*UpdateUserNamespacePermissionsResponse)(nil), // 19: api.authservice.v1.UpdateUserNamespacePermissionsResponse + (*UpdateIdentityNamespacePermissionsRequest)(nil), // 20: api.authservice.v1.UpdateIdentityNamespacePermissionsRequest + (*UpdateIdentityNamespacePermissionsResponse)(nil), // 21: api.authservice.v1.UpdateIdentityNamespacePermissionsResponse + (*CreateAPIKeyRequest)(nil), // 22: api.authservice.v1.CreateAPIKeyRequest + (*CreateAPIKeyResponse)(nil), // 23: api.authservice.v1.CreateAPIKeyResponse + (*GetAPIKeysRequest)(nil), // 24: api.authservice.v1.GetAPIKeysRequest + (*GetAPIKeysResponse)(nil), // 25: api.authservice.v1.GetAPIKeysResponse + (*GetAPIKeyRequest)(nil), // 26: api.authservice.v1.GetAPIKeyRequest + (*GetAPIKeyResponse)(nil), // 27: api.authservice.v1.GetAPIKeyResponse + (*DeleteAPIKeyRequest)(nil), // 28: api.authservice.v1.DeleteAPIKeyRequest + (*DeleteAPIKeyResponse)(nil), // 29: api.authservice.v1.DeleteAPIKeyResponse + (*UpdateAPIKeyRequest)(nil), // 30: api.authservice.v1.UpdateAPIKeyRequest + (*UpdateAPIKeyResponse)(nil), // 31: api.authservice.v1.UpdateAPIKeyResponse + (*GetServiceAccountRequest)(nil), // 32: api.authservice.v1.GetServiceAccountRequest + (*GetServiceAccountResponse)(nil), // 33: api.authservice.v1.GetServiceAccountResponse + (*GetServiceAccountsRequest)(nil), // 34: api.authservice.v1.GetServiceAccountsRequest + (*GetServiceAccountsResponse)(nil), // 35: api.authservice.v1.GetServiceAccountsResponse + (*CreateServiceAccountRequest)(nil), // 36: api.authservice.v1.CreateServiceAccountRequest + (*CreateServiceAccountResponse)(nil), // 37: api.authservice.v1.CreateServiceAccountResponse + (*CreateServiceAccountAPIKeyRequest)(nil), // 38: api.authservice.v1.CreateServiceAccountAPIKeyRequest + (*CreateServiceAccountAPIKeyResponse)(nil), // 39: api.authservice.v1.CreateServiceAccountAPIKeyResponse + (*UpdateServiceAccountRequest)(nil), // 40: api.authservice.v1.UpdateServiceAccountRequest + (*UpdateServiceAccountResponse)(nil), // 41: api.authservice.v1.UpdateServiceAccountResponse + (*DeleteServiceAccountRequest)(nil), // 42: api.authservice.v1.DeleteServiceAccountRequest + (*DeleteServiceAccountResponse)(nil), // 43: api.authservice.v1.DeleteServiceAccountResponse + (*v1.Role)(nil), // 44: api.auth.v1.Role + (*v1.RoleSpec)(nil), // 45: api.auth.v1.RoleSpec + (v1.UserState)(0), // 46: api.auth.v1.UserState + (*v1.User)(nil), // 47: api.auth.v1.User + (*v1.UserSpec)(nil), // 48: api.auth.v1.UserSpec + (*v11.RequestStatus)(nil), // 49: api.request.v1.RequestStatus + (*v1.UserNamespacePermissions)(nil), // 50: api.auth.v1.UserNamespacePermissions + (*v1.IdentityNamespacePermissions)(nil), // 51: api.auth.v1.IdentityNamespacePermissions + (*v1.APIKeySpec)(nil), // 52: api.auth.v1.APIKeySpec + (*v1.APIKey)(nil), // 53: api.auth.v1.APIKey + (*v1.ServiceAccount)(nil), // 54: api.auth.v1.ServiceAccount + (*v1.ServiceAccountSpec)(nil), // 55: api.auth.v1.ServiceAccountSpec +} +var file_api_authservice_v1_request_response_proto_depIdxs = []int32{ + 44, // 0: api.authservice.v1.GetRoleResponse.role:type_name -> api.auth.v1.Role + 44, // 1: api.authservice.v1.GetRolesResponse.roles:type_name -> api.auth.v1.Role + 45, // 2: api.authservice.v1.GetRolesByPermissionsRequest.specs:type_name -> api.auth.v1.RoleSpec + 44, // 3: api.authservice.v1.GetRolesByPermissionsResponse.roles:type_name -> api.auth.v1.Role + 46, // 4: api.authservice.v1.GetUsersRequest.state:type_name -> api.auth.v1.UserState + 47, // 5: api.authservice.v1.GetUsersResponse.users:type_name -> api.auth.v1.User + 47, // 6: api.authservice.v1.GetUserResponse.user:type_name -> api.auth.v1.User + 48, // 7: api.authservice.v1.InviteUsersRequest.specs:type_name -> api.auth.v1.UserSpec + 49, // 8: api.authservice.v1.InviteUsersResponse.request_status:type_name -> api.request.v1.RequestStatus + 49, // 9: api.authservice.v1.ResendUserInviteResponse.request_status:type_name -> api.request.v1.RequestStatus + 48, // 10: api.authservice.v1.UpdateUserRequest.spec:type_name -> api.auth.v1.UserSpec + 49, // 11: api.authservice.v1.UpdateUserResponse.request_status:type_name -> api.request.v1.RequestStatus + 49, // 12: api.authservice.v1.DeleteUserResponse.request_status:type_name -> api.request.v1.RequestStatus + 50, // 13: api.authservice.v1.UpdateUserNamespacePermissionsRequest.user_namespace_permissions:type_name -> api.auth.v1.UserNamespacePermissions + 49, // 14: api.authservice.v1.UpdateUserNamespacePermissionsResponse.request_status:type_name -> api.request.v1.RequestStatus + 51, // 15: api.authservice.v1.UpdateIdentityNamespacePermissionsRequest.identity_namespace_permissions:type_name -> api.auth.v1.IdentityNamespacePermissions + 49, // 16: api.authservice.v1.UpdateIdentityNamespacePermissionsResponse.request_status:type_name -> api.request.v1.RequestStatus + 52, // 17: api.authservice.v1.CreateAPIKeyRequest.spec:type_name -> api.auth.v1.APIKeySpec + 49, // 18: api.authservice.v1.CreateAPIKeyResponse.request_status:type_name -> api.request.v1.RequestStatus + 53, // 19: api.authservice.v1.GetAPIKeysResponse.api_keys:type_name -> api.auth.v1.APIKey + 53, // 20: api.authservice.v1.GetAPIKeyResponse.api_key:type_name -> api.auth.v1.APIKey + 49, // 21: api.authservice.v1.DeleteAPIKeyResponse.request_status:type_name -> api.request.v1.RequestStatus + 52, // 22: api.authservice.v1.UpdateAPIKeyRequest.spec:type_name -> api.auth.v1.APIKeySpec + 49, // 23: api.authservice.v1.UpdateAPIKeyResponse.request_status:type_name -> api.request.v1.RequestStatus + 54, // 24: api.authservice.v1.GetServiceAccountResponse.service_account:type_name -> api.auth.v1.ServiceAccount + 54, // 25: api.authservice.v1.GetServiceAccountsResponse.service_account:type_name -> api.auth.v1.ServiceAccount + 55, // 26: api.authservice.v1.CreateServiceAccountRequest.spec:type_name -> api.auth.v1.ServiceAccountSpec + 49, // 27: api.authservice.v1.CreateServiceAccountResponse.request_status:type_name -> api.request.v1.RequestStatus + 52, // 28: api.authservice.v1.CreateServiceAccountAPIKeyRequest.spec:type_name -> api.auth.v1.APIKeySpec + 49, // 29: api.authservice.v1.CreateServiceAccountAPIKeyResponse.request_status:type_name -> api.request.v1.RequestStatus + 55, // 30: api.authservice.v1.UpdateServiceAccountRequest.spec:type_name -> api.auth.v1.ServiceAccountSpec + 49, // 31: api.authservice.v1.UpdateServiceAccountResponse.request_status:type_name -> api.request.v1.RequestStatus + 49, // 32: api.authservice.v1.DeleteServiceAccountResponse.request_status:type_name -> api.request.v1.RequestStatus + 33, // [33:33] is the sub-list for method output_type + 33, // [33:33] is the sub-list for method input_type + 33, // [33:33] is the sub-list for extension type_name + 33, // [33:33] is the sub-list for extension extendee + 0, // [0:33] is the sub-list for field type_name +} + +func init() { file_api_authservice_v1_request_response_proto_init() } +func file_api_authservice_v1_request_response_proto_init() { + if File_api_authservice_v1_request_response_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_api_authservice_v1_request_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRoleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRoleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRolesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRolesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRolesByPermissionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRolesByPermissionsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUsersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUsersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InviteUsersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InviteUsersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResendUserInviteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResendUserInviteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateUserRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateUserResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteUserRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteUserResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateUserNamespacePermissionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateUserNamespacePermissionsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateIdentityNamespacePermissionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateIdentityNamespacePermissionsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateAPIKeyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateAPIKeyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAPIKeysRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAPIKeysResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAPIKeyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAPIKeyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteAPIKeyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteAPIKeyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateAPIKeyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateAPIKeyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetServiceAccountRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetServiceAccountResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetServiceAccountsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetServiceAccountsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateServiceAccountRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateServiceAccountResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateServiceAccountAPIKeyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateServiceAccountAPIKeyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateServiceAccountRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateServiceAccountResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteServiceAccountRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_authservice_v1_request_response_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteServiceAccountResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_api_authservice_v1_request_response_proto_rawDesc, + NumEnums: 0, + NumMessages: 44, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_api_authservice_v1_request_response_proto_goTypes, + DependencyIndexes: file_api_authservice_v1_request_response_proto_depIdxs, + MessageInfos: file_api_authservice_v1_request_response_proto_msgTypes, + }.Build() + File_api_authservice_v1_request_response_proto = out.File + file_api_authservice_v1_request_response_proto_rawDesc = nil + file_api_authservice_v1_request_response_proto_goTypes = nil + file_api_authservice_v1_request_response_proto_depIdxs = nil } -func (this *GetAPIKeysRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*GetAPIKeysRequest) - if !ok { - that2, ok := that.(GetAPIKeysRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.PageSize != that1.PageSize { - return false - } - if this.PageToken != that1.PageToken { - return false - } - if this.OwnerId != that1.OwnerId { - return false - } - if this.UserEmail != that1.UserEmail { - return false - } - if this.OwnerType != that1.OwnerType { - return false - } - return true -} -func (this *GetAPIKeysResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*GetAPIKeysResponse) - if !ok { - that2, ok := that.(GetAPIKeysResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.ApiKeys) != len(that1.ApiKeys) { - return false - } - for i := range this.ApiKeys { - if !this.ApiKeys[i].Equal(that1.ApiKeys[i]) { - return false - } - } - if this.NextPageToken != that1.NextPageToken { - return false - } - return true -} -func (this *GetAPIKeyRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*GetAPIKeyRequest) - if !ok { - that2, ok := that.(GetAPIKeyRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Id != that1.Id { - return false - } - return true -} -func (this *GetAPIKeyResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*GetAPIKeyResponse) - if !ok { - that2, ok := that.(GetAPIKeyResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.ApiKey.Equal(that1.ApiKey) { - return false - } - return true -} -func (this *DeleteAPIKeyRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*DeleteAPIKeyRequest) - if !ok { - that2, ok := that.(DeleteAPIKeyRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Id != that1.Id { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.RequestId != that1.RequestId { - return false - } - return true -} -func (this *DeleteAPIKeyResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*DeleteAPIKeyResponse) - if !ok { - that2, ok := that.(DeleteAPIKeyResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.RequestStatus.Equal(that1.RequestStatus) { - return false - } - return true -} -func (this *UpdateAPIKeyRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*UpdateAPIKeyRequest) - if !ok { - that2, ok := that.(UpdateAPIKeyRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Id != that1.Id { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.RequestId != that1.RequestId { - return false - } - return true -} -func (this *UpdateAPIKeyResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*UpdateAPIKeyResponse) - if !ok { - that2, ok := that.(UpdateAPIKeyResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.RequestStatus.Equal(that1.RequestStatus) { - return false - } - return true -} -func (this *GetServiceAccountRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*GetServiceAccountRequest) - if !ok { - that2, ok := that.(GetServiceAccountRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.ServiceAccountId != that1.ServiceAccountId { - return false - } - return true -} -func (this *GetServiceAccountResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*GetServiceAccountResponse) - if !ok { - that2, ok := that.(GetServiceAccountResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.ServiceAccount.Equal(that1.ServiceAccount) { - return false - } - return true -} -func (this *GetServiceAccountsRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*GetServiceAccountsRequest) - if !ok { - that2, ok := that.(GetServiceAccountsRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.PageSize != that1.PageSize { - return false - } - if this.PageToken != that1.PageToken { - return false - } - return true -} -func (this *GetServiceAccountsResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*GetServiceAccountsResponse) - if !ok { - that2, ok := that.(GetServiceAccountsResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.ServiceAccount) != len(that1.ServiceAccount) { - return false - } - for i := range this.ServiceAccount { - if !this.ServiceAccount[i].Equal(that1.ServiceAccount[i]) { - return false - } - } - if this.NextPageToken != that1.NextPageToken { - return false - } - return true -} -func (this *CreateServiceAccountRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*CreateServiceAccountRequest) - if !ok { - that2, ok := that.(CreateServiceAccountRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.RequestId != that1.RequestId { - return false - } - return true -} -func (this *CreateServiceAccountResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*CreateServiceAccountResponse) - if !ok { - that2, ok := that.(CreateServiceAccountResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.ServiceAccountId != that1.ServiceAccountId { - return false - } - if !this.RequestStatus.Equal(that1.RequestStatus) { - return false - } - return true -} -func (this *CreateServiceAccountAPIKeyRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*CreateServiceAccountAPIKeyRequest) - if !ok { - that2, ok := that.(CreateServiceAccountAPIKeyRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.ServiceAccountId != that1.ServiceAccountId { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.RequestId != that1.RequestId { - return false - } - return true -} -func (this *CreateServiceAccountAPIKeyResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*CreateServiceAccountAPIKeyResponse) - if !ok { - that2, ok := that.(CreateServiceAccountAPIKeyResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.ApiKeyId != that1.ApiKeyId { - return false - } - if this.SecretKey != that1.SecretKey { - return false - } - if !this.RequestStatus.Equal(that1.RequestStatus) { - return false - } - return true -} -func (this *UpdateServiceAccountRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*UpdateServiceAccountRequest) - if !ok { - that2, ok := that.(UpdateServiceAccountRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.ServiceAccountId != that1.ServiceAccountId { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.RequestId != that1.RequestId { - return false - } - return true -} -func (this *UpdateServiceAccountResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*UpdateServiceAccountResponse) - if !ok { - that2, ok := that.(UpdateServiceAccountResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.RequestStatus.Equal(that1.RequestStatus) { - return false - } - return true -} -func (this *DeleteServiceAccountRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*DeleteServiceAccountRequest) - if !ok { - that2, ok := that.(DeleteServiceAccountRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.ServiceAccountId != that1.ServiceAccountId { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.RequestId != that1.RequestId { - return false - } - return true -} -func (this *DeleteServiceAccountResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*DeleteServiceAccountResponse) - if !ok { - that2, ok := that.(DeleteServiceAccountResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.RequestStatus.Equal(that1.RequestStatus) { - return false - } - return true -} -func (this *GetRoleRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&authservice.GetRoleRequest{") - s = append(s, "RoleId: "+fmt.Sprintf("%#v", this.RoleId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetRoleResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&authservice.GetRoleResponse{") - if this.Role != nil { - s = append(s, "Role: "+fmt.Sprintf("%#v", this.Role)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetRolesRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&authservice.GetRolesRequest{") - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "UserId: "+fmt.Sprintf("%#v", this.UserId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetRolesResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&authservice.GetRolesResponse{") - if this.Roles != nil { - s = append(s, "Roles: "+fmt.Sprintf("%#v", this.Roles)+",\n") - } - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetRolesByPermissionsRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&authservice.GetRolesByPermissionsRequest{") - if this.Specs != nil { - s = append(s, "Specs: "+fmt.Sprintf("%#v", this.Specs)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetRolesByPermissionsResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&authservice.GetRolesByPermissionsResponse{") - if this.Roles != nil { - s = append(s, "Roles: "+fmt.Sprintf("%#v", this.Roles)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetUsersRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&authservice.GetUsersRequest{") - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetUsersResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&authservice.GetUsersResponse{") - if this.Users != nil { - s = append(s, "Users: "+fmt.Sprintf("%#v", this.Users)+",\n") - } - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetUserRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&authservice.GetUserRequest{") - s = append(s, "UserId: "+fmt.Sprintf("%#v", this.UserId)+",\n") - s = append(s, "UserEmail: "+fmt.Sprintf("%#v", this.UserEmail)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetUserResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&authservice.GetUserResponse{") - if this.User != nil { - s = append(s, "User: "+fmt.Sprintf("%#v", this.User)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *InviteUsersRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&authservice.InviteUsersRequest{") - if this.Specs != nil { - s = append(s, "Specs: "+fmt.Sprintf("%#v", this.Specs)+",\n") - } - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *InviteUsersResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&authservice.InviteUsersResponse{") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ResendUserInviteRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&authservice.ResendUserInviteRequest{") - s = append(s, "UserId: "+fmt.Sprintf("%#v", this.UserId)+",\n") - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ResendUserInviteResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&authservice.ResendUserInviteResponse{") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateUserRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&authservice.UpdateUserRequest{") - s = append(s, "UserId: "+fmt.Sprintf("%#v", this.UserId)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateUserResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&authservice.UpdateUserResponse{") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteUserRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&authservice.DeleteUserRequest{") - s = append(s, "UserId: "+fmt.Sprintf("%#v", this.UserId)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteUserResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&authservice.DeleteUserResponse{") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateUserNamespacePermissionsRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&authservice.UpdateUserNamespacePermissionsRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - if this.UserNamespacePermissions != nil { - s = append(s, "UserNamespacePermissions: "+fmt.Sprintf("%#v", this.UserNamespacePermissions)+",\n") - } - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateUserNamespacePermissionsResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&authservice.UpdateUserNamespacePermissionsResponse{") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateIdentityNamespacePermissionsRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&authservice.UpdateIdentityNamespacePermissionsRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - if this.IdentityNamespacePermissions != nil { - s = append(s, "IdentityNamespacePermissions: "+fmt.Sprintf("%#v", this.IdentityNamespacePermissions)+",\n") - } - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateIdentityNamespacePermissionsResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&authservice.UpdateIdentityNamespacePermissionsResponse{") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateAPIKeyRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&authservice.CreateAPIKeyRequest{") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateAPIKeyResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&authservice.CreateAPIKeyResponse{") - s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") - s = append(s, "SecretKey: "+fmt.Sprintf("%#v", this.SecretKey)+",\n") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetAPIKeysRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 9) - s = append(s, "&authservice.GetAPIKeysRequest{") - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - s = append(s, "OwnerId: "+fmt.Sprintf("%#v", this.OwnerId)+",\n") - s = append(s, "UserEmail: "+fmt.Sprintf("%#v", this.UserEmail)+",\n") - s = append(s, "OwnerType: "+fmt.Sprintf("%#v", this.OwnerType)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetAPIKeysResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&authservice.GetAPIKeysResponse{") - if this.ApiKeys != nil { - s = append(s, "ApiKeys: "+fmt.Sprintf("%#v", this.ApiKeys)+",\n") - } - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetAPIKeyRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&authservice.GetAPIKeyRequest{") - s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetAPIKeyResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&authservice.GetAPIKeyResponse{") - if this.ApiKey != nil { - s = append(s, "ApiKey: "+fmt.Sprintf("%#v", this.ApiKey)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteAPIKeyRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&authservice.DeleteAPIKeyRequest{") - s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteAPIKeyResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&authservice.DeleteAPIKeyResponse{") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateAPIKeyRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&authservice.UpdateAPIKeyRequest{") - s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateAPIKeyResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&authservice.UpdateAPIKeyResponse{") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetServiceAccountRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&authservice.GetServiceAccountRequest{") - s = append(s, "ServiceAccountId: "+fmt.Sprintf("%#v", this.ServiceAccountId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetServiceAccountResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&authservice.GetServiceAccountResponse{") - if this.ServiceAccount != nil { - s = append(s, "ServiceAccount: "+fmt.Sprintf("%#v", this.ServiceAccount)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetServiceAccountsRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&authservice.GetServiceAccountsRequest{") - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetServiceAccountsResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&authservice.GetServiceAccountsResponse{") - if this.ServiceAccount != nil { - s = append(s, "ServiceAccount: "+fmt.Sprintf("%#v", this.ServiceAccount)+",\n") - } - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateServiceAccountRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&authservice.CreateServiceAccountRequest{") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateServiceAccountResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&authservice.CreateServiceAccountResponse{") - s = append(s, "ServiceAccountId: "+fmt.Sprintf("%#v", this.ServiceAccountId)+",\n") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateServiceAccountAPIKeyRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&authservice.CreateServiceAccountAPIKeyRequest{") - s = append(s, "ServiceAccountId: "+fmt.Sprintf("%#v", this.ServiceAccountId)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateServiceAccountAPIKeyResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&authservice.CreateServiceAccountAPIKeyResponse{") - s = append(s, "ApiKeyId: "+fmt.Sprintf("%#v", this.ApiKeyId)+",\n") - s = append(s, "SecretKey: "+fmt.Sprintf("%#v", this.SecretKey)+",\n") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateServiceAccountRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&authservice.UpdateServiceAccountRequest{") - s = append(s, "ServiceAccountId: "+fmt.Sprintf("%#v", this.ServiceAccountId)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateServiceAccountResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&authservice.UpdateServiceAccountResponse{") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteServiceAccountRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&authservice.DeleteServiceAccountRequest{") - s = append(s, "ServiceAccountId: "+fmt.Sprintf("%#v", this.ServiceAccountId)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteServiceAccountResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&authservice.DeleteServiceAccountResponse{") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func valueToGoStringRequestResponse(v interface{}, typ string) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) -} -func (m *GetRoleRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetRoleRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetRoleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.RoleId) > 0 { - i -= len(m.RoleId) - copy(dAtA[i:], m.RoleId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RoleId))) - i-- - dAtA[i] = 0x22 - } - return len(dAtA) - i, nil -} - -func (m *GetRoleResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetRoleResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetRoleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Role != nil { - { - size, err := m.Role.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetRolesRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetRolesRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetRolesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.UserId) > 0 { - i -= len(m.UserId) - copy(dAtA[i:], m.UserId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.UserId))) - i-- - dAtA[i] = 0x22 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0x1a - } - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x12 - } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *GetRolesResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetRolesResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetRolesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.Roles) > 0 { - for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Roles[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GetRolesByPermissionsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetRolesByPermissionsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetRolesByPermissionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Specs) > 0 { - for iNdEx := len(m.Specs) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Specs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GetRolesByPermissionsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetRolesByPermissionsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetRolesByPermissionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Roles) > 0 { - for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Roles[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GetUsersRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetUsersRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetUsersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.State != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x20 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0x1a - } - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x12 - } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *GetUsersResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetUsersResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetUsersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.Users) > 0 { - for iNdEx := len(m.Users) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Users[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GetUserRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetUserRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.UserEmail) > 0 { - i -= len(m.UserEmail) - copy(dAtA[i:], m.UserEmail) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.UserEmail))) - i-- - dAtA[i] = 0x12 - } - if len(m.UserId) > 0 { - i -= len(m.UserId) - copy(dAtA[i:], m.UserId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.UserId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetUserResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetUserResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetUserResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.User != nil { - { - size, err := m.User.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *InviteUsersRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *InviteUsersRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *InviteUsersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x12 - } - if len(m.Specs) > 0 { - for iNdEx := len(m.Specs) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Specs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *InviteUsersResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *InviteUsersResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *InviteUsersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.RequestStatus != nil { - { - size, err := m.RequestStatus.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ResendUserInviteRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ResendUserInviteRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ResendUserInviteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x12 - } - if len(m.UserId) > 0 { - i -= len(m.UserId) - copy(dAtA[i:], m.UserId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.UserId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ResendUserInviteResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ResendUserInviteResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ResendUserInviteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.RequestStatus != nil { - { - size, err := m.RequestStatus.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateUserRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateUserRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x22 - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.UserId) > 0 { - i -= len(m.UserId) - copy(dAtA[i:], m.UserId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.UserId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateUserResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateUserResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateUserResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.RequestStatus != nil { - { - size, err := m.RequestStatus.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteUserRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteUserRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if len(m.UserId) > 0 { - i -= len(m.UserId) - copy(dAtA[i:], m.UserId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.UserId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteUserResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteUserResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteUserResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.RequestStatus != nil { - { - size, err := m.RequestStatus.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateUserNamespacePermissionsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateUserNamespacePermissionsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateUserNamespacePermissionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x1a - } - if len(m.UserNamespacePermissions) > 0 { - for iNdEx := len(m.UserNamespacePermissions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.UserNamespacePermissions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateUserNamespacePermissionsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateUserNamespacePermissionsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateUserNamespacePermissionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.RequestStatus != nil { - { - size, err := m.RequestStatus.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateIdentityNamespacePermissionsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateIdentityNamespacePermissionsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateIdentityNamespacePermissionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x1a - } - if len(m.IdentityNamespacePermissions) > 0 { - for iNdEx := len(m.IdentityNamespacePermissions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.IdentityNamespacePermissions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateIdentityNamespacePermissionsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateIdentityNamespacePermissionsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateIdentityNamespacePermissionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.RequestStatus != nil { - { - size, err := m.RequestStatus.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CreateAPIKeyRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateAPIKeyRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateAPIKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x12 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CreateAPIKeyResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateAPIKeyResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateAPIKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.RequestStatus != nil { - { - size, err := m.RequestStatus.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.SecretKey) > 0 { - i -= len(m.SecretKey) - copy(dAtA[i:], m.SecretKey) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.SecretKey))) - i-- - dAtA[i] = 0x12 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetAPIKeysRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetAPIKeysRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetAPIKeysRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.OwnerType) > 0 { - i -= len(m.OwnerType) - copy(dAtA[i:], m.OwnerType) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.OwnerType))) - i-- - dAtA[i] = 0x2a - } - if len(m.UserEmail) > 0 { - i -= len(m.UserEmail) - copy(dAtA[i:], m.UserEmail) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.UserEmail))) - i-- - dAtA[i] = 0x22 - } - if len(m.OwnerId) > 0 { - i -= len(m.OwnerId) - copy(dAtA[i:], m.OwnerId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.OwnerId))) - i-- - dAtA[i] = 0x1a - } - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x12 - } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *GetAPIKeysResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetAPIKeysResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetAPIKeysResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.ApiKeys) > 0 { - for iNdEx := len(m.ApiKeys) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ApiKeys[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GetAPIKeyRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetAPIKeyRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetAPIKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetAPIKeyResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetAPIKeyResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetAPIKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ApiKey != nil { - { - size, err := m.ApiKey.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteAPIKeyRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteAPIKeyRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteAPIKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteAPIKeyResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteAPIKeyResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteAPIKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.RequestStatus != nil { - { - size, err := m.RequestStatus.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - return len(dAtA) - i, nil -} - -func (m *UpdateAPIKeyRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateAPIKeyRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateAPIKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x22 - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateAPIKeyResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateAPIKeyResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateAPIKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.RequestStatus != nil { - { - size, err := m.RequestStatus.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetServiceAccountRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetServiceAccountRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetServiceAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ServiceAccountId) > 0 { - i -= len(m.ServiceAccountId) - copy(dAtA[i:], m.ServiceAccountId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ServiceAccountId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetServiceAccountResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetServiceAccountResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetServiceAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ServiceAccount != nil { - { - size, err := m.ServiceAccount.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetServiceAccountsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetServiceAccountsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetServiceAccountsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x12 - } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *GetServiceAccountsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetServiceAccountsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetServiceAccountsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.ServiceAccount) > 0 { - for iNdEx := len(m.ServiceAccount) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ServiceAccount[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *CreateServiceAccountRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateServiceAccountRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateServiceAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x12 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CreateServiceAccountResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateServiceAccountResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateServiceAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.RequestStatus != nil { - { - size, err := m.RequestStatus.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.ServiceAccountId) > 0 { - i -= len(m.ServiceAccountId) - copy(dAtA[i:], m.ServiceAccountId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ServiceAccountId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CreateServiceAccountAPIKeyRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateServiceAccountAPIKeyRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateServiceAccountAPIKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.ServiceAccountId) > 0 { - i -= len(m.ServiceAccountId) - copy(dAtA[i:], m.ServiceAccountId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ServiceAccountId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CreateServiceAccountAPIKeyResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateServiceAccountAPIKeyResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateServiceAccountAPIKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.RequestStatus != nil { - { - size, err := m.RequestStatus.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.SecretKey) > 0 { - i -= len(m.SecretKey) - copy(dAtA[i:], m.SecretKey) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.SecretKey))) - i-- - dAtA[i] = 0x12 - } - if len(m.ApiKeyId) > 0 { - i -= len(m.ApiKeyId) - copy(dAtA[i:], m.ApiKeyId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ApiKeyId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateServiceAccountRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateServiceAccountRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateServiceAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x22 - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.ServiceAccountId) > 0 { - i -= len(m.ServiceAccountId) - copy(dAtA[i:], m.ServiceAccountId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ServiceAccountId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateServiceAccountResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateServiceAccountResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateServiceAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.RequestStatus != nil { - { - size, err := m.RequestStatus.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteServiceAccountRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteServiceAccountRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteServiceAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if len(m.ServiceAccountId) > 0 { - i -= len(m.ServiceAccountId) - copy(dAtA[i:], m.ServiceAccountId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ServiceAccountId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteServiceAccountResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteServiceAccountResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteServiceAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.RequestStatus != nil { - { - size, err := m.RequestStatus.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintRequestResponse(dAtA []byte, offset int, v uint64) int { - offset -= sovRequestResponse(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *GetRoleRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.RoleId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetRoleResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Role != nil { - l = m.Role.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetRolesRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PageSize != 0 { - n += 1 + sovRequestResponse(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.UserId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetRolesResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Roles) > 0 { - for _, e := range m.Roles { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetRolesByPermissionsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Specs) > 0 { - for _, e := range m.Specs { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - return n -} - -func (m *GetRolesByPermissionsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Roles) > 0 { - for _, e := range m.Roles { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - return n -} - -func (m *GetUsersRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PageSize != 0 { - n += 1 + sovRequestResponse(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.State != 0 { - n += 1 + sovRequestResponse(uint64(m.State)) - } - return n -} - -func (m *GetUsersResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Users) > 0 { - for _, e := range m.Users { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetUserRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.UserId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.UserEmail) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetUserResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.User != nil { - l = m.User.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *InviteUsersRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Specs) > 0 { - for _, e := range m.Specs { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *InviteUsersResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.RequestStatus != nil { - l = m.RequestStatus.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *ResendUserInviteRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.UserId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *ResendUserInviteResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.RequestStatus != nil { - l = m.RequestStatus.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateUserRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.UserId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateUserResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.RequestStatus != nil { - l = m.RequestStatus.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteUserRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.UserId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteUserResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.RequestStatus != nil { - l = m.RequestStatus.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateUserNamespacePermissionsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if len(m.UserNamespacePermissions) > 0 { - for _, e := range m.UserNamespacePermissions { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateUserNamespacePermissionsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.RequestStatus != nil { - l = m.RequestStatus.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateIdentityNamespacePermissionsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if len(m.IdentityNamespacePermissions) > 0 { - for _, e := range m.IdentityNamespacePermissions { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateIdentityNamespacePermissionsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.RequestStatus != nil { - l = m.RequestStatus.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *CreateAPIKeyRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *CreateAPIKeyResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.SecretKey) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.RequestStatus != nil { - l = m.RequestStatus.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetAPIKeysRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PageSize != 0 { - n += 1 + sovRequestResponse(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.OwnerId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.UserEmail) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.OwnerType) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetAPIKeysResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.ApiKeys) > 0 { - for _, e := range m.ApiKeys { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetAPIKeyRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetAPIKeyResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ApiKey != nil { - l = m.ApiKey.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteAPIKeyRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteAPIKeyResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.RequestStatus != nil { - l = m.RequestStatus.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateAPIKeyRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateAPIKeyResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.RequestStatus != nil { - l = m.RequestStatus.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetServiceAccountRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ServiceAccountId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetServiceAccountResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ServiceAccount != nil { - l = m.ServiceAccount.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetServiceAccountsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PageSize != 0 { - n += 1 + sovRequestResponse(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetServiceAccountsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.ServiceAccount) > 0 { - for _, e := range m.ServiceAccount { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *CreateServiceAccountRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *CreateServiceAccountResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ServiceAccountId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.RequestStatus != nil { - l = m.RequestStatus.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *CreateServiceAccountAPIKeyRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ServiceAccountId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *CreateServiceAccountAPIKeyResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ApiKeyId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.SecretKey) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.RequestStatus != nil { - l = m.RequestStatus.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateServiceAccountRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ServiceAccountId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateServiceAccountResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.RequestStatus != nil { - l = m.RequestStatus.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteServiceAccountRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ServiceAccountId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteServiceAccountResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.RequestStatus != nil { - l = m.RequestStatus.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func sovRequestResponse(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozRequestResponse(x uint64) (n int) { - return sovRequestResponse(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (this *GetRoleRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetRoleRequest{`, - `RoleId:` + fmt.Sprintf("%v", this.RoleId) + `,`, - `}`, - }, "") - return s -} -func (this *GetRoleResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetRoleResponse{`, - `Role:` + strings.Replace(fmt.Sprintf("%v", this.Role), "Role", "v1.Role", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetRolesRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetRolesRequest{`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `UserId:` + fmt.Sprintf("%v", this.UserId) + `,`, - `}`, - }, "") - return s -} -func (this *GetRolesResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForRoles := "[]*Role{" - for _, f := range this.Roles { - repeatedStringForRoles += strings.Replace(fmt.Sprintf("%v", f), "Role", "v1.Role", 1) + "," - } - repeatedStringForRoles += "}" - s := strings.Join([]string{`&GetRolesResponse{`, - `Roles:` + repeatedStringForRoles + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetRolesByPermissionsRequest) String() string { - if this == nil { - return "nil" - } - repeatedStringForSpecs := "[]*RoleSpec{" - for _, f := range this.Specs { - repeatedStringForSpecs += strings.Replace(fmt.Sprintf("%v", f), "RoleSpec", "v1.RoleSpec", 1) + "," - } - repeatedStringForSpecs += "}" - s := strings.Join([]string{`&GetRolesByPermissionsRequest{`, - `Specs:` + repeatedStringForSpecs + `,`, - `}`, - }, "") - return s -} -func (this *GetRolesByPermissionsResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForRoles := "[]*Role{" - for _, f := range this.Roles { - repeatedStringForRoles += strings.Replace(fmt.Sprintf("%v", f), "Role", "v1.Role", 1) + "," - } - repeatedStringForRoles += "}" - s := strings.Join([]string{`&GetRolesByPermissionsResponse{`, - `Roles:` + repeatedStringForRoles + `,`, - `}`, - }, "") - return s -} -func (this *GetUsersRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetUsersRequest{`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `}`, - }, "") - return s -} -func (this *GetUsersResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForUsers := "[]*User{" - for _, f := range this.Users { - repeatedStringForUsers += strings.Replace(fmt.Sprintf("%v", f), "User", "v1.User", 1) + "," - } - repeatedStringForUsers += "}" - s := strings.Join([]string{`&GetUsersResponse{`, - `Users:` + repeatedStringForUsers + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetUserRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetUserRequest{`, - `UserId:` + fmt.Sprintf("%v", this.UserId) + `,`, - `UserEmail:` + fmt.Sprintf("%v", this.UserEmail) + `,`, - `}`, - }, "") - return s -} -func (this *GetUserResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetUserResponse{`, - `User:` + strings.Replace(fmt.Sprintf("%v", this.User), "User", "v1.User", 1) + `,`, - `}`, - }, "") - return s -} -func (this *InviteUsersRequest) String() string { - if this == nil { - return "nil" - } - repeatedStringForSpecs := "[]*UserSpec{" - for _, f := range this.Specs { - repeatedStringForSpecs += strings.Replace(fmt.Sprintf("%v", f), "UserSpec", "v1.UserSpec", 1) + "," - } - repeatedStringForSpecs += "}" - s := strings.Join([]string{`&InviteUsersRequest{`, - `Specs:` + repeatedStringForSpecs + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `}`, - }, "") - return s -} -func (this *InviteUsersResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&InviteUsersResponse{`, - `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v11.RequestStatus", 1) + `,`, - `}`, - }, "") - return s -} -func (this *ResendUserInviteRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ResendUserInviteRequest{`, - `UserId:` + fmt.Sprintf("%v", this.UserId) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `}`, - }, "") - return s -} -func (this *ResendUserInviteResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ResendUserInviteResponse{`, - `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v11.RequestStatus", 1) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateUserRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateUserRequest{`, - `UserId:` + fmt.Sprintf("%v", this.UserId) + `,`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "UserSpec", "v1.UserSpec", 1) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateUserResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateUserResponse{`, - `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v11.RequestStatus", 1) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteUserRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteUserRequest{`, - `UserId:` + fmt.Sprintf("%v", this.UserId) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteUserResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteUserResponse{`, - `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v11.RequestStatus", 1) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateUserNamespacePermissionsRequest) String() string { - if this == nil { - return "nil" - } - repeatedStringForUserNamespacePermissions := "[]*UserNamespacePermissions{" - for _, f := range this.UserNamespacePermissions { - repeatedStringForUserNamespacePermissions += strings.Replace(fmt.Sprintf("%v", f), "UserNamespacePermissions", "v1.UserNamespacePermissions", 1) + "," - } - repeatedStringForUserNamespacePermissions += "}" - s := strings.Join([]string{`&UpdateUserNamespacePermissionsRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `UserNamespacePermissions:` + repeatedStringForUserNamespacePermissions + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateUserNamespacePermissionsResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateUserNamespacePermissionsResponse{`, - `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v11.RequestStatus", 1) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateIdentityNamespacePermissionsRequest) String() string { - if this == nil { - return "nil" - } - repeatedStringForIdentityNamespacePermissions := "[]*IdentityNamespacePermissions{" - for _, f := range this.IdentityNamespacePermissions { - repeatedStringForIdentityNamespacePermissions += strings.Replace(fmt.Sprintf("%v", f), "IdentityNamespacePermissions", "v1.IdentityNamespacePermissions", 1) + "," - } - repeatedStringForIdentityNamespacePermissions += "}" - s := strings.Join([]string{`&UpdateIdentityNamespacePermissionsRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `IdentityNamespacePermissions:` + repeatedStringForIdentityNamespacePermissions + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateIdentityNamespacePermissionsResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateIdentityNamespacePermissionsResponse{`, - `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v11.RequestStatus", 1) + `,`, - `}`, - }, "") - return s -} -func (this *CreateAPIKeyRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateAPIKeyRequest{`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "APIKeySpec", "v1.APIKeySpec", 1) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `}`, - }, "") - return s -} -func (this *CreateAPIKeyResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateAPIKeyResponse{`, - `Id:` + fmt.Sprintf("%v", this.Id) + `,`, - `SecretKey:` + fmt.Sprintf("%v", this.SecretKey) + `,`, - `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v11.RequestStatus", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetAPIKeysRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetAPIKeysRequest{`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `OwnerId:` + fmt.Sprintf("%v", this.OwnerId) + `,`, - `UserEmail:` + fmt.Sprintf("%v", this.UserEmail) + `,`, - `OwnerType:` + fmt.Sprintf("%v", this.OwnerType) + `,`, - `}`, - }, "") - return s -} -func (this *GetAPIKeysResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForApiKeys := "[]*APIKey{" - for _, f := range this.ApiKeys { - repeatedStringForApiKeys += strings.Replace(fmt.Sprintf("%v", f), "APIKey", "v1.APIKey", 1) + "," - } - repeatedStringForApiKeys += "}" - s := strings.Join([]string{`&GetAPIKeysResponse{`, - `ApiKeys:` + repeatedStringForApiKeys + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetAPIKeyRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetAPIKeyRequest{`, - `Id:` + fmt.Sprintf("%v", this.Id) + `,`, - `}`, - }, "") - return s -} -func (this *GetAPIKeyResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetAPIKeyResponse{`, - `ApiKey:` + strings.Replace(fmt.Sprintf("%v", this.ApiKey), "APIKey", "v1.APIKey", 1) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteAPIKeyRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteAPIKeyRequest{`, - `Id:` + fmt.Sprintf("%v", this.Id) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteAPIKeyResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteAPIKeyResponse{`, - `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v11.RequestStatus", 1) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateAPIKeyRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateAPIKeyRequest{`, - `Id:` + fmt.Sprintf("%v", this.Id) + `,`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "APIKeySpec", "v1.APIKeySpec", 1) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateAPIKeyResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateAPIKeyResponse{`, - `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v11.RequestStatus", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetServiceAccountRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetServiceAccountRequest{`, - `ServiceAccountId:` + fmt.Sprintf("%v", this.ServiceAccountId) + `,`, - `}`, - }, "") - return s -} -func (this *GetServiceAccountResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetServiceAccountResponse{`, - `ServiceAccount:` + strings.Replace(fmt.Sprintf("%v", this.ServiceAccount), "ServiceAccount", "v1.ServiceAccount", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetServiceAccountsRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetServiceAccountsRequest{`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetServiceAccountsResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForServiceAccount := "[]*ServiceAccount{" - for _, f := range this.ServiceAccount { - repeatedStringForServiceAccount += strings.Replace(fmt.Sprintf("%v", f), "ServiceAccount", "v1.ServiceAccount", 1) + "," - } - repeatedStringForServiceAccount += "}" - s := strings.Join([]string{`&GetServiceAccountsResponse{`, - `ServiceAccount:` + repeatedStringForServiceAccount + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *CreateServiceAccountRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateServiceAccountRequest{`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "ServiceAccountSpec", "v1.ServiceAccountSpec", 1) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `}`, - }, "") - return s -} -func (this *CreateServiceAccountResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateServiceAccountResponse{`, - `ServiceAccountId:` + fmt.Sprintf("%v", this.ServiceAccountId) + `,`, - `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v11.RequestStatus", 1) + `,`, - `}`, - }, "") - return s -} -func (this *CreateServiceAccountAPIKeyRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateServiceAccountAPIKeyRequest{`, - `ServiceAccountId:` + fmt.Sprintf("%v", this.ServiceAccountId) + `,`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "APIKeySpec", "v1.APIKeySpec", 1) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `}`, - }, "") - return s -} -func (this *CreateServiceAccountAPIKeyResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateServiceAccountAPIKeyResponse{`, - `ApiKeyId:` + fmt.Sprintf("%v", this.ApiKeyId) + `,`, - `SecretKey:` + fmt.Sprintf("%v", this.SecretKey) + `,`, - `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v11.RequestStatus", 1) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateServiceAccountRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateServiceAccountRequest{`, - `ServiceAccountId:` + fmt.Sprintf("%v", this.ServiceAccountId) + `,`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "ServiceAccountSpec", "v1.ServiceAccountSpec", 1) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateServiceAccountResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateServiceAccountResponse{`, - `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v11.RequestStatus", 1) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteServiceAccountRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteServiceAccountRequest{`, - `ServiceAccountId:` + fmt.Sprintf("%v", this.ServiceAccountId) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteServiceAccountResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteServiceAccountResponse{`, - `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v11.RequestStatus", 1) + `,`, - `}`, - }, "") - return s -} -func valueToStringRequestResponse(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) -} -func (m *GetRoleRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetRoleRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetRoleRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RoleId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RoleId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetRoleResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetRoleResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetRoleResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Role == nil { - m.Role = &v1.Role{} - } - if err := m.Role.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetRolesRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetRolesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetRolesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.UserId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetRolesResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetRolesResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetRolesResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Roles = append(m.Roles, &v1.Role{}) - if err := m.Roles[len(m.Roles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetRolesByPermissionsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetRolesByPermissionsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetRolesByPermissionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Specs", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Specs = append(m.Specs, &v1.RoleSpec{}) - if err := m.Specs[len(m.Specs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetRolesByPermissionsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetRolesByPermissionsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetRolesByPermissionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Roles = append(m.Roles, &v1.Role{}) - if err := m.Roles[len(m.Roles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetUsersRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetUsersRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetUsersRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= v1.UserState(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetUsersResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetUsersResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetUsersResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Users", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Users = append(m.Users, &v1.User{}) - if err := m.Users[len(m.Users)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetUserRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetUserRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetUserRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.UserId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserEmail", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.UserEmail = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetUserResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetUserResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetUserResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.User == nil { - m.User = &v1.User{} - } - if err := m.User.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *InviteUsersRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: InviteUsersRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: InviteUsersRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Specs", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Specs = append(m.Specs, &v1.UserSpec{}) - if err := m.Specs[len(m.Specs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *InviteUsersResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: InviteUsersResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: InviteUsersResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestStatus", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RequestStatus == nil { - m.RequestStatus = &v11.RequestStatus{} - } - if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ResendUserInviteRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ResendUserInviteRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ResendUserInviteRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.UserId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ResendUserInviteResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ResendUserInviteResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ResendUserInviteResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestStatus", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RequestStatus == nil { - m.RequestStatus = &v11.RequestStatus{} - } - if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateUserRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateUserRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateUserRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.UserId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v1.UserSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateUserResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateUserResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateUserResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestStatus", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RequestStatus == nil { - m.RequestStatus = &v11.RequestStatus{} - } - if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteUserRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteUserRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteUserRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.UserId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteUserResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteUserResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteUserResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestStatus", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RequestStatus == nil { - m.RequestStatus = &v11.RequestStatus{} - } - if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateUserNamespacePermissionsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateUserNamespacePermissionsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateUserNamespacePermissionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserNamespacePermissions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.UserNamespacePermissions = append(m.UserNamespacePermissions, &v1.UserNamespacePermissions{}) - if err := m.UserNamespacePermissions[len(m.UserNamespacePermissions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateUserNamespacePermissionsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateUserNamespacePermissionsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateUserNamespacePermissionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestStatus", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RequestStatus == nil { - m.RequestStatus = &v11.RequestStatus{} - } - if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateIdentityNamespacePermissionsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateIdentityNamespacePermissionsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateIdentityNamespacePermissionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IdentityNamespacePermissions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.IdentityNamespacePermissions = append(m.IdentityNamespacePermissions, &v1.IdentityNamespacePermissions{}) - if err := m.IdentityNamespacePermissions[len(m.IdentityNamespacePermissions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateIdentityNamespacePermissionsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateIdentityNamespacePermissionsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateIdentityNamespacePermissionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestStatus", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RequestStatus == nil { - m.RequestStatus = &v11.RequestStatus{} - } - if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateAPIKeyRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateAPIKeyRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateAPIKeyRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v1.APIKeySpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateAPIKeyResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateAPIKeyResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateAPIKeyResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SecretKey", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SecretKey = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestStatus", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RequestStatus == nil { - m.RequestStatus = &v11.RequestStatus{} - } - if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetAPIKeysRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetAPIKeysRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetAPIKeysRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OwnerId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.OwnerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserEmail", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.UserEmail = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OwnerType", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.OwnerType = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetAPIKeysResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetAPIKeysResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetAPIKeysResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ApiKeys", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ApiKeys = append(m.ApiKeys, &v1.APIKey{}) - if err := m.ApiKeys[len(m.ApiKeys)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetAPIKeyRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetAPIKeyRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetAPIKeyRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetAPIKeyResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetAPIKeyResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetAPIKeyResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ApiKey", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ApiKey == nil { - m.ApiKey = &v1.APIKey{} - } - if err := m.ApiKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteAPIKeyRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteAPIKeyRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteAPIKeyRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteAPIKeyResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteAPIKeyResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteAPIKeyResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestStatus", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RequestStatus == nil { - m.RequestStatus = &v11.RequestStatus{} - } - if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateAPIKeyRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateAPIKeyRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateAPIKeyRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v1.APIKeySpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateAPIKeyResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateAPIKeyResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateAPIKeyResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestStatus", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RequestStatus == nil { - m.RequestStatus = &v11.RequestStatus{} - } - if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetServiceAccountRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetServiceAccountRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetServiceAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetServiceAccountResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetServiceAccountResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetServiceAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccount", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ServiceAccount == nil { - m.ServiceAccount = &v1.ServiceAccount{} - } - if err := m.ServiceAccount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetServiceAccountsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetServiceAccountsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetServiceAccountsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetServiceAccountsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetServiceAccountsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetServiceAccountsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccount", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ServiceAccount = append(m.ServiceAccount, &v1.ServiceAccount{}) - if err := m.ServiceAccount[len(m.ServiceAccount)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateServiceAccountRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateServiceAccountRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateServiceAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v1.ServiceAccountSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateServiceAccountResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateServiceAccountResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateServiceAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestStatus", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RequestStatus == nil { - m.RequestStatus = &v11.RequestStatus{} - } - if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateServiceAccountAPIKeyRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateServiceAccountAPIKeyRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateServiceAccountAPIKeyRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v1.APIKeySpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateServiceAccountAPIKeyResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateServiceAccountAPIKeyResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateServiceAccountAPIKeyResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ApiKeyId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ApiKeyId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SecretKey", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SecretKey = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestStatus", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RequestStatus == nil { - m.RequestStatus = &v11.RequestStatus{} - } - if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateServiceAccountRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateServiceAccountRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateServiceAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v1.ServiceAccountSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateServiceAccountResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateServiceAccountResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateServiceAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestStatus", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RequestStatus == nil { - m.RequestStatus = &v11.RequestStatus{} - } - if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteServiceAccountRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteServiceAccountRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteServiceAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteServiceAccountResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteServiceAccountResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteServiceAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestStatus", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RequestStatus == nil { - m.RequestStatus = &v11.RequestStatus{} - } - if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipRequestResponse(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthRequestResponse - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupRequestResponse - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthRequestResponse - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthRequestResponse = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowRequestResponse = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupRequestResponse = fmt.Errorf("proto: unexpected end of group") -) diff --git a/protogen/api/authservice/v1/service.pb.go b/protogen/api/authservice/v1/service.pb.go index f1034c16..b10aef20 100644 --- a/protogen/api/authservice/v1/service.pb.go +++ b/protogen/api/authservice/v1/service.pb.go @@ -1,906 +1,326 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: api/authservice/v1/service.proto package authservice import ( - context "context" - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -func init() { proto.RegisterFile("api/authservice/v1/service.proto", fileDescriptor_80c42cd25eb3e22a) } - -var fileDescriptor_80c42cd25eb3e22a = []byte{ - // 620 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x96, 0x4f, 0x6b, 0x13, 0x4f, - 0x18, 0xc7, 0x77, 0x2e, 0xbf, 0x9f, 0x4e, 0x3d, 0xe8, 0xa8, 0x97, 0x1c, 0x06, 0x89, 0x6d, 0xfd, - 0x57, 0x37, 0x8d, 0xa2, 0xa0, 0xa2, 0x90, 0x2a, 0x84, 0x20, 0x48, 0x89, 0x16, 0xa1, 0x20, 0x76, - 0xdd, 0x3c, 0xd0, 0x85, 0x64, 0x77, 0xdd, 0x99, 0x0d, 0x04, 0x41, 0x7c, 0x03, 0x82, 0x57, 0xc1, - 0xab, 0xe0, 0x4b, 0xf1, 0x98, 0x63, 0x8f, 0x66, 0x73, 0xf1, 0xd8, 0x97, 0x20, 0xe9, 0xec, 0x4c, - 0x26, 0xc9, 0xec, 0xec, 0xb6, 0xb7, 0x76, 0x9e, 0xcf, 0xf7, 0xfb, 0x7d, 0xe6, 0x99, 0x07, 0xb2, - 0xf8, 0x9a, 0x17, 0x07, 0x0d, 0x2f, 0xe5, 0x87, 0x0c, 0x92, 0x61, 0xe0, 0x43, 0x63, 0xd8, 0x6c, - 0xe4, 0x7f, 0xba, 0x71, 0x12, 0xf1, 0x88, 0x10, 0x2f, 0x0e, 0x5c, 0x8d, 0x70, 0x87, 0xcd, 0xda, - 0x2d, 0x83, 0x2a, 0x81, 0x8f, 0x29, 0x30, 0xfe, 0x3e, 0x01, 0x16, 0x47, 0x21, 0xcb, 0xe5, 0xf7, - 0x7e, 0x5c, 0xc6, 0x6b, 0xad, 0x94, 0x1f, 0xbe, 0x16, 0x24, 0x79, 0x83, 0xff, 0x6f, 0x03, 0xef, - 0x46, 0x7d, 0x20, 0x75, 0x77, 0xd5, 0xda, 0xcd, 0x8b, 0x5d, 0xe1, 0x56, 0xbb, 0x6e, 0x65, 0x44, - 0x52, 0xdd, 0x21, 0x6f, 0xf1, 0xb9, 0xfc, 0x90, 0x11, 0x9b, 0x84, 0x49, 0xdf, 0x75, 0x3b, 0xa4, - 0x8c, 0x3f, 0xe3, 0xab, 0xf2, 0x74, 0x67, 0xb4, 0x0b, 0xc9, 0x20, 0x60, 0x2c, 0x88, 0x42, 0x46, - 0xb6, 0x6d, 0x06, 0x0b, 0xa8, 0x8c, 0x6c, 0x9e, 0x42, 0xb1, 0x74, 0xb1, 0x3d, 0x06, 0x49, 0xf1, - 0xc5, 0x4e, 0xaa, 0x65, 0x17, 0xcb, 0x21, 0x65, 0x2c, 0xde, 0x61, 0x76, 0x5a, 0xf8, 0x0e, 0xb3, - 0x62, 0xd9, 0x3b, 0x08, 0x46, 0xb9, 0x1e, 0xe0, 0xb5, 0x4e, 0x38, 0x0c, 0x38, 0x88, 0x8e, 0x37, - 0x4d, 0x2a, 0x0d, 0x90, 0xee, 0x37, 0x4a, 0x39, 0x95, 0x10, 0xe1, 0x8b, 0x5d, 0x60, 0x10, 0xf6, - 0x66, 0x05, 0x81, 0x90, 0x3b, 0x26, 0xf9, 0x32, 0x25, 0xb3, 0xb6, 0xaa, 0xc1, 0x2a, 0xf0, 0x1d, - 0xc6, 0x7b, 0x71, 0xcf, 0x13, 0x9d, 0x90, 0x0d, 0x93, 0x7a, 0x5e, 0x97, 0x21, 0x9b, 0x65, 0x98, - 0x6e, 0xff, 0x02, 0xfa, 0x60, 0xb3, 0x9f, 0xd7, 0xad, 0xf6, 0x3a, 0xa6, 0xec, 0xbf, 0x23, 0x4c, - 0xe7, 0xb9, 0xaf, 0xbc, 0x01, 0xb0, 0xd8, 0xf3, 0x41, 0xdf, 0xe4, 0x47, 0xf6, 0x5e, 0x4d, 0x1a, - 0xd9, 0xc7, 0xe3, 0xb3, 0x48, 0x55, 0x6f, 0x3f, 0x11, 0xae, 0x0b, 0xb8, 0xd3, 0x83, 0x90, 0x07, - 0x7c, 0x64, 0xec, 0xef, 0x69, 0x71, 0x88, 0x4d, 0x27, 0x7b, 0x7c, 0x76, 0x56, 0xb9, 0xea, 0xd3, - 0xc7, 0x17, 0x9e, 0x27, 0xe0, 0x71, 0x68, 0xed, 0x76, 0x5e, 0xc2, 0x88, 0x18, 0xb7, 0x55, 0x27, - 0x64, 0xf4, 0xcd, 0x72, 0x50, 0xdf, 0x83, 0x36, 0x70, 0x71, 0xcc, 0xcc, 0x7b, 0x30, 0xaf, 0x5b, - 0xf7, 0x40, 0xc7, 0x94, 0xfd, 0x3e, 0x3e, 0xaf, 0xce, 0xc9, 0xba, 0x55, 0x26, 0xcd, 0x37, 0x4a, - 0x28, 0x7d, 0x3e, 0x62, 0xf7, 0x6c, 0xf3, 0xd1, 0x09, 0xeb, 0x7c, 0x16, 0x41, 0x3d, 0x44, 0x3c, - 0x9a, 0x2d, 0x44, 0x27, 0xac, 0x21, 0x8b, 0xa0, 0x0a, 0x49, 0xf0, 0xa5, 0x36, 0xf0, 0xfc, 0xa7, - 0xaa, 0xe5, 0xfb, 0x51, 0x1a, 0x72, 0xb2, 0x55, 0x30, 0x87, 0x45, 0x4c, 0xc6, 0xdd, 0xad, 0x48, - 0xab, 0xcc, 0x14, 0x93, 0x95, 0x32, 0x23, 0xd5, 0x6c, 0xd4, 0x22, 0xb8, 0x55, 0x71, 0x15, 0xfb, - 0x09, 0x5f, 0x11, 0x9b, 0xb8, 0x74, 0xdb, 0x46, 0xf1, 0xce, 0x9a, 0x2f, 0xbc, 0x5d, 0x5d, 0xa0, - 0xc2, 0xbf, 0x22, 0x5c, 0x33, 0x21, 0xf9, 0xdb, 0x3e, 0xa8, 0x6a, 0xb9, 0xf8, 0xd2, 0x0f, 0x4f, - 0x2b, 0xd3, 0x87, 0x21, 0x36, 0xa2, 0xca, 0x30, 0x4c, 0xa4, 0x75, 0x18, 0x66, 0x81, 0x1e, 0x2e, - 0x76, 0xbe, 0x4a, 0xb8, 0x89, 0xb4, 0x86, 0x9b, 0x05, 0x32, 0x7c, 0xe7, 0x60, 0x3c, 0xa1, 0xce, - 0xd1, 0x84, 0x3a, 0xc7, 0x13, 0x8a, 0xbe, 0x64, 0x14, 0xfd, 0xca, 0x28, 0xfa, 0x9d, 0x51, 0x34, - 0xce, 0x28, 0xfa, 0x93, 0x51, 0xf4, 0x37, 0xa3, 0xce, 0x71, 0x46, 0xd1, 0xb7, 0x29, 0x75, 0xc6, - 0x53, 0xea, 0x1c, 0x4d, 0xa9, 0xb3, 0x7f, 0x9b, 0x0f, 0xe2, 0xa4, 0xef, 0xfa, 0xfd, 0x28, 0xed, - 0x35, 0x56, 0xbf, 0x05, 0x9f, 0x68, 0xff, 0x7e, 0xf8, 0xef, 0xe4, 0x3b, 0xf0, 0xfe, 0xbf, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x42, 0xb1, 0xf6, 0x76, 0x6a, 0x0a, 0x00, 0x00, -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConnInterface - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 - -// AuthServiceClient is the client API for AuthService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type AuthServiceClient interface { - GetRole(ctx context.Context, in *GetRoleRequest, opts ...grpc.CallOption) (*GetRoleResponse, error) - GetRoles(ctx context.Context, in *GetRolesRequest, opts ...grpc.CallOption) (*GetRolesResponse, error) - GetRolesByPermissions(ctx context.Context, in *GetRolesByPermissionsRequest, opts ...grpc.CallOption) (*GetRolesByPermissionsResponse, error) - GetUsers(ctx context.Context, in *GetUsersRequest, opts ...grpc.CallOption) (*GetUsersResponse, error) - GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) - InviteUsers(ctx context.Context, in *InviteUsersRequest, opts ...grpc.CallOption) (*InviteUsersResponse, error) - ResendUserInvite(ctx context.Context, in *ResendUserInviteRequest, opts ...grpc.CallOption) (*ResendUserInviteResponse, error) - UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error) - DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error) - UpdateUserNamespacePermissions(ctx context.Context, in *UpdateUserNamespacePermissionsRequest, opts ...grpc.CallOption) (*UpdateUserNamespacePermissionsResponse, error) - UpdateIdentityNamespacePermissions(ctx context.Context, in *UpdateIdentityNamespacePermissionsRequest, opts ...grpc.CallOption) (*UpdateIdentityNamespacePermissionsResponse, error) - CreateAPIKey(ctx context.Context, in *CreateAPIKeyRequest, opts ...grpc.CallOption) (*CreateAPIKeyResponse, error) - GetAPIKeys(ctx context.Context, in *GetAPIKeysRequest, opts ...grpc.CallOption) (*GetAPIKeysResponse, error) - GetAPIKey(ctx context.Context, in *GetAPIKeyRequest, opts ...grpc.CallOption) (*GetAPIKeyResponse, error) - DeleteAPIKey(ctx context.Context, in *DeleteAPIKeyRequest, opts ...grpc.CallOption) (*DeleteAPIKeyResponse, error) - UpdateAPIKey(ctx context.Context, in *UpdateAPIKeyRequest, opts ...grpc.CallOption) (*UpdateAPIKeyResponse, error) - GetServiceAccount(ctx context.Context, in *GetServiceAccountRequest, opts ...grpc.CallOption) (*GetServiceAccountResponse, error) - GetServiceAccounts(ctx context.Context, in *GetServiceAccountsRequest, opts ...grpc.CallOption) (*GetServiceAccountsResponse, error) - CreateServiceAccount(ctx context.Context, in *CreateServiceAccountRequest, opts ...grpc.CallOption) (*CreateServiceAccountResponse, error) - CreateServiceAccountAPIKey(ctx context.Context, in *CreateServiceAccountAPIKeyRequest, opts ...grpc.CallOption) (*CreateServiceAccountAPIKeyResponse, error) - UpdateServiceAccount(ctx context.Context, in *UpdateServiceAccountRequest, opts ...grpc.CallOption) (*UpdateServiceAccountResponse, error) - DeleteServiceAccount(ctx context.Context, in *DeleteServiceAccountRequest, opts ...grpc.CallOption) (*DeleteServiceAccountResponse, error) -} - -type authServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient { - return &authServiceClient{cc} -} - -func (c *authServiceClient) GetRole(ctx context.Context, in *GetRoleRequest, opts ...grpc.CallOption) (*GetRoleResponse, error) { - out := new(GetRoleResponse) - err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/GetRole", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *authServiceClient) GetRoles(ctx context.Context, in *GetRolesRequest, opts ...grpc.CallOption) (*GetRolesResponse, error) { - out := new(GetRolesResponse) - err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/GetRoles", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *authServiceClient) GetRolesByPermissions(ctx context.Context, in *GetRolesByPermissionsRequest, opts ...grpc.CallOption) (*GetRolesByPermissionsResponse, error) { - out := new(GetRolesByPermissionsResponse) - err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/GetRolesByPermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *authServiceClient) GetUsers(ctx context.Context, in *GetUsersRequest, opts ...grpc.CallOption) (*GetUsersResponse, error) { - out := new(GetUsersResponse) - err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/GetUsers", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *authServiceClient) GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) { - out := new(GetUserResponse) - err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/GetUser", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *authServiceClient) InviteUsers(ctx context.Context, in *InviteUsersRequest, opts ...grpc.CallOption) (*InviteUsersResponse, error) { - out := new(InviteUsersResponse) - err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/InviteUsers", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *authServiceClient) ResendUserInvite(ctx context.Context, in *ResendUserInviteRequest, opts ...grpc.CallOption) (*ResendUserInviteResponse, error) { - out := new(ResendUserInviteResponse) - err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/ResendUserInvite", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *authServiceClient) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error) { - out := new(UpdateUserResponse) - err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/UpdateUser", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *authServiceClient) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error) { - out := new(DeleteUserResponse) - err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/DeleteUser", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *authServiceClient) UpdateUserNamespacePermissions(ctx context.Context, in *UpdateUserNamespacePermissionsRequest, opts ...grpc.CallOption) (*UpdateUserNamespacePermissionsResponse, error) { - out := new(UpdateUserNamespacePermissionsResponse) - err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/UpdateUserNamespacePermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *authServiceClient) UpdateIdentityNamespacePermissions(ctx context.Context, in *UpdateIdentityNamespacePermissionsRequest, opts ...grpc.CallOption) (*UpdateIdentityNamespacePermissionsResponse, error) { - out := new(UpdateIdentityNamespacePermissionsResponse) - err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/UpdateIdentityNamespacePermissions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *authServiceClient) CreateAPIKey(ctx context.Context, in *CreateAPIKeyRequest, opts ...grpc.CallOption) (*CreateAPIKeyResponse, error) { - out := new(CreateAPIKeyResponse) - err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/CreateAPIKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *authServiceClient) GetAPIKeys(ctx context.Context, in *GetAPIKeysRequest, opts ...grpc.CallOption) (*GetAPIKeysResponse, error) { - out := new(GetAPIKeysResponse) - err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/GetAPIKeys", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *authServiceClient) GetAPIKey(ctx context.Context, in *GetAPIKeyRequest, opts ...grpc.CallOption) (*GetAPIKeyResponse, error) { - out := new(GetAPIKeyResponse) - err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/GetAPIKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *authServiceClient) DeleteAPIKey(ctx context.Context, in *DeleteAPIKeyRequest, opts ...grpc.CallOption) (*DeleteAPIKeyResponse, error) { - out := new(DeleteAPIKeyResponse) - err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/DeleteAPIKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *authServiceClient) UpdateAPIKey(ctx context.Context, in *UpdateAPIKeyRequest, opts ...grpc.CallOption) (*UpdateAPIKeyResponse, error) { - out := new(UpdateAPIKeyResponse) - err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/UpdateAPIKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *authServiceClient) GetServiceAccount(ctx context.Context, in *GetServiceAccountRequest, opts ...grpc.CallOption) (*GetServiceAccountResponse, error) { - out := new(GetServiceAccountResponse) - err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/GetServiceAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *authServiceClient) GetServiceAccounts(ctx context.Context, in *GetServiceAccountsRequest, opts ...grpc.CallOption) (*GetServiceAccountsResponse, error) { - out := new(GetServiceAccountsResponse) - err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/GetServiceAccounts", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *authServiceClient) CreateServiceAccount(ctx context.Context, in *CreateServiceAccountRequest, opts ...grpc.CallOption) (*CreateServiceAccountResponse, error) { - out := new(CreateServiceAccountResponse) - err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/CreateServiceAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *authServiceClient) CreateServiceAccountAPIKey(ctx context.Context, in *CreateServiceAccountAPIKeyRequest, opts ...grpc.CallOption) (*CreateServiceAccountAPIKeyResponse, error) { - out := new(CreateServiceAccountAPIKeyResponse) - err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/CreateServiceAccountAPIKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *authServiceClient) UpdateServiceAccount(ctx context.Context, in *UpdateServiceAccountRequest, opts ...grpc.CallOption) (*UpdateServiceAccountResponse, error) { - out := new(UpdateServiceAccountResponse) - err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/UpdateServiceAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *authServiceClient) DeleteServiceAccount(ctx context.Context, in *DeleteServiceAccountRequest, opts ...grpc.CallOption) (*DeleteServiceAccountResponse, error) { - out := new(DeleteServiceAccountResponse) - err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/DeleteServiceAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AuthServiceServer is the server API for AuthService service. -type AuthServiceServer interface { - GetRole(context.Context, *GetRoleRequest) (*GetRoleResponse, error) - GetRoles(context.Context, *GetRolesRequest) (*GetRolesResponse, error) - GetRolesByPermissions(context.Context, *GetRolesByPermissionsRequest) (*GetRolesByPermissionsResponse, error) - GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error) - GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) - InviteUsers(context.Context, *InviteUsersRequest) (*InviteUsersResponse, error) - ResendUserInvite(context.Context, *ResendUserInviteRequest) (*ResendUserInviteResponse, error) - UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error) - DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error) - UpdateUserNamespacePermissions(context.Context, *UpdateUserNamespacePermissionsRequest) (*UpdateUserNamespacePermissionsResponse, error) - UpdateIdentityNamespacePermissions(context.Context, *UpdateIdentityNamespacePermissionsRequest) (*UpdateIdentityNamespacePermissionsResponse, error) - CreateAPIKey(context.Context, *CreateAPIKeyRequest) (*CreateAPIKeyResponse, error) - GetAPIKeys(context.Context, *GetAPIKeysRequest) (*GetAPIKeysResponse, error) - GetAPIKey(context.Context, *GetAPIKeyRequest) (*GetAPIKeyResponse, error) - DeleteAPIKey(context.Context, *DeleteAPIKeyRequest) (*DeleteAPIKeyResponse, error) - UpdateAPIKey(context.Context, *UpdateAPIKeyRequest) (*UpdateAPIKeyResponse, error) - GetServiceAccount(context.Context, *GetServiceAccountRequest) (*GetServiceAccountResponse, error) - GetServiceAccounts(context.Context, *GetServiceAccountsRequest) (*GetServiceAccountsResponse, error) - CreateServiceAccount(context.Context, *CreateServiceAccountRequest) (*CreateServiceAccountResponse, error) - CreateServiceAccountAPIKey(context.Context, *CreateServiceAccountAPIKeyRequest) (*CreateServiceAccountAPIKeyResponse, error) - UpdateServiceAccount(context.Context, *UpdateServiceAccountRequest) (*UpdateServiceAccountResponse, error) - DeleteServiceAccount(context.Context, *DeleteServiceAccountRequest) (*DeleteServiceAccountResponse, error) -} - -// UnimplementedAuthServiceServer can be embedded to have forward compatible implementations. -type UnimplementedAuthServiceServer struct { -} - -func (*UnimplementedAuthServiceServer) GetRole(ctx context.Context, req *GetRoleRequest) (*GetRoleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRole not implemented") -} -func (*UnimplementedAuthServiceServer) GetRoles(ctx context.Context, req *GetRolesRequest) (*GetRolesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRoles not implemented") -} -func (*UnimplementedAuthServiceServer) GetRolesByPermissions(ctx context.Context, req *GetRolesByPermissionsRequest) (*GetRolesByPermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRolesByPermissions not implemented") -} -func (*UnimplementedAuthServiceServer) GetUsers(ctx context.Context, req *GetUsersRequest) (*GetUsersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUsers not implemented") -} -func (*UnimplementedAuthServiceServer) GetUser(ctx context.Context, req *GetUserRequest) (*GetUserResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUser not implemented") -} -func (*UnimplementedAuthServiceServer) InviteUsers(ctx context.Context, req *InviteUsersRequest) (*InviteUsersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method InviteUsers not implemented") -} -func (*UnimplementedAuthServiceServer) ResendUserInvite(ctx context.Context, req *ResendUserInviteRequest) (*ResendUserInviteResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ResendUserInvite not implemented") -} -func (*UnimplementedAuthServiceServer) UpdateUser(ctx context.Context, req *UpdateUserRequest) (*UpdateUserResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateUser not implemented") -} -func (*UnimplementedAuthServiceServer) DeleteUser(ctx context.Context, req *DeleteUserRequest) (*DeleteUserResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteUser not implemented") -} -func (*UnimplementedAuthServiceServer) UpdateUserNamespacePermissions(ctx context.Context, req *UpdateUserNamespacePermissionsRequest) (*UpdateUserNamespacePermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateUserNamespacePermissions not implemented") -} -func (*UnimplementedAuthServiceServer) UpdateIdentityNamespacePermissions(ctx context.Context, req *UpdateIdentityNamespacePermissionsRequest) (*UpdateIdentityNamespacePermissionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateIdentityNamespacePermissions not implemented") -} -func (*UnimplementedAuthServiceServer) CreateAPIKey(ctx context.Context, req *CreateAPIKeyRequest) (*CreateAPIKeyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateAPIKey not implemented") -} -func (*UnimplementedAuthServiceServer) GetAPIKeys(ctx context.Context, req *GetAPIKeysRequest) (*GetAPIKeysResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAPIKeys not implemented") -} -func (*UnimplementedAuthServiceServer) GetAPIKey(ctx context.Context, req *GetAPIKeyRequest) (*GetAPIKeyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAPIKey not implemented") -} -func (*UnimplementedAuthServiceServer) DeleteAPIKey(ctx context.Context, req *DeleteAPIKeyRequest) (*DeleteAPIKeyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteAPIKey not implemented") -} -func (*UnimplementedAuthServiceServer) UpdateAPIKey(ctx context.Context, req *UpdateAPIKeyRequest) (*UpdateAPIKeyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateAPIKey not implemented") -} -func (*UnimplementedAuthServiceServer) GetServiceAccount(ctx context.Context, req *GetServiceAccountRequest) (*GetServiceAccountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetServiceAccount not implemented") -} -func (*UnimplementedAuthServiceServer) GetServiceAccounts(ctx context.Context, req *GetServiceAccountsRequest) (*GetServiceAccountsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetServiceAccounts not implemented") -} -func (*UnimplementedAuthServiceServer) CreateServiceAccount(ctx context.Context, req *CreateServiceAccountRequest) (*CreateServiceAccountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateServiceAccount not implemented") -} -func (*UnimplementedAuthServiceServer) CreateServiceAccountAPIKey(ctx context.Context, req *CreateServiceAccountAPIKeyRequest) (*CreateServiceAccountAPIKeyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateServiceAccountAPIKey not implemented") -} -func (*UnimplementedAuthServiceServer) UpdateServiceAccount(ctx context.Context, req *UpdateServiceAccountRequest) (*UpdateServiceAccountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateServiceAccount not implemented") -} -func (*UnimplementedAuthServiceServer) DeleteServiceAccount(ctx context.Context, req *DeleteServiceAccountRequest) (*DeleteServiceAccountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteServiceAccount not implemented") -} - -func RegisterAuthServiceServer(s *grpc.Server, srv AuthServiceServer) { - s.RegisterService(&_AuthService_serviceDesc, srv) -} - -func _AuthService_GetRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRoleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServiceServer).GetRole(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.authservice.v1.AuthService/GetRole", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServiceServer).GetRole(ctx, req.(*GetRoleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AuthService_GetRoles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRolesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServiceServer).GetRoles(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.authservice.v1.AuthService/GetRoles", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServiceServer).GetRoles(ctx, req.(*GetRolesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AuthService_GetRolesByPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRolesByPermissionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServiceServer).GetRolesByPermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.authservice.v1.AuthService/GetRolesByPermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServiceServer).GetRolesByPermissions(ctx, req.(*GetRolesByPermissionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AuthService_GetUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUsersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServiceServer).GetUsers(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.authservice.v1.AuthService/GetUsers", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServiceServer).GetUsers(ctx, req.(*GetUsersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AuthService_GetUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUserRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServiceServer).GetUser(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.authservice.v1.AuthService/GetUser", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServiceServer).GetUser(ctx, req.(*GetUserRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AuthService_InviteUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InviteUsersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServiceServer).InviteUsers(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.authservice.v1.AuthService/InviteUsers", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServiceServer).InviteUsers(ctx, req.(*InviteUsersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AuthService_ResendUserInvite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ResendUserInviteRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServiceServer).ResendUserInvite(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.authservice.v1.AuthService/ResendUserInvite", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServiceServer).ResendUserInvite(ctx, req.(*ResendUserInviteRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AuthService_UpdateUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateUserRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServiceServer).UpdateUser(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.authservice.v1.AuthService/UpdateUser", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServiceServer).UpdateUser(ctx, req.(*UpdateUserRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AuthService_DeleteUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteUserRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServiceServer).DeleteUser(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.authservice.v1.AuthService/DeleteUser", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServiceServer).DeleteUser(ctx, req.(*DeleteUserRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AuthService_UpdateUserNamespacePermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateUserNamespacePermissionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServiceServer).UpdateUserNamespacePermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.authservice.v1.AuthService/UpdateUserNamespacePermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServiceServer).UpdateUserNamespacePermissions(ctx, req.(*UpdateUserNamespacePermissionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AuthService_UpdateIdentityNamespacePermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateIdentityNamespacePermissionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServiceServer).UpdateIdentityNamespacePermissions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.authservice.v1.AuthService/UpdateIdentityNamespacePermissions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServiceServer).UpdateIdentityNamespacePermissions(ctx, req.(*UpdateIdentityNamespacePermissionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AuthService_CreateAPIKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateAPIKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServiceServer).CreateAPIKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.authservice.v1.AuthService/CreateAPIKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServiceServer).CreateAPIKey(ctx, req.(*CreateAPIKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AuthService_GetAPIKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAPIKeysRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServiceServer).GetAPIKeys(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.authservice.v1.AuthService/GetAPIKeys", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServiceServer).GetAPIKeys(ctx, req.(*GetAPIKeysRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AuthService_GetAPIKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAPIKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServiceServer).GetAPIKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.authservice.v1.AuthService/GetAPIKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServiceServer).GetAPIKey(ctx, req.(*GetAPIKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AuthService_DeleteAPIKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteAPIKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServiceServer).DeleteAPIKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.authservice.v1.AuthService/DeleteAPIKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServiceServer).DeleteAPIKey(ctx, req.(*DeleteAPIKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AuthService_UpdateAPIKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateAPIKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServiceServer).UpdateAPIKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.authservice.v1.AuthService/UpdateAPIKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServiceServer).UpdateAPIKey(ctx, req.(*UpdateAPIKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AuthService_GetServiceAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetServiceAccountRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServiceServer).GetServiceAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.authservice.v1.AuthService/GetServiceAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServiceServer).GetServiceAccount(ctx, req.(*GetServiceAccountRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AuthService_GetServiceAccounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetServiceAccountsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServiceServer).GetServiceAccounts(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.authservice.v1.AuthService/GetServiceAccounts", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServiceServer).GetServiceAccounts(ctx, req.(*GetServiceAccountsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AuthService_CreateServiceAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateServiceAccountRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServiceServer).CreateServiceAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.authservice.v1.AuthService/CreateServiceAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServiceServer).CreateServiceAccount(ctx, req.(*CreateServiceAccountRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AuthService_CreateServiceAccountAPIKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateServiceAccountAPIKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServiceServer).CreateServiceAccountAPIKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.authservice.v1.AuthService/CreateServiceAccountAPIKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServiceServer).CreateServiceAccountAPIKey(ctx, req.(*CreateServiceAccountAPIKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AuthService_UpdateServiceAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateServiceAccountRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServiceServer).UpdateServiceAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.authservice.v1.AuthService/UpdateServiceAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServiceServer).UpdateServiceAccount(ctx, req.(*UpdateServiceAccountRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _AuthService_DeleteServiceAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteServiceAccountRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuthServiceServer).DeleteServiceAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.authservice.v1.AuthService/DeleteServiceAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServiceServer).DeleteServiceAccount(ctx, req.(*DeleteServiceAccountRequest)) - } - return interceptor(ctx, in, info, handler) -} +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -var _AuthService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "api.authservice.v1.AuthService", - HandlerType: (*AuthServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetRole", - Handler: _AuthService_GetRole_Handler, - }, - { - MethodName: "GetRoles", - Handler: _AuthService_GetRoles_Handler, - }, - { - MethodName: "GetRolesByPermissions", - Handler: _AuthService_GetRolesByPermissions_Handler, - }, - { - MethodName: "GetUsers", - Handler: _AuthService_GetUsers_Handler, - }, - { - MethodName: "GetUser", - Handler: _AuthService_GetUser_Handler, - }, - { - MethodName: "InviteUsers", - Handler: _AuthService_InviteUsers_Handler, - }, - { - MethodName: "ResendUserInvite", - Handler: _AuthService_ResendUserInvite_Handler, - }, - { - MethodName: "UpdateUser", - Handler: _AuthService_UpdateUser_Handler, - }, - { - MethodName: "DeleteUser", - Handler: _AuthService_DeleteUser_Handler, - }, - { - MethodName: "UpdateUserNamespacePermissions", - Handler: _AuthService_UpdateUserNamespacePermissions_Handler, - }, - { - MethodName: "UpdateIdentityNamespacePermissions", - Handler: _AuthService_UpdateIdentityNamespacePermissions_Handler, - }, - { - MethodName: "CreateAPIKey", - Handler: _AuthService_CreateAPIKey_Handler, - }, - { - MethodName: "GetAPIKeys", - Handler: _AuthService_GetAPIKeys_Handler, - }, - { - MethodName: "GetAPIKey", - Handler: _AuthService_GetAPIKey_Handler, - }, - { - MethodName: "DeleteAPIKey", - Handler: _AuthService_DeleteAPIKey_Handler, - }, - { - MethodName: "UpdateAPIKey", - Handler: _AuthService_UpdateAPIKey_Handler, - }, - { - MethodName: "GetServiceAccount", - Handler: _AuthService_GetServiceAccount_Handler, - }, - { - MethodName: "GetServiceAccounts", - Handler: _AuthService_GetServiceAccounts_Handler, - }, - { - MethodName: "CreateServiceAccount", - Handler: _AuthService_CreateServiceAccount_Handler, - }, - { - MethodName: "CreateServiceAccountAPIKey", - Handler: _AuthService_CreateServiceAccountAPIKey_Handler, - }, - { - MethodName: "UpdateServiceAccount", - Handler: _AuthService_UpdateServiceAccount_Handler, - }, - { - MethodName: "DeleteServiceAccount", - Handler: _AuthService_DeleteServiceAccount_Handler, +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +var File_api_authservice_v1_service_proto protoreflect.FileDescriptor + +var file_api_authservice_v1_service_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x12, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x29, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x75, 0x74, 0x68, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x32, 0x9c, 0x13, 0x0a, 0x0b, 0x41, 0x75, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x12, 0x54, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x22, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x23, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x52, 0x6f, + 0x6c, 0x65, 0x73, 0x12, 0x23, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, + 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x7e, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x42, 0x79, 0x50, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x30, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x42, 0x79, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x42, 0x79, 0x50, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x57, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x23, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x07, 0x47, 0x65, 0x74, + 0x55, 0x73, 0x65, 0x72, 0x12, 0x22, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, + 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x60, 0x0a, 0x0b, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x26, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, + 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x76, 0x69, + 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x6f, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, + 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x2b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x6e, + 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, + 0x65, 0x72, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, + 0x12, 0x25, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, + 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x5d, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, + 0x25, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, + 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x99, 0x01, 0x0a, 0x1e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x39, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, + 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0xa5, 0x01, 0x0a, + 0x22, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x3d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x3e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, + 0x49, 0x4b, 0x65, 0x79, 0x12, 0x27, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x0a, 0x47, 0x65, 0x74, + 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x25, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, + 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x41, + 0x50, 0x49, 0x4b, 0x65, 0x79, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x50, + 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, + 0x49, 0x4b, 0x65, 0x79, 0x12, 0x27, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x0c, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x12, 0x27, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x50, + 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x72, + 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x2c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x75, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x2d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, + 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, + 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7b, 0x0a, 0x14, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x2f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x8d, 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, + 0x50, 0x49, 0x4b, 0x65, 0x79, 0x12, 0x35, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, + 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7b, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2f, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x30, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x7b, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x42, 0xbc, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, + 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2a, 0x74, 0x6d, 0x70, + 0x72, 0x6c, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x75, 0x74, + 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x75, 0x74, 0x68, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0xa2, 0x02, 0x03, 0x41, 0x41, 0x58, 0xaa, 0x02, 0x12, + 0x41, 0x70, 0x69, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, + 0x56, 0x31, 0xca, 0x02, 0x12, 0x41, 0x70, 0x69, 0x5c, 0x41, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1e, 0x41, 0x70, 0x69, 0x5c, 0x41, 0x75, + 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x14, 0x41, 0x70, 0x69, 0x3a, 0x3a, + 0x41, 0x75, 0x74, 0x68, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var file_api_authservice_v1_service_proto_goTypes = []interface{}{ + (*GetRoleRequest)(nil), // 0: api.authservice.v1.GetRoleRequest + (*GetRolesRequest)(nil), // 1: api.authservice.v1.GetRolesRequest + (*GetRolesByPermissionsRequest)(nil), // 2: api.authservice.v1.GetRolesByPermissionsRequest + (*GetUsersRequest)(nil), // 3: api.authservice.v1.GetUsersRequest + (*GetUserRequest)(nil), // 4: api.authservice.v1.GetUserRequest + (*InviteUsersRequest)(nil), // 5: api.authservice.v1.InviteUsersRequest + (*ResendUserInviteRequest)(nil), // 6: api.authservice.v1.ResendUserInviteRequest + (*UpdateUserRequest)(nil), // 7: api.authservice.v1.UpdateUserRequest + (*DeleteUserRequest)(nil), // 8: api.authservice.v1.DeleteUserRequest + (*UpdateUserNamespacePermissionsRequest)(nil), // 9: api.authservice.v1.UpdateUserNamespacePermissionsRequest + (*UpdateIdentityNamespacePermissionsRequest)(nil), // 10: api.authservice.v1.UpdateIdentityNamespacePermissionsRequest + (*CreateAPIKeyRequest)(nil), // 11: api.authservice.v1.CreateAPIKeyRequest + (*GetAPIKeysRequest)(nil), // 12: api.authservice.v1.GetAPIKeysRequest + (*GetAPIKeyRequest)(nil), // 13: api.authservice.v1.GetAPIKeyRequest + (*DeleteAPIKeyRequest)(nil), // 14: api.authservice.v1.DeleteAPIKeyRequest + (*UpdateAPIKeyRequest)(nil), // 15: api.authservice.v1.UpdateAPIKeyRequest + (*GetServiceAccountRequest)(nil), // 16: api.authservice.v1.GetServiceAccountRequest + (*GetServiceAccountsRequest)(nil), // 17: api.authservice.v1.GetServiceAccountsRequest + (*CreateServiceAccountRequest)(nil), // 18: api.authservice.v1.CreateServiceAccountRequest + (*CreateServiceAccountAPIKeyRequest)(nil), // 19: api.authservice.v1.CreateServiceAccountAPIKeyRequest + (*UpdateServiceAccountRequest)(nil), // 20: api.authservice.v1.UpdateServiceAccountRequest + (*DeleteServiceAccountRequest)(nil), // 21: api.authservice.v1.DeleteServiceAccountRequest + (*GetRoleResponse)(nil), // 22: api.authservice.v1.GetRoleResponse + (*GetRolesResponse)(nil), // 23: api.authservice.v1.GetRolesResponse + (*GetRolesByPermissionsResponse)(nil), // 24: api.authservice.v1.GetRolesByPermissionsResponse + (*GetUsersResponse)(nil), // 25: api.authservice.v1.GetUsersResponse + (*GetUserResponse)(nil), // 26: api.authservice.v1.GetUserResponse + (*InviteUsersResponse)(nil), // 27: api.authservice.v1.InviteUsersResponse + (*ResendUserInviteResponse)(nil), // 28: api.authservice.v1.ResendUserInviteResponse + (*UpdateUserResponse)(nil), // 29: api.authservice.v1.UpdateUserResponse + (*DeleteUserResponse)(nil), // 30: api.authservice.v1.DeleteUserResponse + (*UpdateUserNamespacePermissionsResponse)(nil), // 31: api.authservice.v1.UpdateUserNamespacePermissionsResponse + (*UpdateIdentityNamespacePermissionsResponse)(nil), // 32: api.authservice.v1.UpdateIdentityNamespacePermissionsResponse + (*CreateAPIKeyResponse)(nil), // 33: api.authservice.v1.CreateAPIKeyResponse + (*GetAPIKeysResponse)(nil), // 34: api.authservice.v1.GetAPIKeysResponse + (*GetAPIKeyResponse)(nil), // 35: api.authservice.v1.GetAPIKeyResponse + (*DeleteAPIKeyResponse)(nil), // 36: api.authservice.v1.DeleteAPIKeyResponse + (*UpdateAPIKeyResponse)(nil), // 37: api.authservice.v1.UpdateAPIKeyResponse + (*GetServiceAccountResponse)(nil), // 38: api.authservice.v1.GetServiceAccountResponse + (*GetServiceAccountsResponse)(nil), // 39: api.authservice.v1.GetServiceAccountsResponse + (*CreateServiceAccountResponse)(nil), // 40: api.authservice.v1.CreateServiceAccountResponse + (*CreateServiceAccountAPIKeyResponse)(nil), // 41: api.authservice.v1.CreateServiceAccountAPIKeyResponse + (*UpdateServiceAccountResponse)(nil), // 42: api.authservice.v1.UpdateServiceAccountResponse + (*DeleteServiceAccountResponse)(nil), // 43: api.authservice.v1.DeleteServiceAccountResponse +} +var file_api_authservice_v1_service_proto_depIdxs = []int32{ + 0, // 0: api.authservice.v1.AuthService.GetRole:input_type -> api.authservice.v1.GetRoleRequest + 1, // 1: api.authservice.v1.AuthService.GetRoles:input_type -> api.authservice.v1.GetRolesRequest + 2, // 2: api.authservice.v1.AuthService.GetRolesByPermissions:input_type -> api.authservice.v1.GetRolesByPermissionsRequest + 3, // 3: api.authservice.v1.AuthService.GetUsers:input_type -> api.authservice.v1.GetUsersRequest + 4, // 4: api.authservice.v1.AuthService.GetUser:input_type -> api.authservice.v1.GetUserRequest + 5, // 5: api.authservice.v1.AuthService.InviteUsers:input_type -> api.authservice.v1.InviteUsersRequest + 6, // 6: api.authservice.v1.AuthService.ResendUserInvite:input_type -> api.authservice.v1.ResendUserInviteRequest + 7, // 7: api.authservice.v1.AuthService.UpdateUser:input_type -> api.authservice.v1.UpdateUserRequest + 8, // 8: api.authservice.v1.AuthService.DeleteUser:input_type -> api.authservice.v1.DeleteUserRequest + 9, // 9: api.authservice.v1.AuthService.UpdateUserNamespacePermissions:input_type -> api.authservice.v1.UpdateUserNamespacePermissionsRequest + 10, // 10: api.authservice.v1.AuthService.UpdateIdentityNamespacePermissions:input_type -> api.authservice.v1.UpdateIdentityNamespacePermissionsRequest + 11, // 11: api.authservice.v1.AuthService.CreateAPIKey:input_type -> api.authservice.v1.CreateAPIKeyRequest + 12, // 12: api.authservice.v1.AuthService.GetAPIKeys:input_type -> api.authservice.v1.GetAPIKeysRequest + 13, // 13: api.authservice.v1.AuthService.GetAPIKey:input_type -> api.authservice.v1.GetAPIKeyRequest + 14, // 14: api.authservice.v1.AuthService.DeleteAPIKey:input_type -> api.authservice.v1.DeleteAPIKeyRequest + 15, // 15: api.authservice.v1.AuthService.UpdateAPIKey:input_type -> api.authservice.v1.UpdateAPIKeyRequest + 16, // 16: api.authservice.v1.AuthService.GetServiceAccount:input_type -> api.authservice.v1.GetServiceAccountRequest + 17, // 17: api.authservice.v1.AuthService.GetServiceAccounts:input_type -> api.authservice.v1.GetServiceAccountsRequest + 18, // 18: api.authservice.v1.AuthService.CreateServiceAccount:input_type -> api.authservice.v1.CreateServiceAccountRequest + 19, // 19: api.authservice.v1.AuthService.CreateServiceAccountAPIKey:input_type -> api.authservice.v1.CreateServiceAccountAPIKeyRequest + 20, // 20: api.authservice.v1.AuthService.UpdateServiceAccount:input_type -> api.authservice.v1.UpdateServiceAccountRequest + 21, // 21: api.authservice.v1.AuthService.DeleteServiceAccount:input_type -> api.authservice.v1.DeleteServiceAccountRequest + 22, // 22: api.authservice.v1.AuthService.GetRole:output_type -> api.authservice.v1.GetRoleResponse + 23, // 23: api.authservice.v1.AuthService.GetRoles:output_type -> api.authservice.v1.GetRolesResponse + 24, // 24: api.authservice.v1.AuthService.GetRolesByPermissions:output_type -> api.authservice.v1.GetRolesByPermissionsResponse + 25, // 25: api.authservice.v1.AuthService.GetUsers:output_type -> api.authservice.v1.GetUsersResponse + 26, // 26: api.authservice.v1.AuthService.GetUser:output_type -> api.authservice.v1.GetUserResponse + 27, // 27: api.authservice.v1.AuthService.InviteUsers:output_type -> api.authservice.v1.InviteUsersResponse + 28, // 28: api.authservice.v1.AuthService.ResendUserInvite:output_type -> api.authservice.v1.ResendUserInviteResponse + 29, // 29: api.authservice.v1.AuthService.UpdateUser:output_type -> api.authservice.v1.UpdateUserResponse + 30, // 30: api.authservice.v1.AuthService.DeleteUser:output_type -> api.authservice.v1.DeleteUserResponse + 31, // 31: api.authservice.v1.AuthService.UpdateUserNamespacePermissions:output_type -> api.authservice.v1.UpdateUserNamespacePermissionsResponse + 32, // 32: api.authservice.v1.AuthService.UpdateIdentityNamespacePermissions:output_type -> api.authservice.v1.UpdateIdentityNamespacePermissionsResponse + 33, // 33: api.authservice.v1.AuthService.CreateAPIKey:output_type -> api.authservice.v1.CreateAPIKeyResponse + 34, // 34: api.authservice.v1.AuthService.GetAPIKeys:output_type -> api.authservice.v1.GetAPIKeysResponse + 35, // 35: api.authservice.v1.AuthService.GetAPIKey:output_type -> api.authservice.v1.GetAPIKeyResponse + 36, // 36: api.authservice.v1.AuthService.DeleteAPIKey:output_type -> api.authservice.v1.DeleteAPIKeyResponse + 37, // 37: api.authservice.v1.AuthService.UpdateAPIKey:output_type -> api.authservice.v1.UpdateAPIKeyResponse + 38, // 38: api.authservice.v1.AuthService.GetServiceAccount:output_type -> api.authservice.v1.GetServiceAccountResponse + 39, // 39: api.authservice.v1.AuthService.GetServiceAccounts:output_type -> api.authservice.v1.GetServiceAccountsResponse + 40, // 40: api.authservice.v1.AuthService.CreateServiceAccount:output_type -> api.authservice.v1.CreateServiceAccountResponse + 41, // 41: api.authservice.v1.AuthService.CreateServiceAccountAPIKey:output_type -> api.authservice.v1.CreateServiceAccountAPIKeyResponse + 42, // 42: api.authservice.v1.AuthService.UpdateServiceAccount:output_type -> api.authservice.v1.UpdateServiceAccountResponse + 43, // 43: api.authservice.v1.AuthService.DeleteServiceAccount:output_type -> api.authservice.v1.DeleteServiceAccountResponse + 22, // [22:44] is the sub-list for method output_type + 0, // [0:22] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_api_authservice_v1_service_proto_init() } +func file_api_authservice_v1_service_proto_init() { + if File_api_authservice_v1_service_proto != nil { + return + } + file_api_authservice_v1_request_response_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_api_authservice_v1_service_proto_rawDesc, + NumEnums: 0, + NumMessages: 0, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "api/authservice/v1/service.proto", + GoTypes: file_api_authservice_v1_service_proto_goTypes, + DependencyIndexes: file_api_authservice_v1_service_proto_depIdxs, + }.Build() + File_api_authservice_v1_service_proto = out.File + file_api_authservice_v1_service_proto_rawDesc = nil + file_api_authservice_v1_service_proto_goTypes = nil + file_api_authservice_v1_service_proto_depIdxs = nil } diff --git a/protogen/api/authservice/v1/service_grpc.pb.go b/protogen/api/authservice/v1/service_grpc.pb.go new file mode 100644 index 00000000..2876347a --- /dev/null +++ b/protogen/api/authservice/v1/service_grpc.pb.go @@ -0,0 +1,861 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc (unknown) +// source: api/authservice/v1/service.proto + +package authservice + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// AuthServiceClient is the client API for AuthService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type AuthServiceClient interface { + GetRole(ctx context.Context, in *GetRoleRequest, opts ...grpc.CallOption) (*GetRoleResponse, error) + GetRoles(ctx context.Context, in *GetRolesRequest, opts ...grpc.CallOption) (*GetRolesResponse, error) + GetRolesByPermissions(ctx context.Context, in *GetRolesByPermissionsRequest, opts ...grpc.CallOption) (*GetRolesByPermissionsResponse, error) + GetUsers(ctx context.Context, in *GetUsersRequest, opts ...grpc.CallOption) (*GetUsersResponse, error) + GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) + InviteUsers(ctx context.Context, in *InviteUsersRequest, opts ...grpc.CallOption) (*InviteUsersResponse, error) + ResendUserInvite(ctx context.Context, in *ResendUserInviteRequest, opts ...grpc.CallOption) (*ResendUserInviteResponse, error) + UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error) + DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error) + UpdateUserNamespacePermissions(ctx context.Context, in *UpdateUserNamespacePermissionsRequest, opts ...grpc.CallOption) (*UpdateUserNamespacePermissionsResponse, error) + UpdateIdentityNamespacePermissions(ctx context.Context, in *UpdateIdentityNamespacePermissionsRequest, opts ...grpc.CallOption) (*UpdateIdentityNamespacePermissionsResponse, error) + CreateAPIKey(ctx context.Context, in *CreateAPIKeyRequest, opts ...grpc.CallOption) (*CreateAPIKeyResponse, error) + GetAPIKeys(ctx context.Context, in *GetAPIKeysRequest, opts ...grpc.CallOption) (*GetAPIKeysResponse, error) + GetAPIKey(ctx context.Context, in *GetAPIKeyRequest, opts ...grpc.CallOption) (*GetAPIKeyResponse, error) + DeleteAPIKey(ctx context.Context, in *DeleteAPIKeyRequest, opts ...grpc.CallOption) (*DeleteAPIKeyResponse, error) + UpdateAPIKey(ctx context.Context, in *UpdateAPIKeyRequest, opts ...grpc.CallOption) (*UpdateAPIKeyResponse, error) + GetServiceAccount(ctx context.Context, in *GetServiceAccountRequest, opts ...grpc.CallOption) (*GetServiceAccountResponse, error) + GetServiceAccounts(ctx context.Context, in *GetServiceAccountsRequest, opts ...grpc.CallOption) (*GetServiceAccountsResponse, error) + CreateServiceAccount(ctx context.Context, in *CreateServiceAccountRequest, opts ...grpc.CallOption) (*CreateServiceAccountResponse, error) + CreateServiceAccountAPIKey(ctx context.Context, in *CreateServiceAccountAPIKeyRequest, opts ...grpc.CallOption) (*CreateServiceAccountAPIKeyResponse, error) + UpdateServiceAccount(ctx context.Context, in *UpdateServiceAccountRequest, opts ...grpc.CallOption) (*UpdateServiceAccountResponse, error) + DeleteServiceAccount(ctx context.Context, in *DeleteServiceAccountRequest, opts ...grpc.CallOption) (*DeleteServiceAccountResponse, error) +} + +type authServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient { + return &authServiceClient{cc} +} + +func (c *authServiceClient) GetRole(ctx context.Context, in *GetRoleRequest, opts ...grpc.CallOption) (*GetRoleResponse, error) { + out := new(GetRoleResponse) + err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/GetRole", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *authServiceClient) GetRoles(ctx context.Context, in *GetRolesRequest, opts ...grpc.CallOption) (*GetRolesResponse, error) { + out := new(GetRolesResponse) + err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/GetRoles", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *authServiceClient) GetRolesByPermissions(ctx context.Context, in *GetRolesByPermissionsRequest, opts ...grpc.CallOption) (*GetRolesByPermissionsResponse, error) { + out := new(GetRolesByPermissionsResponse) + err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/GetRolesByPermissions", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *authServiceClient) GetUsers(ctx context.Context, in *GetUsersRequest, opts ...grpc.CallOption) (*GetUsersResponse, error) { + out := new(GetUsersResponse) + err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/GetUsers", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *authServiceClient) GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) { + out := new(GetUserResponse) + err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/GetUser", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *authServiceClient) InviteUsers(ctx context.Context, in *InviteUsersRequest, opts ...grpc.CallOption) (*InviteUsersResponse, error) { + out := new(InviteUsersResponse) + err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/InviteUsers", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *authServiceClient) ResendUserInvite(ctx context.Context, in *ResendUserInviteRequest, opts ...grpc.CallOption) (*ResendUserInviteResponse, error) { + out := new(ResendUserInviteResponse) + err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/ResendUserInvite", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *authServiceClient) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error) { + out := new(UpdateUserResponse) + err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/UpdateUser", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *authServiceClient) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error) { + out := new(DeleteUserResponse) + err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/DeleteUser", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *authServiceClient) UpdateUserNamespacePermissions(ctx context.Context, in *UpdateUserNamespacePermissionsRequest, opts ...grpc.CallOption) (*UpdateUserNamespacePermissionsResponse, error) { + out := new(UpdateUserNamespacePermissionsResponse) + err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/UpdateUserNamespacePermissions", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *authServiceClient) UpdateIdentityNamespacePermissions(ctx context.Context, in *UpdateIdentityNamespacePermissionsRequest, opts ...grpc.CallOption) (*UpdateIdentityNamespacePermissionsResponse, error) { + out := new(UpdateIdentityNamespacePermissionsResponse) + err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/UpdateIdentityNamespacePermissions", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *authServiceClient) CreateAPIKey(ctx context.Context, in *CreateAPIKeyRequest, opts ...grpc.CallOption) (*CreateAPIKeyResponse, error) { + out := new(CreateAPIKeyResponse) + err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/CreateAPIKey", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *authServiceClient) GetAPIKeys(ctx context.Context, in *GetAPIKeysRequest, opts ...grpc.CallOption) (*GetAPIKeysResponse, error) { + out := new(GetAPIKeysResponse) + err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/GetAPIKeys", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *authServiceClient) GetAPIKey(ctx context.Context, in *GetAPIKeyRequest, opts ...grpc.CallOption) (*GetAPIKeyResponse, error) { + out := new(GetAPIKeyResponse) + err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/GetAPIKey", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *authServiceClient) DeleteAPIKey(ctx context.Context, in *DeleteAPIKeyRequest, opts ...grpc.CallOption) (*DeleteAPIKeyResponse, error) { + out := new(DeleteAPIKeyResponse) + err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/DeleteAPIKey", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *authServiceClient) UpdateAPIKey(ctx context.Context, in *UpdateAPIKeyRequest, opts ...grpc.CallOption) (*UpdateAPIKeyResponse, error) { + out := new(UpdateAPIKeyResponse) + err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/UpdateAPIKey", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *authServiceClient) GetServiceAccount(ctx context.Context, in *GetServiceAccountRequest, opts ...grpc.CallOption) (*GetServiceAccountResponse, error) { + out := new(GetServiceAccountResponse) + err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/GetServiceAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *authServiceClient) GetServiceAccounts(ctx context.Context, in *GetServiceAccountsRequest, opts ...grpc.CallOption) (*GetServiceAccountsResponse, error) { + out := new(GetServiceAccountsResponse) + err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/GetServiceAccounts", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *authServiceClient) CreateServiceAccount(ctx context.Context, in *CreateServiceAccountRequest, opts ...grpc.CallOption) (*CreateServiceAccountResponse, error) { + out := new(CreateServiceAccountResponse) + err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/CreateServiceAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *authServiceClient) CreateServiceAccountAPIKey(ctx context.Context, in *CreateServiceAccountAPIKeyRequest, opts ...grpc.CallOption) (*CreateServiceAccountAPIKeyResponse, error) { + out := new(CreateServiceAccountAPIKeyResponse) + err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/CreateServiceAccountAPIKey", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *authServiceClient) UpdateServiceAccount(ctx context.Context, in *UpdateServiceAccountRequest, opts ...grpc.CallOption) (*UpdateServiceAccountResponse, error) { + out := new(UpdateServiceAccountResponse) + err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/UpdateServiceAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *authServiceClient) DeleteServiceAccount(ctx context.Context, in *DeleteServiceAccountRequest, opts ...grpc.CallOption) (*DeleteServiceAccountResponse, error) { + out := new(DeleteServiceAccountResponse) + err := c.cc.Invoke(ctx, "/api.authservice.v1.AuthService/DeleteServiceAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// AuthServiceServer is the server API for AuthService service. +// All implementations must embed UnimplementedAuthServiceServer +// for forward compatibility +type AuthServiceServer interface { + GetRole(context.Context, *GetRoleRequest) (*GetRoleResponse, error) + GetRoles(context.Context, *GetRolesRequest) (*GetRolesResponse, error) + GetRolesByPermissions(context.Context, *GetRolesByPermissionsRequest) (*GetRolesByPermissionsResponse, error) + GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error) + GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) + InviteUsers(context.Context, *InviteUsersRequest) (*InviteUsersResponse, error) + ResendUserInvite(context.Context, *ResendUserInviteRequest) (*ResendUserInviteResponse, error) + UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error) + DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error) + UpdateUserNamespacePermissions(context.Context, *UpdateUserNamespacePermissionsRequest) (*UpdateUserNamespacePermissionsResponse, error) + UpdateIdentityNamespacePermissions(context.Context, *UpdateIdentityNamespacePermissionsRequest) (*UpdateIdentityNamespacePermissionsResponse, error) + CreateAPIKey(context.Context, *CreateAPIKeyRequest) (*CreateAPIKeyResponse, error) + GetAPIKeys(context.Context, *GetAPIKeysRequest) (*GetAPIKeysResponse, error) + GetAPIKey(context.Context, *GetAPIKeyRequest) (*GetAPIKeyResponse, error) + DeleteAPIKey(context.Context, *DeleteAPIKeyRequest) (*DeleteAPIKeyResponse, error) + UpdateAPIKey(context.Context, *UpdateAPIKeyRequest) (*UpdateAPIKeyResponse, error) + GetServiceAccount(context.Context, *GetServiceAccountRequest) (*GetServiceAccountResponse, error) + GetServiceAccounts(context.Context, *GetServiceAccountsRequest) (*GetServiceAccountsResponse, error) + CreateServiceAccount(context.Context, *CreateServiceAccountRequest) (*CreateServiceAccountResponse, error) + CreateServiceAccountAPIKey(context.Context, *CreateServiceAccountAPIKeyRequest) (*CreateServiceAccountAPIKeyResponse, error) + UpdateServiceAccount(context.Context, *UpdateServiceAccountRequest) (*UpdateServiceAccountResponse, error) + DeleteServiceAccount(context.Context, *DeleteServiceAccountRequest) (*DeleteServiceAccountResponse, error) + mustEmbedUnimplementedAuthServiceServer() +} + +// UnimplementedAuthServiceServer must be embedded to have forward compatible implementations. +type UnimplementedAuthServiceServer struct { +} + +func (UnimplementedAuthServiceServer) GetRole(context.Context, *GetRoleRequest) (*GetRoleResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetRole not implemented") +} +func (UnimplementedAuthServiceServer) GetRoles(context.Context, *GetRolesRequest) (*GetRolesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetRoles not implemented") +} +func (UnimplementedAuthServiceServer) GetRolesByPermissions(context.Context, *GetRolesByPermissionsRequest) (*GetRolesByPermissionsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetRolesByPermissions not implemented") +} +func (UnimplementedAuthServiceServer) GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetUsers not implemented") +} +func (UnimplementedAuthServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetUser not implemented") +} +func (UnimplementedAuthServiceServer) InviteUsers(context.Context, *InviteUsersRequest) (*InviteUsersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method InviteUsers not implemented") +} +func (UnimplementedAuthServiceServer) ResendUserInvite(context.Context, *ResendUserInviteRequest) (*ResendUserInviteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ResendUserInvite not implemented") +} +func (UnimplementedAuthServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateUser not implemented") +} +func (UnimplementedAuthServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteUser not implemented") +} +func (UnimplementedAuthServiceServer) UpdateUserNamespacePermissions(context.Context, *UpdateUserNamespacePermissionsRequest) (*UpdateUserNamespacePermissionsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateUserNamespacePermissions not implemented") +} +func (UnimplementedAuthServiceServer) UpdateIdentityNamespacePermissions(context.Context, *UpdateIdentityNamespacePermissionsRequest) (*UpdateIdentityNamespacePermissionsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateIdentityNamespacePermissions not implemented") +} +func (UnimplementedAuthServiceServer) CreateAPIKey(context.Context, *CreateAPIKeyRequest) (*CreateAPIKeyResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateAPIKey not implemented") +} +func (UnimplementedAuthServiceServer) GetAPIKeys(context.Context, *GetAPIKeysRequest) (*GetAPIKeysResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAPIKeys not implemented") +} +func (UnimplementedAuthServiceServer) GetAPIKey(context.Context, *GetAPIKeyRequest) (*GetAPIKeyResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAPIKey not implemented") +} +func (UnimplementedAuthServiceServer) DeleteAPIKey(context.Context, *DeleteAPIKeyRequest) (*DeleteAPIKeyResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteAPIKey not implemented") +} +func (UnimplementedAuthServiceServer) UpdateAPIKey(context.Context, *UpdateAPIKeyRequest) (*UpdateAPIKeyResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateAPIKey not implemented") +} +func (UnimplementedAuthServiceServer) GetServiceAccount(context.Context, *GetServiceAccountRequest) (*GetServiceAccountResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetServiceAccount not implemented") +} +func (UnimplementedAuthServiceServer) GetServiceAccounts(context.Context, *GetServiceAccountsRequest) (*GetServiceAccountsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetServiceAccounts not implemented") +} +func (UnimplementedAuthServiceServer) CreateServiceAccount(context.Context, *CreateServiceAccountRequest) (*CreateServiceAccountResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateServiceAccount not implemented") +} +func (UnimplementedAuthServiceServer) CreateServiceAccountAPIKey(context.Context, *CreateServiceAccountAPIKeyRequest) (*CreateServiceAccountAPIKeyResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateServiceAccountAPIKey not implemented") +} +func (UnimplementedAuthServiceServer) UpdateServiceAccount(context.Context, *UpdateServiceAccountRequest) (*UpdateServiceAccountResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateServiceAccount not implemented") +} +func (UnimplementedAuthServiceServer) DeleteServiceAccount(context.Context, *DeleteServiceAccountRequest) (*DeleteServiceAccountResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteServiceAccount not implemented") +} +func (UnimplementedAuthServiceServer) mustEmbedUnimplementedAuthServiceServer() {} + +// UnsafeAuthServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to AuthServiceServer will +// result in compilation errors. +type UnsafeAuthServiceServer interface { + mustEmbedUnimplementedAuthServiceServer() +} + +func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer) { + s.RegisterService(&AuthService_ServiceDesc, srv) +} + +func _AuthService_GetRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetRoleRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthServiceServer).GetRole(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.authservice.v1.AuthService/GetRole", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthServiceServer).GetRole(ctx, req.(*GetRoleRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AuthService_GetRoles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetRolesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthServiceServer).GetRoles(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.authservice.v1.AuthService/GetRoles", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthServiceServer).GetRoles(ctx, req.(*GetRolesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AuthService_GetRolesByPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetRolesByPermissionsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthServiceServer).GetRolesByPermissions(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.authservice.v1.AuthService/GetRolesByPermissions", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthServiceServer).GetRolesByPermissions(ctx, req.(*GetRolesByPermissionsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AuthService_GetUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetUsersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthServiceServer).GetUsers(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.authservice.v1.AuthService/GetUsers", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthServiceServer).GetUsers(ctx, req.(*GetUsersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AuthService_GetUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetUserRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthServiceServer).GetUser(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.authservice.v1.AuthService/GetUser", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthServiceServer).GetUser(ctx, req.(*GetUserRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AuthService_InviteUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(InviteUsersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthServiceServer).InviteUsers(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.authservice.v1.AuthService/InviteUsers", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthServiceServer).InviteUsers(ctx, req.(*InviteUsersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AuthService_ResendUserInvite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ResendUserInviteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthServiceServer).ResendUserInvite(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.authservice.v1.AuthService/ResendUserInvite", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthServiceServer).ResendUserInvite(ctx, req.(*ResendUserInviteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AuthService_UpdateUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateUserRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthServiceServer).UpdateUser(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.authservice.v1.AuthService/UpdateUser", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthServiceServer).UpdateUser(ctx, req.(*UpdateUserRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AuthService_DeleteUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteUserRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthServiceServer).DeleteUser(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.authservice.v1.AuthService/DeleteUser", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthServiceServer).DeleteUser(ctx, req.(*DeleteUserRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AuthService_UpdateUserNamespacePermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateUserNamespacePermissionsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthServiceServer).UpdateUserNamespacePermissions(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.authservice.v1.AuthService/UpdateUserNamespacePermissions", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthServiceServer).UpdateUserNamespacePermissions(ctx, req.(*UpdateUserNamespacePermissionsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AuthService_UpdateIdentityNamespacePermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateIdentityNamespacePermissionsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthServiceServer).UpdateIdentityNamespacePermissions(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.authservice.v1.AuthService/UpdateIdentityNamespacePermissions", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthServiceServer).UpdateIdentityNamespacePermissions(ctx, req.(*UpdateIdentityNamespacePermissionsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AuthService_CreateAPIKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateAPIKeyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthServiceServer).CreateAPIKey(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.authservice.v1.AuthService/CreateAPIKey", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthServiceServer).CreateAPIKey(ctx, req.(*CreateAPIKeyRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AuthService_GetAPIKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAPIKeysRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthServiceServer).GetAPIKeys(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.authservice.v1.AuthService/GetAPIKeys", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthServiceServer).GetAPIKeys(ctx, req.(*GetAPIKeysRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AuthService_GetAPIKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAPIKeyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthServiceServer).GetAPIKey(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.authservice.v1.AuthService/GetAPIKey", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthServiceServer).GetAPIKey(ctx, req.(*GetAPIKeyRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AuthService_DeleteAPIKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteAPIKeyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthServiceServer).DeleteAPIKey(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.authservice.v1.AuthService/DeleteAPIKey", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthServiceServer).DeleteAPIKey(ctx, req.(*DeleteAPIKeyRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AuthService_UpdateAPIKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateAPIKeyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthServiceServer).UpdateAPIKey(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.authservice.v1.AuthService/UpdateAPIKey", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthServiceServer).UpdateAPIKey(ctx, req.(*UpdateAPIKeyRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AuthService_GetServiceAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetServiceAccountRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthServiceServer).GetServiceAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.authservice.v1.AuthService/GetServiceAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthServiceServer).GetServiceAccount(ctx, req.(*GetServiceAccountRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AuthService_GetServiceAccounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetServiceAccountsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthServiceServer).GetServiceAccounts(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.authservice.v1.AuthService/GetServiceAccounts", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthServiceServer).GetServiceAccounts(ctx, req.(*GetServiceAccountsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AuthService_CreateServiceAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateServiceAccountRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthServiceServer).CreateServiceAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.authservice.v1.AuthService/CreateServiceAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthServiceServer).CreateServiceAccount(ctx, req.(*CreateServiceAccountRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AuthService_CreateServiceAccountAPIKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateServiceAccountAPIKeyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthServiceServer).CreateServiceAccountAPIKey(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.authservice.v1.AuthService/CreateServiceAccountAPIKey", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthServiceServer).CreateServiceAccountAPIKey(ctx, req.(*CreateServiceAccountAPIKeyRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AuthService_UpdateServiceAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateServiceAccountRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthServiceServer).UpdateServiceAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.authservice.v1.AuthService/UpdateServiceAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthServiceServer).UpdateServiceAccount(ctx, req.(*UpdateServiceAccountRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AuthService_DeleteServiceAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteServiceAccountRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthServiceServer).DeleteServiceAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.authservice.v1.AuthService/DeleteServiceAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthServiceServer).DeleteServiceAccount(ctx, req.(*DeleteServiceAccountRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var AuthService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "api.authservice.v1.AuthService", + HandlerType: (*AuthServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetRole", + Handler: _AuthService_GetRole_Handler, + }, + { + MethodName: "GetRoles", + Handler: _AuthService_GetRoles_Handler, + }, + { + MethodName: "GetRolesByPermissions", + Handler: _AuthService_GetRolesByPermissions_Handler, + }, + { + MethodName: "GetUsers", + Handler: _AuthService_GetUsers_Handler, + }, + { + MethodName: "GetUser", + Handler: _AuthService_GetUser_Handler, + }, + { + MethodName: "InviteUsers", + Handler: _AuthService_InviteUsers_Handler, + }, + { + MethodName: "ResendUserInvite", + Handler: _AuthService_ResendUserInvite_Handler, + }, + { + MethodName: "UpdateUser", + Handler: _AuthService_UpdateUser_Handler, + }, + { + MethodName: "DeleteUser", + Handler: _AuthService_DeleteUser_Handler, + }, + { + MethodName: "UpdateUserNamespacePermissions", + Handler: _AuthService_UpdateUserNamespacePermissions_Handler, + }, + { + MethodName: "UpdateIdentityNamespacePermissions", + Handler: _AuthService_UpdateIdentityNamespacePermissions_Handler, + }, + { + MethodName: "CreateAPIKey", + Handler: _AuthService_CreateAPIKey_Handler, + }, + { + MethodName: "GetAPIKeys", + Handler: _AuthService_GetAPIKeys_Handler, + }, + { + MethodName: "GetAPIKey", + Handler: _AuthService_GetAPIKey_Handler, + }, + { + MethodName: "DeleteAPIKey", + Handler: _AuthService_DeleteAPIKey_Handler, + }, + { + MethodName: "UpdateAPIKey", + Handler: _AuthService_UpdateAPIKey_Handler, + }, + { + MethodName: "GetServiceAccount", + Handler: _AuthService_GetServiceAccount_Handler, + }, + { + MethodName: "GetServiceAccounts", + Handler: _AuthService_GetServiceAccounts_Handler, + }, + { + MethodName: "CreateServiceAccount", + Handler: _AuthService_CreateServiceAccount_Handler, + }, + { + MethodName: "CreateServiceAccountAPIKey", + Handler: _AuthService_CreateServiceAccountAPIKey_Handler, + }, + { + MethodName: "UpdateServiceAccount", + Handler: _AuthService_UpdateServiceAccount_Handler, + }, + { + MethodName: "DeleteServiceAccount", + Handler: _AuthService_DeleteServiceAccount_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "api/authservice/v1/service.proto", +} diff --git a/protogen/api/cloud/account/v1/message.pb.go b/protogen/api/cloud/account/v1/message.pb.go index 2e12669c..7d25483e 100644 --- a/protogen/api/cloud/account/v1/message.pb.go +++ b/protogen/api/cloud/account/v1/message.pb.go @@ -1,33 +1,33 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: temporal/api/cloud/account/v1/message.proto package account import ( - bytes "bytes" - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - types "github.com/gogo/protobuf/types" + proto "github.com/golang/protobuf/proto" v1 "github.com/temporalio/tcld/protogen/api/cloud/resource/v1" v11 "github.com/temporalio/tcld/protogen/api/cloud/sink/v1" - io "io" - math "math" - math_bits "math/bits" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" - strconv "strconv" - strings "strings" + "strconv" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type AuditLogSink_Health int32 @@ -38,160 +38,213 @@ const ( HEALTH_ERROR_USER_CONFIGURATION AuditLogSink_Health = 3 ) -var AuditLogSink_Health_name = map[int32]string{ - 0: "HealthUnspecified", - 1: "HealthOk", - 2: "HealthErrorInternal", - 3: "HealthErrorUserConfiguration", +// Enum value maps for AuditLogSink_Health. +var ( + AuditLogSink_Health_name = map[int32]string{ + 0: "HealthUnspecified", + 1: "HealthOk", + 2: "HealthErrorInternal", + 3: "HealthErrorUserConfiguration", + } + AuditLogSink_Health_value = map[string]int32{ + "HealthUnspecified": 0, + "HealthOk": 1, + "HealthErrorInternal": 2, + "HealthErrorUserConfiguration": 3, + } +) + +func (x AuditLogSink_Health) Enum() *AuditLogSink_Health { + p := new(AuditLogSink_Health) + *p = x + return p +} + +func (x AuditLogSink_Health) String() string { + switch x { + case HEALTH_UNSPECIFIED: + return "HealthUnspecified" + case HEALTH_OK: + return "HealthOk" + case HEALTH_ERROR_INTERNAL: + return "HealthErrorInternal" + case HEALTH_ERROR_USER_CONFIGURATION: + return "HealthErrorUserConfiguration" + default: + return strconv.Itoa(int(x)) + } + +} + +func (AuditLogSink_Health) Descriptor() protoreflect.EnumDescriptor { + return file_temporal_api_cloud_account_v1_message_proto_enumTypes[0].Descriptor() +} + +func (AuditLogSink_Health) Type() protoreflect.EnumType { + return &file_temporal_api_cloud_account_v1_message_proto_enumTypes[0] } -var AuditLogSink_Health_value = map[string]int32{ - "HealthUnspecified": 0, - "HealthOk": 1, - "HealthErrorInternal": 2, - "HealthErrorUserConfiguration": 3, +func (x AuditLogSink_Health) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use AuditLogSink_Health.Descriptor instead. func (AuditLogSink_Health) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0da0883d6b494eb5, []int{5, 0} + return file_temporal_api_cloud_account_v1_message_proto_rawDescGZIP(), []int{5, 0} } type MetricsSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The ca cert(s) in PEM format that clients connecting to the metrics endpoint can use for authentication. // This must only be one value, but the CA can have a chain. AcceptedClientCa []byte `protobuf:"bytes,2,opt,name=accepted_client_ca,json=acceptedClientCa,proto3" json:"accepted_client_ca,omitempty"` } -func (m *MetricsSpec) Reset() { *m = MetricsSpec{} } -func (*MetricsSpec) ProtoMessage() {} -func (*MetricsSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_0da0883d6b494eb5, []int{0} -} -func (m *MetricsSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MetricsSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MetricsSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *MetricsSpec) Reset() { + *x = MetricsSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_account_v1_message_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *MetricsSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_MetricsSpec.Merge(m, src) -} -func (m *MetricsSpec) XXX_Size() int { - return m.Size() + +func (x *MetricsSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MetricsSpec) XXX_DiscardUnknown() { - xxx_messageInfo_MetricsSpec.DiscardUnknown(m) + +func (*MetricsSpec) ProtoMessage() {} + +func (x *MetricsSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_account_v1_message_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_MetricsSpec proto.InternalMessageInfo +// Deprecated: Use MetricsSpec.ProtoReflect.Descriptor instead. +func (*MetricsSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_account_v1_message_proto_rawDescGZIP(), []int{0} +} -func (m *MetricsSpec) GetAcceptedClientCa() []byte { - if m != nil { - return m.AcceptedClientCa +func (x *MetricsSpec) GetAcceptedClientCa() []byte { + if x != nil { + return x.AcceptedClientCa } return nil } type AccountSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The metrics specification for this account. // If not specified, metrics will not be enabled. Metrics *MetricsSpec `protobuf:"bytes,1,opt,name=metrics,proto3" json:"metrics,omitempty"` } -func (m *AccountSpec) Reset() { *m = AccountSpec{} } -func (*AccountSpec) ProtoMessage() {} -func (*AccountSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_0da0883d6b494eb5, []int{1} -} -func (m *AccountSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AccountSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AccountSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AccountSpec) Reset() { + *x = AccountSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_account_v1_message_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AccountSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountSpec.Merge(m, src) -} -func (m *AccountSpec) XXX_Size() int { - return m.Size() + +func (x *AccountSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AccountSpec) XXX_DiscardUnknown() { - xxx_messageInfo_AccountSpec.DiscardUnknown(m) + +func (*AccountSpec) ProtoMessage() {} + +func (x *AccountSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_account_v1_message_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_AccountSpec proto.InternalMessageInfo +// Deprecated: Use AccountSpec.ProtoReflect.Descriptor instead. +func (*AccountSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_account_v1_message_proto_rawDescGZIP(), []int{1} +} -func (m *AccountSpec) GetMetrics() *MetricsSpec { - if m != nil { - return m.Metrics +func (x *AccountSpec) GetMetrics() *MetricsSpec { + if x != nil { + return x.Metrics } return nil } type Metrics struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The prometheus metrics endpoint uri. // This is only populated when the metrics is enabled in the metrics specification. Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` } -func (m *Metrics) Reset() { *m = Metrics{} } -func (*Metrics) ProtoMessage() {} -func (*Metrics) Descriptor() ([]byte, []int) { - return fileDescriptor_0da0883d6b494eb5, []int{2} -} -func (m *Metrics) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Metrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Metrics.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Metrics) Reset() { + *x = Metrics{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_account_v1_message_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Metrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_Metrics.Merge(m, src) -} -func (m *Metrics) XXX_Size() int { - return m.Size() + +func (x *Metrics) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Metrics) XXX_DiscardUnknown() { - xxx_messageInfo_Metrics.DiscardUnknown(m) + +func (*Metrics) ProtoMessage() {} + +func (x *Metrics) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_account_v1_message_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Metrics proto.InternalMessageInfo +// Deprecated: Use Metrics.ProtoReflect.Descriptor instead. +func (*Metrics) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_account_v1_message_proto_rawDescGZIP(), []int{2} +} -func (m *Metrics) GetUri() string { - if m != nil { - return m.Uri +func (x *Metrics) GetUri() string { + if x != nil { + return x.Uri } return "" } type Account struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the account. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The account specification. @@ -207,85 +260,90 @@ type Account struct { Metrics *Metrics `protobuf:"bytes,6,opt,name=metrics,proto3" json:"metrics,omitempty"` } -func (m *Account) Reset() { *m = Account{} } -func (*Account) ProtoMessage() {} -func (*Account) Descriptor() ([]byte, []int) { - return fileDescriptor_0da0883d6b494eb5, []int{3} -} -func (m *Account) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Account.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Account) Reset() { + *x = Account{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_account_v1_message_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Account) XXX_Merge(src proto.Message) { - xxx_messageInfo_Account.Merge(m, src) -} -func (m *Account) XXX_Size() int { - return m.Size() + +func (x *Account) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Account) XXX_DiscardUnknown() { - xxx_messageInfo_Account.DiscardUnknown(m) + +func (*Account) ProtoMessage() {} + +func (x *Account) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_account_v1_message_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Account proto.InternalMessageInfo +// Deprecated: Use Account.ProtoReflect.Descriptor instead. +func (*Account) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_account_v1_message_proto_rawDescGZIP(), []int{3} +} -func (m *Account) GetId() string { - if m != nil { - return m.Id +func (x *Account) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *Account) GetSpec() *AccountSpec { - if m != nil { - return m.Spec +func (x *Account) GetSpec() *AccountSpec { + if x != nil { + return x.Spec } return nil } -func (m *Account) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *Account) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *Account) GetState() v1.ResourceState { - if m != nil { - return m.State +func (x *Account) GetState() v1.ResourceState { + if x != nil { + return x.State } return v1.RESOURCE_STATE_UNSPECIFIED } -func (m *Account) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *Account) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } -func (m *Account) GetMetrics() *Metrics { - if m != nil { - return m.Metrics +func (x *Account) GetMetrics() *Metrics { + if x != nil { + return x.Metrics } return nil } // AuditLogSinkSpec is only used by Audit Log type AuditLogSinkSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Name of the sink e.g. "audit_log_01" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Types that are valid to be assigned to SinkType: + // Types that are assignable to SinkType: + // // *AuditLogSinkSpec_KinesisSink // *AuditLogSinkSpec_PubSubSink SinkType isAuditLogSinkSpec_SinkType `protobuf_oneof:"sink_type"` @@ -293,54 +351,44 @@ type AuditLogSinkSpec struct { Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"` } -func (m *AuditLogSinkSpec) Reset() { *m = AuditLogSinkSpec{} } -func (*AuditLogSinkSpec) ProtoMessage() {} -func (*AuditLogSinkSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_0da0883d6b494eb5, []int{4} -} -func (m *AuditLogSinkSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AuditLogSinkSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AuditLogSinkSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AuditLogSinkSpec) Reset() { + *x = AuditLogSinkSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_account_v1_message_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AuditLogSinkSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuditLogSinkSpec.Merge(m, src) -} -func (m *AuditLogSinkSpec) XXX_Size() int { - return m.Size() -} -func (m *AuditLogSinkSpec) XXX_DiscardUnknown() { - xxx_messageInfo_AuditLogSinkSpec.DiscardUnknown(m) + +func (x *AuditLogSinkSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_AuditLogSinkSpec proto.InternalMessageInfo +func (*AuditLogSinkSpec) ProtoMessage() {} -type isAuditLogSinkSpec_SinkType interface { - isAuditLogSinkSpec_SinkType() - Equal(interface{}) bool - MarshalTo([]byte) (int, error) - Size() int +func (x *AuditLogSinkSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_account_v1_message_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type AuditLogSinkSpec_KinesisSink struct { - KinesisSink *v11.KinesisSpec `protobuf:"bytes,2,opt,name=kinesis_sink,json=kinesisSink,proto3,oneof" json:"kinesis_sink,omitempty"` -} -type AuditLogSinkSpec_PubSubSink struct { - PubSubSink *v11.PubSubSpec `protobuf:"bytes,3,opt,name=pub_sub_sink,json=pubSubSink,proto3,oneof" json:"pub_sub_sink,omitempty"` +// Deprecated: Use AuditLogSinkSpec.ProtoReflect.Descriptor instead. +func (*AuditLogSinkSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_account_v1_message_proto_rawDescGZIP(), []int{4} } -func (*AuditLogSinkSpec_KinesisSink) isAuditLogSinkSpec_SinkType() {} -func (*AuditLogSinkSpec_PubSubSink) isAuditLogSinkSpec_SinkType() {} +func (x *AuditLogSinkSpec) GetName() string { + if x != nil { + return x.Name + } + return "" +} func (m *AuditLogSinkSpec) GetSinkType() isAuditLogSinkSpec_SinkType { if m != nil { @@ -349,45 +397,51 @@ func (m *AuditLogSinkSpec) GetSinkType() isAuditLogSinkSpec_SinkType { return nil } -func (m *AuditLogSinkSpec) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *AuditLogSinkSpec) GetKinesisSink() *v11.KinesisSpec { - if x, ok := m.GetSinkType().(*AuditLogSinkSpec_KinesisSink); ok { +func (x *AuditLogSinkSpec) GetKinesisSink() *v11.KinesisSpec { + if x, ok := x.GetSinkType().(*AuditLogSinkSpec_KinesisSink); ok { return x.KinesisSink } return nil } -func (m *AuditLogSinkSpec) GetPubSubSink() *v11.PubSubSpec { - if x, ok := m.GetSinkType().(*AuditLogSinkSpec_PubSubSink); ok { +func (x *AuditLogSinkSpec) GetPubSubSink() *v11.PubSubSpec { + if x, ok := x.GetSinkType().(*AuditLogSinkSpec_PubSubSink); ok { return x.PubSubSink } return nil } -func (m *AuditLogSinkSpec) GetEnabled() bool { - if m != nil { - return m.Enabled +func (x *AuditLogSinkSpec) GetEnabled() bool { + if x != nil { + return x.Enabled } return false } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*AuditLogSinkSpec) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*AuditLogSinkSpec_KinesisSink)(nil), - (*AuditLogSinkSpec_PubSubSink)(nil), - } +type isAuditLogSinkSpec_SinkType interface { + isAuditLogSinkSpec_SinkType() +} + +type AuditLogSinkSpec_KinesisSink struct { + // The KinesisSpec when destination_type is Kinesis + KinesisSink *v11.KinesisSpec `protobuf:"bytes,2,opt,name=kinesis_sink,json=kinesisSink,proto3,oneof" json:"kinesis_sink,omitempty"` +} + +type AuditLogSinkSpec_PubSubSink struct { + // The PubSubSpec when destination_type is PubSub + PubSubSink *v11.PubSubSpec `protobuf:"bytes,3,opt,name=pub_sub_sink,json=pubSubSink,proto3,oneof" json:"pub_sub_sink,omitempty"` } +func (*AuditLogSinkSpec_KinesisSink) isAuditLogSinkSpec_SinkType() {} + +func (*AuditLogSinkSpec_PubSubSink) isAuditLogSinkSpec_SinkType() {} + // AuditLogSink is only used by Audit Log -// temporal:dev type AuditLogSink struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Name of the sink e.g. "audit_log_01" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The version of the audit log sink resource. @@ -401,2131 +455,347 @@ type AuditLogSink struct { // An error message describing any issues with the audit log sink, if applicable. ErrorMessage string `protobuf:"bytes,6,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // The last succeeded timestamp for the internal workflow responsible for adding data to the sink. - LastSucceededTime *types.Timestamp `protobuf:"bytes,7,opt,name=last_succeeded_time,json=lastSucceededTime,proto3" json:"last_succeeded_time,omitempty"` + LastSucceededTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_succeeded_time,json=lastSucceededTime,proto3" json:"last_succeeded_time,omitempty"` } -func (m *AuditLogSink) Reset() { *m = AuditLogSink{} } -func (*AuditLogSink) ProtoMessage() {} -func (*AuditLogSink) Descriptor() ([]byte, []int) { - return fileDescriptor_0da0883d6b494eb5, []int{5} -} -func (m *AuditLogSink) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AuditLogSink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AuditLogSink.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AuditLogSink) Reset() { + *x = AuditLogSink{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_account_v1_message_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AuditLogSink) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuditLogSink.Merge(m, src) -} -func (m *AuditLogSink) XXX_Size() int { - return m.Size() + +func (x *AuditLogSink) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AuditLogSink) XXX_DiscardUnknown() { - xxx_messageInfo_AuditLogSink.DiscardUnknown(m) + +func (*AuditLogSink) ProtoMessage() {} + +func (x *AuditLogSink) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_account_v1_message_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_AuditLogSink proto.InternalMessageInfo +// Deprecated: Use AuditLogSink.ProtoReflect.Descriptor instead. +func (*AuditLogSink) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_account_v1_message_proto_rawDescGZIP(), []int{5} +} -func (m *AuditLogSink) GetName() string { - if m != nil { - return m.Name +func (x *AuditLogSink) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *AuditLogSink) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *AuditLogSink) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *AuditLogSink) GetState() v1.ResourceState { - if m != nil { - return m.State +func (x *AuditLogSink) GetState() v1.ResourceState { + if x != nil { + return x.State } return v1.RESOURCE_STATE_UNSPECIFIED } -func (m *AuditLogSink) GetSpec() *AuditLogSinkSpec { - if m != nil { - return m.Spec +func (x *AuditLogSink) GetSpec() *AuditLogSinkSpec { + if x != nil { + return x.Spec } return nil } -func (m *AuditLogSink) GetHealth() AuditLogSink_Health { - if m != nil { - return m.Health +func (x *AuditLogSink) GetHealth() AuditLogSink_Health { + if x != nil { + return x.Health } return HEALTH_UNSPECIFIED } -func (m *AuditLogSink) GetErrorMessage() string { - if m != nil { - return m.ErrorMessage +func (x *AuditLogSink) GetErrorMessage() string { + if x != nil { + return x.ErrorMessage } return "" } -func (m *AuditLogSink) GetLastSucceededTime() *types.Timestamp { - if m != nil { - return m.LastSucceededTime +func (x *AuditLogSink) GetLastSucceededTime() *timestamppb.Timestamp { + if x != nil { + return x.LastSucceededTime } return nil } -func init() { - proto.RegisterEnum("temporal.api.cloud.account.v1.AuditLogSink_Health", AuditLogSink_Health_name, AuditLogSink_Health_value) - proto.RegisterType((*MetricsSpec)(nil), "temporal.api.cloud.account.v1.MetricsSpec") - proto.RegisterType((*AccountSpec)(nil), "temporal.api.cloud.account.v1.AccountSpec") - proto.RegisterType((*Metrics)(nil), "temporal.api.cloud.account.v1.Metrics") - proto.RegisterType((*Account)(nil), "temporal.api.cloud.account.v1.Account") - proto.RegisterType((*AuditLogSinkSpec)(nil), "temporal.api.cloud.account.v1.AuditLogSinkSpec") - proto.RegisterType((*AuditLogSink)(nil), "temporal.api.cloud.account.v1.AuditLogSink") -} - -func init() { - proto.RegisterFile("temporal/api/cloud/account/v1/message.proto", fileDescriptor_0da0883d6b494eb5) -} - -var fileDescriptor_0da0883d6b494eb5 = []byte{ - // 798 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xcf, 0x6e, 0xfb, 0x44, - 0x10, 0xb6, 0x9d, 0x34, 0x21, 0x9b, 0xb4, 0x98, 0x45, 0xa0, 0x50, 0x84, 0x1b, 0xa5, 0x12, 0x04, - 0x5a, 0x6c, 0x25, 0xdc, 0x5c, 0x09, 0x91, 0xa6, 0x29, 0x49, 0x9b, 0x26, 0xd1, 0x3a, 0xed, 0x81, - 0x8b, 0xe5, 0xd8, 0x4b, 0xba, 0x6a, 0xe2, 0xb5, 0xfc, 0xa7, 0x52, 0x6f, 0x5c, 0xb8, 0xf3, 0x18, - 0x88, 0x37, 0xe0, 0x0d, 0x38, 0xf6, 0x58, 0x89, 0x0b, 0x4d, 0x0f, 0x20, 0x4e, 0x7d, 0x04, 0xb4, - 0xeb, 0xb5, 0x1a, 0x68, 0x68, 0x41, 0xbf, 0x43, 0x24, 0xef, 0xcc, 0xf7, 0x7d, 0xb3, 0xf3, 0xed, - 0x68, 0x02, 0xf6, 0x62, 0xbc, 0x08, 0x68, 0xe8, 0xcc, 0x0d, 0x27, 0x20, 0x86, 0x3b, 0xa7, 0x89, - 0x67, 0x38, 0xae, 0x4b, 0x13, 0x3f, 0x36, 0xae, 0x9b, 0xc6, 0x02, 0x47, 0x91, 0x33, 0xc3, 0x7a, - 0x10, 0xd2, 0x98, 0xc2, 0x8f, 0x32, 0xb0, 0xee, 0x04, 0x44, 0xe7, 0x60, 0x5d, 0x80, 0xf5, 0xeb, - 0xe6, 0xf6, 0xfe, 0x1a, 0xad, 0x10, 0x47, 0x34, 0x09, 0x5d, 0xfc, 0x4c, 0x6c, 0xbb, 0xb1, 0x06, - 0x1d, 0x11, 0xff, 0xea, 0x39, 0x72, 0x67, 0x46, 0xe9, 0x6c, 0x8e, 0x0d, 0x7e, 0x9a, 0x26, 0xdf, - 0x1a, 0x31, 0x59, 0xe0, 0x28, 0x76, 0x16, 0x41, 0x0a, 0xa8, 0x1f, 0x80, 0xf2, 0x19, 0x8e, 0x43, - 0xe2, 0x46, 0x56, 0x80, 0x5d, 0xb8, 0x0f, 0xa0, 0xe3, 0xba, 0x38, 0x88, 0xb1, 0x67, 0xbb, 0x73, - 0x82, 0xfd, 0xd8, 0x76, 0x9d, 0xaa, 0x52, 0x93, 0x1b, 0x15, 0xa4, 0x66, 0x99, 0x0e, 0x4f, 0x74, - 0x9c, 0xba, 0x05, 0xca, 0xed, 0xb4, 0x07, 0x4e, 0x3e, 0x02, 0xc5, 0x45, 0xaa, 0x55, 0x95, 0x6b, - 0x72, 0xa3, 0xdc, 0xfa, 0x4c, 0x7f, 0xb1, 0x6b, 0x7d, 0xa5, 0x32, 0xca, 0xa8, 0xf5, 0x0f, 0x41, - 0x51, 0xc4, 0xa1, 0x0a, 0x72, 0x49, 0x48, 0xb8, 0x58, 0x09, 0xb1, 0xcf, 0xfa, 0xcf, 0x0a, 0x28, - 0x8a, 0x92, 0x70, 0x0b, 0x28, 0xc4, 0x13, 0x49, 0x85, 0x78, 0xf0, 0x4b, 0x90, 0x8f, 0x02, 0xec, - 0xf2, 0xdb, 0xbe, 0x5e, 0x7b, 0xe5, 0xe2, 0x88, 0xf3, 0xe0, 0xa7, 0x40, 0xcd, 0x2c, 0xb7, 0xaf, - 0x71, 0x18, 0x11, 0xea, 0x57, 0x73, 0x5c, 0xfd, 0xed, 0x2c, 0x7e, 0x91, 0x86, 0x61, 0x07, 0x6c, - 0x44, 0xb1, 0x13, 0xe3, 0x6a, 0xbe, 0x26, 0x37, 0xb6, 0x5a, 0x9f, 0xaf, 0xab, 0x95, 0x71, 0x58, - 0x31, 0x24, 0xbe, 0x2d, 0x46, 0x42, 0x29, 0x97, 0x7b, 0x1d, 0xdd, 0xf8, 0xae, 0x4d, 0x03, 0x1c, - 0x3a, 0x31, 0xa1, 0xbe, 0x4d, 0xbc, 0xea, 0x06, 0xaf, 0xa8, 0xf2, 0xcc, 0x28, 0x4b, 0xf4, 0x3d, - 0xf8, 0xd5, 0x93, 0xb9, 0x05, 0xde, 0xe0, 0xc7, 0xff, 0xcd, 0xdc, 0x27, 0x63, 0x7f, 0x97, 0x81, - 0xda, 0x4e, 0x3c, 0x12, 0x0f, 0xe8, 0xcc, 0x22, 0xfe, 0x15, 0x7f, 0x33, 0x08, 0xf2, 0xbe, 0xb3, - 0xc0, 0xc2, 0x46, 0xfe, 0x0d, 0x07, 0xa0, 0x72, 0x45, 0x7c, 0x1c, 0x91, 0xc8, 0x66, 0x53, 0x25, - 0x0c, 0xfd, 0x64, 0x5d, 0x3d, 0x96, 0x67, 0xc5, 0x4e, 0x53, 0x3c, 0x93, 0xec, 0x49, 0xa8, 0x2c, - 0xe8, 0xac, 0x0a, 0x3c, 0x01, 0x95, 0x20, 0x99, 0xda, 0x11, 0xfb, 0x31, 0xb5, 0xdc, 0xbf, 0xdf, - 0x3e, 0x53, 0x1b, 0x27, 0x53, 0x2b, 0x99, 0x0a, 0x31, 0x10, 0xa4, 0x27, 0xa6, 0x55, 0x05, 0x45, - 0xec, 0x3b, 0xd3, 0x39, 0xf6, 0xb8, 0xf3, 0x6f, 0xa1, 0xec, 0x78, 0x58, 0x06, 0x25, 0xc6, 0xb6, - 0xe3, 0x9b, 0x00, 0xd7, 0xbf, 0xcf, 0x83, 0xca, 0x6a, 0xa7, 0x6b, 0xbb, 0x5c, 0xf7, 0xdc, 0xca, - 0x2b, 0xcf, 0x9d, 0x7b, 0x83, 0xe7, 0xee, 0x88, 0xf1, 0xcc, 0xf3, 0xfe, 0x8d, 0xd7, 0xc6, 0xf3, - 0x1f, 0x0f, 0x25, 0x66, 0xf4, 0x04, 0x14, 0x2e, 0xb1, 0x33, 0x8f, 0x2f, 0xf9, 0x9c, 0x6c, 0xb5, - 0x5a, 0xff, 0x43, 0x46, 0xef, 0x71, 0x26, 0x12, 0x0a, 0x70, 0x17, 0x6c, 0xe2, 0x30, 0xa4, 0xa1, - 0x2d, 0x56, 0x06, 0x9f, 0xab, 0x12, 0xaa, 0xf0, 0xe0, 0x59, 0x1a, 0x83, 0x27, 0xe0, 0xdd, 0xb9, - 0x13, 0xc5, 0x76, 0x94, 0xb8, 0x2e, 0xc6, 0x1e, 0xf6, 0x6c, 0xb6, 0x41, 0xaa, 0x45, 0xde, 0xc4, - 0xb6, 0x9e, 0xae, 0x17, 0x3d, 0x5b, 0x2f, 0xfa, 0x24, 0x5b, 0x2f, 0xe8, 0x1d, 0x46, 0xb3, 0x32, - 0x16, 0x8b, 0xd7, 0x29, 0x28, 0xa4, 0x57, 0x80, 0xef, 0x03, 0xd8, 0xeb, 0xb6, 0x07, 0x93, 0x9e, - 0x7d, 0x3e, 0xb4, 0xc6, 0xdd, 0x4e, 0xff, 0xb8, 0xdf, 0x3d, 0x52, 0x25, 0xb8, 0x09, 0x4a, 0x22, - 0x3e, 0x3a, 0x55, 0x65, 0xf8, 0x01, 0x78, 0x4f, 0x1c, 0xbb, 0x08, 0x8d, 0x90, 0xdd, 0x1f, 0x4e, - 0xba, 0x68, 0xd8, 0x1e, 0xa8, 0x0a, 0xdc, 0x05, 0x3b, 0x7f, 0x4b, 0x9d, 0x5b, 0x5d, 0x64, 0x77, - 0x46, 0xc3, 0xe3, 0xfe, 0xd7, 0xe7, 0xa8, 0x3d, 0xe9, 0x8f, 0x86, 0x6a, 0xee, 0xf0, 0x57, 0xf9, - 0xf6, 0x5e, 0x93, 0xee, 0xee, 0x35, 0xe9, 0xf1, 0x5e, 0x93, 0xbf, 0x5b, 0x6a, 0xf2, 0x8f, 0x4b, - 0x4d, 0xfe, 0x65, 0xa9, 0xc9, 0xb7, 0x4b, 0x4d, 0xfe, 0x6d, 0xa9, 0xc9, 0x7f, 0x2c, 0x35, 0xe9, - 0x71, 0xa9, 0xc9, 0x3f, 0x3c, 0x68, 0xd2, 0xed, 0x83, 0x26, 0xdd, 0x3d, 0x68, 0x12, 0xa8, 0x11, - 0xfa, 0xb2, 0xad, 0x87, 0x15, 0x61, 0xcf, 0x98, 0xf5, 0x3d, 0x96, 0xbf, 0xd9, 0x9b, 0xad, 0x30, - 0x08, 0x5d, 0xfb, 0x87, 0x70, 0x20, 0x3e, 0x7f, 0x52, 0x76, 0x26, 0x02, 0x4a, 0xa8, 0xde, 0x0e, - 0x88, 0xde, 0xe1, 0xf2, 0x62, 0x21, 0xe9, 0x17, 0xcd, 0x3f, 0x95, 0xdd, 0x27, 0x84, 0x69, 0xb6, - 0x03, 0x62, 0x9a, 0x1c, 0x63, 0x9a, 0x02, 0x64, 0x9a, 0x17, 0xcd, 0x69, 0x81, 0xbb, 0xfe, 0xc5, - 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x4f, 0x20, 0x8a, 0x76, 0x88, 0x06, 0x00, 0x00, -} - -func (x AuditLogSink_Health) String() string { - s, ok := AuditLogSink_Health_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (this *MetricsSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*MetricsSpec) - if !ok { - that2, ok := that.(MetricsSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !bytes.Equal(this.AcceptedClientCa, that1.AcceptedClientCa) { - return false - } - return true -} -func (this *AccountSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*AccountSpec) - if !ok { - that2, ok := that.(AccountSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Metrics.Equal(that1.Metrics) { - return false - } - return true -} -func (this *Metrics) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*Metrics) - if !ok { - that2, ok := that.(Metrics) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Uri != that1.Uri { - return false - } - return true -} -func (this *Account) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*Account) - if !ok { - that2, ok := that.(Account) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Id != that1.Id { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.State != that1.State { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - if !this.Metrics.Equal(that1.Metrics) { - return false - } - return true -} -func (this *AuditLogSinkSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*AuditLogSinkSpec) - if !ok { - that2, ok := that.(AuditLogSinkSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Name != that1.Name { - return false - } - if that1.SinkType == nil { - if this.SinkType != nil { - return false - } - } else if this.SinkType == nil { - return false - } else if !this.SinkType.Equal(that1.SinkType) { - return false - } - if this.Enabled != that1.Enabled { - return false - } - return true -} -func (this *AuditLogSinkSpec_KinesisSink) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*AuditLogSinkSpec_KinesisSink) - if !ok { - that2, ok := that.(AuditLogSinkSpec_KinesisSink) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.KinesisSink.Equal(that1.KinesisSink) { - return false - } - return true -} -func (this *AuditLogSinkSpec_PubSubSink) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*AuditLogSinkSpec_PubSubSink) - if !ok { - that2, ok := that.(AuditLogSinkSpec_PubSubSink) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.PubSubSink.Equal(that1.PubSubSink) { - return false - } - return true -} -func (this *AuditLogSink) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*AuditLogSink) - if !ok { - that2, ok := that.(AuditLogSink) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Name != that1.Name { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.State != that1.State { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.Health != that1.Health { - return false - } - if this.ErrorMessage != that1.ErrorMessage { - return false - } - if !this.LastSucceededTime.Equal(that1.LastSucceededTime) { - return false - } - return true -} -func (this *MetricsSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&account.MetricsSpec{") - s = append(s, "AcceptedClientCa: "+fmt.Sprintf("%#v", this.AcceptedClientCa)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *AccountSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&account.AccountSpec{") - if this.Metrics != nil { - s = append(s, "Metrics: "+fmt.Sprintf("%#v", this.Metrics)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *Metrics) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&account.Metrics{") - s = append(s, "Uri: "+fmt.Sprintf("%#v", this.Uri)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *Account) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 10) - s = append(s, "&account.Account{") - s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - if this.Metrics != nil { - s = append(s, "Metrics: "+fmt.Sprintf("%#v", this.Metrics)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *AuditLogSinkSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&account.AuditLogSinkSpec{") - s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") - if this.SinkType != nil { - s = append(s, "SinkType: "+fmt.Sprintf("%#v", this.SinkType)+",\n") - } - s = append(s, "Enabled: "+fmt.Sprintf("%#v", this.Enabled)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *AuditLogSinkSpec_KinesisSink) GoString() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&account.AuditLogSinkSpec_KinesisSink{` + - `KinesisSink:` + fmt.Sprintf("%#v", this.KinesisSink) + `}`}, ", ") - return s -} -func (this *AuditLogSinkSpec_PubSubSink) GoString() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&account.AuditLogSinkSpec_PubSubSink{` + - `PubSubSink:` + fmt.Sprintf("%#v", this.PubSubSink) + `}`}, ", ") - return s -} -func (this *AuditLogSink) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 11) - s = append(s, "&account.AuditLogSink{") - s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "Health: "+fmt.Sprintf("%#v", this.Health)+",\n") - s = append(s, "ErrorMessage: "+fmt.Sprintf("%#v", this.ErrorMessage)+",\n") - if this.LastSucceededTime != nil { - s = append(s, "LastSucceededTime: "+fmt.Sprintf("%#v", this.LastSucceededTime)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func valueToGoStringMessage(v interface{}, typ string) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) -} -func (m *MetricsSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MetricsSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MetricsSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AcceptedClientCa) > 0 { - i -= len(m.AcceptedClientCa) - copy(dAtA[i:], m.AcceptedClientCa) - i = encodeVarintMessage(dAtA, i, uint64(len(m.AcceptedClientCa))) - i-- - dAtA[i] = 0x12 - } - return len(dAtA) - i, nil -} - -func (m *AccountSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AccountSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +var File_temporal_api_cloud_account_v1_message_proto protoreflect.FileDescriptor + +var file_temporal_api_cloud_account_v1_message_proto_rawDesc = []byte{ + 0x0a, 0x2b, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x2c, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, + 0x69, 0x6e, 0x6b, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, + 0x53, 0x70, 0x65, 0x63, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, + 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x10, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x43, 0x61, 0x22, 0x53, 0x0a, 0x0b, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x70, 0x65, + 0x63, 0x12, 0x44, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, + 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x70, 0x65, 0x63, 0x52, 0x07, + 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0x1b, 0x0a, 0x07, 0x4d, 0x65, 0x74, 0x72, 0x69, + 0x63, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x75, 0x72, 0x69, 0x22, 0xb9, 0x02, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x3e, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, + 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x05, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, + 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x40, + 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x26, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, + 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, + 0x22, 0xe7, 0x01, 0x0a, 0x10, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, + 0x6b, 0x53, 0x70, 0x65, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x0c, 0x6b, 0x69, 0x6e, + 0x65, 0x73, 0x69, 0x73, 0x5f, 0x73, 0x69, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x27, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x69, 0x6e, + 0x65, 0x73, 0x69, 0x73, 0x53, 0x70, 0x65, 0x63, 0x48, 0x00, 0x52, 0x0b, 0x6b, 0x69, 0x6e, 0x65, + 0x73, 0x69, 0x73, 0x53, 0x69, 0x6e, 0x6b, 0x12, 0x4a, 0x0a, 0x0c, 0x70, 0x75, 0x62, 0x5f, 0x73, + 0x75, 0x62, 0x5f, 0x73, 0x69, 0x6e, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, + 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x73, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x75, 0x62, 0x53, 0x75, + 0x62, 0x53, 0x70, 0x65, 0x63, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x53, 0x75, 0x62, 0x53, + 0x69, 0x6e, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x42, 0x0b, 0x0a, + 0x09, 0x73, 0x69, 0x6e, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x85, 0x04, 0x0a, 0x0c, 0x41, + 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, + 0x43, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, + 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, + 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, + 0x73, 0x70, 0x65, 0x63, 0x12, 0x4a, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, + 0x6b, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x52, 0x06, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, + 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x4a, 0x0a, 0x13, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x75, + 0x63, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x11, + 0x6c, 0x61, 0x73, 0x74, 0x53, 0x75, 0x63, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x54, 0x69, 0x6d, + 0x65, 0x22, 0x6f, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x12, 0x48, + 0x45, 0x41, 0x4c, 0x54, 0x48, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, + 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x48, 0x45, 0x41, 0x4c, 0x54, 0x48, 0x5f, 0x4f, 0x4b, + 0x10, 0x01, 0x12, 0x19, 0x0a, 0x15, 0x48, 0x45, 0x41, 0x4c, 0x54, 0x48, 0x5f, 0x45, 0x52, 0x52, + 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x10, 0x02, 0x12, 0x23, 0x0a, + 0x1f, 0x48, 0x45, 0x41, 0x4c, 0x54, 0x48, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x55, 0x53, + 0x45, 0x52, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x55, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, + 0x10, 0x03, 0x42, 0xf7, 0x01, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2b, 0x67, 0x6f, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0xa2, 0x02, 0x04, 0x54, 0x41, 0x43, 0x41, 0xaa, 0x02, 0x1d, 0x54, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x41, 0x70, 0x69, 0x2e, 0x43, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1d, 0x54, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x43, 0x6c, 0x6f, 0x75, + 0x64, 0x5c, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x29, 0x54, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x43, 0x6c, 0x6f, 0x75, + 0x64, 0x5c, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x21, 0x54, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, + 0x3a, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } -func (m *AccountSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Metrics != nil { - { - size, err := m.Metrics.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} +var ( + file_temporal_api_cloud_account_v1_message_proto_rawDescOnce sync.Once + file_temporal_api_cloud_account_v1_message_proto_rawDescData = file_temporal_api_cloud_account_v1_message_proto_rawDesc +) -func (m *Metrics) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func file_temporal_api_cloud_account_v1_message_proto_rawDescGZIP() []byte { + file_temporal_api_cloud_account_v1_message_proto_rawDescOnce.Do(func() { + file_temporal_api_cloud_account_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_temporal_api_cloud_account_v1_message_proto_rawDescData) + }) + return file_temporal_api_cloud_account_v1_message_proto_rawDescData +} + +var file_temporal_api_cloud_account_v1_message_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_temporal_api_cloud_account_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_temporal_api_cloud_account_v1_message_proto_goTypes = []interface{}{ + (AuditLogSink_Health)(0), // 0: temporal.api.cloud.account.v1.AuditLogSink.Health + (*MetricsSpec)(nil), // 1: temporal.api.cloud.account.v1.MetricsSpec + (*AccountSpec)(nil), // 2: temporal.api.cloud.account.v1.AccountSpec + (*Metrics)(nil), // 3: temporal.api.cloud.account.v1.Metrics + (*Account)(nil), // 4: temporal.api.cloud.account.v1.Account + (*AuditLogSinkSpec)(nil), // 5: temporal.api.cloud.account.v1.AuditLogSinkSpec + (*AuditLogSink)(nil), // 6: temporal.api.cloud.account.v1.AuditLogSink + (v1.ResourceState)(0), // 7: temporal.api.cloud.resource.v1.ResourceState + (*v11.KinesisSpec)(nil), // 8: temporal.api.cloud.sink.v1.KinesisSpec + (*v11.PubSubSpec)(nil), // 9: temporal.api.cloud.sink.v1.PubSubSpec + (*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp +} +var file_temporal_api_cloud_account_v1_message_proto_depIdxs = []int32{ + 1, // 0: temporal.api.cloud.account.v1.AccountSpec.metrics:type_name -> temporal.api.cloud.account.v1.MetricsSpec + 2, // 1: temporal.api.cloud.account.v1.Account.spec:type_name -> temporal.api.cloud.account.v1.AccountSpec + 7, // 2: temporal.api.cloud.account.v1.Account.state:type_name -> temporal.api.cloud.resource.v1.ResourceState + 3, // 3: temporal.api.cloud.account.v1.Account.metrics:type_name -> temporal.api.cloud.account.v1.Metrics + 8, // 4: temporal.api.cloud.account.v1.AuditLogSinkSpec.kinesis_sink:type_name -> temporal.api.cloud.sink.v1.KinesisSpec + 9, // 5: temporal.api.cloud.account.v1.AuditLogSinkSpec.pub_sub_sink:type_name -> temporal.api.cloud.sink.v1.PubSubSpec + 7, // 6: temporal.api.cloud.account.v1.AuditLogSink.state:type_name -> temporal.api.cloud.resource.v1.ResourceState + 5, // 7: temporal.api.cloud.account.v1.AuditLogSink.spec:type_name -> temporal.api.cloud.account.v1.AuditLogSinkSpec + 0, // 8: temporal.api.cloud.account.v1.AuditLogSink.health:type_name -> temporal.api.cloud.account.v1.AuditLogSink.Health + 10, // 9: temporal.api.cloud.account.v1.AuditLogSink.last_succeeded_time:type_name -> google.protobuf.Timestamp + 10, // [10:10] is the sub-list for method output_type + 10, // [10:10] is the sub-list for method input_type + 10, // [10:10] is the sub-list for extension type_name + 10, // [10:10] is the sub-list for extension extendee + 0, // [0:10] is the sub-list for field type_name +} + +func init() { file_temporal_api_cloud_account_v1_message_proto_init() } +func file_temporal_api_cloud_account_v1_message_proto_init() { + if File_temporal_api_cloud_account_v1_message_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_temporal_api_cloud_account_v1_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_account_v1_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_account_v1_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Metrics); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_account_v1_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Account); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_account_v1_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AuditLogSinkSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_account_v1_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AuditLogSink); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_temporal_api_cloud_account_v1_message_proto_msgTypes[4].OneofWrappers = []interface{}{ + (*AuditLogSinkSpec_KinesisSink)(nil), + (*AuditLogSinkSpec_PubSubSink)(nil), } - return dAtA[:n], nil + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_temporal_api_cloud_account_v1_message_proto_rawDesc, + NumEnums: 1, + NumMessages: 6, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_temporal_api_cloud_account_v1_message_proto_goTypes, + DependencyIndexes: file_temporal_api_cloud_account_v1_message_proto_depIdxs, + EnumInfos: file_temporal_api_cloud_account_v1_message_proto_enumTypes, + MessageInfos: file_temporal_api_cloud_account_v1_message_proto_msgTypes, + }.Build() + File_temporal_api_cloud_account_v1_message_proto = out.File + file_temporal_api_cloud_account_v1_message_proto_rawDesc = nil + file_temporal_api_cloud_account_v1_message_proto_goTypes = nil + file_temporal_api_cloud_account_v1_message_proto_depIdxs = nil } - -func (m *Metrics) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Metrics) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Uri) > 0 { - i -= len(m.Uri) - copy(dAtA[i:], m.Uri) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Uri))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Account) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Account) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Account) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Metrics != nil { - { - size, err := m.Metrics.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x2a - } - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x20 - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AuditLogSinkSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AuditLogSinkSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AuditLogSinkSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Enabled { - i-- - if m.Enabled { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - } - if m.SinkType != nil { - { - size := m.SinkType.Size() - i -= size - if _, err := m.SinkType.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AuditLogSinkSpec_KinesisSink) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AuditLogSinkSpec_KinesisSink) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.KinesisSink != nil { - { - size, err := m.KinesisSink.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - return len(dAtA) - i, nil -} -func (m *AuditLogSinkSpec_PubSubSink) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AuditLogSinkSpec_PubSubSink) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.PubSubSink != nil { - { - size, err := m.PubSubSink.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - return len(dAtA) - i, nil -} -func (m *AuditLogSink) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AuditLogSink) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AuditLogSink) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.LastSucceededTime != nil { - { - size, err := m.LastSucceededTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if len(m.ErrorMessage) > 0 { - i -= len(m.ErrorMessage) - copy(dAtA[i:], m.ErrorMessage) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ErrorMessage))) - i-- - dAtA[i] = 0x32 - } - if m.Health != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.Health)) - i-- - dAtA[i] = 0x28 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x18 - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintMessage(dAtA []byte, offset int, v uint64) int { - offset -= sovMessage(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *MetricsSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.AcceptedClientCa) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *AccountSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Metrics != nil { - l = m.Metrics.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *Metrics) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Uri) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *Account) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Metrics != nil { - l = m.Metrics.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *AuditLogSinkSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.SinkType != nil { - n += m.SinkType.Size() - } - if m.Enabled { - n += 2 - } - return n -} - -func (m *AuditLogSinkSpec_KinesisSink) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.KinesisSink != nil { - l = m.KinesisSink.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} -func (m *AuditLogSinkSpec_PubSubSink) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PubSubSink != nil { - l = m.PubSubSink.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} -func (m *AuditLogSink) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.Health != 0 { - n += 1 + sovMessage(uint64(m.Health)) - } - l = len(m.ErrorMessage) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.LastSucceededTime != nil { - l = m.LastSucceededTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func sovMessage(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozMessage(x uint64) (n int) { - return sovMessage(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (this *MetricsSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&MetricsSpec{`, - `AcceptedClientCa:` + fmt.Sprintf("%v", this.AcceptedClientCa) + `,`, - `}`, - }, "") - return s -} -func (this *AccountSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&AccountSpec{`, - `Metrics:` + strings.Replace(this.Metrics.String(), "MetricsSpec", "MetricsSpec", 1) + `,`, - `}`, - }, "") - return s -} -func (this *Metrics) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&Metrics{`, - `Uri:` + fmt.Sprintf("%v", this.Uri) + `,`, - `}`, - }, "") - return s -} -func (this *Account) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&Account{`, - `Id:` + fmt.Sprintf("%v", this.Id) + `,`, - `Spec:` + strings.Replace(this.Spec.String(), "AccountSpec", "AccountSpec", 1) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `Metrics:` + strings.Replace(this.Metrics.String(), "Metrics", "Metrics", 1) + `,`, - `}`, - }, "") - return s -} -func (this *AuditLogSinkSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&AuditLogSinkSpec{`, - `Name:` + fmt.Sprintf("%v", this.Name) + `,`, - `SinkType:` + fmt.Sprintf("%v", this.SinkType) + `,`, - `Enabled:` + fmt.Sprintf("%v", this.Enabled) + `,`, - `}`, - }, "") - return s -} -func (this *AuditLogSinkSpec_KinesisSink) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&AuditLogSinkSpec_KinesisSink{`, - `KinesisSink:` + strings.Replace(fmt.Sprintf("%v", this.KinesisSink), "KinesisSpec", "v11.KinesisSpec", 1) + `,`, - `}`, - }, "") - return s -} -func (this *AuditLogSinkSpec_PubSubSink) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&AuditLogSinkSpec_PubSubSink{`, - `PubSubSink:` + strings.Replace(fmt.Sprintf("%v", this.PubSubSink), "PubSubSpec", "v11.PubSubSpec", 1) + `,`, - `}`, - }, "") - return s -} -func (this *AuditLogSink) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&AuditLogSink{`, - `Name:` + fmt.Sprintf("%v", this.Name) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `Spec:` + strings.Replace(this.Spec.String(), "AuditLogSinkSpec", "AuditLogSinkSpec", 1) + `,`, - `Health:` + fmt.Sprintf("%v", this.Health) + `,`, - `ErrorMessage:` + fmt.Sprintf("%v", this.ErrorMessage) + `,`, - `LastSucceededTime:` + strings.Replace(fmt.Sprintf("%v", this.LastSucceededTime), "Timestamp", "types.Timestamp", 1) + `,`, - `}`, - }, "") - return s -} -func valueToStringMessage(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) -} -func (m *MetricsSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MetricsSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MetricsSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AcceptedClientCa", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AcceptedClientCa = append(m.AcceptedClientCa[:0], dAtA[iNdEx:postIndex]...) - if m.AcceptedClientCa == nil { - m.AcceptedClientCa = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AccountSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AccountSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AccountSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Metrics", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metrics == nil { - m.Metrics = &MetricsSpec{} - } - if err := m.Metrics.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Metrics) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Metrics: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Metrics: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Uri", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Uri = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Account) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Account: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Account: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &AccountSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= v1.ResourceState(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Metrics", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Metrics == nil { - m.Metrics = &Metrics{} - } - if err := m.Metrics.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AuditLogSinkSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AuditLogSinkSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AuditLogSinkSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field KinesisSink", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &v11.KinesisSpec{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.SinkType = &AuditLogSinkSpec_KinesisSink{v} - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PubSubSink", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &v11.PubSubSpec{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.SinkType = &AuditLogSinkSpec_PubSubSink{v} - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Enabled = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AuditLogSink) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AuditLogSink: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AuditLogSink: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= v1.ResourceState(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &AuditLogSinkSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Health", wireType) - } - m.Health = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Health |= AuditLogSink_Health(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ErrorMessage", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ErrorMessage = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastSucceededTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.LastSucceededTime == nil { - m.LastSucceededTime = &types.Timestamp{} - } - if err := m.LastSucceededTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipMessage(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthMessage - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupMessage - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthMessage - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowMessage = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group") -) diff --git a/protogen/api/cloud/auditlog/v1/message.pb.go b/protogen/api/cloud/auditlog/v1/message.pb.go index afeb5333..f2e7d91d 100644 --- a/protogen/api/cloud/auditlog/v1/message.pb.go +++ b/protogen/api/cloud/auditlog/v1/message.pb.go @@ -1,31 +1,32 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: temporal/api/cloud/auditlog/v1/message.proto package auditlog import ( - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" - types "github.com/gogo/protobuf/types" - io "io" - math "math" - math_bits "math/bits" + proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + structpb "google.golang.org/protobuf/types/known/structpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" - strconv "strconv" - strings "strings" + "strconv" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 // temporal:dev type LogCategory int32 @@ -36,20 +37,55 @@ const ( LOG_CATEGORY_SYSTEM LogCategory = 2 ) -var LogCategory_name = map[int32]string{ - 0: "Unspecified", - 1: "Admin", - 2: "System", +// Enum value maps for LogCategory. +var ( + LogCategory_name = map[int32]string{ + 0: "LogCategoryUnspecified", + 1: "LogCategoryAdmin", + 2: "LogCategorySystem", + } + LogCategory_value = map[string]int32{ + "LogCategoryUnspecified": 0, + "LogCategoryAdmin": 1, + "LogCategorySystem": 2, + } +) + +func (x LogCategory) Enum() *LogCategory { + p := new(LogCategory) + *p = x + return p +} + +func (x LogCategory) String() string { + switch x { + case LOG_CATEGORY_UNSPECIFIED: + return "Unspecified" + case LOG_CATEGORY_ADMIN: + return "Admin" + case LOG_CATEGORY_SYSTEM: + return "System" + default: + return strconv.Itoa(int(x)) + } + +} + +func (LogCategory) Descriptor() protoreflect.EnumDescriptor { + return file_temporal_api_cloud_auditlog_v1_message_proto_enumTypes[0].Descriptor() +} + +func (LogCategory) Type() protoreflect.EnumType { + return &file_temporal_api_cloud_auditlog_v1_message_proto_enumTypes[0] } -var LogCategory_value = map[string]int32{ - "Unspecified": 0, - "Admin": 1, - "System": 2, +func (x LogCategory) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use LogCategory.Descriptor instead. func (LogCategory) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_283286ea48ab34f8, []int{0} + return file_temporal_api_cloud_auditlog_v1_message_proto_rawDescGZIP(), []int{0} } // temporal:dev @@ -64,195 +100,266 @@ const ( LOG_LEVEL_FATAL LogLevel = 5 ) -var LogLevel_name = map[int32]string{ - 0: "Unspecified", - 1: "Info", - 2: "Debug", - 3: "Warn", - 4: "Error", - 5: "Fatal", +// Enum value maps for LogLevel. +var ( + LogLevel_name = map[int32]string{ + 0: "LogLevelUnspecified", + 1: "LogLevelInfo", + 2: "LogLevelDebug", + 3: "LogLevelWarn", + 4: "LogLevelError", + 5: "LogLevelFatal", + } + LogLevel_value = map[string]int32{ + "LogLevelUnspecified": 0, + "LogLevelInfo": 1, + "LogLevelDebug": 2, + "LogLevelWarn": 3, + "LogLevelError": 4, + "LogLevelFatal": 5, + } +) + +func (x LogLevel) Enum() *LogLevel { + p := new(LogLevel) + *p = x + return p +} + +func (x LogLevel) String() string { + switch x { + case LOG_LEVEL_UNSPECIFIED: + return "Unspecified" + case LOG_LEVEL_INFO: + return "Info" + case LOG_LEVEL_DEBUG: + return "Debug" + case LOG_LEVEL_WARN: + return "Warn" + case LOG_LEVEL_ERROR: + return "Error" + case LOG_LEVEL_FATAL: + return "Fatal" + default: + return strconv.Itoa(int(x)) + } + +} + +func (LogLevel) Descriptor() protoreflect.EnumDescriptor { + return file_temporal_api_cloud_auditlog_v1_message_proto_enumTypes[1].Descriptor() +} + +func (LogLevel) Type() protoreflect.EnumType { + return &file_temporal_api_cloud_auditlog_v1_message_proto_enumTypes[1] } -var LogLevel_value = map[string]int32{ - "Unspecified": 0, - "Info": 1, - "Debug": 2, - "Warn": 3, - "Error": 4, - "Fatal": 5, +func (x LogLevel) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use LogLevel.Descriptor instead. func (LogLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_283286ea48ab34f8, []int{1} + return file_temporal_api_cloud_auditlog_v1_message_proto_rawDescGZIP(), []int{1} } // LogRecord represents an audit log entry from Temporal, structured for easy parsing and analysis. -// temporal:dev type LogRecord struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Time when the log was emitted from the source - EmitTime *types.Timestamp `protobuf:"bytes,1,opt,name=emit_time,json=emitTime,proto3" json:"emit_time,omitempty"` + EmitTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=emit_time,json=emitTime,proto3" json:"emit_time,omitempty"` // Deprecated, we should use status field to represent the request status, and level field seems not being used. - Level LogLevel `protobuf:"varint,2,opt,name=level,proto3,enum=temporal.api.cloud.auditlog.v1.LogLevel" json:"level,omitempty"` // Deprecated: Do not use. + // temporal:dev + // + // Deprecated: Do not use. + Level LogLevel `protobuf:"varint,2,opt,name=level,proto3,enum=temporal.api.cloud.auditlog.v1.LogLevel" json:"level,omitempty"` // Deprecated, we've been using principal field to show the agent to do the request - UserEmail string `protobuf:"bytes,3,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` // Deprecated: Do not use. + // temporal:dev + // + // Deprecated: Do not use. + UserEmail string `protobuf:"bytes,3,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` // Changed to use x_forwarded_for to be more accurate name - CallerIpAddress string `protobuf:"bytes,4,opt,name=caller_ip_address,json=callerIpAddress,proto3" json:"caller_ip_address,omitempty"` // Deprecated: Do not use. + // temporal:dev + // + // Deprecated: Do not use. + CallerIpAddress string `protobuf:"bytes,4,opt,name=caller_ip_address,json=callerIpAddress,proto3" json:"caller_ip_address,omitempty"` // Operation performed Operation string `protobuf:"bytes,5,opt,name=operation,proto3" json:"operation,omitempty"` // Deprecated, we will use the raw_details field to capture and expose the request details to the customer. // The raw_details field will be assigned the value of the 'gprc.raw_request' header. If it has raw cert data // we will use the fingerprint of it instead. - Details *OperationDetail `protobuf:"bytes,6,opt,name=details,proto3" json:"details,omitempty"` // Deprecated: Do not use. + // temporal:dev + // + // Deprecated: Do not use. + Details *OperationDetail `protobuf:"bytes,6,opt,name=details,proto3" json:"details,omitempty"` // Operation status from API call Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"` // Deprecated, this was an old design, and it has not been used. - Category LogCategory `protobuf:"varint,8,opt,name=category,proto3,enum=temporal.api.cloud.auditlog.v1.LogCategory" json:"category,omitempty"` // Deprecated: Do not use. + // temporal:dev + // + // Deprecated: Do not use. + Category LogCategory `protobuf:"varint,8,opt,name=category,proto3,enum=temporal.api.cloud.auditlog.v1.LogCategory" json:"category,omitempty"` // Specifies the version of the log entry to distinguish between different systems on the server side. Version int32 `protobuf:"varint,9,opt,name=version,proto3" json:"version,omitempty"` // Unique ID for the log record. LogId string `protobuf:"bytes,10,opt,name=log_id,json=logId,proto3" json:"log_id,omitempty"` // Request ID / Async Operation ID - RequestId string `protobuf:"bytes,11,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // Deprecated: Do not use. + // temporal:dev + // + // Deprecated: Do not use. + RequestId string `protobuf:"bytes,11,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // Principal struct Principal *Principal `protobuf:"bytes,12,opt,name=principal,proto3" json:"principal,omitempty"` + // Raw request details - comment out for now, will need to wait for gogo deprecation to add it back + RawDetails *structpb.Struct `protobuf:"bytes,13,opt,name=raw_details,json=rawDetails,proto3" json:"raw_details,omitempty"` // x_forwarded_for, capture the chain of ip address from the caller XForwardedFor string `protobuf:"bytes,14,opt,name=x_forwarded_for,json=xForwardedFor,proto3" json:"x_forwarded_for,omitempty"` // Request ID / Async Operation ID AsyncOperationId string `protobuf:"bytes,15,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *LogRecord) Reset() { *m = LogRecord{} } -func (*LogRecord) ProtoMessage() {} -func (*LogRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_283286ea48ab34f8, []int{0} -} -func (m *LogRecord) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *LogRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_LogRecord.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *LogRecord) Reset() { + *x = LogRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *LogRecord) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogRecord.Merge(m, src) -} -func (m *LogRecord) XXX_Size() int { - return m.Size() + +func (x *LogRecord) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LogRecord) XXX_DiscardUnknown() { - xxx_messageInfo_LogRecord.DiscardUnknown(m) + +func (*LogRecord) ProtoMessage() {} + +func (x *LogRecord) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_LogRecord proto.InternalMessageInfo +// Deprecated: Use LogRecord.ProtoReflect.Descriptor instead. +func (*LogRecord) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_auditlog_v1_message_proto_rawDescGZIP(), []int{0} +} -func (m *LogRecord) GetEmitTime() *types.Timestamp { - if m != nil { - return m.EmitTime +func (x *LogRecord) GetEmitTime() *timestamppb.Timestamp { + if x != nil { + return x.EmitTime } return nil } // Deprecated: Do not use. -func (m *LogRecord) GetLevel() LogLevel { - if m != nil { - return m.Level +func (x *LogRecord) GetLevel() LogLevel { + if x != nil { + return x.Level } return LOG_LEVEL_UNSPECIFIED } // Deprecated: Do not use. -func (m *LogRecord) GetUserEmail() string { - if m != nil { - return m.UserEmail +func (x *LogRecord) GetUserEmail() string { + if x != nil { + return x.UserEmail } return "" } // Deprecated: Do not use. -func (m *LogRecord) GetCallerIpAddress() string { - if m != nil { - return m.CallerIpAddress +func (x *LogRecord) GetCallerIpAddress() string { + if x != nil { + return x.CallerIpAddress } return "" } -func (m *LogRecord) GetOperation() string { - if m != nil { - return m.Operation +func (x *LogRecord) GetOperation() string { + if x != nil { + return x.Operation } return "" } // Deprecated: Do not use. -func (m *LogRecord) GetDetails() *OperationDetail { - if m != nil { - return m.Details +func (x *LogRecord) GetDetails() *OperationDetail { + if x != nil { + return x.Details } return nil } -func (m *LogRecord) GetStatus() string { - if m != nil { - return m.Status +func (x *LogRecord) GetStatus() string { + if x != nil { + return x.Status } return "" } // Deprecated: Do not use. -func (m *LogRecord) GetCategory() LogCategory { - if m != nil { - return m.Category +func (x *LogRecord) GetCategory() LogCategory { + if x != nil { + return x.Category } return LOG_CATEGORY_UNSPECIFIED } -func (m *LogRecord) GetVersion() int32 { - if m != nil { - return m.Version +func (x *LogRecord) GetVersion() int32 { + if x != nil { + return x.Version } return 0 } -func (m *LogRecord) GetLogId() string { - if m != nil { - return m.LogId +func (x *LogRecord) GetLogId() string { + if x != nil { + return x.LogId } return "" } // Deprecated: Do not use. -func (m *LogRecord) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *LogRecord) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } -func (m *LogRecord) GetPrincipal() *Principal { - if m != nil { - return m.Principal +func (x *LogRecord) GetPrincipal() *Principal { + if x != nil { + return x.Principal + } + return nil +} + +func (x *LogRecord) GetRawDetails() *structpb.Struct { + if x != nil { + return x.RawDetails } return nil } -func (m *LogRecord) GetXForwardedFor() string { - if m != nil { - return m.XForwardedFor +func (x *LogRecord) GetXForwardedFor() string { + if x != nil { + return x.XForwardedFor } return "" } -func (m *LogRecord) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *LogRecord) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } @@ -261,6 +368,10 @@ func (m *LogRecord) GetAsyncOperationId() string { // Temporal API logs or third party logs, e.g. auth0 // temporal:dev type OperationDetail struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace the operation was performed on - optional Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // The email addresses of the users on whom the operation was performed - optional @@ -285,309 +396,329 @@ type OperationDetail struct { NamespaceAccess *NamespaceAccess `protobuf:"bytes,11,opt,name=namespace_access,json=namespaceAccess,proto3" json:"namespace_access,omitempty"` } -func (m *OperationDetail) Reset() { *m = OperationDetail{} } -func (*OperationDetail) ProtoMessage() {} -func (*OperationDetail) Descriptor() ([]byte, []int) { - return fileDescriptor_283286ea48ab34f8, []int{1} -} -func (m *OperationDetail) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *OperationDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_OperationDetail.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *OperationDetail) Reset() { + *x = OperationDetail{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *OperationDetail) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationDetail.Merge(m, src) -} -func (m *OperationDetail) XXX_Size() int { - return m.Size() + +func (x *OperationDetail) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *OperationDetail) XXX_DiscardUnknown() { - xxx_messageInfo_OperationDetail.DiscardUnknown(m) + +func (*OperationDetail) ProtoMessage() {} + +func (x *OperationDetail) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_OperationDetail proto.InternalMessageInfo +// Deprecated: Use OperationDetail.ProtoReflect.Descriptor instead. +func (*OperationDetail) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_auditlog_v1_message_proto_rawDescGZIP(), []int{1} +} -func (m *OperationDetail) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *OperationDetail) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *OperationDetail) GetTargetUsers() []string { - if m != nil { - return m.TargetUsers +func (x *OperationDetail) GetTargetUsers() []string { + if x != nil { + return x.TargetUsers } return nil } -func (m *OperationDetail) GetRoles() []string { - if m != nil { - return m.Roles +func (x *OperationDetail) GetRoles() []string { + if x != nil { + return x.Roles } return nil } -func (m *OperationDetail) GetClientCaFingerprints() []string { - if m != nil { - return m.ClientCaFingerprints +func (x *OperationDetail) GetClientCaFingerprints() []string { + if x != nil { + return x.ClientCaFingerprints } return nil } -func (m *OperationDetail) GetSearchAttributeUpdate() *SearchAttributeUpdate { - if m != nil { - return m.SearchAttributeUpdate +func (x *OperationDetail) GetSearchAttributeUpdate() *SearchAttributeUpdate { + if x != nil { + return x.SearchAttributeUpdate } return nil } -func (m *OperationDetail) GetAdditionalMessage() string { - if m != nil { - return m.AdditionalMessage +func (x *OperationDetail) GetAdditionalMessage() string { + if x != nil { + return x.AdditionalMessage } return "" } -func (m *OperationDetail) GetRegion() string { - if m != nil { - return m.Region +func (x *OperationDetail) GetRegion() string { + if x != nil { + return x.Region } return "" } -func (m *OperationDetail) GetAccountFeatures() []string { - if m != nil { - return m.AccountFeatures +func (x *OperationDetail) GetAccountFeatures() []string { + if x != nil { + return x.AccountFeatures } return nil } -func (m *OperationDetail) GetThirdPartyDetails() *ThirdPartyLogDetail { - if m != nil { - return m.ThirdPartyDetails +func (x *OperationDetail) GetThirdPartyDetails() *ThirdPartyLogDetail { + if x != nil { + return x.ThirdPartyDetails } return nil } -func (m *OperationDetail) GetAccess() *Access { - if m != nil { - return m.Access +func (x *OperationDetail) GetAccess() *Access { + if x != nil { + return x.Access } return nil } -func (m *OperationDetail) GetNamespaceAccess() *NamespaceAccess { - if m != nil { - return m.NamespaceAccess +func (x *OperationDetail) GetNamespaceAccess() *NamespaceAccess { + if x != nil { + return x.NamespaceAccess } return nil } // temporal:dev type Access struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + AccountAccess *AccountAccess `protobuf:"bytes,1,opt,name=account_access,json=accountAccess,proto3" json:"account_access,omitempty"` NamespaceAccesses map[string]*NamespaceAccess `protobuf:"bytes,2,rep,name=namespace_accesses,json=namespaceAccesses,proto3" json:"namespace_accesses,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *Access) Reset() { *m = Access{} } -func (*Access) ProtoMessage() {} -func (*Access) Descriptor() ([]byte, []int) { - return fileDescriptor_283286ea48ab34f8, []int{2} -} -func (m *Access) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Access) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Access.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Access) Reset() { + *x = Access{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Access) XXX_Merge(src proto.Message) { - xxx_messageInfo_Access.Merge(m, src) -} -func (m *Access) XXX_Size() int { - return m.Size() + +func (x *Access) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Access) XXX_DiscardUnknown() { - xxx_messageInfo_Access.DiscardUnknown(m) + +func (*Access) ProtoMessage() {} + +func (x *Access) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Access proto.InternalMessageInfo +// Deprecated: Use Access.ProtoReflect.Descriptor instead. +func (*Access) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_auditlog_v1_message_proto_rawDescGZIP(), []int{2} +} -func (m *Access) GetAccountAccess() *AccountAccess { - if m != nil { - return m.AccountAccess +func (x *Access) GetAccountAccess() *AccountAccess { + if x != nil { + return x.AccountAccess } return nil } -func (m *Access) GetNamespaceAccesses() map[string]*NamespaceAccess { - if m != nil { - return m.NamespaceAccesses +func (x *Access) GetNamespaceAccesses() map[string]*NamespaceAccess { + if x != nil { + return x.NamespaceAccesses } return nil } // temporal:dev type AccountAccess struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` } -func (m *AccountAccess) Reset() { *m = AccountAccess{} } -func (*AccountAccess) ProtoMessage() {} -func (*AccountAccess) Descriptor() ([]byte, []int) { - return fileDescriptor_283286ea48ab34f8, []int{3} -} -func (m *AccountAccess) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AccountAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AccountAccess.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AccountAccess) Reset() { + *x = AccountAccess{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AccountAccess) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountAccess.Merge(m, src) -} -func (m *AccountAccess) XXX_Size() int { - return m.Size() + +func (x *AccountAccess) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AccountAccess) XXX_DiscardUnknown() { - xxx_messageInfo_AccountAccess.DiscardUnknown(m) + +func (*AccountAccess) ProtoMessage() {} + +func (x *AccountAccess) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_AccountAccess proto.InternalMessageInfo +// Deprecated: Use AccountAccess.ProtoReflect.Descriptor instead. +func (*AccountAccess) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_auditlog_v1_message_proto_rawDescGZIP(), []int{3} +} -func (m *AccountAccess) GetRole() string { - if m != nil { - return m.Role +func (x *AccountAccess) GetRole() string { + if x != nil { + return x.Role } return "" } // temporal:dev type NamespaceAccess struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Permission string `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty"` } -func (m *NamespaceAccess) Reset() { *m = NamespaceAccess{} } -func (*NamespaceAccess) ProtoMessage() {} -func (*NamespaceAccess) Descriptor() ([]byte, []int) { - return fileDescriptor_283286ea48ab34f8, []int{4} -} -func (m *NamespaceAccess) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NamespaceAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NamespaceAccess.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NamespaceAccess) Reset() { + *x = NamespaceAccess{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NamespaceAccess) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamespaceAccess.Merge(m, src) -} -func (m *NamespaceAccess) XXX_Size() int { - return m.Size() + +func (x *NamespaceAccess) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NamespaceAccess) XXX_DiscardUnknown() { - xxx_messageInfo_NamespaceAccess.DiscardUnknown(m) + +func (*NamespaceAccess) ProtoMessage() {} + +func (x *NamespaceAccess) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NamespaceAccess proto.InternalMessageInfo +// Deprecated: Use NamespaceAccess.ProtoReflect.Descriptor instead. +func (*NamespaceAccess) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_auditlog_v1_message_proto_rawDescGZIP(), []int{4} +} -func (m *NamespaceAccess) GetPermission() string { - if m != nil { - return m.Permission +func (x *NamespaceAccess) GetPermission() string { + if x != nil { + return x.Permission } return "" } // temporal:dev type SearchAttributeUpdate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ExistingAttribute string `protobuf:"bytes,1,opt,name=existing_attribute,json=existingAttribute,proto3" json:"existing_attribute,omitempty"` NewAttribute string `protobuf:"bytes,2,opt,name=new_attribute,json=newAttribute,proto3" json:"new_attribute,omitempty"` } -func (m *SearchAttributeUpdate) Reset() { *m = SearchAttributeUpdate{} } -func (*SearchAttributeUpdate) ProtoMessage() {} -func (*SearchAttributeUpdate) Descriptor() ([]byte, []int) { - return fileDescriptor_283286ea48ab34f8, []int{5} -} -func (m *SearchAttributeUpdate) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SearchAttributeUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SearchAttributeUpdate.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SearchAttributeUpdate) Reset() { + *x = SearchAttributeUpdate{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SearchAttributeUpdate) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchAttributeUpdate.Merge(m, src) -} -func (m *SearchAttributeUpdate) XXX_Size() int { - return m.Size() + +func (x *SearchAttributeUpdate) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SearchAttributeUpdate) XXX_DiscardUnknown() { - xxx_messageInfo_SearchAttributeUpdate.DiscardUnknown(m) + +func (*SearchAttributeUpdate) ProtoMessage() {} + +func (x *SearchAttributeUpdate) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SearchAttributeUpdate proto.InternalMessageInfo +// Deprecated: Use SearchAttributeUpdate.ProtoReflect.Descriptor instead. +func (*SearchAttributeUpdate) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_auditlog_v1_message_proto_rawDescGZIP(), []int{5} +} -func (m *SearchAttributeUpdate) GetExistingAttribute() string { - if m != nil { - return m.ExistingAttribute +func (x *SearchAttributeUpdate) GetExistingAttribute() string { + if x != nil { + return x.ExistingAttribute } return "" } -func (m *SearchAttributeUpdate) GetNewAttribute() string { - if m != nil { - return m.NewAttribute +func (x *SearchAttributeUpdate) GetNewAttribute() string { + if x != nil { + return x.NewAttribute } return "" } // temporal:dev type ThirdPartyLogDetail struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // the third party source, e.g. auth0 Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` @@ -595,61 +726,64 @@ type ThirdPartyLogDetail struct { RawMessage string `protobuf:"bytes,3,opt,name=raw_message,json=rawMessage,proto3" json:"raw_message,omitempty"` } -func (m *ThirdPartyLogDetail) Reset() { *m = ThirdPartyLogDetail{} } -func (*ThirdPartyLogDetail) ProtoMessage() {} -func (*ThirdPartyLogDetail) Descriptor() ([]byte, []int) { - return fileDescriptor_283286ea48ab34f8, []int{6} -} -func (m *ThirdPartyLogDetail) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ThirdPartyLogDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ThirdPartyLogDetail.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ThirdPartyLogDetail) Reset() { + *x = ThirdPartyLogDetail{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ThirdPartyLogDetail) XXX_Merge(src proto.Message) { - xxx_messageInfo_ThirdPartyLogDetail.Merge(m, src) -} -func (m *ThirdPartyLogDetail) XXX_Size() int { - return m.Size() + +func (x *ThirdPartyLogDetail) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ThirdPartyLogDetail) XXX_DiscardUnknown() { - xxx_messageInfo_ThirdPartyLogDetail.DiscardUnknown(m) + +func (*ThirdPartyLogDetail) ProtoMessage() {} + +func (x *ThirdPartyLogDetail) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ThirdPartyLogDetail proto.InternalMessageInfo +// Deprecated: Use ThirdPartyLogDetail.ProtoReflect.Descriptor instead. +func (*ThirdPartyLogDetail) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_auditlog_v1_message_proto_rawDescGZIP(), []int{6} +} -func (m *ThirdPartyLogDetail) GetId() string { - if m != nil { - return m.Id +func (x *ThirdPartyLogDetail) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *ThirdPartyLogDetail) GetSource() string { - if m != nil { - return m.Source +func (x *ThirdPartyLogDetail) GetSource() string { + if x != nil { + return x.Source } return "" } -func (m *ThirdPartyLogDetail) GetRawMessage() string { - if m != nil { - return m.RawMessage +func (x *ThirdPartyLogDetail) GetRawMessage() string { + if x != nil { + return x.RawMessage } return "" } -// temporal:dev type Principal struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Possible type values: user, serviceaccount. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` @@ -657,3337 +791,413 @@ type Principal struct { ApiKeyId string `protobuf:"bytes,4,opt,name=api_key_id,json=apiKeyId,proto3" json:"api_key_id,omitempty"` } -func (m *Principal) Reset() { *m = Principal{} } -func (*Principal) ProtoMessage() {} -func (*Principal) Descriptor() ([]byte, []int) { - return fileDescriptor_283286ea48ab34f8, []int{7} -} -func (m *Principal) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Principal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Principal.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Principal) Reset() { + *x = Principal{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Principal) XXX_Merge(src proto.Message) { - xxx_messageInfo_Principal.Merge(m, src) -} -func (m *Principal) XXX_Size() int { - return m.Size() -} -func (m *Principal) XXX_DiscardUnknown() { - xxx_messageInfo_Principal.DiscardUnknown(m) + +func (x *Principal) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_Principal proto.InternalMessageInfo +func (*Principal) ProtoMessage() {} -func (m *Principal) GetType() string { - if m != nil { - return m.Type +func (x *Principal) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -func (m *Principal) GetId() string { - if m != nil { - return m.Id - } - return "" +// Deprecated: Use Principal.ProtoReflect.Descriptor instead. +func (*Principal) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_auditlog_v1_message_proto_rawDescGZIP(), []int{7} } -func (m *Principal) GetName() string { - if m != nil { - return m.Name +func (x *Principal) GetType() string { + if x != nil { + return x.Type } return "" } -func (m *Principal) GetApiKeyId() string { - if m != nil { - return m.ApiKeyId +func (x *Principal) GetId() string { + if x != nil { + return x.Id } return "" } -func init() { - proto.RegisterEnum("temporal.api.cloud.auditlog.v1.LogCategory", LogCategory_name, LogCategory_value) - proto.RegisterEnum("temporal.api.cloud.auditlog.v1.LogLevel", LogLevel_name, LogLevel_value) - proto.RegisterType((*LogRecord)(nil), "temporal.api.cloud.auditlog.v1.LogRecord") - proto.RegisterType((*OperationDetail)(nil), "temporal.api.cloud.auditlog.v1.OperationDetail") - proto.RegisterType((*Access)(nil), "temporal.api.cloud.auditlog.v1.Access") - proto.RegisterMapType((map[string]*NamespaceAccess)(nil), "temporal.api.cloud.auditlog.v1.Access.NamespaceAccessesEntry") - proto.RegisterType((*AccountAccess)(nil), "temporal.api.cloud.auditlog.v1.AccountAccess") - proto.RegisterType((*NamespaceAccess)(nil), "temporal.api.cloud.auditlog.v1.NamespaceAccess") - proto.RegisterType((*SearchAttributeUpdate)(nil), "temporal.api.cloud.auditlog.v1.SearchAttributeUpdate") - proto.RegisterType((*ThirdPartyLogDetail)(nil), "temporal.api.cloud.auditlog.v1.ThirdPartyLogDetail") - proto.RegisterType((*Principal)(nil), "temporal.api.cloud.auditlog.v1.Principal") -} - -func init() { - proto.RegisterFile("temporal/api/cloud/auditlog/v1/message.proto", fileDescriptor_283286ea48ab34f8) -} - -var fileDescriptor_283286ea48ab34f8 = []byte{ - // 1217 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xcf, 0x6e, 0xdb, 0xc6, - 0x13, 0x16, 0x69, 0xcb, 0xb1, 0x46, 0xb6, 0x25, 0xaf, 0x63, 0x87, 0xbf, 0x20, 0x60, 0x1c, 0xe5, - 0x87, 0xc0, 0x49, 0x13, 0x0a, 0x76, 0x5a, 0xb4, 0x50, 0xd1, 0x02, 0xb2, 0x2d, 0x19, 0x42, 0xe4, - 0x3f, 0xa0, 0xe5, 0x14, 0x09, 0x8a, 0x12, 0x1b, 0x72, 0xcd, 0x2c, 0x42, 0x71, 0xd9, 0xe5, 0xd2, - 0x8e, 0x6e, 0x79, 0x80, 0x1e, 0xfa, 0x08, 0x3d, 0x16, 0x7d, 0x8d, 0x5e, 0x7a, 0xcc, 0x31, 0xc7, - 0x44, 0xb9, 0x14, 0x3d, 0xe5, 0x11, 0x8a, 0x5d, 0x92, 0x92, 0x65, 0xb8, 0xb5, 0xd1, 0xdb, 0xee, - 0x37, 0xdf, 0x37, 0xb3, 0x33, 0x3b, 0xb3, 0x24, 0x3c, 0x14, 0xa4, 0x1f, 0x31, 0x8e, 0x83, 0x3a, - 0x8e, 0x68, 0xdd, 0x0d, 0x58, 0xe2, 0xd5, 0x71, 0xe2, 0x51, 0x11, 0x30, 0xbf, 0x7e, 0xb2, 0x5e, - 0xef, 0x93, 0x38, 0xc6, 0x3e, 0xb1, 0x22, 0xce, 0x04, 0x43, 0x66, 0xce, 0xb6, 0x70, 0x44, 0x2d, - 0xc5, 0xb6, 0x72, 0xb6, 0x75, 0xb2, 0x7e, 0xf3, 0xb6, 0xcf, 0x98, 0x1f, 0x90, 0xba, 0x62, 0xbf, - 0x48, 0x8e, 0xeb, 0x82, 0xf6, 0x49, 0x2c, 0x70, 0x3f, 0x4a, 0x1d, 0xd4, 0x7e, 0x29, 0x42, 0xa9, - 0xcb, 0x7c, 0x9b, 0xb8, 0x8c, 0x7b, 0xe8, 0x4b, 0x28, 0x91, 0x3e, 0x15, 0x8e, 0x64, 0x19, 0xda, - 0xaa, 0xb6, 0x56, 0xde, 0xb8, 0x69, 0xa5, 0x2e, 0xac, 0xdc, 0x85, 0xd5, 0xcb, 0x5d, 0xd8, 0xb3, - 0x92, 0x2c, 0xb7, 0x68, 0x13, 0x8a, 0x01, 0x39, 0x21, 0x81, 0xa1, 0xaf, 0x6a, 0x6b, 0x0b, 0x1b, - 0x6b, 0xd6, 0xbf, 0x9f, 0xcb, 0xea, 0x32, 0xbf, 0x2b, 0xf9, 0x9b, 0xba, 0xa1, 0xd9, 0xa9, 0x14, - 0xdd, 0x01, 0x48, 0x62, 0xc2, 0x1d, 0xd2, 0xc7, 0x34, 0x30, 0xa6, 0x56, 0xb5, 0xb5, 0x92, 0x32, - 0x97, 0x24, 0xda, 0x92, 0x20, 0xb2, 0x60, 0xd1, 0xc5, 0x41, 0x40, 0xb8, 0x43, 0x23, 0x07, 0x7b, - 0x1e, 0x27, 0x71, 0x6c, 0x4c, 0x8f, 0x98, 0x95, 0xd4, 0xd8, 0x89, 0x9a, 0xa9, 0x09, 0xdd, 0x82, - 0x12, 0x8b, 0x08, 0xc7, 0x82, 0xb2, 0xd0, 0x28, 0x4a, 0x9e, 0x3d, 0x06, 0xd0, 0x2e, 0x5c, 0xf3, - 0x88, 0xc0, 0x34, 0x88, 0x8d, 0x19, 0x95, 0x6b, 0xfd, 0xb2, 0x63, 0xef, 0xe7, 0xda, 0x6d, 0xa5, - 0x53, 0x41, 0x73, 0x1f, 0x68, 0x05, 0x66, 0x62, 0x81, 0x45, 0x12, 0x1b, 0xd7, 0x54, 0xa4, 0x6c, - 0x87, 0x9e, 0xc0, 0xac, 0x8b, 0x05, 0xf1, 0x19, 0x1f, 0x18, 0xb3, 0xaa, 0x3c, 0x9f, 0x5d, 0xa1, - 0x3c, 0x5b, 0x99, 0x44, 0xc5, 0x18, 0x39, 0x40, 0x06, 0x5c, 0x3b, 0x21, 0x3c, 0x96, 0xf9, 0x94, - 0x56, 0xb5, 0xb5, 0xa2, 0x9d, 0x6f, 0xd1, 0x32, 0xcc, 0x04, 0xcc, 0x77, 0xa8, 0x67, 0x80, 0x0a, - 0x5f, 0x0c, 0x98, 0xdf, 0xf1, 0x64, 0x55, 0x39, 0xf9, 0x31, 0x21, 0xb1, 0x90, 0xa6, 0xf2, 0xb8, - 0xaa, 0x19, 0xda, 0xf1, 0xd0, 0x0e, 0x94, 0x22, 0x4e, 0x43, 0x97, 0x46, 0x38, 0x30, 0xe6, 0x54, - 0x25, 0xee, 0x5f, 0x76, 0xc2, 0x83, 0x5c, 0x60, 0x8f, 0xb5, 0xe8, 0x1e, 0x54, 0x5e, 0x3b, 0xc7, - 0x8c, 0x9f, 0x62, 0xee, 0x11, 0x4f, 0xae, 0x8c, 0x05, 0x75, 0x96, 0xf9, 0xd7, 0xed, 0x1c, 0x6d, - 0x33, 0x8e, 0x1e, 0x02, 0xc2, 0xf1, 0x20, 0x74, 0x9d, 0xd1, 0x5d, 0xc8, 0xb3, 0x55, 0x14, 0xb5, - 0xaa, 0x2c, 0xa3, 0x42, 0x77, 0xbc, 0xda, 0x9b, 0x22, 0x54, 0xce, 0x15, 0x5e, 0x5e, 0x6c, 0x88, - 0xfb, 0x24, 0x8e, 0xb0, 0x9b, 0x36, 0x6a, 0xc9, 0x1e, 0x03, 0xe8, 0x0e, 0xcc, 0x09, 0xcc, 0x7d, - 0x22, 0x1c, 0xd9, 0x3a, 0xb1, 0xa1, 0xaf, 0x4e, 0xad, 0x95, 0xec, 0x72, 0x8a, 0x1d, 0x49, 0x08, - 0x5d, 0x87, 0x22, 0x67, 0x01, 0x89, 0x8d, 0x29, 0x65, 0x4b, 0x37, 0xe8, 0x73, 0x58, 0x71, 0x03, - 0x4a, 0x42, 0xe1, 0xb8, 0xd8, 0x39, 0xa6, 0xa1, 0x4f, 0xb8, 0xcc, 0x4e, 0xc8, 0x26, 0x93, 0xb4, - 0xeb, 0xa9, 0x75, 0x0b, 0xb7, 0xcf, 0xd8, 0x50, 0x1f, 0x6e, 0xc4, 0x04, 0x73, 0xf7, 0xa5, 0x83, - 0x85, 0xe0, 0xf4, 0x45, 0x22, 0x88, 0x93, 0x44, 0x1e, 0x16, 0x44, 0xf5, 0x5c, 0x79, 0xe3, 0x8b, - 0xcb, 0xaa, 0x79, 0xa8, 0xe4, 0xcd, 0x5c, 0x7d, 0xa4, 0xc4, 0xf6, 0x72, 0x7c, 0x11, 0x8c, 0x1e, - 0x01, 0xc2, 0x9e, 0x47, 0x65, 0x35, 0x70, 0xe0, 0x64, 0xef, 0x81, 0xea, 0xe0, 0x92, 0xbd, 0x38, - 0xb6, 0xec, 0xa6, 0x06, 0xd9, 0x96, 0x9c, 0xf8, 0xb2, 0x61, 0xb2, 0xb6, 0x4c, 0x77, 0xe8, 0x3e, - 0x54, 0xb1, 0xeb, 0xb2, 0x24, 0x14, 0xce, 0x31, 0xc1, 0x22, 0xe1, 0x24, 0x36, 0x66, 0x55, 0x96, - 0x95, 0x0c, 0x6f, 0x67, 0x30, 0x72, 0x61, 0x49, 0xbc, 0xa4, 0xdc, 0x73, 0x22, 0xcc, 0xc5, 0xc0, - 0xc9, 0x87, 0xa6, 0xa4, 0x92, 0x7b, 0x7c, 0x59, 0x72, 0x3d, 0x29, 0x3d, 0x90, 0xca, 0x2e, 0xf3, - 0xd3, 0xfb, 0xb3, 0x17, 0xc5, 0x08, 0xdc, 0xce, 0xc6, 0xe7, 0x5b, 0x98, 0xc1, 0xae, 0x2b, 0x07, - 0x1a, 0x94, 0xdf, 0x7b, 0x97, 0xf9, 0x6d, 0x2a, 0xb6, 0x9d, 0xa9, 0xd0, 0x73, 0xa8, 0x8e, 0x3a, - 0xc0, 0xc9, 0x3c, 0x95, 0xaf, 0x36, 0xd6, 0x7b, 0xb9, 0x2e, 0x73, 0x59, 0x09, 0x27, 0x81, 0xda, - 0xef, 0x3a, 0xcc, 0xa4, 0x4b, 0xd4, 0x83, 0x85, 0xbc, 0x6c, 0x59, 0x90, 0xf4, 0x9d, 0x7c, 0x74, - 0x85, 0xe3, 0x4a, 0x55, 0x16, 0x62, 0x1e, 0x9f, 0xdd, 0xa2, 0x00, 0xd0, 0xf9, 0xc3, 0x93, 0xb4, - 0x6f, 0xcb, 0x1b, 0xdf, 0x5c, 0xad, 0x10, 0xe7, 0xb3, 0x20, 0x71, 0x2b, 0x14, 0x7c, 0x60, 0x2f, - 0x86, 0xe7, 0xf1, 0x9b, 0x09, 0xac, 0x5c, 0x4c, 0x46, 0x55, 0x98, 0x7a, 0x45, 0x06, 0xd9, 0x44, - 0xc9, 0x25, 0x6a, 0x41, 0xf1, 0x04, 0x07, 0x09, 0x51, 0x2f, 0xfb, 0x7f, 0xa8, 0x65, 0xaa, 0x6e, - 0xe8, 0x5f, 0x69, 0xb5, 0xbb, 0x30, 0x3f, 0x51, 0x04, 0x84, 0x60, 0x5a, 0xce, 0x5d, 0x16, 0x4e, - 0xad, 0x6b, 0xeb, 0x50, 0x39, 0xe7, 0x02, 0x99, 0x00, 0x11, 0xe1, 0x7d, 0x1a, 0xab, 0x67, 0x2f, - 0x25, 0x9f, 0x41, 0x6a, 0xaf, 0x60, 0xf9, 0xf0, 0x9f, 0x26, 0x85, 0xbc, 0xa6, 0xb1, 0xa0, 0xa1, - 0x3f, 0x1e, 0xcd, 0xcc, 0xc1, 0x62, 0x6e, 0x19, 0x89, 0xd0, 0x5d, 0x98, 0x0f, 0xc9, 0xe9, 0x19, - 0xa6, 0xae, 0x98, 0x73, 0x21, 0x39, 0x1d, 0x91, 0x6a, 0x3f, 0xc0, 0xd2, 0x05, 0x0d, 0x8d, 0x16, - 0x40, 0xa7, 0x5e, 0xe6, 0x5a, 0xa7, 0x9e, 0xfa, 0x18, 0xb0, 0x84, 0xbb, 0xb9, 0x93, 0x6c, 0x87, - 0x6e, 0x43, 0x99, 0xe3, 0xd3, 0xd1, 0xd4, 0x4e, 0xa5, 0xc9, 0x70, 0x7c, 0x9a, 0x8d, 0x6b, 0x0d, - 0x43, 0x69, 0xf4, 0xb6, 0xca, 0x02, 0x89, 0x41, 0x34, 0x2a, 0x90, 0x5c, 0x67, 0x91, 0xf4, 0x51, - 0x24, 0x04, 0xd3, 0xf2, 0x86, 0x33, 0x57, 0x6a, 0x8d, 0x6e, 0x01, 0xe0, 0x88, 0x3a, 0xaf, 0xc8, - 0x40, 0x3e, 0xac, 0xea, 0x03, 0x69, 0xcf, 0xe2, 0x88, 0x3e, 0x21, 0x83, 0x8e, 0xf7, 0xe0, 0x7b, - 0x28, 0x9f, 0xf9, 0xc0, 0xa0, 0x5b, 0x60, 0x74, 0xf7, 0x77, 0x9c, 0xad, 0x66, 0xaf, 0xb5, 0xb3, - 0x6f, 0x3f, 0x73, 0x8e, 0xf6, 0x0e, 0x0f, 0x5a, 0x5b, 0x9d, 0x76, 0xa7, 0xb5, 0x5d, 0x2d, 0xa0, - 0x15, 0x40, 0x13, 0xd6, 0xe6, 0xf6, 0x6e, 0x67, 0xaf, 0xaa, 0xa1, 0x1b, 0xb0, 0x34, 0x81, 0x1f, - 0x3e, 0x3b, 0xec, 0xb5, 0x76, 0xab, 0xfa, 0x83, 0x9f, 0x34, 0x98, 0xcd, 0x3f, 0xef, 0xe8, 0x7f, - 0xb0, 0x2c, 0x59, 0xdd, 0xd6, 0xd3, 0x56, 0xf7, 0x9c, 0x63, 0x04, 0x0b, 0x63, 0x53, 0x67, 0xaf, - 0xbd, 0x5f, 0xd5, 0xd0, 0x12, 0x54, 0xc6, 0xd8, 0x76, 0x6b, 0xf3, 0x68, 0xa7, 0xaa, 0x4f, 0x12, - 0xbf, 0x6b, 0xda, 0x7b, 0xd5, 0xa9, 0x49, 0x62, 0xcb, 0xb6, 0xf7, 0xed, 0xea, 0xf4, 0x24, 0xd8, - 0x6e, 0xf6, 0x9a, 0xdd, 0x6a, 0x71, 0xf3, 0xbd, 0xf6, 0xf6, 0x83, 0x59, 0x78, 0xf7, 0xc1, 0x2c, - 0x7c, 0xfa, 0x60, 0x6a, 0x6f, 0x86, 0xa6, 0xf6, 0xeb, 0xd0, 0xd4, 0xfe, 0x18, 0x9a, 0xda, 0xdb, - 0xa1, 0xa9, 0xbd, 0x1f, 0x9a, 0xda, 0x9f, 0x43, 0xb3, 0xf0, 0x69, 0x68, 0x6a, 0x3f, 0x7f, 0x34, - 0x0b, 0x6f, 0x3f, 0x9a, 0x85, 0x77, 0x1f, 0xcd, 0x02, 0xdc, 0xa1, 0xec, 0x92, 0x4e, 0xdf, 0x9c, - 0xcb, 0xae, 0xec, 0x40, 0xfe, 0x18, 0x1d, 0x68, 0xcf, 0x1f, 0xf9, 0x67, 0x24, 0x94, 0x5d, 0xfc, - 0xff, 0xf6, 0x75, 0xbe, 0xfe, 0x4d, 0x5f, 0xed, 0x65, 0x64, 0xca, 0xac, 0x66, 0x44, 0xad, 0x2d, - 0x15, 0xa1, 0x29, 0xed, 0x5d, 0xe6, 0x5b, 0x4f, 0xd7, 0xff, 0xd2, 0xff, 0x3f, 0xa6, 0x34, 0x1a, - 0xcd, 0x88, 0x36, 0x1a, 0x8a, 0xd4, 0x68, 0xe4, 0xac, 0x46, 0xe3, 0xe9, 0xfa, 0x8b, 0x19, 0xf5, - 0x6b, 0xf6, 0xf8, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x81, 0x31, 0x42, 0x8e, 0x3b, 0x0a, 0x00, - 0x00, -} - -func (x LogCategory) String() string { - s, ok := LogCategory_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x LogLevel) String() string { - s, ok := LogLevel_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (this *LogRecord) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*LogRecord) - if !ok { - that2, ok := that.(LogRecord) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.EmitTime.Equal(that1.EmitTime) { - return false - } - if this.Level != that1.Level { - return false - } - if this.UserEmail != that1.UserEmail { - return false - } - if this.CallerIpAddress != that1.CallerIpAddress { - return false - } - if this.Operation != that1.Operation { - return false - } - if !this.Details.Equal(that1.Details) { - return false - } - if this.Status != that1.Status { - return false - } - if this.Category != that1.Category { - return false - } - if this.Version != that1.Version { - return false - } - if this.LogId != that1.LogId { - return false - } - if this.RequestId != that1.RequestId { - return false - } - if !this.Principal.Equal(that1.Principal) { - return false - } - if this.XForwardedFor != that1.XForwardedFor { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true -} -func (this *OperationDetail) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*OperationDetail) - if !ok { - that2, ok := that.(OperationDetail) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if len(this.TargetUsers) != len(that1.TargetUsers) { - return false - } - for i := range this.TargetUsers { - if this.TargetUsers[i] != that1.TargetUsers[i] { - return false - } - } - if len(this.Roles) != len(that1.Roles) { - return false - } - for i := range this.Roles { - if this.Roles[i] != that1.Roles[i] { - return false - } - } - if len(this.ClientCaFingerprints) != len(that1.ClientCaFingerprints) { - return false - } - for i := range this.ClientCaFingerprints { - if this.ClientCaFingerprints[i] != that1.ClientCaFingerprints[i] { - return false - } - } - if !this.SearchAttributeUpdate.Equal(that1.SearchAttributeUpdate) { - return false - } - if this.AdditionalMessage != that1.AdditionalMessage { - return false - } - if this.Region != that1.Region { - return false - } - if len(this.AccountFeatures) != len(that1.AccountFeatures) { - return false - } - for i := range this.AccountFeatures { - if this.AccountFeatures[i] != that1.AccountFeatures[i] { - return false - } - } - if !this.ThirdPartyDetails.Equal(that1.ThirdPartyDetails) { - return false - } - if !this.Access.Equal(that1.Access) { - return false - } - if !this.NamespaceAccess.Equal(that1.NamespaceAccess) { - return false - } - return true -} -func (this *Access) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*Access) - if !ok { - that2, ok := that.(Access) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AccountAccess.Equal(that1.AccountAccess) { - return false - } - if len(this.NamespaceAccesses) != len(that1.NamespaceAccesses) { - return false - } - for i := range this.NamespaceAccesses { - if !this.NamespaceAccesses[i].Equal(that1.NamespaceAccesses[i]) { - return false - } - } - return true -} -func (this *AccountAccess) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*AccountAccess) - if !ok { - that2, ok := that.(AccountAccess) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false +func (x *Principal) GetName() string { + if x != nil { + return x.Name } - if this.Role != that1.Role { - return false - } - return true + return "" } -func (this *NamespaceAccess) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*NamespaceAccess) - if !ok { - that2, ok := that.(NamespaceAccess) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Permission != that1.Permission { - return false +func (x *Principal) GetApiKeyId() string { + if x != nil { + return x.ApiKeyId } - return true + return "" } -func (this *SearchAttributeUpdate) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*SearchAttributeUpdate) - if !ok { - that2, ok := that.(SearchAttributeUpdate) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.ExistingAttribute != that1.ExistingAttribute { - return false - } - if this.NewAttribute != that1.NewAttribute { - return false - } - return true +var File_temporal_api_cloud_auditlog_v1_message_proto protoreflect.FileDescriptor + +var file_temporal_api_cloud_auditlog_v1_message_proto_rawDesc = []byte{ + 0x0a, 0x2c, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x2f, 0x76, 0x31, + 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, + 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x1f, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda, 0x05, + 0x0a, 0x09, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x37, 0x0a, 0x09, 0x65, + 0x6d, 0x69, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x65, 0x6d, 0x69, 0x74, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f, + 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x42, 0x02, 0x18, + 0x01, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x21, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, + 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, + 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x2e, 0x0a, 0x11, 0x63, + 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x63, 0x61, 0x6c, 0x6c, + 0x65, 0x72, 0x49, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4d, 0x0a, 0x07, 0x64, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x61, 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x42, 0x02, 0x18, 0x01, 0x52, + 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x4b, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f, 0x67, + 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x42, + 0x02, 0x18, 0x01, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x18, 0x0a, + 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x0a, 0x06, 0x6c, 0x6f, 0x67, 0x5f, 0x69, + 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x6f, 0x67, 0x49, 0x64, 0x12, 0x21, + 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, + 0x64, 0x12, 0x47, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x6c, + 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x52, + 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x12, 0x38, 0x0a, 0x0b, 0x72, 0x61, + 0x77, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0a, 0x72, 0x61, 0x77, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x78, 0x5f, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, + 0x64, 0x65, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x78, + 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x64, 0x46, 0x6f, 0x72, 0x12, 0x2c, 0x0a, 0x12, + 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x80, 0x05, 0x0a, 0x0f, 0x4f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x1c, + 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, + 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, + 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, + 0x63, 0x61, 0x5f, 0x66, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x73, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x61, 0x46, + 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x6d, 0x0a, 0x17, 0x73, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, + 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, + 0x61, 0x72, 0x63, 0x68, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x52, 0x15, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x61, 0x64, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x61, 0x6c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x66, 0x65, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x63, 0x0a, 0x13, + 0x74, 0x68, 0x69, 0x72, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x79, 0x5f, 0x64, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, + 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x68, 0x69, 0x72, 0x64, + 0x50, 0x61, 0x72, 0x74, 0x79, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x11, + 0x74, 0x68, 0x69, 0x72, 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x73, 0x12, 0x3e, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x26, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x2e, + 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x12, 0x5a, 0x0a, 0x10, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x61, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x0f, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0xc3, 0x02, + 0x0a, 0x06, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x54, 0x0a, 0x0e, 0x61, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x2e, 0x76, + 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, + 0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x6c, + 0x0a, 0x12, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x61, 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x1a, 0x75, 0x0a, 0x16, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x45, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x64, + 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x22, 0x23, 0x0a, 0x0d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x22, 0x31, 0x0a, 0x0f, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x70, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x6b, 0x0a, 0x15, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, + 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x11, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6e, 0x65, 0x77, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6e, 0x65, 0x77, 0x41, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x22, 0x5e, 0x0a, 0x13, 0x54, 0x68, 0x69, 0x72, + 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x61, 0x77, 0x5f, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x61, + 0x77, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x61, 0x0a, 0x09, 0x50, 0x72, 0x69, 0x6e, + 0x63, 0x69, 0x70, 0x61, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, + 0x0a, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x49, 0x64, 0x2a, 0x5c, 0x0a, 0x0b, 0x4c, + 0x6f, 0x67, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x18, 0x4c, 0x4f, + 0x47, 0x5f, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, + 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x4c, 0x4f, 0x47, 0x5f, + 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, 0x5f, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, 0x01, + 0x12, 0x17, 0x0a, 0x13, 0x4c, 0x4f, 0x47, 0x5f, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52, 0x59, + 0x5f, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x10, 0x02, 0x2a, 0x8c, 0x01, 0x0a, 0x08, 0x4c, 0x6f, + 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x19, 0x0a, 0x15, 0x4c, 0x4f, 0x47, 0x5f, 0x4c, 0x45, + 0x56, 0x45, 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, + 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x4c, 0x4f, 0x47, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x49, + 0x4e, 0x46, 0x4f, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x4c, 0x4f, 0x47, 0x5f, 0x4c, 0x45, 0x56, + 0x45, 0x4c, 0x5f, 0x44, 0x45, 0x42, 0x55, 0x47, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x4c, 0x4f, + 0x47, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x57, 0x41, 0x52, 0x4e, 0x10, 0x03, 0x12, 0x13, + 0x0a, 0x0f, 0x4c, 0x4f, 0x47, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x45, 0x52, 0x52, 0x4f, + 0x52, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x4c, 0x4f, 0x47, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, + 0x5f, 0x46, 0x41, 0x54, 0x41, 0x4c, 0x10, 0x05, 0x42, 0xfe, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x42, + 0x0c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, + 0x2d, 0x67, 0x6f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x69, 0x6f, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x6c, + 0x6f, 0x67, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f, 0x67, 0xa2, 0x02, + 0x04, 0x54, 0x41, 0x43, 0x41, 0xaa, 0x02, 0x1e, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x41, 0x70, 0x69, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x74, + 0x6c, 0x6f, 0x67, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1e, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x75, 0x64, 0x69, + 0x74, 0x6c, 0x6f, 0x67, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x2a, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x75, 0x64, + 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x3a, + 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x75, 0x64, + 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } -func (this *ThirdPartyLogDetail) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*ThirdPartyLogDetail) - if !ok { - that2, ok := that.(ThirdPartyLogDetail) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Id != that1.Id { - return false - } - if this.Source != that1.Source { - return false - } - if this.RawMessage != that1.RawMessage { - return false - } - return true -} -func (this *Principal) Equal(that interface{}) bool { - if that == nil { - return this == nil - } +var ( + file_temporal_api_cloud_auditlog_v1_message_proto_rawDescOnce sync.Once + file_temporal_api_cloud_auditlog_v1_message_proto_rawDescData = file_temporal_api_cloud_auditlog_v1_message_proto_rawDesc +) - that1, ok := that.(*Principal) - if !ok { - that2, ok := that.(Principal) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Type != that1.Type { - return false - } - if this.Id != that1.Id { - return false - } - if this.Name != that1.Name { - return false - } - if this.ApiKeyId != that1.ApiKeyId { - return false - } - return true -} -func (this *LogRecord) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 18) - s = append(s, "&auditlog.LogRecord{") - if this.EmitTime != nil { - s = append(s, "EmitTime: "+fmt.Sprintf("%#v", this.EmitTime)+",\n") - } - s = append(s, "Level: "+fmt.Sprintf("%#v", this.Level)+",\n") - s = append(s, "UserEmail: "+fmt.Sprintf("%#v", this.UserEmail)+",\n") - s = append(s, "CallerIpAddress: "+fmt.Sprintf("%#v", this.CallerIpAddress)+",\n") - s = append(s, "Operation: "+fmt.Sprintf("%#v", this.Operation)+",\n") - if this.Details != nil { - s = append(s, "Details: "+fmt.Sprintf("%#v", this.Details)+",\n") - } - s = append(s, "Status: "+fmt.Sprintf("%#v", this.Status)+",\n") - s = append(s, "Category: "+fmt.Sprintf("%#v", this.Category)+",\n") - s = append(s, "Version: "+fmt.Sprintf("%#v", this.Version)+",\n") - s = append(s, "LogId: "+fmt.Sprintf("%#v", this.LogId)+",\n") - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - if this.Principal != nil { - s = append(s, "Principal: "+fmt.Sprintf("%#v", this.Principal)+",\n") - } - s = append(s, "XForwardedFor: "+fmt.Sprintf("%#v", this.XForwardedFor)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *OperationDetail) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 15) - s = append(s, "&auditlog.OperationDetail{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "TargetUsers: "+fmt.Sprintf("%#v", this.TargetUsers)+",\n") - s = append(s, "Roles: "+fmt.Sprintf("%#v", this.Roles)+",\n") - s = append(s, "ClientCaFingerprints: "+fmt.Sprintf("%#v", this.ClientCaFingerprints)+",\n") - if this.SearchAttributeUpdate != nil { - s = append(s, "SearchAttributeUpdate: "+fmt.Sprintf("%#v", this.SearchAttributeUpdate)+",\n") - } - s = append(s, "AdditionalMessage: "+fmt.Sprintf("%#v", this.AdditionalMessage)+",\n") - s = append(s, "Region: "+fmt.Sprintf("%#v", this.Region)+",\n") - s = append(s, "AccountFeatures: "+fmt.Sprintf("%#v", this.AccountFeatures)+",\n") - if this.ThirdPartyDetails != nil { - s = append(s, "ThirdPartyDetails: "+fmt.Sprintf("%#v", this.ThirdPartyDetails)+",\n") - } - if this.Access != nil { - s = append(s, "Access: "+fmt.Sprintf("%#v", this.Access)+",\n") - } - if this.NamespaceAccess != nil { - s = append(s, "NamespaceAccess: "+fmt.Sprintf("%#v", this.NamespaceAccess)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *Access) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&auditlog.Access{") - if this.AccountAccess != nil { - s = append(s, "AccountAccess: "+fmt.Sprintf("%#v", this.AccountAccess)+",\n") - } - keysForNamespaceAccesses := make([]string, 0, len(this.NamespaceAccesses)) - for k, _ := range this.NamespaceAccesses { - keysForNamespaceAccesses = append(keysForNamespaceAccesses, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForNamespaceAccesses) - mapStringForNamespaceAccesses := "map[string]*NamespaceAccess{" - for _, k := range keysForNamespaceAccesses { - mapStringForNamespaceAccesses += fmt.Sprintf("%#v: %#v,", k, this.NamespaceAccesses[k]) - } - mapStringForNamespaceAccesses += "}" - if this.NamespaceAccesses != nil { - s = append(s, "NamespaceAccesses: "+mapStringForNamespaceAccesses+",\n") - } - s = append(s, "}") - return strings.Join(s, "") +func file_temporal_api_cloud_auditlog_v1_message_proto_rawDescGZIP() []byte { + file_temporal_api_cloud_auditlog_v1_message_proto_rawDescOnce.Do(func() { + file_temporal_api_cloud_auditlog_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_temporal_api_cloud_auditlog_v1_message_proto_rawDescData) + }) + return file_temporal_api_cloud_auditlog_v1_message_proto_rawDescData +} + +var file_temporal_api_cloud_auditlog_v1_message_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 9) +var file_temporal_api_cloud_auditlog_v1_message_proto_goTypes = []interface{}{ + (LogCategory)(0), // 0: temporal.api.cloud.auditlog.v1.LogCategory + (LogLevel)(0), // 1: temporal.api.cloud.auditlog.v1.LogLevel + (*LogRecord)(nil), // 2: temporal.api.cloud.auditlog.v1.LogRecord + (*OperationDetail)(nil), // 3: temporal.api.cloud.auditlog.v1.OperationDetail + (*Access)(nil), // 4: temporal.api.cloud.auditlog.v1.Access + (*AccountAccess)(nil), // 5: temporal.api.cloud.auditlog.v1.AccountAccess + (*NamespaceAccess)(nil), // 6: temporal.api.cloud.auditlog.v1.NamespaceAccess + (*SearchAttributeUpdate)(nil), // 7: temporal.api.cloud.auditlog.v1.SearchAttributeUpdate + (*ThirdPartyLogDetail)(nil), // 8: temporal.api.cloud.auditlog.v1.ThirdPartyLogDetail + (*Principal)(nil), // 9: temporal.api.cloud.auditlog.v1.Principal + nil, // 10: temporal.api.cloud.auditlog.v1.Access.NamespaceAccessesEntry + (*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp + (*structpb.Struct)(nil), // 12: google.protobuf.Struct +} +var file_temporal_api_cloud_auditlog_v1_message_proto_depIdxs = []int32{ + 11, // 0: temporal.api.cloud.auditlog.v1.LogRecord.emit_time:type_name -> google.protobuf.Timestamp + 1, // 1: temporal.api.cloud.auditlog.v1.LogRecord.level:type_name -> temporal.api.cloud.auditlog.v1.LogLevel + 3, // 2: temporal.api.cloud.auditlog.v1.LogRecord.details:type_name -> temporal.api.cloud.auditlog.v1.OperationDetail + 0, // 3: temporal.api.cloud.auditlog.v1.LogRecord.category:type_name -> temporal.api.cloud.auditlog.v1.LogCategory + 9, // 4: temporal.api.cloud.auditlog.v1.LogRecord.principal:type_name -> temporal.api.cloud.auditlog.v1.Principal + 12, // 5: temporal.api.cloud.auditlog.v1.LogRecord.raw_details:type_name -> google.protobuf.Struct + 7, // 6: temporal.api.cloud.auditlog.v1.OperationDetail.search_attribute_update:type_name -> temporal.api.cloud.auditlog.v1.SearchAttributeUpdate + 8, // 7: temporal.api.cloud.auditlog.v1.OperationDetail.third_party_details:type_name -> temporal.api.cloud.auditlog.v1.ThirdPartyLogDetail + 4, // 8: temporal.api.cloud.auditlog.v1.OperationDetail.access:type_name -> temporal.api.cloud.auditlog.v1.Access + 6, // 9: temporal.api.cloud.auditlog.v1.OperationDetail.namespace_access:type_name -> temporal.api.cloud.auditlog.v1.NamespaceAccess + 5, // 10: temporal.api.cloud.auditlog.v1.Access.account_access:type_name -> temporal.api.cloud.auditlog.v1.AccountAccess + 10, // 11: temporal.api.cloud.auditlog.v1.Access.namespace_accesses:type_name -> temporal.api.cloud.auditlog.v1.Access.NamespaceAccessesEntry + 6, // 12: temporal.api.cloud.auditlog.v1.Access.NamespaceAccessesEntry.value:type_name -> temporal.api.cloud.auditlog.v1.NamespaceAccess + 13, // [13:13] is the sub-list for method output_type + 13, // [13:13] is the sub-list for method input_type + 13, // [13:13] is the sub-list for extension type_name + 13, // [13:13] is the sub-list for extension extendee + 0, // [0:13] is the sub-list for field type_name +} + +func init() { file_temporal_api_cloud_auditlog_v1_message_proto_init() } +func file_temporal_api_cloud_auditlog_v1_message_proto_init() { + if File_temporal_api_cloud_auditlog_v1_message_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LogRecord); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OperationDetail); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Access); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountAccess); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceAccess); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchAttributeUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ThirdPartyLogDetail); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Principal); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_temporal_api_cloud_auditlog_v1_message_proto_rawDesc, + NumEnums: 2, + NumMessages: 9, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_temporal_api_cloud_auditlog_v1_message_proto_goTypes, + DependencyIndexes: file_temporal_api_cloud_auditlog_v1_message_proto_depIdxs, + EnumInfos: file_temporal_api_cloud_auditlog_v1_message_proto_enumTypes, + MessageInfos: file_temporal_api_cloud_auditlog_v1_message_proto_msgTypes, + }.Build() + File_temporal_api_cloud_auditlog_v1_message_proto = out.File + file_temporal_api_cloud_auditlog_v1_message_proto_rawDesc = nil + file_temporal_api_cloud_auditlog_v1_message_proto_goTypes = nil + file_temporal_api_cloud_auditlog_v1_message_proto_depIdxs = nil } -func (this *AccountAccess) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&auditlog.AccountAccess{") - s = append(s, "Role: "+fmt.Sprintf("%#v", this.Role)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *NamespaceAccess) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&auditlog.NamespaceAccess{") - s = append(s, "Permission: "+fmt.Sprintf("%#v", this.Permission)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *SearchAttributeUpdate) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&auditlog.SearchAttributeUpdate{") - s = append(s, "ExistingAttribute: "+fmt.Sprintf("%#v", this.ExistingAttribute)+",\n") - s = append(s, "NewAttribute: "+fmt.Sprintf("%#v", this.NewAttribute)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ThirdPartyLogDetail) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&auditlog.ThirdPartyLogDetail{") - s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") - s = append(s, "Source: "+fmt.Sprintf("%#v", this.Source)+",\n") - s = append(s, "RawMessage: "+fmt.Sprintf("%#v", this.RawMessage)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *Principal) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&auditlog.Principal{") - s = append(s, "Type: "+fmt.Sprintf("%#v", this.Type)+",\n") - s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") - s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") - s = append(s, "ApiKeyId: "+fmt.Sprintf("%#v", this.ApiKeyId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func valueToGoStringMessage(v interface{}, typ string) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) -} -func (m *LogRecord) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *LogRecord) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *LogRecord) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x7a - } - if len(m.XForwardedFor) > 0 { - i -= len(m.XForwardedFor) - copy(dAtA[i:], m.XForwardedFor) - i = encodeVarintMessage(dAtA, i, uint64(len(m.XForwardedFor))) - i-- - dAtA[i] = 0x72 - } - if m.Principal != nil { - { - size, err := m.Principal.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x62 - } - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x5a - } - if len(m.LogId) > 0 { - i -= len(m.LogId) - copy(dAtA[i:], m.LogId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.LogId))) - i-- - dAtA[i] = 0x52 - } - if m.Version != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.Version)) - i-- - dAtA[i] = 0x48 - } - if m.Category != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.Category)) - i-- - dAtA[i] = 0x40 - } - if len(m.Status) > 0 { - i -= len(m.Status) - copy(dAtA[i:], m.Status) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Status))) - i-- - dAtA[i] = 0x3a - } - if m.Details != nil { - { - size, err := m.Details.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if len(m.Operation) > 0 { - i -= len(m.Operation) - copy(dAtA[i:], m.Operation) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Operation))) - i-- - dAtA[i] = 0x2a - } - if len(m.CallerIpAddress) > 0 { - i -= len(m.CallerIpAddress) - copy(dAtA[i:], m.CallerIpAddress) - i = encodeVarintMessage(dAtA, i, uint64(len(m.CallerIpAddress))) - i-- - dAtA[i] = 0x22 - } - if len(m.UserEmail) > 0 { - i -= len(m.UserEmail) - copy(dAtA[i:], m.UserEmail) - i = encodeVarintMessage(dAtA, i, uint64(len(m.UserEmail))) - i-- - dAtA[i] = 0x1a - } - if m.Level != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.Level)) - i-- - dAtA[i] = 0x10 - } - if m.EmitTime != nil { - { - size, err := m.EmitTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *OperationDetail) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *OperationDetail) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *OperationDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.NamespaceAccess != nil { - { - size, err := m.NamespaceAccess.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x5a - } - if m.Access != nil { - { - size, err := m.Access.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x52 - } - if m.ThirdPartyDetails != nil { - { - size, err := m.ThirdPartyDetails.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x4a - } - if len(m.AccountFeatures) > 0 { - for iNdEx := len(m.AccountFeatures) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.AccountFeatures[iNdEx]) - copy(dAtA[i:], m.AccountFeatures[iNdEx]) - i = encodeVarintMessage(dAtA, i, uint64(len(m.AccountFeatures[iNdEx]))) - i-- - dAtA[i] = 0x42 - } - } - if len(m.Region) > 0 { - i -= len(m.Region) - copy(dAtA[i:], m.Region) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Region))) - i-- - dAtA[i] = 0x3a - } - if len(m.AdditionalMessage) > 0 { - i -= len(m.AdditionalMessage) - copy(dAtA[i:], m.AdditionalMessage) - i = encodeVarintMessage(dAtA, i, uint64(len(m.AdditionalMessage))) - i-- - dAtA[i] = 0x32 - } - if m.SearchAttributeUpdate != nil { - { - size, err := m.SearchAttributeUpdate.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if len(m.ClientCaFingerprints) > 0 { - for iNdEx := len(m.ClientCaFingerprints) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ClientCaFingerprints[iNdEx]) - copy(dAtA[i:], m.ClientCaFingerprints[iNdEx]) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ClientCaFingerprints[iNdEx]))) - i-- - dAtA[i] = 0x22 - } - } - if len(m.Roles) > 0 { - for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Roles[iNdEx]) - copy(dAtA[i:], m.Roles[iNdEx]) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Roles[iNdEx]))) - i-- - dAtA[i] = 0x1a - } - } - if len(m.TargetUsers) > 0 { - for iNdEx := len(m.TargetUsers) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.TargetUsers[iNdEx]) - copy(dAtA[i:], m.TargetUsers[iNdEx]) - i = encodeVarintMessage(dAtA, i, uint64(len(m.TargetUsers[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Access) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Access) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Access) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NamespaceAccesses) > 0 { - for k := range m.NamespaceAccesses { - v := m.NamespaceAccesses[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintMessage(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintMessage(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x12 - } - } - if m.AccountAccess != nil { - { - size, err := m.AccountAccess.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AccountAccess) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AccountAccess) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AccountAccess) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Role) > 0 { - i -= len(m.Role) - copy(dAtA[i:], m.Role) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Role))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *NamespaceAccess) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NamespaceAccess) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NamespaceAccess) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Permission) > 0 { - i -= len(m.Permission) - copy(dAtA[i:], m.Permission) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Permission))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SearchAttributeUpdate) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SearchAttributeUpdate) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SearchAttributeUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NewAttribute) > 0 { - i -= len(m.NewAttribute) - copy(dAtA[i:], m.NewAttribute) - i = encodeVarintMessage(dAtA, i, uint64(len(m.NewAttribute))) - i-- - dAtA[i] = 0x12 - } - if len(m.ExistingAttribute) > 0 { - i -= len(m.ExistingAttribute) - copy(dAtA[i:], m.ExistingAttribute) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ExistingAttribute))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ThirdPartyLogDetail) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ThirdPartyLogDetail) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ThirdPartyLogDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.RawMessage) > 0 { - i -= len(m.RawMessage) - copy(dAtA[i:], m.RawMessage) - i = encodeVarintMessage(dAtA, i, uint64(len(m.RawMessage))) - i-- - dAtA[i] = 0x1a - } - if len(m.Source) > 0 { - i -= len(m.Source) - copy(dAtA[i:], m.Source) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Source))) - i-- - dAtA[i] = 0x12 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Principal) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Principal) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Principal) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ApiKeyId) > 0 { - i -= len(m.ApiKeyId) - copy(dAtA[i:], m.ApiKeyId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ApiKeyId))) - i-- - dAtA[i] = 0x22 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0x1a - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0x12 - } - if len(m.Type) > 0 { - i -= len(m.Type) - copy(dAtA[i:], m.Type) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Type))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintMessage(dAtA []byte, offset int, v uint64) int { - offset -= sovMessage(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *LogRecord) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.EmitTime != nil { - l = m.EmitTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.Level != 0 { - n += 1 + sovMessage(uint64(m.Level)) - } - l = len(m.UserEmail) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.CallerIpAddress) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.Operation) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Details != nil { - l = m.Details.Size() - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.Status) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Category != 0 { - n += 1 + sovMessage(uint64(m.Category)) - } - if m.Version != 0 { - n += 1 + sovMessage(uint64(m.Version)) - } - l = len(m.LogId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Principal != nil { - l = m.Principal.Size() - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.XForwardedFor) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *OperationDetail) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if len(m.TargetUsers) > 0 { - for _, s := range m.TargetUsers { - l = len(s) - n += 1 + l + sovMessage(uint64(l)) - } - } - if len(m.Roles) > 0 { - for _, s := range m.Roles { - l = len(s) - n += 1 + l + sovMessage(uint64(l)) - } - } - if len(m.ClientCaFingerprints) > 0 { - for _, s := range m.ClientCaFingerprints { - l = len(s) - n += 1 + l + sovMessage(uint64(l)) - } - } - if m.SearchAttributeUpdate != nil { - l = m.SearchAttributeUpdate.Size() - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.AdditionalMessage) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.Region) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if len(m.AccountFeatures) > 0 { - for _, s := range m.AccountFeatures { - l = len(s) - n += 1 + l + sovMessage(uint64(l)) - } - } - if m.ThirdPartyDetails != nil { - l = m.ThirdPartyDetails.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.Access != nil { - l = m.Access.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.NamespaceAccess != nil { - l = m.NamespaceAccess.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *Access) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AccountAccess != nil { - l = m.AccountAccess.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if len(m.NamespaceAccesses) > 0 { - for k, v := range m.NamespaceAccesses { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovMessage(uint64(l)) - } - mapEntrySize := 1 + len(k) + sovMessage(uint64(len(k))) + l - n += mapEntrySize + 1 + sovMessage(uint64(mapEntrySize)) - } - } - return n -} - -func (m *AccountAccess) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Role) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *NamespaceAccess) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Permission) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *SearchAttributeUpdate) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ExistingAttribute) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.NewAttribute) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *ThirdPartyLogDetail) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.Source) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.RawMessage) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *Principal) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Type) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.Id) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.Name) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.ApiKeyId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func sovMessage(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozMessage(x uint64) (n int) { - return sovMessage(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (this *LogRecord) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&LogRecord{`, - `EmitTime:` + strings.Replace(fmt.Sprintf("%v", this.EmitTime), "Timestamp", "types.Timestamp", 1) + `,`, - `Level:` + fmt.Sprintf("%v", this.Level) + `,`, - `UserEmail:` + fmt.Sprintf("%v", this.UserEmail) + `,`, - `CallerIpAddress:` + fmt.Sprintf("%v", this.CallerIpAddress) + `,`, - `Operation:` + fmt.Sprintf("%v", this.Operation) + `,`, - `Details:` + strings.Replace(this.Details.String(), "OperationDetail", "OperationDetail", 1) + `,`, - `Status:` + fmt.Sprintf("%v", this.Status) + `,`, - `Category:` + fmt.Sprintf("%v", this.Category) + `,`, - `Version:` + fmt.Sprintf("%v", this.Version) + `,`, - `LogId:` + fmt.Sprintf("%v", this.LogId) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `Principal:` + strings.Replace(this.Principal.String(), "Principal", "Principal", 1) + `,`, - `XForwardedFor:` + fmt.Sprintf("%v", this.XForwardedFor) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *OperationDetail) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&OperationDetail{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `TargetUsers:` + fmt.Sprintf("%v", this.TargetUsers) + `,`, - `Roles:` + fmt.Sprintf("%v", this.Roles) + `,`, - `ClientCaFingerprints:` + fmt.Sprintf("%v", this.ClientCaFingerprints) + `,`, - `SearchAttributeUpdate:` + strings.Replace(this.SearchAttributeUpdate.String(), "SearchAttributeUpdate", "SearchAttributeUpdate", 1) + `,`, - `AdditionalMessage:` + fmt.Sprintf("%v", this.AdditionalMessage) + `,`, - `Region:` + fmt.Sprintf("%v", this.Region) + `,`, - `AccountFeatures:` + fmt.Sprintf("%v", this.AccountFeatures) + `,`, - `ThirdPartyDetails:` + strings.Replace(this.ThirdPartyDetails.String(), "ThirdPartyLogDetail", "ThirdPartyLogDetail", 1) + `,`, - `Access:` + strings.Replace(this.Access.String(), "Access", "Access", 1) + `,`, - `NamespaceAccess:` + strings.Replace(this.NamespaceAccess.String(), "NamespaceAccess", "NamespaceAccess", 1) + `,`, - `}`, - }, "") - return s -} -func (this *Access) String() string { - if this == nil { - return "nil" - } - keysForNamespaceAccesses := make([]string, 0, len(this.NamespaceAccesses)) - for k, _ := range this.NamespaceAccesses { - keysForNamespaceAccesses = append(keysForNamespaceAccesses, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForNamespaceAccesses) - mapStringForNamespaceAccesses := "map[string]*NamespaceAccess{" - for _, k := range keysForNamespaceAccesses { - mapStringForNamespaceAccesses += fmt.Sprintf("%v: %v,", k, this.NamespaceAccesses[k]) - } - mapStringForNamespaceAccesses += "}" - s := strings.Join([]string{`&Access{`, - `AccountAccess:` + strings.Replace(this.AccountAccess.String(), "AccountAccess", "AccountAccess", 1) + `,`, - `NamespaceAccesses:` + mapStringForNamespaceAccesses + `,`, - `}`, - }, "") - return s -} -func (this *AccountAccess) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&AccountAccess{`, - `Role:` + fmt.Sprintf("%v", this.Role) + `,`, - `}`, - }, "") - return s -} -func (this *NamespaceAccess) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&NamespaceAccess{`, - `Permission:` + fmt.Sprintf("%v", this.Permission) + `,`, - `}`, - }, "") - return s -} -func (this *SearchAttributeUpdate) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&SearchAttributeUpdate{`, - `ExistingAttribute:` + fmt.Sprintf("%v", this.ExistingAttribute) + `,`, - `NewAttribute:` + fmt.Sprintf("%v", this.NewAttribute) + `,`, - `}`, - }, "") - return s -} -func (this *ThirdPartyLogDetail) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ThirdPartyLogDetail{`, - `Id:` + fmt.Sprintf("%v", this.Id) + `,`, - `Source:` + fmt.Sprintf("%v", this.Source) + `,`, - `RawMessage:` + fmt.Sprintf("%v", this.RawMessage) + `,`, - `}`, - }, "") - return s -} -func (this *Principal) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&Principal{`, - `Type:` + fmt.Sprintf("%v", this.Type) + `,`, - `Id:` + fmt.Sprintf("%v", this.Id) + `,`, - `Name:` + fmt.Sprintf("%v", this.Name) + `,`, - `ApiKeyId:` + fmt.Sprintf("%v", this.ApiKeyId) + `,`, - `}`, - }, "") - return s -} -func valueToStringMessage(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) -} -func (m *LogRecord) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: LogRecord: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: LogRecord: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EmitTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.EmitTime == nil { - m.EmitTime = &types.Timestamp{} - } - if err := m.EmitTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType) - } - m.Level = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Level |= LogLevel(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserEmail", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.UserEmail = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CallerIpAddress", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.CallerIpAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Operation", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Operation = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Details == nil { - m.Details = &OperationDetail{} - } - if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Status = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Category", wireType) - } - m.Category = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Category |= LogCategory(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) - } - m.Version = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Version |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LogId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.LogId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 11: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 12: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Principal", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Principal == nil { - m.Principal = &Principal{} - } - if err := m.Principal.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 14: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field XForwardedFor", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.XForwardedFor = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 15: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *OperationDetail) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: OperationDetail: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: OperationDetail: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TargetUsers", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TargetUsers = append(m.TargetUsers, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Roles = append(m.Roles, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClientCaFingerprints", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClientCaFingerprints = append(m.ClientCaFingerprints, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SearchAttributeUpdate", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.SearchAttributeUpdate == nil { - m.SearchAttributeUpdate = &SearchAttributeUpdate{} - } - if err := m.SearchAttributeUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AdditionalMessage", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AdditionalMessage = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Region = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AccountFeatures", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AccountFeatures = append(m.AccountFeatures, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ThirdPartyDetails", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ThirdPartyDetails == nil { - m.ThirdPartyDetails = &ThirdPartyLogDetail{} - } - if err := m.ThirdPartyDetails.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Access == nil { - m.Access = &Access{} - } - if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 11: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NamespaceAccess", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.NamespaceAccess == nil { - m.NamespaceAccess = &NamespaceAccess{} - } - if err := m.NamespaceAccess.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Access) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Access: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Access: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AccountAccess", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AccountAccess == nil { - m.AccountAccess = &AccountAccess{} - } - if err := m.AccountAccess.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NamespaceAccesses", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.NamespaceAccesses == nil { - m.NamespaceAccesses = make(map[string]*NamespaceAccess) - } - var mapkey string - var mapvalue *NamespaceAccess - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthMessage - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthMessage - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthMessage - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthMessage - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &NamespaceAccess{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.NamespaceAccesses[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AccountAccess) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AccountAccess: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AccountAccess: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Role = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NamespaceAccess) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: NamespaceAccess: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NamespaceAccess: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Permission", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Permission = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SearchAttributeUpdate) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SearchAttributeUpdate: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SearchAttributeUpdate: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExistingAttribute", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ExistingAttribute = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NewAttribute", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NewAttribute = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ThirdPartyLogDetail) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ThirdPartyLogDetail: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ThirdPartyLogDetail: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Source = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RawMessage", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RawMessage = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Principal) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Principal: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Principal: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Type = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ApiKeyId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ApiKeyId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipMessage(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthMessage - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupMessage - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthMessage - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowMessage = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group") -) diff --git a/protogen/api/cloud/billing/v1/message.pb.go b/protogen/api/cloud/billing/v1/message.pb.go new file mode 100644 index 00000000..24f776dd --- /dev/null +++ b/protogen/api/cloud/billing/v1/message.pb.go @@ -0,0 +1,617 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) +// source: temporal/api/cloud/billing/v1/message.proto + +package billing + +import ( + proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + "strconv" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +type BillingReport_State int32 + +const ( + BILLING_REPORT_STATE_UNSPECIFIED BillingReport_State = 0 + BILLING_REPORT_STATE_IN_PROGRESS BillingReport_State = 1 + BILLING_REPORT_STATE_GENERATED BillingReport_State = 2 + BILLING_REPORT_STATE_FAILED BillingReport_State = 3 +) + +// Enum value maps for BillingReport_State. +var ( + BillingReport_State_name = map[int32]string{ + 0: "BillingReportStateUnspecified", + 1: "BillingReportStateInProgress", + 2: "BillingReportStateGenerated", + 3: "BillingReportStateFailed", + } + BillingReport_State_value = map[string]int32{ + "BillingReportStateUnspecified": 0, + "BillingReportStateInProgress": 1, + "BillingReportStateGenerated": 2, + "BillingReportStateFailed": 3, + } +) + +func (x BillingReport_State) Enum() *BillingReport_State { + p := new(BillingReport_State) + *p = x + return p +} + +func (x BillingReport_State) String() string { + switch x { + case BILLING_REPORT_STATE_UNSPECIFIED: + return "BillingReportStateUnspecified" + case BILLING_REPORT_STATE_IN_PROGRESS: + return "BillingReportStateInProgress" + case BILLING_REPORT_STATE_GENERATED: + return "BillingReportStateGenerated" + case BILLING_REPORT_STATE_FAILED: + return "BillingReportStateFailed" + default: + return strconv.Itoa(int(x)) + } + +} + +func (BillingReport_State) Descriptor() protoreflect.EnumDescriptor { + return file_temporal_api_cloud_billing_v1_message_proto_enumTypes[0].Descriptor() +} + +func (BillingReport_State) Type() protoreflect.EnumType { + return &file_temporal_api_cloud_billing_v1_message_proto_enumTypes[0] +} + +func (x BillingReport_State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use BillingReport_State.Descriptor instead. +func (BillingReport_State) EnumDescriptor() ([]byte, []int) { + return file_temporal_api_cloud_billing_v1_message_proto_rawDescGZIP(), []int{1, 0} +} + +type BillingReport_Download_FileFormat int32 + +const ( + FILE_FORMAT_UNSPECIFIED BillingReport_Download_FileFormat = 0 + FILE_FORMAT_CSV BillingReport_Download_FileFormat = 1 +) + +// Enum value maps for BillingReport_Download_FileFormat. +var ( + BillingReport_Download_FileFormat_name = map[int32]string{ + 0: "FileFormatUnspecified", + 1: "FileFormatCsv", + } + BillingReport_Download_FileFormat_value = map[string]int32{ + "FileFormatUnspecified": 0, + "FileFormatCsv": 1, + } +) + +func (x BillingReport_Download_FileFormat) Enum() *BillingReport_Download_FileFormat { + p := new(BillingReport_Download_FileFormat) + *p = x + return p +} + +func (x BillingReport_Download_FileFormat) String() string { + switch x { + case FILE_FORMAT_UNSPECIFIED: + return "FileFormatUnspecified" + case FILE_FORMAT_CSV: + return "FileFormatCsv" + default: + return strconv.Itoa(int(x)) + } + +} + +func (BillingReport_Download_FileFormat) Descriptor() protoreflect.EnumDescriptor { + return file_temporal_api_cloud_billing_v1_message_proto_enumTypes[1].Descriptor() +} + +func (BillingReport_Download_FileFormat) Type() protoreflect.EnumType { + return &file_temporal_api_cloud_billing_v1_message_proto_enumTypes[1] +} + +func (x BillingReport_Download_FileFormat) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use BillingReport_Download_FileFormat.Descriptor instead. +func (BillingReport_Download_FileFormat) EnumDescriptor() ([]byte, []int) { + return file_temporal_api_cloud_billing_v1_message_proto_rawDescGZIP(), []int{1, 0, 0} +} + +// temporal:dev +type BillingReportSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The start time of the billing report (in UTC). + StartTimeInclusive *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time_inclusive,json=startTimeInclusive,proto3" json:"start_time_inclusive,omitempty"` + // The end time of the billing report (in UTC). + EndTimeExclusive *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time_exclusive,json=endTimeExclusive,proto3" json:"end_time_exclusive,omitempty"` + // The duration after which the download url will expire. + // Optional, default is 5 minutes and maximum is 1 hour. + DownloadUrlExpirationDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=download_url_expiration_duration,json=downloadUrlExpirationDuration,proto3" json:"download_url_expiration_duration,omitempty"` + // The description for the billing report. + // Optional, default is empty. + Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` +} + +func (x *BillingReportSpec) Reset() { + *x = BillingReportSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_billing_v1_message_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BillingReportSpec) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BillingReportSpec) ProtoMessage() {} + +func (x *BillingReportSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_billing_v1_message_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BillingReportSpec.ProtoReflect.Descriptor instead. +func (*BillingReportSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_billing_v1_message_proto_rawDescGZIP(), []int{0} +} + +func (x *BillingReportSpec) GetStartTimeInclusive() *timestamppb.Timestamp { + if x != nil { + return x.StartTimeInclusive + } + return nil +} + +func (x *BillingReportSpec) GetEndTimeExclusive() *timestamppb.Timestamp { + if x != nil { + return x.EndTimeExclusive + } + return nil +} + +func (x *BillingReportSpec) GetDownloadUrlExpirationDuration() *durationpb.Duration { + if x != nil { + return x.DownloadUrlExpirationDuration + } + return nil +} + +func (x *BillingReportSpec) GetDescription() string { + if x != nil { + return x.Description + } + return "" +} + +// temporal:dev +type BillingReport struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The id of the billing report. + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // The current state of the billing report. + State BillingReport_State `protobuf:"varint,2,opt,name=state,proto3,enum=temporal.api.cloud.billing.v1.BillingReport_State" json:"state,omitempty"` + // The spec used to generate this billing report. + Spec *BillingReportSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` + // The download information for the billing report. + // For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.) + DownloadInfo []*BillingReport_Download `protobuf:"bytes,4,rep,name=download_info,json=downloadInfo,proto3" json:"download_info,omitempty"` + // The date and time when the billing report was requested. + RequestedTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=requested_time,json=requestedTime,proto3" json:"requested_time,omitempty"` + // The date and time when the billing report generation completed. + GeneratedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=generated_time,json=generatedTime,proto3" json:"generated_time,omitempty"` + // The async operation id associated with the billing report generation. + AsyncOperationId string `protobuf:"bytes,7,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` +} + +func (x *BillingReport) Reset() { + *x = BillingReport{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_billing_v1_message_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BillingReport) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BillingReport) ProtoMessage() {} + +func (x *BillingReport) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_billing_v1_message_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BillingReport.ProtoReflect.Descriptor instead. +func (*BillingReport) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_billing_v1_message_proto_rawDescGZIP(), []int{1} +} + +func (x *BillingReport) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *BillingReport) GetState() BillingReport_State { + if x != nil { + return x.State + } + return BILLING_REPORT_STATE_UNSPECIFIED +} + +func (x *BillingReport) GetSpec() *BillingReportSpec { + if x != nil { + return x.Spec + } + return nil +} + +func (x *BillingReport) GetDownloadInfo() []*BillingReport_Download { + if x != nil { + return x.DownloadInfo + } + return nil +} + +func (x *BillingReport) GetRequestedTime() *timestamppb.Timestamp { + if x != nil { + return x.RequestedTime + } + return nil +} + +func (x *BillingReport) GetGeneratedTime() *timestamppb.Timestamp { + if x != nil { + return x.GeneratedTime + } + return nil +} + +func (x *BillingReport) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId + } + return "" +} + +// temporal:dev +type BillingReport_Download struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The download url. + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + // The time when the download url will expire. + UrlExpirationTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=url_expiration_time,json=urlExpirationTime,proto3" json:"url_expiration_time,omitempty"` + // The file format of the billing report + FileFormat BillingReport_Download_FileFormat `protobuf:"varint,3,opt,name=file_format,json=fileFormat,proto3,enum=temporal.api.cloud.billing.v1.BillingReport_Download_FileFormat" json:"file_format,omitempty"` + // The size of the file in bytes. Useful for pre-allocating space, progress indicators, etc. + FileSizeBytes int64 `protobuf:"varint,4,opt,name=file_size_bytes,json=fileSizeBytes,proto3" json:"file_size_bytes,omitempty"` +} + +func (x *BillingReport_Download) Reset() { + *x = BillingReport_Download{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_billing_v1_message_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BillingReport_Download) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BillingReport_Download) ProtoMessage() {} + +func (x *BillingReport_Download) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_billing_v1_message_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BillingReport_Download.ProtoReflect.Descriptor instead. +func (*BillingReport_Download) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_billing_v1_message_proto_rawDescGZIP(), []int{1, 0} +} + +func (x *BillingReport_Download) GetUrl() string { + if x != nil { + return x.Url + } + return "" +} + +func (x *BillingReport_Download) GetUrlExpirationTime() *timestamppb.Timestamp { + if x != nil { + return x.UrlExpirationTime + } + return nil +} + +func (x *BillingReport_Download) GetFileFormat() BillingReport_Download_FileFormat { + if x != nil { + return x.FileFormat + } + return FILE_FORMAT_UNSPECIFIED +} + +func (x *BillingReport_Download) GetFileSizeBytes() int64 { + if x != nil { + return x.FileSizeBytes + } + return 0 +} + +var File_temporal_api_cloud_billing_v1_message_proto protoreflect.FileDescriptor + +var file_temporal_api_cloud_billing_v1_message_proto_rawDesc = []byte{ + 0x0a, 0x2b, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x1e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb1, 0x02, + 0x0a, 0x11, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x53, + 0x70, 0x65, 0x63, 0x12, 0x4c, 0x0a, 0x14, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x5f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x12, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, + 0x65, 0x12, 0x48, 0x0a, 0x12, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x65, 0x78, + 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x65, 0x6e, 0x64, 0x54, 0x69, + 0x6d, 0x65, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x12, 0x62, 0x0a, 0x20, 0x64, + 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x75, 0x72, 0x6c, 0x5f, 0x65, 0x78, 0x70, 0x69, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x1d, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x45, 0x78, 0x70, + 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x90, 0x07, 0x0a, 0x0d, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, + 0x6f, 0x72, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x02, 0x69, 0x64, 0x12, 0x48, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, + 0x76, 0x31, 0x2e, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x44, 0x0a, + 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x6c, 0x6c, + 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, + 0x70, 0x65, 0x63, 0x12, 0x5a, 0x0a, 0x0d, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x6c, 0x6c, 0x69, + 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, + 0x64, 0x52, 0x0c, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x41, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0d, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, + 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x1a, 0xb3, 0x02, 0x0a, 0x08, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, + 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, + 0x72, 0x6c, 0x12, 0x4a, 0x0a, 0x13, 0x75, 0x72, 0x6c, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x11, 0x75, 0x72, 0x6c, + 0x45, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x61, + 0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x40, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, + 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6f, 0x72, + 0x74, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x46, + 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, + 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x62, + 0x79, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x66, 0x69, 0x6c, 0x65, + 0x53, 0x69, 0x7a, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0x3e, 0x0a, 0x0a, 0x46, 0x69, 0x6c, + 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x49, 0x4c, 0x45, 0x5f, + 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, + 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x46, 0x4f, 0x52, + 0x4d, 0x41, 0x54, 0x5f, 0x43, 0x53, 0x56, 0x10, 0x01, 0x22, 0x98, 0x01, 0x0a, 0x05, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x24, 0x0a, 0x20, 0x42, 0x49, 0x4c, 0x4c, 0x49, 0x4e, 0x47, 0x5f, 0x52, + 0x45, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, + 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x24, 0x0a, 0x20, 0x42, 0x49, 0x4c, + 0x4c, 0x49, 0x4e, 0x47, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, + 0x45, 0x5f, 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x01, 0x12, + 0x22, 0x0a, 0x1e, 0x42, 0x49, 0x4c, 0x4c, 0x49, 0x4e, 0x47, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x52, + 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x45, + 0x44, 0x10, 0x02, 0x12, 0x1f, 0x0a, 0x1b, 0x42, 0x49, 0x4c, 0x4c, 0x49, 0x4e, 0x47, 0x5f, 0x52, + 0x45, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, + 0x45, 0x44, 0x10, 0x03, 0x42, 0xf7, 0x01, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2b, 0x67, 0x6f, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x3b, + 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0xa2, 0x02, 0x04, 0x54, 0x41, 0x43, 0x42, 0xaa, 0x02, + 0x1d, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x41, 0x70, 0x69, 0x2e, 0x43, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x31, 0xca, 0x02, + 0x1d, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x43, 0x6c, + 0x6f, 0x75, 0x64, 0x5c, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, 0xe2, 0x02, + 0x29, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x43, 0x6c, + 0x6f, 0x75, 0x64, 0x5c, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x21, 0x54, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, + 0x64, 0x3a, 0x3a, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_temporal_api_cloud_billing_v1_message_proto_rawDescOnce sync.Once + file_temporal_api_cloud_billing_v1_message_proto_rawDescData = file_temporal_api_cloud_billing_v1_message_proto_rawDesc +) + +func file_temporal_api_cloud_billing_v1_message_proto_rawDescGZIP() []byte { + file_temporal_api_cloud_billing_v1_message_proto_rawDescOnce.Do(func() { + file_temporal_api_cloud_billing_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_temporal_api_cloud_billing_v1_message_proto_rawDescData) + }) + return file_temporal_api_cloud_billing_v1_message_proto_rawDescData +} + +var file_temporal_api_cloud_billing_v1_message_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_temporal_api_cloud_billing_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_temporal_api_cloud_billing_v1_message_proto_goTypes = []interface{}{ + (BillingReport_State)(0), // 0: temporal.api.cloud.billing.v1.BillingReport.State + (BillingReport_Download_FileFormat)(0), // 1: temporal.api.cloud.billing.v1.BillingReport.Download.FileFormat + (*BillingReportSpec)(nil), // 2: temporal.api.cloud.billing.v1.BillingReportSpec + (*BillingReport)(nil), // 3: temporal.api.cloud.billing.v1.BillingReport + (*BillingReport_Download)(nil), // 4: temporal.api.cloud.billing.v1.BillingReport.Download + (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 6: google.protobuf.Duration +} +var file_temporal_api_cloud_billing_v1_message_proto_depIdxs = []int32{ + 5, // 0: temporal.api.cloud.billing.v1.BillingReportSpec.start_time_inclusive:type_name -> google.protobuf.Timestamp + 5, // 1: temporal.api.cloud.billing.v1.BillingReportSpec.end_time_exclusive:type_name -> google.protobuf.Timestamp + 6, // 2: temporal.api.cloud.billing.v1.BillingReportSpec.download_url_expiration_duration:type_name -> google.protobuf.Duration + 0, // 3: temporal.api.cloud.billing.v1.BillingReport.state:type_name -> temporal.api.cloud.billing.v1.BillingReport.State + 2, // 4: temporal.api.cloud.billing.v1.BillingReport.spec:type_name -> temporal.api.cloud.billing.v1.BillingReportSpec + 4, // 5: temporal.api.cloud.billing.v1.BillingReport.download_info:type_name -> temporal.api.cloud.billing.v1.BillingReport.Download + 5, // 6: temporal.api.cloud.billing.v1.BillingReport.requested_time:type_name -> google.protobuf.Timestamp + 5, // 7: temporal.api.cloud.billing.v1.BillingReport.generated_time:type_name -> google.protobuf.Timestamp + 5, // 8: temporal.api.cloud.billing.v1.BillingReport.Download.url_expiration_time:type_name -> google.protobuf.Timestamp + 1, // 9: temporal.api.cloud.billing.v1.BillingReport.Download.file_format:type_name -> temporal.api.cloud.billing.v1.BillingReport.Download.FileFormat + 10, // [10:10] is the sub-list for method output_type + 10, // [10:10] is the sub-list for method input_type + 10, // [10:10] is the sub-list for extension type_name + 10, // [10:10] is the sub-list for extension extendee + 0, // [0:10] is the sub-list for field type_name +} + +func init() { file_temporal_api_cloud_billing_v1_message_proto_init() } +func file_temporal_api_cloud_billing_v1_message_proto_init() { + if File_temporal_api_cloud_billing_v1_message_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_temporal_api_cloud_billing_v1_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BillingReportSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_billing_v1_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BillingReport); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_billing_v1_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BillingReport_Download); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_temporal_api_cloud_billing_v1_message_proto_rawDesc, + NumEnums: 2, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_temporal_api_cloud_billing_v1_message_proto_goTypes, + DependencyIndexes: file_temporal_api_cloud_billing_v1_message_proto_depIdxs, + EnumInfos: file_temporal_api_cloud_billing_v1_message_proto_enumTypes, + MessageInfos: file_temporal_api_cloud_billing_v1_message_proto_msgTypes, + }.Build() + File_temporal_api_cloud_billing_v1_message_proto = out.File + file_temporal_api_cloud_billing_v1_message_proto_rawDesc = nil + file_temporal_api_cloud_billing_v1_message_proto_goTypes = nil + file_temporal_api_cloud_billing_v1_message_proto_depIdxs = nil +} diff --git a/protogen/api/cloud/cloudservice/v1/request_response.pb.go b/protogen/api/cloud/cloudservice/v1/request_response.pb.go index bd638a00..1c1be088 100644 --- a/protogen/api/cloud/cloudservice/v1/request_response.pb.go +++ b/protogen/api/cloud/cloudservice/v1/request_response.pb.go @@ -1,42 +1,245 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: temporal/api/cloud/cloudservice/v1/request_response.proto package cloudservice import ( - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" - types "github.com/gogo/protobuf/types" + _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" + proto "github.com/golang/protobuf/proto" v15 "github.com/temporalio/tcld/protogen/api/cloud/account/v1" - v16 "github.com/temporalio/tcld/protogen/api/cloud/auditlog/v1" - v18 "github.com/temporalio/tcld/protogen/api/cloud/connectivityrule/v1" + v17 "github.com/temporalio/tcld/protogen/api/cloud/auditlog/v1" + v111 "github.com/temporalio/tcld/protogen/api/cloud/billing/v1" + v19 "github.com/temporalio/tcld/protogen/api/cloud/connectivityrule/v1" v1 "github.com/temporalio/tcld/protogen/api/cloud/identity/v1" v12 "github.com/temporalio/tcld/protogen/api/cloud/namespace/v1" v14 "github.com/temporalio/tcld/protogen/api/cloud/nexus/v1" v11 "github.com/temporalio/tcld/protogen/api/cloud/operation/v1" - v19 "github.com/temporalio/tcld/protogen/api/cloud/project/v1" + v110 "github.com/temporalio/tcld/protogen/api/cloud/project/v1" v13 "github.com/temporalio/tcld/protogen/api/cloud/region/v1" - v17 "github.com/temporalio/tcld/protogen/api/cloud/usage/v1" - io "io" - math "math" - math_bits "math/bits" + v16 "github.com/temporalio/tcld/protogen/api/cloud/resource/v1" + v18 "github.com/temporalio/tcld/protogen/api/cloud/usage/v1" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" reflect "reflect" - strings "strings" + "strconv" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// temporal:ui +type GetServiceAccountsRequest_ScopeType int32 + +const ( + GET_SERVICE_ACCOUNT_SCOPE_TYPE_UNSPECIFIED GetServiceAccountsRequest_ScopeType = 0 // returns all service accounts + GET_SERVICE_ACCOUNT_SCOPE_TYPE_ACCOUNT GetServiceAccountsRequest_ScopeType = 1 // returns "unscoped" service accounts + GET_SERVICE_ACCOUNT_SCOPE_TYPE_NAMESPACE GetServiceAccountsRequest_ScopeType = 2 // returns "scoped" service accounts +) + +// Enum value maps for GetServiceAccountsRequest_ScopeType. +var ( + GetServiceAccountsRequest_ScopeType_name = map[int32]string{ + 0: "GetServiceAccountScopeTypeUnspecified", + 1: "GetServiceAccountScopeTypeAccount", + 2: "GetServiceAccountScopeTypeNamespace", + } + GetServiceAccountsRequest_ScopeType_value = map[string]int32{ + "GetServiceAccountScopeTypeUnspecified": 0, + "GetServiceAccountScopeTypeAccount": 1, + "GetServiceAccountScopeTypeNamespace": 2, + } +) + +func (x GetServiceAccountsRequest_ScopeType) Enum() *GetServiceAccountsRequest_ScopeType { + p := new(GetServiceAccountsRequest_ScopeType) + *p = x + return p +} + +func (x GetServiceAccountsRequest_ScopeType) String() string { + switch x { + case GET_SERVICE_ACCOUNT_SCOPE_TYPE_UNSPECIFIED: + return "GetServiceAccountScopeTypeUnspecified" + case GET_SERVICE_ACCOUNT_SCOPE_TYPE_ACCOUNT: + return "GetServiceAccountScopeTypeAccount" + case GET_SERVICE_ACCOUNT_SCOPE_TYPE_NAMESPACE: + return "GetServiceAccountScopeTypeNamespace" + default: + return strconv.Itoa(int(x)) + } + +} + +func (GetServiceAccountsRequest_ScopeType) Descriptor() protoreflect.EnumDescriptor { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_enumTypes[0].Descriptor() +} + +func (GetServiceAccountsRequest_ScopeType) Type() protoreflect.EnumType { + return &file_temporal_api_cloud_cloudservice_v1_request_response_proto_enumTypes[0] +} + +func (x GetServiceAccountsRequest_ScopeType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use GetServiceAccountsRequest_ScopeType.Descriptor instead. +func (GetServiceAccountsRequest_ScopeType) EnumDescriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{74, 0} +} + +// temporal:dev +type GetCurrentIdentityRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetCurrentIdentityRequest) Reset() { + *x = GetCurrentIdentityRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCurrentIdentityRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCurrentIdentityRequest) ProtoMessage() {} + +func (x *GetCurrentIdentityRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCurrentIdentityRequest.ProtoReflect.Descriptor instead. +func (*GetCurrentIdentityRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{0} +} + +// temporal:dev +type GetCurrentIdentityResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The authenticated principal making the request + // + // Types that are assignable to Principal: + // + // *GetCurrentIdentityResponse_User + // *GetCurrentIdentityResponse_ServiceAccount + Principal isGetCurrentIdentityResponse_Principal `protobuf_oneof:"principal"` + // The API key info used to authenticate the request, if any + PrincipalApiKey *v1.ApiKey `protobuf:"bytes,3,opt,name=principal_api_key,json=principalApiKey,proto3" json:"principal_api_key,omitempty"` +} + +func (x *GetCurrentIdentityResponse) Reset() { + *x = GetCurrentIdentityResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCurrentIdentityResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCurrentIdentityResponse) ProtoMessage() {} + +func (x *GetCurrentIdentityResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCurrentIdentityResponse.ProtoReflect.Descriptor instead. +func (*GetCurrentIdentityResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{1} +} + +func (m *GetCurrentIdentityResponse) GetPrincipal() isGetCurrentIdentityResponse_Principal { + if m != nil { + return m.Principal + } + return nil +} + +func (x *GetCurrentIdentityResponse) GetUser() *v1.User { + if x, ok := x.GetPrincipal().(*GetCurrentIdentityResponse_User); ok { + return x.User + } + return nil +} + +func (x *GetCurrentIdentityResponse) GetServiceAccount() *v1.ServiceAccount { + if x, ok := x.GetPrincipal().(*GetCurrentIdentityResponse_ServiceAccount); ok { + return x.ServiceAccount + } + return nil +} + +func (x *GetCurrentIdentityResponse) GetPrincipalApiKey() *v1.ApiKey { + if x != nil { + return x.PrincipalApiKey + } + return nil +} + +type isGetCurrentIdentityResponse_Principal interface { + isGetCurrentIdentityResponse_Principal() +} + +type GetCurrentIdentityResponse_User struct { + // The user is a regular user + User *v1.User `protobuf:"bytes,1,opt,name=user,proto3,oneof" json:"user,omitempty"` +} + +type GetCurrentIdentityResponse_ServiceAccount struct { + // The user is a service account + ServiceAccount *v1.ServiceAccount `protobuf:"bytes,2,opt,name=service_account,json=serviceAccount,proto3,oneof" json:"service_account,omitempty"` +} + +func (*GetCurrentIdentityResponse_User) isGetCurrentIdentityResponse_Principal() {} -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +func (*GetCurrentIdentityResponse_ServiceAccount) isGetCurrentIdentityResponse_Principal() {} type GetUsersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The requested size of the page to retrieve - optional. // Cannot exceed 1000. Defaults to 100. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` @@ -46,316 +249,371 @@ type GetUsersRequest struct { Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` // Filter users by the namespace they have access to - optional. Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` + // Filter for email substring - optional + // temporal:ui + EmailSubstring string `protobuf:"bytes,100,opt,name=email_substring,json=emailSubstring,proto3" json:"email_substring,omitempty"` + // Inclusive filter for entity states - optional. + // This is not the enum, because gogoproto will panic on decoding a repeated enum. + // temporal:ui + IncludeStates []string `protobuf:"bytes,101,rep,name=include_states,json=includeStates,proto3" json:"include_states,omitempty"` } -func (m *GetUsersRequest) Reset() { *m = GetUsersRequest{} } -func (*GetUsersRequest) ProtoMessage() {} -func (*GetUsersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{0} +func (x *GetUsersRequest) Reset() { + *x = GetUsersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetUsersRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetUsersRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetUsersRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetUsersRequest) ProtoMessage() {} + +func (x *GetUsersRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetUsersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUsersRequest.Merge(m, src) -} -func (m *GetUsersRequest) XXX_Size() int { - return m.Size() -} -func (m *GetUsersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetUsersRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetUsersRequest proto.InternalMessageInfo +// Deprecated: Use GetUsersRequest.ProtoReflect.Descriptor instead. +func (*GetUsersRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{2} +} -func (m *GetUsersRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *GetUsersRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *GetUsersRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *GetUsersRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } -func (m *GetUsersRequest) GetEmail() string { - if m != nil { - return m.Email +func (x *GetUsersRequest) GetEmail() string { + if x != nil { + return x.Email } return "" } -func (m *GetUsersRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *GetUsersRequest) GetNamespace() string { + if x != nil { + return x.Namespace + } + return "" +} + +func (x *GetUsersRequest) GetEmailSubstring() string { + if x != nil { + return x.EmailSubstring } return "" } +func (x *GetUsersRequest) GetIncludeStates() []string { + if x != nil { + return x.IncludeStates + } + return nil +} + type GetUsersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The list of users in ascending ids order Users []*v1.User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // The next page's token NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *GetUsersResponse) Reset() { *m = GetUsersResponse{} } -func (*GetUsersResponse) ProtoMessage() {} -func (*GetUsersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{1} +func (x *GetUsersResponse) Reset() { + *x = GetUsersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetUsersResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetUsersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetUsersResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetUsersResponse) ProtoMessage() {} + +func (x *GetUsersResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetUsersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUsersResponse.Merge(m, src) -} -func (m *GetUsersResponse) XXX_Size() int { - return m.Size() -} -func (m *GetUsersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetUsersResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetUsersResponse proto.InternalMessageInfo +// Deprecated: Use GetUsersResponse.ProtoReflect.Descriptor instead. +func (*GetUsersResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{3} +} -func (m *GetUsersResponse) GetUsers() []*v1.User { - if m != nil { - return m.Users +func (x *GetUsersResponse) GetUsers() []*v1.User { + if x != nil { + return x.Users } return nil } -func (m *GetUsersResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *GetUsersResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type GetUserRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the user to get UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + // If true, only direct roles will be returned, not ones derived from group memberships. + // temporal:ui + IncludeDerivedRoles bool `protobuf:"varint,100,opt,name=include_derived_roles,json=includeDerivedRoles,proto3" json:"include_derived_roles,omitempty"` } -func (m *GetUserRequest) Reset() { *m = GetUserRequest{} } -func (*GetUserRequest) ProtoMessage() {} -func (*GetUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{2} +func (x *GetUserRequest) Reset() { + *x = GetUserRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetUserRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetUserRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetUserRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetUserRequest) ProtoMessage() {} + +func (x *GetUserRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetUserRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserRequest.Merge(m, src) -} -func (m *GetUserRequest) XXX_Size() int { - return m.Size() -} -func (m *GetUserRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetUserRequest proto.InternalMessageInfo +// Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead. +func (*GetUserRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{4} +} -func (m *GetUserRequest) GetUserId() string { - if m != nil { - return m.UserId +func (x *GetUserRequest) GetUserId() string { + if x != nil { + return x.UserId } return "" } +func (x *GetUserRequest) GetIncludeDerivedRoles() bool { + if x != nil { + return x.IncludeDerivedRoles + } + return false +} + type GetUserResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The user User *v1.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` } -func (m *GetUserResponse) Reset() { *m = GetUserResponse{} } -func (*GetUserResponse) ProtoMessage() {} -func (*GetUserResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{3} +func (x *GetUserResponse) Reset() { + *x = GetUserResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetUserResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetUserResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetUserResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetUserResponse) ProtoMessage() {} + +func (x *GetUserResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetUserResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserResponse.Merge(m, src) -} -func (m *GetUserResponse) XXX_Size() int { - return m.Size() -} -func (m *GetUserResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetUserResponse proto.InternalMessageInfo +// Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead. +func (*GetUserResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{5} +} -func (m *GetUserResponse) GetUser() *v1.User { - if m != nil { - return m.User +func (x *GetUserResponse) GetUser() *v1.User { + if x != nil { + return x.User } return nil } type CreateUserRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The spec for the user to invite Spec *v1.UserSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` // The id to use for this async operation - optional AsyncOperationId string `protobuf:"bytes,2,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *CreateUserRequest) Reset() { *m = CreateUserRequest{} } -func (*CreateUserRequest) ProtoMessage() {} -func (*CreateUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{4} +func (x *CreateUserRequest) Reset() { + *x = CreateUserRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateUserRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *CreateUserRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateUserRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*CreateUserRequest) ProtoMessage() {} + +func (x *CreateUserRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *CreateUserRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateUserRequest.Merge(m, src) -} -func (m *CreateUserRequest) XXX_Size() int { - return m.Size() -} -func (m *CreateUserRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateUserRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_CreateUserRequest proto.InternalMessageInfo +// Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead. +func (*CreateUserRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{6} +} -func (m *CreateUserRequest) GetSpec() *v1.UserSpec { - if m != nil { - return m.Spec +func (x *CreateUserRequest) GetSpec() *v1.UserSpec { + if x != nil { + return x.Spec } return nil } -func (m *CreateUserRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *CreateUserRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type CreateUserResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the user that was invited UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // The async operation AsyncOperation *v11.AsyncOperation `protobuf:"bytes,2,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *CreateUserResponse) Reset() { *m = CreateUserResponse{} } -func (*CreateUserResponse) ProtoMessage() {} -func (*CreateUserResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{5} +func (x *CreateUserResponse) Reset() { + *x = CreateUserResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateUserResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *CreateUserResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateUserResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*CreateUserResponse) ProtoMessage() {} + +func (x *CreateUserResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *CreateUserResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateUserResponse.Merge(m, src) -} -func (m *CreateUserResponse) XXX_Size() int { - return m.Size() -} -func (m *CreateUserResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateUserResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_CreateUserResponse proto.InternalMessageInfo +// Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead. +func (*CreateUserResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{7} +} -func (m *CreateUserResponse) GetUserId() string { - if m != nil { - return m.UserId +func (x *CreateUserResponse) GetUserId() string { + if x != nil { + return x.UserId } return "" } -func (m *CreateUserResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *CreateUserResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type UpdateUserRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the user to update UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // The new user specification @@ -367,111 +625,119 @@ type UpdateUserRequest struct { AsyncOperationId string `protobuf:"bytes,4,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *UpdateUserRequest) Reset() { *m = UpdateUserRequest{} } -func (*UpdateUserRequest) ProtoMessage() {} -func (*UpdateUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{6} +func (x *UpdateUserRequest) Reset() { + *x = UpdateUserRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateUserRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *UpdateUserRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateUserRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*UpdateUserRequest) ProtoMessage() {} + +func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *UpdateUserRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateUserRequest.Merge(m, src) -} -func (m *UpdateUserRequest) XXX_Size() int { - return m.Size() -} -func (m *UpdateUserRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateUserRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateUserRequest proto.InternalMessageInfo +// Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead. +func (*UpdateUserRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{8} +} -func (m *UpdateUserRequest) GetUserId() string { - if m != nil { - return m.UserId +func (x *UpdateUserRequest) GetUserId() string { + if x != nil { + return x.UserId } return "" } -func (m *UpdateUserRequest) GetSpec() *v1.UserSpec { - if m != nil { - return m.Spec +func (x *UpdateUserRequest) GetSpec() *v1.UserSpec { + if x != nil { + return x.Spec } return nil } -func (m *UpdateUserRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *UpdateUserRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *UpdateUserRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *UpdateUserRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type UpdateUserResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *UpdateUserResponse) Reset() { *m = UpdateUserResponse{} } -func (*UpdateUserResponse) ProtoMessage() {} -func (*UpdateUserResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{7} +func (x *UpdateUserResponse) Reset() { + *x = UpdateUserResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateUserResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *UpdateUserResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateUserResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*UpdateUserResponse) ProtoMessage() {} + +func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *UpdateUserResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateUserResponse.Merge(m, src) -} -func (m *UpdateUserResponse) XXX_Size() int { - return m.Size() -} -func (m *UpdateUserResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateUserResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateUserResponse proto.InternalMessageInfo +// Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead. +func (*UpdateUserResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{9} +} -func (m *UpdateUserResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *UpdateUserResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type DeleteUserRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the user to delete UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // The version of the user for which this delete is intended for @@ -481,104 +747,112 @@ type DeleteUserRequest struct { AsyncOperationId string `protobuf:"bytes,3,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *DeleteUserRequest) Reset() { *m = DeleteUserRequest{} } -func (*DeleteUserRequest) ProtoMessage() {} -func (*DeleteUserRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{8} +func (x *DeleteUserRequest) Reset() { + *x = DeleteUserRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteUserRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *DeleteUserRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteUserRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*DeleteUserRequest) ProtoMessage() {} + +func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *DeleteUserRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteUserRequest.Merge(m, src) -} -func (m *DeleteUserRequest) XXX_Size() int { - return m.Size() -} -func (m *DeleteUserRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteUserRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteUserRequest proto.InternalMessageInfo +// Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead. +func (*DeleteUserRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{10} +} -func (m *DeleteUserRequest) GetUserId() string { - if m != nil { - return m.UserId +func (x *DeleteUserRequest) GetUserId() string { + if x != nil { + return x.UserId } return "" } -func (m *DeleteUserRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *DeleteUserRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *DeleteUserRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *DeleteUserRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type DeleteUserResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *DeleteUserResponse) Reset() { *m = DeleteUserResponse{} } -func (*DeleteUserResponse) ProtoMessage() {} -func (*DeleteUserResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{9} +func (x *DeleteUserResponse) Reset() { + *x = DeleteUserResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteUserResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *DeleteUserResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteUserResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*DeleteUserResponse) ProtoMessage() {} + +func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *DeleteUserResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteUserResponse.Merge(m, src) -} -func (m *DeleteUserResponse) XXX_Size() int { - return m.Size() -} -func (m *DeleteUserResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteUserResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteUserResponse proto.InternalMessageInfo +// Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead. +func (*DeleteUserResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{11} +} -func (m *DeleteUserResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *DeleteUserResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type SetUserNamespaceAccessRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace to set permissions for Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // The id of the user to set permissions for @@ -592,206 +866,222 @@ type SetUserNamespaceAccessRequest struct { AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *SetUserNamespaceAccessRequest) Reset() { *m = SetUserNamespaceAccessRequest{} } -func (*SetUserNamespaceAccessRequest) ProtoMessage() {} -func (*SetUserNamespaceAccessRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{10} +func (x *SetUserNamespaceAccessRequest) Reset() { + *x = SetUserNamespaceAccessRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetUserNamespaceAccessRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *SetUserNamespaceAccessRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetUserNamespaceAccessRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SetUserNamespaceAccessRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*SetUserNamespaceAccessRequest) ProtoMessage() {} + +func (x *SetUserNamespaceAccessRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *SetUserNamespaceAccessRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetUserNamespaceAccessRequest.Merge(m, src) -} -func (m *SetUserNamespaceAccessRequest) XXX_Size() int { - return m.Size() -} -func (m *SetUserNamespaceAccessRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetUserNamespaceAccessRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_SetUserNamespaceAccessRequest proto.InternalMessageInfo +// Deprecated: Use SetUserNamespaceAccessRequest.ProtoReflect.Descriptor instead. +func (*SetUserNamespaceAccessRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{12} +} -func (m *SetUserNamespaceAccessRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *SetUserNamespaceAccessRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *SetUserNamespaceAccessRequest) GetUserId() string { - if m != nil { - return m.UserId +func (x *SetUserNamespaceAccessRequest) GetUserId() string { + if x != nil { + return x.UserId } return "" } -func (m *SetUserNamespaceAccessRequest) GetAccess() *v1.NamespaceAccess { - if m != nil { - return m.Access +func (x *SetUserNamespaceAccessRequest) GetAccess() *v1.NamespaceAccess { + if x != nil { + return x.Access } return nil } -func (m *SetUserNamespaceAccessRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *SetUserNamespaceAccessRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *SetUserNamespaceAccessRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *SetUserNamespaceAccessRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type SetUserNamespaceAccessResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *SetUserNamespaceAccessResponse) Reset() { *m = SetUserNamespaceAccessResponse{} } -func (*SetUserNamespaceAccessResponse) ProtoMessage() {} -func (*SetUserNamespaceAccessResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{11} +func (x *SetUserNamespaceAccessResponse) Reset() { + *x = SetUserNamespaceAccessResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetUserNamespaceAccessResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *SetUserNamespaceAccessResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetUserNamespaceAccessResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SetUserNamespaceAccessResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*SetUserNamespaceAccessResponse) ProtoMessage() {} + +func (x *SetUserNamespaceAccessResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *SetUserNamespaceAccessResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetUserNamespaceAccessResponse.Merge(m, src) -} -func (m *SetUserNamespaceAccessResponse) XXX_Size() int { - return m.Size() -} -func (m *SetUserNamespaceAccessResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SetUserNamespaceAccessResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_SetUserNamespaceAccessResponse proto.InternalMessageInfo +// Deprecated: Use SetUserNamespaceAccessResponse.ProtoReflect.Descriptor instead. +func (*SetUserNamespaceAccessResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{13} +} -func (m *SetUserNamespaceAccessResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *SetUserNamespaceAccessResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type GetAsyncOperationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the async operation to get AsyncOperationId string `protobuf:"bytes,1,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *GetAsyncOperationRequest) Reset() { *m = GetAsyncOperationRequest{} } -func (*GetAsyncOperationRequest) ProtoMessage() {} -func (*GetAsyncOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{12} +func (x *GetAsyncOperationRequest) Reset() { + *x = GetAsyncOperationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetAsyncOperationRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetAsyncOperationRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAsyncOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetAsyncOperationRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetAsyncOperationRequest) ProtoMessage() {} + +func (x *GetAsyncOperationRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetAsyncOperationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAsyncOperationRequest.Merge(m, src) -} -func (m *GetAsyncOperationRequest) XXX_Size() int { - return m.Size() -} -func (m *GetAsyncOperationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAsyncOperationRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetAsyncOperationRequest proto.InternalMessageInfo +// Deprecated: Use GetAsyncOperationRequest.ProtoReflect.Descriptor instead. +func (*GetAsyncOperationRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{14} +} -func (m *GetAsyncOperationRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *GetAsyncOperationRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type GetAsyncOperationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *GetAsyncOperationResponse) Reset() { *m = GetAsyncOperationResponse{} } -func (*GetAsyncOperationResponse) ProtoMessage() {} -func (*GetAsyncOperationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{13} +func (x *GetAsyncOperationResponse) Reset() { + *x = GetAsyncOperationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetAsyncOperationResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetAsyncOperationResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAsyncOperationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetAsyncOperationResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetAsyncOperationResponse) ProtoMessage() {} + +func (x *GetAsyncOperationResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetAsyncOperationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAsyncOperationResponse.Merge(m, src) -} -func (m *GetAsyncOperationResponse) XXX_Size() int { - return m.Size() -} -func (m *GetAsyncOperationResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetAsyncOperationResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetAsyncOperationResponse proto.InternalMessageInfo +// Deprecated: Use GetAsyncOperationResponse.ProtoReflect.Descriptor instead. +func (*GetAsyncOperationResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{15} +} -func (m *GetAsyncOperationResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *GetAsyncOperationResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type CreateNamespaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace specification. Spec *v12.NamespaceSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` // The id to use for this async operation. @@ -799,115 +1089,132 @@ type CreateNamespaceRequest struct { AsyncOperationId string `protobuf:"bytes,3,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` // The tags to add to the namespace - can be set by global admins or account owners only Tags map[string]string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // temporal:dev + ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` } -func (m *CreateNamespaceRequest) Reset() { *m = CreateNamespaceRequest{} } -func (*CreateNamespaceRequest) ProtoMessage() {} -func (*CreateNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{14} +func (x *CreateNamespaceRequest) Reset() { + *x = CreateNamespaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateNamespaceRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *CreateNamespaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateNamespaceRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*CreateNamespaceRequest) ProtoMessage() {} + +func (x *CreateNamespaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *CreateNamespaceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateNamespaceRequest.Merge(m, src) -} -func (m *CreateNamespaceRequest) XXX_Size() int { - return m.Size() -} -func (m *CreateNamespaceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateNamespaceRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_CreateNamespaceRequest proto.InternalMessageInfo +// Deprecated: Use CreateNamespaceRequest.ProtoReflect.Descriptor instead. +func (*CreateNamespaceRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{16} +} -func (m *CreateNamespaceRequest) GetSpec() *v12.NamespaceSpec { - if m != nil { - return m.Spec +func (x *CreateNamespaceRequest) GetSpec() *v12.NamespaceSpec { + if x != nil { + return x.Spec } return nil } -func (m *CreateNamespaceRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *CreateNamespaceRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } -func (m *CreateNamespaceRequest) GetTags() map[string]string { - if m != nil { - return m.Tags +func (x *CreateNamespaceRequest) GetTags() map[string]string { + if x != nil { + return x.Tags } return nil } +func (x *CreateNamespaceRequest) GetProjectId() string { + if x != nil { + return x.ProjectId + } + return "" +} + type CreateNamespaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace that was created. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,2,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *CreateNamespaceResponse) Reset() { *m = CreateNamespaceResponse{} } -func (*CreateNamespaceResponse) ProtoMessage() {} -func (*CreateNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{15} +func (x *CreateNamespaceResponse) Reset() { + *x = CreateNamespaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateNamespaceResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *CreateNamespaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateNamespaceResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*CreateNamespaceResponse) ProtoMessage() {} + +func (x *CreateNamespaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *CreateNamespaceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateNamespaceResponse.Merge(m, src) -} -func (m *CreateNamespaceResponse) XXX_Size() int { - return m.Size() -} -func (m *CreateNamespaceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateNamespaceResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_CreateNamespaceResponse proto.InternalMessageInfo +// Deprecated: Use CreateNamespaceResponse.ProtoReflect.Descriptor instead. +func (*CreateNamespaceResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{17} +} -func (m *CreateNamespaceResponse) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *CreateNamespaceResponse) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *CreateNamespaceResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *CreateNamespaceResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type GetNamespacesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The requested size of the page to retrieve. // Cannot exceed 1000. // Optional, defaults to 100. @@ -918,127 +1225,133 @@ type GetNamespacesRequest struct { // Filter namespaces by their name. // Optional, defaults to empty. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - // Filter namespaces that the connectivity rule is associated with. - // Optional, defaults to empty. // temporal:dev - ConnectivityRuleId string `protobuf:"bytes,4,opt,name=connectivity_rule_id,json=connectivityRuleId,proto3" json:"connectivity_rule_id,omitempty"` + ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` } -func (m *GetNamespacesRequest) Reset() { *m = GetNamespacesRequest{} } -func (*GetNamespacesRequest) ProtoMessage() {} -func (*GetNamespacesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{16} +func (x *GetNamespacesRequest) Reset() { + *x = GetNamespacesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetNamespacesRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetNamespacesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetNamespacesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetNamespacesRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetNamespacesRequest) ProtoMessage() {} + +func (x *GetNamespacesRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetNamespacesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNamespacesRequest.Merge(m, src) -} -func (m *GetNamespacesRequest) XXX_Size() int { - return m.Size() -} -func (m *GetNamespacesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetNamespacesRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetNamespacesRequest proto.InternalMessageInfo +// Deprecated: Use GetNamespacesRequest.ProtoReflect.Descriptor instead. +func (*GetNamespacesRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{18} +} -func (m *GetNamespacesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *GetNamespacesRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *GetNamespacesRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *GetNamespacesRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } -func (m *GetNamespacesRequest) GetName() string { - if m != nil { - return m.Name +func (x *GetNamespacesRequest) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *GetNamespacesRequest) GetConnectivityRuleId() string { - if m != nil { - return m.ConnectivityRuleId +func (x *GetNamespacesRequest) GetProjectId() string { + if x != nil { + return x.ProjectId } return "" } type GetNamespacesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The list of namespaces in ascending name order. Namespaces []*v12.Namespace `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // The next page's token. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *GetNamespacesResponse) Reset() { *m = GetNamespacesResponse{} } -func (*GetNamespacesResponse) ProtoMessage() {} -func (*GetNamespacesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{17} +func (x *GetNamespacesResponse) Reset() { + *x = GetNamespacesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetNamespacesResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetNamespacesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetNamespacesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetNamespacesResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetNamespacesResponse) ProtoMessage() {} + +func (x *GetNamespacesResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetNamespacesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNamespacesResponse.Merge(m, src) -} -func (m *GetNamespacesResponse) XXX_Size() int { - return m.Size() -} -func (m *GetNamespacesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetNamespacesResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetNamespacesResponse proto.InternalMessageInfo +// Deprecated: Use GetNamespacesResponse.ProtoReflect.Descriptor instead. +func (*GetNamespacesResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{19} +} -func (m *GetNamespacesResponse) GetNamespaces() []*v12.Namespace { - if m != nil { - return m.Namespaces +func (x *GetNamespacesResponse) GetNamespaces() []*v12.Namespace { + if x != nil { + return x.Namespaces } return nil } -func (m *GetNamespacesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *GetNamespacesResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } // temporal:ui type GetNamespaceIDsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The requested size of the page to retrieve. // Cannot exceed 1000. // Optional, defaults to 100. @@ -1046,197 +1359,222 @@ type GetNamespaceIDsRequest struct { // The page token if this is continuing from another response. // Optional, defaults to empty. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // temporal:dev + ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` } -func (m *GetNamespaceIDsRequest) Reset() { *m = GetNamespaceIDsRequest{} } -func (*GetNamespaceIDsRequest) ProtoMessage() {} -func (*GetNamespaceIDsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{18} +func (x *GetNamespaceIDsRequest) Reset() { + *x = GetNamespaceIDsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetNamespaceIDsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetNamespaceIDsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetNamespaceIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetNamespaceIDsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetNamespaceIDsRequest) ProtoMessage() {} + +func (x *GetNamespaceIDsRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetNamespaceIDsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNamespaceIDsRequest.Merge(m, src) -} -func (m *GetNamespaceIDsRequest) XXX_Size() int { - return m.Size() -} -func (m *GetNamespaceIDsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetNamespaceIDsRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetNamespaceIDsRequest proto.InternalMessageInfo +// Deprecated: Use GetNamespaceIDsRequest.ProtoReflect.Descriptor instead. +func (*GetNamespaceIDsRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{20} +} -func (m *GetNamespaceIDsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *GetNamespaceIDsRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *GetNamespaceIDsRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *GetNamespaceIDsRequest) GetPageToken() string { + if x != nil { + return x.PageToken + } + return "" +} + +func (x *GetNamespaceIDsRequest) GetProjectId() string { + if x != nil { + return x.ProjectId } return "" } // temporal:ui type GetNamespaceIDsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The list of namespaces in ascending name order. NamespaceIds []string `protobuf:"bytes,1,rep,name=namespace_ids,json=namespaceIds,proto3" json:"namespace_ids,omitempty"` // The next page's token. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *GetNamespaceIDsResponse) Reset() { *m = GetNamespaceIDsResponse{} } -func (*GetNamespaceIDsResponse) ProtoMessage() {} -func (*GetNamespaceIDsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{19} +func (x *GetNamespaceIDsResponse) Reset() { + *x = GetNamespaceIDsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetNamespaceIDsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetNamespaceIDsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetNamespaceIDsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetNamespaceIDsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetNamespaceIDsResponse) ProtoMessage() {} + +func (x *GetNamespaceIDsResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetNamespaceIDsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNamespaceIDsResponse.Merge(m, src) -} -func (m *GetNamespaceIDsResponse) XXX_Size() int { - return m.Size() -} -func (m *GetNamespaceIDsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetNamespaceIDsResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetNamespaceIDsResponse proto.InternalMessageInfo +// Deprecated: Use GetNamespaceIDsResponse.ProtoReflect.Descriptor instead. +func (*GetNamespaceIDsResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{21} +} -func (m *GetNamespaceIDsResponse) GetNamespaceIds() []string { - if m != nil { - return m.NamespaceIds +func (x *GetNamespaceIDsResponse) GetNamespaceIds() []string { + if x != nil { + return x.NamespaceIds } return nil } -func (m *GetNamespaceIDsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *GetNamespaceIDsResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type GetNamespaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace to get. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` } -func (m *GetNamespaceRequest) Reset() { *m = GetNamespaceRequest{} } -func (*GetNamespaceRequest) ProtoMessage() {} -func (*GetNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{20} +func (x *GetNamespaceRequest) Reset() { + *x = GetNamespaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetNamespaceRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetNamespaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetNamespaceRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetNamespaceRequest) ProtoMessage() {} + +func (x *GetNamespaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetNamespaceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNamespaceRequest.Merge(m, src) -} -func (m *GetNamespaceRequest) XXX_Size() int { - return m.Size() -} -func (m *GetNamespaceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetNamespaceRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetNamespaceRequest proto.InternalMessageInfo +// Deprecated: Use GetNamespaceRequest.ProtoReflect.Descriptor instead. +func (*GetNamespaceRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{22} +} -func (m *GetNamespaceRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *GetNamespaceRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } type GetNamespaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace. Namespace *v12.Namespace `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` } -func (m *GetNamespaceResponse) Reset() { *m = GetNamespaceResponse{} } -func (*GetNamespaceResponse) ProtoMessage() {} -func (*GetNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{21} +func (x *GetNamespaceResponse) Reset() { + *x = GetNamespaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetNamespaceResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetNamespaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetNamespaceResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetNamespaceResponse) ProtoMessage() {} + +func (x *GetNamespaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetNamespaceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNamespaceResponse.Merge(m, src) -} -func (m *GetNamespaceResponse) XXX_Size() int { - return m.Size() -} -func (m *GetNamespaceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetNamespaceResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetNamespaceResponse proto.InternalMessageInfo +// Deprecated: Use GetNamespaceResponse.ProtoReflect.Descriptor instead. +func (*GetNamespaceResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{23} +} -func (m *GetNamespaceResponse) GetNamespace() *v12.Namespace { - if m != nil { - return m.Namespace +func (x *GetNamespaceResponse) GetNamespace() *v12.Namespace { + if x != nil { + return x.Namespace } return nil } type UpdateNamespaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace to update. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // The new namespace specification. @@ -1249,111 +1587,119 @@ type UpdateNamespaceRequest struct { AsyncOperationId string `protobuf:"bytes,4,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *UpdateNamespaceRequest) Reset() { *m = UpdateNamespaceRequest{} } -func (*UpdateNamespaceRequest) ProtoMessage() {} -func (*UpdateNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{22} +func (x *UpdateNamespaceRequest) Reset() { + *x = UpdateNamespaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateNamespaceRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *UpdateNamespaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateNamespaceRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*UpdateNamespaceRequest) ProtoMessage() {} + +func (x *UpdateNamespaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *UpdateNamespaceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNamespaceRequest.Merge(m, src) -} -func (m *UpdateNamespaceRequest) XXX_Size() int { - return m.Size() -} -func (m *UpdateNamespaceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateNamespaceRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateNamespaceRequest proto.InternalMessageInfo +// Deprecated: Use UpdateNamespaceRequest.ProtoReflect.Descriptor instead. +func (*UpdateNamespaceRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{24} +} -func (m *UpdateNamespaceRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *UpdateNamespaceRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *UpdateNamespaceRequest) GetSpec() *v12.NamespaceSpec { - if m != nil { - return m.Spec +func (x *UpdateNamespaceRequest) GetSpec() *v12.NamespaceSpec { + if x != nil { + return x.Spec } return nil } -func (m *UpdateNamespaceRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *UpdateNamespaceRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *UpdateNamespaceRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *UpdateNamespaceRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type UpdateNamespaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *UpdateNamespaceResponse) Reset() { *m = UpdateNamespaceResponse{} } -func (*UpdateNamespaceResponse) ProtoMessage() {} -func (*UpdateNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{23} +func (x *UpdateNamespaceResponse) Reset() { + *x = UpdateNamespaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateNamespaceResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *UpdateNamespaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateNamespaceResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*UpdateNamespaceResponse) ProtoMessage() {} + +func (x *UpdateNamespaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *UpdateNamespaceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNamespaceResponse.Merge(m, src) -} -func (m *UpdateNamespaceResponse) XXX_Size() int { - return m.Size() -} -func (m *UpdateNamespaceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateNamespaceResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateNamespaceResponse proto.InternalMessageInfo +// Deprecated: Use UpdateNamespaceResponse.ProtoReflect.Descriptor instead. +func (*UpdateNamespaceResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{25} +} -func (m *UpdateNamespaceResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *UpdateNamespaceResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type RenameCustomSearchAttributeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace to rename the custom search attribute for. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // The existing name of the custom search attribute to be renamed. @@ -1368,118 +1714,126 @@ type RenameCustomSearchAttributeRequest struct { AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *RenameCustomSearchAttributeRequest) Reset() { *m = RenameCustomSearchAttributeRequest{} } -func (*RenameCustomSearchAttributeRequest) ProtoMessage() {} -func (*RenameCustomSearchAttributeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{24} +func (x *RenameCustomSearchAttributeRequest) Reset() { + *x = RenameCustomSearchAttributeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RenameCustomSearchAttributeRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *RenameCustomSearchAttributeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RenameCustomSearchAttributeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RenameCustomSearchAttributeRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*RenameCustomSearchAttributeRequest) ProtoMessage() {} + +func (x *RenameCustomSearchAttributeRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *RenameCustomSearchAttributeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RenameCustomSearchAttributeRequest.Merge(m, src) -} -func (m *RenameCustomSearchAttributeRequest) XXX_Size() int { - return m.Size() -} -func (m *RenameCustomSearchAttributeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RenameCustomSearchAttributeRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_RenameCustomSearchAttributeRequest proto.InternalMessageInfo +// Deprecated: Use RenameCustomSearchAttributeRequest.ProtoReflect.Descriptor instead. +func (*RenameCustomSearchAttributeRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{26} +} -func (m *RenameCustomSearchAttributeRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *RenameCustomSearchAttributeRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *RenameCustomSearchAttributeRequest) GetExistingCustomSearchAttributeName() string { - if m != nil { - return m.ExistingCustomSearchAttributeName +func (x *RenameCustomSearchAttributeRequest) GetExistingCustomSearchAttributeName() string { + if x != nil { + return x.ExistingCustomSearchAttributeName } return "" } -func (m *RenameCustomSearchAttributeRequest) GetNewCustomSearchAttributeName() string { - if m != nil { - return m.NewCustomSearchAttributeName +func (x *RenameCustomSearchAttributeRequest) GetNewCustomSearchAttributeName() string { + if x != nil { + return x.NewCustomSearchAttributeName } return "" } -func (m *RenameCustomSearchAttributeRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *RenameCustomSearchAttributeRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *RenameCustomSearchAttributeRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *RenameCustomSearchAttributeRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type RenameCustomSearchAttributeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *RenameCustomSearchAttributeResponse) Reset() { *m = RenameCustomSearchAttributeResponse{} } -func (*RenameCustomSearchAttributeResponse) ProtoMessage() {} -func (*RenameCustomSearchAttributeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{25} +func (x *RenameCustomSearchAttributeResponse) Reset() { + *x = RenameCustomSearchAttributeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RenameCustomSearchAttributeResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *RenameCustomSearchAttributeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RenameCustomSearchAttributeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RenameCustomSearchAttributeResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*RenameCustomSearchAttributeResponse) ProtoMessage() {} + +func (x *RenameCustomSearchAttributeResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *RenameCustomSearchAttributeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RenameCustomSearchAttributeResponse.Merge(m, src) -} -func (m *RenameCustomSearchAttributeResponse) XXX_Size() int { - return m.Size() -} -func (m *RenameCustomSearchAttributeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RenameCustomSearchAttributeResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_RenameCustomSearchAttributeResponse proto.InternalMessageInfo +// Deprecated: Use RenameCustomSearchAttributeResponse.ProtoReflect.Descriptor instead. +func (*RenameCustomSearchAttributeResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{27} +} -func (m *RenameCustomSearchAttributeResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *RenameCustomSearchAttributeResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type DeleteNamespaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace to delete. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // The version of the namespace for which this delete is intended for. @@ -1490,104 +1844,112 @@ type DeleteNamespaceRequest struct { AsyncOperationId string `protobuf:"bytes,3,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *DeleteNamespaceRequest) Reset() { *m = DeleteNamespaceRequest{} } -func (*DeleteNamespaceRequest) ProtoMessage() {} -func (*DeleteNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{26} +func (x *DeleteNamespaceRequest) Reset() { + *x = DeleteNamespaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteNamespaceRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *DeleteNamespaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteNamespaceRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*DeleteNamespaceRequest) ProtoMessage() {} + +func (x *DeleteNamespaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *DeleteNamespaceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNamespaceRequest.Merge(m, src) -} -func (m *DeleteNamespaceRequest) XXX_Size() int { - return m.Size() -} -func (m *DeleteNamespaceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteNamespaceRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteNamespaceRequest proto.InternalMessageInfo +// Deprecated: Use DeleteNamespaceRequest.ProtoReflect.Descriptor instead. +func (*DeleteNamespaceRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{28} +} -func (m *DeleteNamespaceRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *DeleteNamespaceRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *DeleteNamespaceRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *DeleteNamespaceRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *DeleteNamespaceRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *DeleteNamespaceRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type DeleteNamespaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *DeleteNamespaceResponse) Reset() { *m = DeleteNamespaceResponse{} } -func (*DeleteNamespaceResponse) ProtoMessage() {} -func (*DeleteNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{27} +func (x *DeleteNamespaceResponse) Reset() { + *x = DeleteNamespaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteNamespaceResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *DeleteNamespaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteNamespaceResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*DeleteNamespaceResponse) ProtoMessage() {} + +func (x *DeleteNamespaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *DeleteNamespaceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNamespaceResponse.Merge(m, src) -} -func (m *DeleteNamespaceResponse) XXX_Size() int { - return m.Size() -} -func (m *DeleteNamespaceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteNamespaceResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteNamespaceResponse proto.InternalMessageInfo +// Deprecated: Use DeleteNamespaceResponse.ProtoReflect.Descriptor instead. +func (*DeleteNamespaceResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{29} +} -func (m *DeleteNamespaceResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *DeleteNamespaceResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type FailoverNamespaceRegionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace to failover. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // The id of the region to failover to. @@ -1597,104 +1959,112 @@ type FailoverNamespaceRegionRequest struct { AsyncOperationId string `protobuf:"bytes,3,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *FailoverNamespaceRegionRequest) Reset() { *m = FailoverNamespaceRegionRequest{} } -func (*FailoverNamespaceRegionRequest) ProtoMessage() {} -func (*FailoverNamespaceRegionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{28} +func (x *FailoverNamespaceRegionRequest) Reset() { + *x = FailoverNamespaceRegionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FailoverNamespaceRegionRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *FailoverNamespaceRegionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FailoverNamespaceRegionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_FailoverNamespaceRegionRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*FailoverNamespaceRegionRequest) ProtoMessage() {} + +func (x *FailoverNamespaceRegionRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[30] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *FailoverNamespaceRegionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FailoverNamespaceRegionRequest.Merge(m, src) -} -func (m *FailoverNamespaceRegionRequest) XXX_Size() int { - return m.Size() -} -func (m *FailoverNamespaceRegionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FailoverNamespaceRegionRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_FailoverNamespaceRegionRequest proto.InternalMessageInfo +// Deprecated: Use FailoverNamespaceRegionRequest.ProtoReflect.Descriptor instead. +func (*FailoverNamespaceRegionRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{30} +} -func (m *FailoverNamespaceRegionRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *FailoverNamespaceRegionRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *FailoverNamespaceRegionRequest) GetRegion() string { - if m != nil { - return m.Region +func (x *FailoverNamespaceRegionRequest) GetRegion() string { + if x != nil { + return x.Region } return "" } -func (m *FailoverNamespaceRegionRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *FailoverNamespaceRegionRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type FailoverNamespaceRegionResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *FailoverNamespaceRegionResponse) Reset() { *m = FailoverNamespaceRegionResponse{} } -func (*FailoverNamespaceRegionResponse) ProtoMessage() {} -func (*FailoverNamespaceRegionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{29} +func (x *FailoverNamespaceRegionResponse) Reset() { + *x = FailoverNamespaceRegionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FailoverNamespaceRegionResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *FailoverNamespaceRegionResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FailoverNamespaceRegionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_FailoverNamespaceRegionResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*FailoverNamespaceRegionResponse) ProtoMessage() {} + +func (x *FailoverNamespaceRegionResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *FailoverNamespaceRegionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FailoverNamespaceRegionResponse.Merge(m, src) -} -func (m *FailoverNamespaceRegionResponse) XXX_Size() int { - return m.Size() -} -func (m *FailoverNamespaceRegionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FailoverNamespaceRegionResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_FailoverNamespaceRegionResponse proto.InternalMessageInfo +// Deprecated: Use FailoverNamespaceRegionResponse.ProtoReflect.Descriptor instead. +func (*FailoverNamespaceRegionResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{31} +} -func (m *FailoverNamespaceRegionResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *FailoverNamespaceRegionResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type AddNamespaceRegionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace to add the region to. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // The id of the standby region to add to the namespace. @@ -1708,111 +2078,119 @@ type AddNamespaceRegionRequest struct { AsyncOperationId string `protobuf:"bytes,4,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *AddNamespaceRegionRequest) Reset() { *m = AddNamespaceRegionRequest{} } -func (*AddNamespaceRegionRequest) ProtoMessage() {} -func (*AddNamespaceRegionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{30} +func (x *AddNamespaceRegionRequest) Reset() { + *x = AddNamespaceRegionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AddNamespaceRegionRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *AddNamespaceRegionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AddNamespaceRegionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AddNamespaceRegionRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*AddNamespaceRegionRequest) ProtoMessage() {} + +func (x *AddNamespaceRegionRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[32] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *AddNamespaceRegionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddNamespaceRegionRequest.Merge(m, src) -} -func (m *AddNamespaceRegionRequest) XXX_Size() int { - return m.Size() -} -func (m *AddNamespaceRegionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AddNamespaceRegionRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_AddNamespaceRegionRequest proto.InternalMessageInfo +// Deprecated: Use AddNamespaceRegionRequest.ProtoReflect.Descriptor instead. +func (*AddNamespaceRegionRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{32} +} -func (m *AddNamespaceRegionRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *AddNamespaceRegionRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *AddNamespaceRegionRequest) GetRegion() string { - if m != nil { - return m.Region +func (x *AddNamespaceRegionRequest) GetRegion() string { + if x != nil { + return x.Region } return "" } -func (m *AddNamespaceRegionRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *AddNamespaceRegionRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *AddNamespaceRegionRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *AddNamespaceRegionRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type AddNamespaceRegionResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *AddNamespaceRegionResponse) Reset() { *m = AddNamespaceRegionResponse{} } -func (*AddNamespaceRegionResponse) ProtoMessage() {} -func (*AddNamespaceRegionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{31} +func (x *AddNamespaceRegionResponse) Reset() { + *x = AddNamespaceRegionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AddNamespaceRegionResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *AddNamespaceRegionResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AddNamespaceRegionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AddNamespaceRegionResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*AddNamespaceRegionResponse) ProtoMessage() {} + +func (x *AddNamespaceRegionResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[33] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *AddNamespaceRegionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddNamespaceRegionResponse.Merge(m, src) -} -func (m *AddNamespaceRegionResponse) XXX_Size() int { - return m.Size() -} -func (m *AddNamespaceRegionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AddNamespaceRegionResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_AddNamespaceRegionResponse proto.InternalMessageInfo +// Deprecated: Use AddNamespaceRegionResponse.ProtoReflect.Descriptor instead. +func (*AddNamespaceRegionResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{33} +} -func (m *AddNamespaceRegionResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *AddNamespaceRegionResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type DeleteNamespaceRegionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace to delete a region. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // The id of the standby region to be deleted. @@ -1826,278 +2204,301 @@ type DeleteNamespaceRegionRequest struct { AsyncOperationId string `protobuf:"bytes,4,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *DeleteNamespaceRegionRequest) Reset() { *m = DeleteNamespaceRegionRequest{} } -func (*DeleteNamespaceRegionRequest) ProtoMessage() {} -func (*DeleteNamespaceRegionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{32} +func (x *DeleteNamespaceRegionRequest) Reset() { + *x = DeleteNamespaceRegionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteNamespaceRegionRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *DeleteNamespaceRegionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteNamespaceRegionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteNamespaceRegionRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*DeleteNamespaceRegionRequest) ProtoMessage() {} + +func (x *DeleteNamespaceRegionRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[34] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *DeleteNamespaceRegionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNamespaceRegionRequest.Merge(m, src) -} -func (m *DeleteNamespaceRegionRequest) XXX_Size() int { - return m.Size() -} -func (m *DeleteNamespaceRegionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteNamespaceRegionRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteNamespaceRegionRequest proto.InternalMessageInfo +// Deprecated: Use DeleteNamespaceRegionRequest.ProtoReflect.Descriptor instead. +func (*DeleteNamespaceRegionRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{34} +} -func (m *DeleteNamespaceRegionRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *DeleteNamespaceRegionRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *DeleteNamespaceRegionRequest) GetRegion() string { - if m != nil { - return m.Region +func (x *DeleteNamespaceRegionRequest) GetRegion() string { + if x != nil { + return x.Region } return "" } -func (m *DeleteNamespaceRegionRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *DeleteNamespaceRegionRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *DeleteNamespaceRegionRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *DeleteNamespaceRegionRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type DeleteNamespaceRegionResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *DeleteNamespaceRegionResponse) Reset() { *m = DeleteNamespaceRegionResponse{} } -func (*DeleteNamespaceRegionResponse) ProtoMessage() {} -func (*DeleteNamespaceRegionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{33} +func (x *DeleteNamespaceRegionResponse) Reset() { + *x = DeleteNamespaceRegionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteNamespaceRegionResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *DeleteNamespaceRegionResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteNamespaceRegionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteNamespaceRegionResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*DeleteNamespaceRegionResponse) ProtoMessage() {} + +func (x *DeleteNamespaceRegionResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[35] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *DeleteNamespaceRegionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNamespaceRegionResponse.Merge(m, src) -} -func (m *DeleteNamespaceRegionResponse) XXX_Size() int { - return m.Size() -} -func (m *DeleteNamespaceRegionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteNamespaceRegionResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteNamespaceRegionResponse proto.InternalMessageInfo +// Deprecated: Use DeleteNamespaceRegionResponse.ProtoReflect.Descriptor instead. +func (*DeleteNamespaceRegionResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{35} +} -func (m *DeleteNamespaceRegionResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *DeleteNamespaceRegionResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type GetRegionsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *GetRegionsRequest) Reset() { *m = GetRegionsRequest{} } -func (*GetRegionsRequest) ProtoMessage() {} -func (*GetRegionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{34} +func (x *GetRegionsRequest) Reset() { + *x = GetRegionsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetRegionsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetRegionsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetRegionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetRegionsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetRegionsRequest) ProtoMessage() {} + +func (x *GetRegionsRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[36] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetRegionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRegionsRequest.Merge(m, src) -} -func (m *GetRegionsRequest) XXX_Size() int { - return m.Size() -} -func (m *GetRegionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetRegionsRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetRegionsRequest proto.InternalMessageInfo +// Deprecated: Use GetRegionsRequest.ProtoReflect.Descriptor instead. +func (*GetRegionsRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{36} +} type GetRegionsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The temporal cloud regions. Regions []*v13.Region `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"` } -func (m *GetRegionsResponse) Reset() { *m = GetRegionsResponse{} } -func (*GetRegionsResponse) ProtoMessage() {} -func (*GetRegionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{35} +func (x *GetRegionsResponse) Reset() { + *x = GetRegionsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetRegionsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetRegionsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetRegionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetRegionsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetRegionsResponse) ProtoMessage() {} + +func (x *GetRegionsResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[37] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetRegionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRegionsResponse.Merge(m, src) -} -func (m *GetRegionsResponse) XXX_Size() int { - return m.Size() -} -func (m *GetRegionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetRegionsResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetRegionsResponse proto.InternalMessageInfo +// Deprecated: Use GetRegionsResponse.ProtoReflect.Descriptor instead. +func (*GetRegionsResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{37} +} -func (m *GetRegionsResponse) GetRegions() []*v13.Region { - if m != nil { - return m.Regions +func (x *GetRegionsResponse) GetRegions() []*v13.Region { + if x != nil { + return x.Regions } return nil } type GetRegionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the region to get. Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` } -func (m *GetRegionRequest) Reset() { *m = GetRegionRequest{} } -func (*GetRegionRequest) ProtoMessage() {} -func (*GetRegionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{36} +func (x *GetRegionRequest) Reset() { + *x = GetRegionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetRegionRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetRegionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetRegionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetRegionRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetRegionRequest) ProtoMessage() {} + +func (x *GetRegionRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[38] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetRegionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRegionRequest.Merge(m, src) -} -func (m *GetRegionRequest) XXX_Size() int { - return m.Size() -} -func (m *GetRegionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetRegionRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetRegionRequest proto.InternalMessageInfo +// Deprecated: Use GetRegionRequest.ProtoReflect.Descriptor instead. +func (*GetRegionRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{38} +} -func (m *GetRegionRequest) GetRegion() string { - if m != nil { - return m.Region +func (x *GetRegionRequest) GetRegion() string { + if x != nil { + return x.Region } return "" } type GetRegionResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The temporal cloud region. Region *v13.Region `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` } -func (m *GetRegionResponse) Reset() { *m = GetRegionResponse{} } -func (*GetRegionResponse) ProtoMessage() {} -func (*GetRegionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{37} +func (x *GetRegionResponse) Reset() { + *x = GetRegionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetRegionResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetRegionResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetRegionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetRegionResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetRegionResponse) ProtoMessage() {} + +func (x *GetRegionResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[39] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetRegionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRegionResponse.Merge(m, src) -} -func (m *GetRegionResponse) XXX_Size() int { - return m.Size() -} -func (m *GetRegionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetRegionResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetRegionResponse proto.InternalMessageInfo +// Deprecated: Use GetRegionResponse.ProtoReflect.Descriptor instead. +func (*GetRegionResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{39} +} -func (m *GetRegionResponse) GetRegion() *v13.Region { - if m != nil { - return m.Region +func (x *GetRegionResponse) GetRegion() *v13.Region { + if x != nil { + return x.Region } return nil } type GetNexusEndpointsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The requested size of the page to retrieve - optional. // Cannot exceed 1000. Defaults to 100. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` @@ -2113,222 +2514,238 @@ type GetNexusEndpointsRequest struct { ProjectId string `protobuf:"bytes,6,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` } -func (m *GetNexusEndpointsRequest) Reset() { *m = GetNexusEndpointsRequest{} } -func (*GetNexusEndpointsRequest) ProtoMessage() {} -func (*GetNexusEndpointsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{38} +func (x *GetNexusEndpointsRequest) Reset() { + *x = GetNexusEndpointsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetNexusEndpointsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetNexusEndpointsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetNexusEndpointsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetNexusEndpointsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetNexusEndpointsRequest) ProtoMessage() {} + +func (x *GetNexusEndpointsRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[40] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetNexusEndpointsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNexusEndpointsRequest.Merge(m, src) -} -func (m *GetNexusEndpointsRequest) XXX_Size() int { - return m.Size() -} -func (m *GetNexusEndpointsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetNexusEndpointsRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetNexusEndpointsRequest proto.InternalMessageInfo +// Deprecated: Use GetNexusEndpointsRequest.ProtoReflect.Descriptor instead. +func (*GetNexusEndpointsRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{40} +} -func (m *GetNexusEndpointsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *GetNexusEndpointsRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *GetNexusEndpointsRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *GetNexusEndpointsRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } -func (m *GetNexusEndpointsRequest) GetTargetNamespaceId() string { - if m != nil { - return m.TargetNamespaceId +func (x *GetNexusEndpointsRequest) GetTargetNamespaceId() string { + if x != nil { + return x.TargetNamespaceId } return "" } -func (m *GetNexusEndpointsRequest) GetTargetTaskQueue() string { - if m != nil { - return m.TargetTaskQueue +func (x *GetNexusEndpointsRequest) GetTargetTaskQueue() string { + if x != nil { + return x.TargetTaskQueue } return "" } -func (m *GetNexusEndpointsRequest) GetName() string { - if m != nil { - return m.Name +func (x *GetNexusEndpointsRequest) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *GetNexusEndpointsRequest) GetProjectId() string { - if m != nil { - return m.ProjectId +func (x *GetNexusEndpointsRequest) GetProjectId() string { + if x != nil { + return x.ProjectId } return "" } type GetNexusEndpointsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The list of endpoints in ascending id order. Endpoints []*v14.Endpoint `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"` // The next page's token. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *GetNexusEndpointsResponse) Reset() { *m = GetNexusEndpointsResponse{} } -func (*GetNexusEndpointsResponse) ProtoMessage() {} -func (*GetNexusEndpointsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{39} +func (x *GetNexusEndpointsResponse) Reset() { + *x = GetNexusEndpointsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetNexusEndpointsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetNexusEndpointsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetNexusEndpointsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetNexusEndpointsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetNexusEndpointsResponse) ProtoMessage() {} + +func (x *GetNexusEndpointsResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[41] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetNexusEndpointsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNexusEndpointsResponse.Merge(m, src) -} -func (m *GetNexusEndpointsResponse) XXX_Size() int { - return m.Size() -} -func (m *GetNexusEndpointsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetNexusEndpointsResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetNexusEndpointsResponse proto.InternalMessageInfo +// Deprecated: Use GetNexusEndpointsResponse.ProtoReflect.Descriptor instead. +func (*GetNexusEndpointsResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{41} +} -func (m *GetNexusEndpointsResponse) GetEndpoints() []*v14.Endpoint { - if m != nil { - return m.Endpoints +func (x *GetNexusEndpointsResponse) GetEndpoints() []*v14.Endpoint { + if x != nil { + return x.Endpoints } return nil } -func (m *GetNexusEndpointsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *GetNexusEndpointsResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type GetNexusEndpointRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the nexus endpoint to get. EndpointId string `protobuf:"bytes,1,opt,name=endpoint_id,json=endpointId,proto3" json:"endpoint_id,omitempty"` } -func (m *GetNexusEndpointRequest) Reset() { *m = GetNexusEndpointRequest{} } -func (*GetNexusEndpointRequest) ProtoMessage() {} -func (*GetNexusEndpointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{40} +func (x *GetNexusEndpointRequest) Reset() { + *x = GetNexusEndpointRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetNexusEndpointRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetNexusEndpointRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetNexusEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetNexusEndpointRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetNexusEndpointRequest) ProtoMessage() {} + +func (x *GetNexusEndpointRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[42] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetNexusEndpointRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNexusEndpointRequest.Merge(m, src) -} -func (m *GetNexusEndpointRequest) XXX_Size() int { - return m.Size() -} -func (m *GetNexusEndpointRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetNexusEndpointRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetNexusEndpointRequest proto.InternalMessageInfo +// Deprecated: Use GetNexusEndpointRequest.ProtoReflect.Descriptor instead. +func (*GetNexusEndpointRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{42} +} -func (m *GetNexusEndpointRequest) GetEndpointId() string { - if m != nil { - return m.EndpointId +func (x *GetNexusEndpointRequest) GetEndpointId() string { + if x != nil { + return x.EndpointId } return "" } type GetNexusEndpointResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The nexus endpoint. Endpoint *v14.Endpoint `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` } -func (m *GetNexusEndpointResponse) Reset() { *m = GetNexusEndpointResponse{} } -func (*GetNexusEndpointResponse) ProtoMessage() {} -func (*GetNexusEndpointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{41} +func (x *GetNexusEndpointResponse) Reset() { + *x = GetNexusEndpointResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetNexusEndpointResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetNexusEndpointResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetNexusEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetNexusEndpointResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetNexusEndpointResponse) ProtoMessage() {} + +func (x *GetNexusEndpointResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[43] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetNexusEndpointResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNexusEndpointResponse.Merge(m, src) -} -func (m *GetNexusEndpointResponse) XXX_Size() int { - return m.Size() -} -func (m *GetNexusEndpointResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetNexusEndpointResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetNexusEndpointResponse proto.InternalMessageInfo +// Deprecated: Use GetNexusEndpointResponse.ProtoReflect.Descriptor instead. +func (*GetNexusEndpointResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{43} +} -func (m *GetNexusEndpointResponse) GetEndpoint() *v14.Endpoint { - if m != nil { - return m.Endpoint +func (x *GetNexusEndpointResponse) GetEndpoint() *v14.Endpoint { + if x != nil { + return x.Endpoint } return nil } type CreateNexusEndpointRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The spec for the nexus endpoint. Spec *v14.EndpointSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` // The id to use for this async operation - optional. @@ -2337,113 +2754,121 @@ type CreateNexusEndpointRequest struct { ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` } -func (m *CreateNexusEndpointRequest) Reset() { *m = CreateNexusEndpointRequest{} } -func (*CreateNexusEndpointRequest) ProtoMessage() {} -func (*CreateNexusEndpointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{42} +func (x *CreateNexusEndpointRequest) Reset() { + *x = CreateNexusEndpointRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateNexusEndpointRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *CreateNexusEndpointRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateNexusEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateNexusEndpointRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*CreateNexusEndpointRequest) ProtoMessage() {} + +func (x *CreateNexusEndpointRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[44] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *CreateNexusEndpointRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateNexusEndpointRequest.Merge(m, src) -} -func (m *CreateNexusEndpointRequest) XXX_Size() int { - return m.Size() -} -func (m *CreateNexusEndpointRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateNexusEndpointRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_CreateNexusEndpointRequest proto.InternalMessageInfo +// Deprecated: Use CreateNexusEndpointRequest.ProtoReflect.Descriptor instead. +func (*CreateNexusEndpointRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{44} +} -func (m *CreateNexusEndpointRequest) GetSpec() *v14.EndpointSpec { - if m != nil { - return m.Spec +func (x *CreateNexusEndpointRequest) GetSpec() *v14.EndpointSpec { + if x != nil { + return x.Spec } return nil } -func (m *CreateNexusEndpointRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *CreateNexusEndpointRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } -func (m *CreateNexusEndpointRequest) GetProjectId() string { - if m != nil { - return m.ProjectId +func (x *CreateNexusEndpointRequest) GetProjectId() string { + if x != nil { + return x.ProjectId } return "" } type CreateNexusEndpointResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the endpoint that was created. EndpointId string `protobuf:"bytes,1,opt,name=endpoint_id,json=endpointId,proto3" json:"endpoint_id,omitempty"` // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,2,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *CreateNexusEndpointResponse) Reset() { *m = CreateNexusEndpointResponse{} } -func (*CreateNexusEndpointResponse) ProtoMessage() {} -func (*CreateNexusEndpointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{43} +func (x *CreateNexusEndpointResponse) Reset() { + *x = CreateNexusEndpointResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateNexusEndpointResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *CreateNexusEndpointResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateNexusEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateNexusEndpointResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*CreateNexusEndpointResponse) ProtoMessage() {} + +func (x *CreateNexusEndpointResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[45] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *CreateNexusEndpointResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateNexusEndpointResponse.Merge(m, src) -} -func (m *CreateNexusEndpointResponse) XXX_Size() int { - return m.Size() -} -func (m *CreateNexusEndpointResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateNexusEndpointResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_CreateNexusEndpointResponse proto.InternalMessageInfo +// Deprecated: Use CreateNexusEndpointResponse.ProtoReflect.Descriptor instead. +func (*CreateNexusEndpointResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{45} +} -func (m *CreateNexusEndpointResponse) GetEndpointId() string { - if m != nil { - return m.EndpointId +func (x *CreateNexusEndpointResponse) GetEndpointId() string { + if x != nil { + return x.EndpointId } return "" } -func (m *CreateNexusEndpointResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *CreateNexusEndpointResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type UpdateNexusEndpointRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the nexus endpoint to update. EndpointId string `protobuf:"bytes,1,opt,name=endpoint_id,json=endpointId,proto3" json:"endpoint_id,omitempty"` // The updated nexus endpoint specification. @@ -2455,111 +2880,119 @@ type UpdateNexusEndpointRequest struct { AsyncOperationId string `protobuf:"bytes,4,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *UpdateNexusEndpointRequest) Reset() { *m = UpdateNexusEndpointRequest{} } -func (*UpdateNexusEndpointRequest) ProtoMessage() {} -func (*UpdateNexusEndpointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{44} +func (x *UpdateNexusEndpointRequest) Reset() { + *x = UpdateNexusEndpointRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateNexusEndpointRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *UpdateNexusEndpointRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateNexusEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateNexusEndpointRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*UpdateNexusEndpointRequest) ProtoMessage() {} + +func (x *UpdateNexusEndpointRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[46] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *UpdateNexusEndpointRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNexusEndpointRequest.Merge(m, src) -} -func (m *UpdateNexusEndpointRequest) XXX_Size() int { - return m.Size() -} -func (m *UpdateNexusEndpointRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateNexusEndpointRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateNexusEndpointRequest proto.InternalMessageInfo +// Deprecated: Use UpdateNexusEndpointRequest.ProtoReflect.Descriptor instead. +func (*UpdateNexusEndpointRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{46} +} -func (m *UpdateNexusEndpointRequest) GetEndpointId() string { - if m != nil { - return m.EndpointId +func (x *UpdateNexusEndpointRequest) GetEndpointId() string { + if x != nil { + return x.EndpointId } return "" } -func (m *UpdateNexusEndpointRequest) GetSpec() *v14.EndpointSpec { - if m != nil { - return m.Spec +func (x *UpdateNexusEndpointRequest) GetSpec() *v14.EndpointSpec { + if x != nil { + return x.Spec } return nil } -func (m *UpdateNexusEndpointRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *UpdateNexusEndpointRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *UpdateNexusEndpointRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *UpdateNexusEndpointRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type UpdateNexusEndpointResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *UpdateNexusEndpointResponse) Reset() { *m = UpdateNexusEndpointResponse{} } -func (*UpdateNexusEndpointResponse) ProtoMessage() {} -func (*UpdateNexusEndpointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{45} +func (x *UpdateNexusEndpointResponse) Reset() { + *x = UpdateNexusEndpointResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateNexusEndpointResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *UpdateNexusEndpointResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateNexusEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateNexusEndpointResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*UpdateNexusEndpointResponse) ProtoMessage() {} + +func (x *UpdateNexusEndpointResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[47] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *UpdateNexusEndpointResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNexusEndpointResponse.Merge(m, src) -} -func (m *UpdateNexusEndpointResponse) XXX_Size() int { - return m.Size() -} -func (m *UpdateNexusEndpointResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateNexusEndpointResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateNexusEndpointResponse proto.InternalMessageInfo +// Deprecated: Use UpdateNexusEndpointResponse.ProtoReflect.Descriptor instead. +func (*UpdateNexusEndpointResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{47} +} -func (m *UpdateNexusEndpointResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *UpdateNexusEndpointResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type DeleteNexusEndpointRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the nexus endpoint to delete. EndpointId string `protobuf:"bytes,1,opt,name=endpoint_id,json=endpointId,proto3" json:"endpoint_id,omitempty"` // The version of the endpoint for which this delete is intended for. @@ -2569,104 +3002,112 @@ type DeleteNexusEndpointRequest struct { AsyncOperationId string `protobuf:"bytes,3,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *DeleteNexusEndpointRequest) Reset() { *m = DeleteNexusEndpointRequest{} } -func (*DeleteNexusEndpointRequest) ProtoMessage() {} -func (*DeleteNexusEndpointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{46} +func (x *DeleteNexusEndpointRequest) Reset() { + *x = DeleteNexusEndpointRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteNexusEndpointRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *DeleteNexusEndpointRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteNexusEndpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteNexusEndpointRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*DeleteNexusEndpointRequest) ProtoMessage() {} + +func (x *DeleteNexusEndpointRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[48] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *DeleteNexusEndpointRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNexusEndpointRequest.Merge(m, src) -} -func (m *DeleteNexusEndpointRequest) XXX_Size() int { - return m.Size() -} -func (m *DeleteNexusEndpointRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteNexusEndpointRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteNexusEndpointRequest proto.InternalMessageInfo +// Deprecated: Use DeleteNexusEndpointRequest.ProtoReflect.Descriptor instead. +func (*DeleteNexusEndpointRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{48} +} -func (m *DeleteNexusEndpointRequest) GetEndpointId() string { - if m != nil { - return m.EndpointId +func (x *DeleteNexusEndpointRequest) GetEndpointId() string { + if x != nil { + return x.EndpointId } return "" } -func (m *DeleteNexusEndpointRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *DeleteNexusEndpointRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *DeleteNexusEndpointRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *DeleteNexusEndpointRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type DeleteNexusEndpointResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *DeleteNexusEndpointResponse) Reset() { *m = DeleteNexusEndpointResponse{} } -func (*DeleteNexusEndpointResponse) ProtoMessage() {} -func (*DeleteNexusEndpointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{47} +func (x *DeleteNexusEndpointResponse) Reset() { + *x = DeleteNexusEndpointResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteNexusEndpointResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *DeleteNexusEndpointResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteNexusEndpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteNexusEndpointResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*DeleteNexusEndpointResponse) ProtoMessage() {} + +func (x *DeleteNexusEndpointResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[49] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *DeleteNexusEndpointResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNexusEndpointResponse.Merge(m, src) -} -func (m *DeleteNexusEndpointResponse) XXX_Size() int { - return m.Size() -} -func (m *DeleteNexusEndpointResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteNexusEndpointResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteNexusEndpointResponse proto.InternalMessageInfo +// Deprecated: Use DeleteNexusEndpointResponse.ProtoReflect.Descriptor instead. +func (*DeleteNexusEndpointResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{49} +} -func (m *DeleteNexusEndpointResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *DeleteNexusEndpointResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type UpdateAccountRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The updated account specification to apply. Spec *v15.AccountSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` // The version of the account for which this update is intended for. @@ -2677,104 +3118,112 @@ type UpdateAccountRequest struct { AsyncOperationId string `protobuf:"bytes,3,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *UpdateAccountRequest) Reset() { *m = UpdateAccountRequest{} } -func (*UpdateAccountRequest) ProtoMessage() {} -func (*UpdateAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{48} +func (x *UpdateAccountRequest) Reset() { + *x = UpdateAccountRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateAccountRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *UpdateAccountRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateAccountRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*UpdateAccountRequest) ProtoMessage() {} + +func (x *UpdateAccountRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[50] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *UpdateAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateAccountRequest.Merge(m, src) -} -func (m *UpdateAccountRequest) XXX_Size() int { - return m.Size() -} -func (m *UpdateAccountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateAccountRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateAccountRequest proto.InternalMessageInfo +// Deprecated: Use UpdateAccountRequest.ProtoReflect.Descriptor instead. +func (*UpdateAccountRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{50} +} -func (m *UpdateAccountRequest) GetSpec() *v15.AccountSpec { - if m != nil { - return m.Spec +func (x *UpdateAccountRequest) GetSpec() *v15.AccountSpec { + if x != nil { + return x.Spec } return nil } -func (m *UpdateAccountRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *UpdateAccountRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *UpdateAccountRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *UpdateAccountRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type UpdateAccountResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *UpdateAccountResponse) Reset() { *m = UpdateAccountResponse{} } -func (*UpdateAccountResponse) ProtoMessage() {} -func (*UpdateAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{49} +func (x *UpdateAccountResponse) Reset() { + *x = UpdateAccountResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateAccountResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *UpdateAccountResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateAccountResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*UpdateAccountResponse) ProtoMessage() {} + +func (x *UpdateAccountResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[51] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *UpdateAccountResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateAccountResponse.Merge(m, src) -} -func (m *UpdateAccountResponse) XXX_Size() int { - return m.Size() -} -func (m *UpdateAccountResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateAccountResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateAccountResponse proto.InternalMessageInfo +// Deprecated: Use UpdateAccountResponse.ProtoReflect.Descriptor instead. +func (*UpdateAccountResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{51} +} -func (m *UpdateAccountResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *UpdateAccountResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type GetUserGroupsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The requested size of the page to retrieve - optional. // Cannot exceed 1000. Defaults to 100. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` @@ -2788,314 +3237,260 @@ type GetUserGroupsRequest struct { GoogleGroup *GetUserGroupsRequest_GoogleGroupFilter `protobuf:"bytes,5,opt,name=google_group,json=googleGroup,proto3" json:"google_group,omitempty"` // Filter groups by the SCIM group specification - optional. ScimGroup *GetUserGroupsRequest_SCIMGroupFilter `protobuf:"bytes,6,opt,name=scim_group,json=scimGroup,proto3" json:"scim_group,omitempty"` + // temporal:ui + // Filter for name substring - optional + NameSubstring string `protobuf:"bytes,100,opt,name=name_substring,json=nameSubstring,proto3" json:"name_substring,omitempty"` + // This is not the enum, because gogoproto will panic on decoding a repeated enum. + // temporal:ui + IncludeStates []string `protobuf:"bytes,101,rep,name=include_states,json=includeStates,proto3" json:"include_states,omitempty"` } -func (m *GetUserGroupsRequest) Reset() { *m = GetUserGroupsRequest{} } -func (*GetUserGroupsRequest) ProtoMessage() {} -func (*GetUserGroupsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{50} +func (x *GetUserGroupsRequest) Reset() { + *x = GetUserGroupsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetUserGroupsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetUserGroupsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetUserGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetUserGroupsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetUserGroupsRequest) ProtoMessage() {} + +func (x *GetUserGroupsRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[52] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetUserGroupsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserGroupsRequest.Merge(m, src) -} -func (m *GetUserGroupsRequest) XXX_Size() int { - return m.Size() -} -func (m *GetUserGroupsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserGroupsRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetUserGroupsRequest proto.InternalMessageInfo +// Deprecated: Use GetUserGroupsRequest.ProtoReflect.Descriptor instead. +func (*GetUserGroupsRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{52} +} -func (m *GetUserGroupsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *GetUserGroupsRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *GetUserGroupsRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *GetUserGroupsRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } -func (m *GetUserGroupsRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *GetUserGroupsRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *GetUserGroupsRequest) GetDisplayName() string { - if m != nil { - return m.DisplayName +func (x *GetUserGroupsRequest) GetDisplayName() string { + if x != nil { + return x.DisplayName } return "" } -func (m *GetUserGroupsRequest) GetGoogleGroup() *GetUserGroupsRequest_GoogleGroupFilter { - if m != nil { - return m.GoogleGroup +func (x *GetUserGroupsRequest) GetGoogleGroup() *GetUserGroupsRequest_GoogleGroupFilter { + if x != nil { + return x.GoogleGroup } return nil } -func (m *GetUserGroupsRequest) GetScimGroup() *GetUserGroupsRequest_SCIMGroupFilter { - if m != nil { - return m.ScimGroup +func (x *GetUserGroupsRequest) GetScimGroup() *GetUserGroupsRequest_SCIMGroupFilter { + if x != nil { + return x.ScimGroup } return nil } -type GetUserGroupsRequest_GoogleGroupFilter struct { - // Filter groups by the google group email - optional. - EmailAddress string `protobuf:"bytes,1,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"` -} - -func (m *GetUserGroupsRequest_GoogleGroupFilter) Reset() { - *m = GetUserGroupsRequest_GoogleGroupFilter{} -} -func (*GetUserGroupsRequest_GoogleGroupFilter) ProtoMessage() {} -func (*GetUserGroupsRequest_GoogleGroupFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{50, 0} -} -func (m *GetUserGroupsRequest_GoogleGroupFilter) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetUserGroupsRequest_GoogleGroupFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetUserGroupsRequest_GoogleGroupFilter.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *GetUserGroupsRequest_GoogleGroupFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserGroupsRequest_GoogleGroupFilter.Merge(m, src) -} -func (m *GetUserGroupsRequest_GoogleGroupFilter) XXX_Size() int { - return m.Size() -} -func (m *GetUserGroupsRequest_GoogleGroupFilter) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserGroupsRequest_GoogleGroupFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUserGroupsRequest_GoogleGroupFilter proto.InternalMessageInfo - -func (m *GetUserGroupsRequest_GoogleGroupFilter) GetEmailAddress() string { - if m != nil { - return m.EmailAddress +func (x *GetUserGroupsRequest) GetNameSubstring() string { + if x != nil { + return x.NameSubstring } return "" } -type GetUserGroupsRequest_SCIMGroupFilter struct { - // Filter groups by the SCIM IDP id - optional. - IdpId string `protobuf:"bytes,1,opt,name=idp_id,json=idpId,proto3" json:"idp_id,omitempty"` -} - -func (m *GetUserGroupsRequest_SCIMGroupFilter) Reset() { *m = GetUserGroupsRequest_SCIMGroupFilter{} } -func (*GetUserGroupsRequest_SCIMGroupFilter) ProtoMessage() {} -func (*GetUserGroupsRequest_SCIMGroupFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{50, 1} -} -func (m *GetUserGroupsRequest_SCIMGroupFilter) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetUserGroupsRequest_SCIMGroupFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetUserGroupsRequest_SCIMGroupFilter.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *GetUserGroupsRequest_SCIMGroupFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserGroupsRequest_SCIMGroupFilter.Merge(m, src) -} -func (m *GetUserGroupsRequest_SCIMGroupFilter) XXX_Size() int { - return m.Size() -} -func (m *GetUserGroupsRequest_SCIMGroupFilter) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserGroupsRequest_SCIMGroupFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_GetUserGroupsRequest_SCIMGroupFilter proto.InternalMessageInfo - -func (m *GetUserGroupsRequest_SCIMGroupFilter) GetIdpId() string { - if m != nil { - return m.IdpId +func (x *GetUserGroupsRequest) GetIncludeStates() []string { + if x != nil { + return x.IncludeStates } - return "" + return nil } type GetUserGroupsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The list of groups in ascending name order. Groups []*v1.UserGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` // The next page's token. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *GetUserGroupsResponse) Reset() { *m = GetUserGroupsResponse{} } -func (*GetUserGroupsResponse) ProtoMessage() {} -func (*GetUserGroupsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{51} +func (x *GetUserGroupsResponse) Reset() { + *x = GetUserGroupsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetUserGroupsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetUserGroupsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetUserGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetUserGroupsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetUserGroupsResponse) ProtoMessage() {} + +func (x *GetUserGroupsResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[53] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetUserGroupsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserGroupsResponse.Merge(m, src) -} -func (m *GetUserGroupsResponse) XXX_Size() int { - return m.Size() -} -func (m *GetUserGroupsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserGroupsResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetUserGroupsResponse proto.InternalMessageInfo +// Deprecated: Use GetUserGroupsResponse.ProtoReflect.Descriptor instead. +func (*GetUserGroupsResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{53} +} -func (m *GetUserGroupsResponse) GetGroups() []*v1.UserGroup { - if m != nil { - return m.Groups +func (x *GetUserGroupsResponse) GetGroups() []*v1.UserGroup { + if x != nil { + return x.Groups } return nil } -func (m *GetUserGroupsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *GetUserGroupsResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type GetUserGroupRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the group to get. GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` } -func (m *GetUserGroupRequest) Reset() { *m = GetUserGroupRequest{} } -func (*GetUserGroupRequest) ProtoMessage() {} -func (*GetUserGroupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{52} +func (x *GetUserGroupRequest) Reset() { + *x = GetUserGroupRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetUserGroupRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetUserGroupRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetUserGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetUserGroupRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetUserGroupRequest) ProtoMessage() {} + +func (x *GetUserGroupRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[54] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetUserGroupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserGroupRequest.Merge(m, src) -} -func (m *GetUserGroupRequest) XXX_Size() int { - return m.Size() -} -func (m *GetUserGroupRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserGroupRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetUserGroupRequest proto.InternalMessageInfo +// Deprecated: Use GetUserGroupRequest.ProtoReflect.Descriptor instead. +func (*GetUserGroupRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{54} +} -func (m *GetUserGroupRequest) GetGroupId() string { - if m != nil { - return m.GroupId +func (x *GetUserGroupRequest) GetGroupId() string { + if x != nil { + return x.GroupId } return "" } type GetUserGroupResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The group. Group *v1.UserGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` } -func (m *GetUserGroupResponse) Reset() { *m = GetUserGroupResponse{} } -func (*GetUserGroupResponse) ProtoMessage() {} -func (*GetUserGroupResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{53} +func (x *GetUserGroupResponse) Reset() { + *x = GetUserGroupResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetUserGroupResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetUserGroupResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetUserGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetUserGroupResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetUserGroupResponse) ProtoMessage() {} + +func (x *GetUserGroupResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[55] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetUserGroupResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserGroupResponse.Merge(m, src) -} -func (m *GetUserGroupResponse) XXX_Size() int { - return m.Size() -} -func (m *GetUserGroupResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserGroupResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetUserGroupResponse proto.InternalMessageInfo +// Deprecated: Use GetUserGroupResponse.ProtoReflect.Descriptor instead. +func (*GetUserGroupResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{55} +} -func (m *GetUserGroupResponse) GetGroup() *v1.UserGroup { - if m != nil { - return m.Group +func (x *GetUserGroupResponse) GetGroup() *v1.UserGroup { + if x != nil { + return x.Group } return nil } type CreateUserGroupRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The spec for the group to create. Spec *v1.UserGroupSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` // The id to use for this async operation. @@ -3103,106 +3498,114 @@ type CreateUserGroupRequest struct { AsyncOperationId string `protobuf:"bytes,2,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *CreateUserGroupRequest) Reset() { *m = CreateUserGroupRequest{} } -func (*CreateUserGroupRequest) ProtoMessage() {} -func (*CreateUserGroupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{54} +func (x *CreateUserGroupRequest) Reset() { + *x = CreateUserGroupRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateUserGroupRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *CreateUserGroupRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateUserGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateUserGroupRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*CreateUserGroupRequest) ProtoMessage() {} + +func (x *CreateUserGroupRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[56] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *CreateUserGroupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateUserGroupRequest.Merge(m, src) -} -func (m *CreateUserGroupRequest) XXX_Size() int { - return m.Size() -} -func (m *CreateUserGroupRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateUserGroupRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_CreateUserGroupRequest proto.InternalMessageInfo +// Deprecated: Use CreateUserGroupRequest.ProtoReflect.Descriptor instead. +func (*CreateUserGroupRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{56} +} -func (m *CreateUserGroupRequest) GetSpec() *v1.UserGroupSpec { - if m != nil { - return m.Spec +func (x *CreateUserGroupRequest) GetSpec() *v1.UserGroupSpec { + if x != nil { + return x.Spec } return nil } -func (m *CreateUserGroupRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *CreateUserGroupRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type CreateUserGroupResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the group that was created. GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,2,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *CreateUserGroupResponse) Reset() { *m = CreateUserGroupResponse{} } -func (*CreateUserGroupResponse) ProtoMessage() {} -func (*CreateUserGroupResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{55} +func (x *CreateUserGroupResponse) Reset() { + *x = CreateUserGroupResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateUserGroupResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *CreateUserGroupResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateUserGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateUserGroupResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*CreateUserGroupResponse) ProtoMessage() {} + +func (x *CreateUserGroupResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[57] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *CreateUserGroupResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateUserGroupResponse.Merge(m, src) -} -func (m *CreateUserGroupResponse) XXX_Size() int { - return m.Size() -} -func (m *CreateUserGroupResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateUserGroupResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_CreateUserGroupResponse proto.InternalMessageInfo +// Deprecated: Use CreateUserGroupResponse.ProtoReflect.Descriptor instead. +func (*CreateUserGroupResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{57} +} -func (m *CreateUserGroupResponse) GetGroupId() string { - if m != nil { - return m.GroupId +func (x *CreateUserGroupResponse) GetGroupId() string { + if x != nil { + return x.GroupId } return "" } -func (m *CreateUserGroupResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *CreateUserGroupResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type UpdateUserGroupRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the group to update. GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // The new group specification. @@ -3215,111 +3618,119 @@ type UpdateUserGroupRequest struct { AsyncOperationId string `protobuf:"bytes,4,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *UpdateUserGroupRequest) Reset() { *m = UpdateUserGroupRequest{} } -func (*UpdateUserGroupRequest) ProtoMessage() {} -func (*UpdateUserGroupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{56} +func (x *UpdateUserGroupRequest) Reset() { + *x = UpdateUserGroupRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateUserGroupRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *UpdateUserGroupRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateUserGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateUserGroupRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*UpdateUserGroupRequest) ProtoMessage() {} + +func (x *UpdateUserGroupRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[58] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *UpdateUserGroupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateUserGroupRequest.Merge(m, src) -} -func (m *UpdateUserGroupRequest) XXX_Size() int { - return m.Size() -} -func (m *UpdateUserGroupRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateUserGroupRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateUserGroupRequest proto.InternalMessageInfo +// Deprecated: Use UpdateUserGroupRequest.ProtoReflect.Descriptor instead. +func (*UpdateUserGroupRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{58} +} -func (m *UpdateUserGroupRequest) GetGroupId() string { - if m != nil { - return m.GroupId +func (x *UpdateUserGroupRequest) GetGroupId() string { + if x != nil { + return x.GroupId } return "" } -func (m *UpdateUserGroupRequest) GetSpec() *v1.UserGroupSpec { - if m != nil { - return m.Spec +func (x *UpdateUserGroupRequest) GetSpec() *v1.UserGroupSpec { + if x != nil { + return x.Spec } return nil } -func (m *UpdateUserGroupRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *UpdateUserGroupRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *UpdateUserGroupRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *UpdateUserGroupRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type UpdateUserGroupResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *UpdateUserGroupResponse) Reset() { *m = UpdateUserGroupResponse{} } -func (*UpdateUserGroupResponse) ProtoMessage() {} -func (*UpdateUserGroupResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{57} +func (x *UpdateUserGroupResponse) Reset() { + *x = UpdateUserGroupResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateUserGroupResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *UpdateUserGroupResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateUserGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateUserGroupResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*UpdateUserGroupResponse) ProtoMessage() {} + +func (x *UpdateUserGroupResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[59] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *UpdateUserGroupResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateUserGroupResponse.Merge(m, src) -} -func (m *UpdateUserGroupResponse) XXX_Size() int { - return m.Size() -} -func (m *UpdateUserGroupResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateUserGroupResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateUserGroupResponse proto.InternalMessageInfo +// Deprecated: Use UpdateUserGroupResponse.ProtoReflect.Descriptor instead. +func (*UpdateUserGroupResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{59} +} -func (m *UpdateUserGroupResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *UpdateUserGroupResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type DeleteUserGroupRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the group to delete. GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // The version of the group for which this delete is intended for. @@ -3330,104 +3741,112 @@ type DeleteUserGroupRequest struct { AsyncOperationId string `protobuf:"bytes,3,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *DeleteUserGroupRequest) Reset() { *m = DeleteUserGroupRequest{} } -func (*DeleteUserGroupRequest) ProtoMessage() {} -func (*DeleteUserGroupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{58} +func (x *DeleteUserGroupRequest) Reset() { + *x = DeleteUserGroupRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteUserGroupRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *DeleteUserGroupRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteUserGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteUserGroupRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*DeleteUserGroupRequest) ProtoMessage() {} + +func (x *DeleteUserGroupRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[60] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *DeleteUserGroupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteUserGroupRequest.Merge(m, src) -} -func (m *DeleteUserGroupRequest) XXX_Size() int { - return m.Size() -} -func (m *DeleteUserGroupRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteUserGroupRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteUserGroupRequest proto.InternalMessageInfo +// Deprecated: Use DeleteUserGroupRequest.ProtoReflect.Descriptor instead. +func (*DeleteUserGroupRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{60} +} -func (m *DeleteUserGroupRequest) GetGroupId() string { - if m != nil { - return m.GroupId +func (x *DeleteUserGroupRequest) GetGroupId() string { + if x != nil { + return x.GroupId } return "" } -func (m *DeleteUserGroupRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *DeleteUserGroupRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *DeleteUserGroupRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *DeleteUserGroupRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type DeleteUserGroupResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *DeleteUserGroupResponse) Reset() { *m = DeleteUserGroupResponse{} } -func (*DeleteUserGroupResponse) ProtoMessage() {} -func (*DeleteUserGroupResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{59} +func (x *DeleteUserGroupResponse) Reset() { + *x = DeleteUserGroupResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteUserGroupResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *DeleteUserGroupResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteUserGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteUserGroupResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*DeleteUserGroupResponse) ProtoMessage() {} + +func (x *DeleteUserGroupResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[61] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *DeleteUserGroupResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteUserGroupResponse.Merge(m, src) -} -func (m *DeleteUserGroupResponse) XXX_Size() int { - return m.Size() -} -func (m *DeleteUserGroupResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteUserGroupResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteUserGroupResponse proto.InternalMessageInfo +// Deprecated: Use DeleteUserGroupResponse.ProtoReflect.Descriptor instead. +func (*DeleteUserGroupResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{61} +} -func (m *DeleteUserGroupResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *DeleteUserGroupResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type SetUserGroupNamespaceAccessRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace to set permissions for. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // The id of the group to set permissions for. @@ -3441,118 +3860,126 @@ type SetUserGroupNamespaceAccessRequest struct { AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *SetUserGroupNamespaceAccessRequest) Reset() { *m = SetUserGroupNamespaceAccessRequest{} } -func (*SetUserGroupNamespaceAccessRequest) ProtoMessage() {} -func (*SetUserGroupNamespaceAccessRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{60} +func (x *SetUserGroupNamespaceAccessRequest) Reset() { + *x = SetUserGroupNamespaceAccessRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetUserGroupNamespaceAccessRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *SetUserGroupNamespaceAccessRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetUserGroupNamespaceAccessRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SetUserGroupNamespaceAccessRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*SetUserGroupNamespaceAccessRequest) ProtoMessage() {} + +func (x *SetUserGroupNamespaceAccessRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[62] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *SetUserGroupNamespaceAccessRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetUserGroupNamespaceAccessRequest.Merge(m, src) -} -func (m *SetUserGroupNamespaceAccessRequest) XXX_Size() int { - return m.Size() -} -func (m *SetUserGroupNamespaceAccessRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetUserGroupNamespaceAccessRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_SetUserGroupNamespaceAccessRequest proto.InternalMessageInfo +// Deprecated: Use SetUserGroupNamespaceAccessRequest.ProtoReflect.Descriptor instead. +func (*SetUserGroupNamespaceAccessRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{62} +} -func (m *SetUserGroupNamespaceAccessRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *SetUserGroupNamespaceAccessRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *SetUserGroupNamespaceAccessRequest) GetGroupId() string { - if m != nil { - return m.GroupId +func (x *SetUserGroupNamespaceAccessRequest) GetGroupId() string { + if x != nil { + return x.GroupId } return "" } -func (m *SetUserGroupNamespaceAccessRequest) GetAccess() *v1.NamespaceAccess { - if m != nil { - return m.Access +func (x *SetUserGroupNamespaceAccessRequest) GetAccess() *v1.NamespaceAccess { + if x != nil { + return x.Access } return nil } -func (m *SetUserGroupNamespaceAccessRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *SetUserGroupNamespaceAccessRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *SetUserGroupNamespaceAccessRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *SetUserGroupNamespaceAccessRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type SetUserGroupNamespaceAccessResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *SetUserGroupNamespaceAccessResponse) Reset() { *m = SetUserGroupNamespaceAccessResponse{} } -func (*SetUserGroupNamespaceAccessResponse) ProtoMessage() {} -func (*SetUserGroupNamespaceAccessResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{61} +func (x *SetUserGroupNamespaceAccessResponse) Reset() { + *x = SetUserGroupNamespaceAccessResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetUserGroupNamespaceAccessResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *SetUserGroupNamespaceAccessResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetUserGroupNamespaceAccessResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SetUserGroupNamespaceAccessResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*SetUserGroupNamespaceAccessResponse) ProtoMessage() {} + +func (x *SetUserGroupNamespaceAccessResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[63] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *SetUserGroupNamespaceAccessResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetUserGroupNamespaceAccessResponse.Merge(m, src) -} -func (m *SetUserGroupNamespaceAccessResponse) XXX_Size() int { - return m.Size() -} -func (m *SetUserGroupNamespaceAccessResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SetUserGroupNamespaceAccessResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_SetUserGroupNamespaceAccessResponse proto.InternalMessageInfo +// Deprecated: Use SetUserGroupNamespaceAccessResponse.ProtoReflect.Descriptor instead. +func (*SetUserGroupNamespaceAccessResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{63} +} -func (m *SetUserGroupNamespaceAccessResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *SetUserGroupNamespaceAccessResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type AddUserGroupMemberRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the group to add the member for. GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // The member id to add to the group. @@ -3562,104 +3989,112 @@ type AddUserGroupMemberRequest struct { AsyncOperationId string `protobuf:"bytes,3,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *AddUserGroupMemberRequest) Reset() { *m = AddUserGroupMemberRequest{} } -func (*AddUserGroupMemberRequest) ProtoMessage() {} -func (*AddUserGroupMemberRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{62} +func (x *AddUserGroupMemberRequest) Reset() { + *x = AddUserGroupMemberRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AddUserGroupMemberRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *AddUserGroupMemberRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AddUserGroupMemberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AddUserGroupMemberRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*AddUserGroupMemberRequest) ProtoMessage() {} + +func (x *AddUserGroupMemberRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[64] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *AddUserGroupMemberRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddUserGroupMemberRequest.Merge(m, src) -} -func (m *AddUserGroupMemberRequest) XXX_Size() int { - return m.Size() -} -func (m *AddUserGroupMemberRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AddUserGroupMemberRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_AddUserGroupMemberRequest proto.InternalMessageInfo +// Deprecated: Use AddUserGroupMemberRequest.ProtoReflect.Descriptor instead. +func (*AddUserGroupMemberRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{64} +} -func (m *AddUserGroupMemberRequest) GetGroupId() string { - if m != nil { - return m.GroupId +func (x *AddUserGroupMemberRequest) GetGroupId() string { + if x != nil { + return x.GroupId } return "" } -func (m *AddUserGroupMemberRequest) GetMemberId() *v1.UserGroupMemberId { - if m != nil { - return m.MemberId +func (x *AddUserGroupMemberRequest) GetMemberId() *v1.UserGroupMemberId { + if x != nil { + return x.MemberId } return nil } -func (m *AddUserGroupMemberRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *AddUserGroupMemberRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type AddUserGroupMemberResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *AddUserGroupMemberResponse) Reset() { *m = AddUserGroupMemberResponse{} } -func (*AddUserGroupMemberResponse) ProtoMessage() {} -func (*AddUserGroupMemberResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{63} +func (x *AddUserGroupMemberResponse) Reset() { + *x = AddUserGroupMemberResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AddUserGroupMemberResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *AddUserGroupMemberResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AddUserGroupMemberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AddUserGroupMemberResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*AddUserGroupMemberResponse) ProtoMessage() {} + +func (x *AddUserGroupMemberResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[65] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *AddUserGroupMemberResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddUserGroupMemberResponse.Merge(m, src) -} -func (m *AddUserGroupMemberResponse) XXX_Size() int { - return m.Size() -} -func (m *AddUserGroupMemberResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AddUserGroupMemberResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_AddUserGroupMemberResponse proto.InternalMessageInfo +// Deprecated: Use AddUserGroupMemberResponse.ProtoReflect.Descriptor instead. +func (*AddUserGroupMemberResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{65} +} -func (m *AddUserGroupMemberResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *AddUserGroupMemberResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type RemoveUserGroupMemberRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the group to add the member for. GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // The member id to add to the group. @@ -3669,104 +4104,112 @@ type RemoveUserGroupMemberRequest struct { AsyncOperationId string `protobuf:"bytes,3,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *RemoveUserGroupMemberRequest) Reset() { *m = RemoveUserGroupMemberRequest{} } -func (*RemoveUserGroupMemberRequest) ProtoMessage() {} -func (*RemoveUserGroupMemberRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{64} +func (x *RemoveUserGroupMemberRequest) Reset() { + *x = RemoveUserGroupMemberRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveUserGroupMemberRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *RemoveUserGroupMemberRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveUserGroupMemberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RemoveUserGroupMemberRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*RemoveUserGroupMemberRequest) ProtoMessage() {} + +func (x *RemoveUserGroupMemberRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[66] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *RemoveUserGroupMemberRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveUserGroupMemberRequest.Merge(m, src) -} -func (m *RemoveUserGroupMemberRequest) XXX_Size() int { - return m.Size() -} -func (m *RemoveUserGroupMemberRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveUserGroupMemberRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_RemoveUserGroupMemberRequest proto.InternalMessageInfo +// Deprecated: Use RemoveUserGroupMemberRequest.ProtoReflect.Descriptor instead. +func (*RemoveUserGroupMemberRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{66} +} -func (m *RemoveUserGroupMemberRequest) GetGroupId() string { - if m != nil { - return m.GroupId +func (x *RemoveUserGroupMemberRequest) GetGroupId() string { + if x != nil { + return x.GroupId } return "" } -func (m *RemoveUserGroupMemberRequest) GetMemberId() *v1.UserGroupMemberId { - if m != nil { - return m.MemberId +func (x *RemoveUserGroupMemberRequest) GetMemberId() *v1.UserGroupMemberId { + if x != nil { + return x.MemberId } return nil } -func (m *RemoveUserGroupMemberRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *RemoveUserGroupMemberRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type RemoveUserGroupMemberResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *RemoveUserGroupMemberResponse) Reset() { *m = RemoveUserGroupMemberResponse{} } -func (*RemoveUserGroupMemberResponse) ProtoMessage() {} -func (*RemoveUserGroupMemberResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{65} +func (x *RemoveUserGroupMemberResponse) Reset() { + *x = RemoveUserGroupMemberResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveUserGroupMemberResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *RemoveUserGroupMemberResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveUserGroupMemberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RemoveUserGroupMemberResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*RemoveUserGroupMemberResponse) ProtoMessage() {} + +func (x *RemoveUserGroupMemberResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[67] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *RemoveUserGroupMemberResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveUserGroupMemberResponse.Merge(m, src) -} -func (m *RemoveUserGroupMemberResponse) XXX_Size() int { - return m.Size() -} -func (m *RemoveUserGroupMemberResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveUserGroupMemberResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_RemoveUserGroupMemberResponse proto.InternalMessageInfo +// Deprecated: Use RemoveUserGroupMemberResponse.ProtoReflect.Descriptor instead. +func (*RemoveUserGroupMemberResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{67} +} -func (m *RemoveUserGroupMemberResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *RemoveUserGroupMemberResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type GetUserGroupMembersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The requested size of the page to retrieve - optional. // Cannot exceed 1000. Defaults to 100. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` @@ -3776,414 +4219,486 @@ type GetUserGroupMembersRequest struct { GroupId string `protobuf:"bytes,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` } -func (m *GetUserGroupMembersRequest) Reset() { *m = GetUserGroupMembersRequest{} } -func (*GetUserGroupMembersRequest) ProtoMessage() {} -func (*GetUserGroupMembersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{66} +func (x *GetUserGroupMembersRequest) Reset() { + *x = GetUserGroupMembersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetUserGroupMembersRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetUserGroupMembersRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetUserGroupMembersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetUserGroupMembersRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetUserGroupMembersRequest) ProtoMessage() {} + +func (x *GetUserGroupMembersRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[68] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetUserGroupMembersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserGroupMembersRequest.Merge(m, src) -} -func (m *GetUserGroupMembersRequest) XXX_Size() int { - return m.Size() -} -func (m *GetUserGroupMembersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserGroupMembersRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetUserGroupMembersRequest proto.InternalMessageInfo +// Deprecated: Use GetUserGroupMembersRequest.ProtoReflect.Descriptor instead. +func (*GetUserGroupMembersRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{68} +} -func (m *GetUserGroupMembersRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *GetUserGroupMembersRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *GetUserGroupMembersRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *GetUserGroupMembersRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } -func (m *GetUserGroupMembersRequest) GetGroupId() string { - if m != nil { - return m.GroupId +func (x *GetUserGroupMembersRequest) GetGroupId() string { + if x != nil { + return x.GroupId } return "" } type GetUserGroupMembersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The list of group members Members []*v1.UserGroupMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` // The next page's token. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *GetUserGroupMembersResponse) Reset() { *m = GetUserGroupMembersResponse{} } -func (*GetUserGroupMembersResponse) ProtoMessage() {} -func (*GetUserGroupMembersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{67} +func (x *GetUserGroupMembersResponse) Reset() { + *x = GetUserGroupMembersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetUserGroupMembersResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetUserGroupMembersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetUserGroupMembersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetUserGroupMembersResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetUserGroupMembersResponse) ProtoMessage() {} + +func (x *GetUserGroupMembersResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[69] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetUserGroupMembersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUserGroupMembersResponse.Merge(m, src) -} -func (m *GetUserGroupMembersResponse) XXX_Size() int { - return m.Size() -} -func (m *GetUserGroupMembersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetUserGroupMembersResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetUserGroupMembersResponse proto.InternalMessageInfo +// Deprecated: Use GetUserGroupMembersResponse.ProtoReflect.Descriptor instead. +func (*GetUserGroupMembersResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{69} +} -func (m *GetUserGroupMembersResponse) GetMembers() []*v1.UserGroupMember { - if m != nil { - return m.Members +func (x *GetUserGroupMembersResponse) GetMembers() []*v1.UserGroupMember { + if x != nil { + return x.Members } return nil } -func (m *GetUserGroupMembersResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *GetUserGroupMembersResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type CreateServiceAccountRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The spec of the service account to create. Spec *v1.ServiceAccountSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` // The ID to use for this async operation - optional. AsyncOperationId string `protobuf:"bytes,2,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *CreateServiceAccountRequest) Reset() { *m = CreateServiceAccountRequest{} } -func (*CreateServiceAccountRequest) ProtoMessage() {} -func (*CreateServiceAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{68} +func (x *CreateServiceAccountRequest) Reset() { + *x = CreateServiceAccountRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateServiceAccountRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *CreateServiceAccountRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateServiceAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateServiceAccountRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*CreateServiceAccountRequest) ProtoMessage() {} + +func (x *CreateServiceAccountRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[70] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *CreateServiceAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateServiceAccountRequest.Merge(m, src) -} -func (m *CreateServiceAccountRequest) XXX_Size() int { - return m.Size() -} -func (m *CreateServiceAccountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateServiceAccountRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_CreateServiceAccountRequest proto.InternalMessageInfo +// Deprecated: Use CreateServiceAccountRequest.ProtoReflect.Descriptor instead. +func (*CreateServiceAccountRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{70} +} -func (m *CreateServiceAccountRequest) GetSpec() *v1.ServiceAccountSpec { - if m != nil { - return m.Spec +func (x *CreateServiceAccountRequest) GetSpec() *v1.ServiceAccountSpec { + if x != nil { + return x.Spec } return nil } -func (m *CreateServiceAccountRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *CreateServiceAccountRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type CreateServiceAccountResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The ID of the created service account. ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,2,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *CreateServiceAccountResponse) Reset() { *m = CreateServiceAccountResponse{} } -func (*CreateServiceAccountResponse) ProtoMessage() {} -func (*CreateServiceAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{69} +func (x *CreateServiceAccountResponse) Reset() { + *x = CreateServiceAccountResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateServiceAccountResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *CreateServiceAccountResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateServiceAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateServiceAccountResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*CreateServiceAccountResponse) ProtoMessage() {} + +func (x *CreateServiceAccountResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[71] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *CreateServiceAccountResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateServiceAccountResponse.Merge(m, src) -} -func (m *CreateServiceAccountResponse) XXX_Size() int { - return m.Size() -} -func (m *CreateServiceAccountResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateServiceAccountResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_CreateServiceAccountResponse proto.InternalMessageInfo +// Deprecated: Use CreateServiceAccountResponse.ProtoReflect.Descriptor instead. +func (*CreateServiceAccountResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{71} +} -func (m *CreateServiceAccountResponse) GetServiceAccountId() string { - if m != nil { - return m.ServiceAccountId +func (x *CreateServiceAccountResponse) GetServiceAccountId() string { + if x != nil { + return x.ServiceAccountId } return "" } -func (m *CreateServiceAccountResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *CreateServiceAccountResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type GetServiceAccountRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // ID of the service account to retrieve. ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` } -func (m *GetServiceAccountRequest) Reset() { *m = GetServiceAccountRequest{} } -func (*GetServiceAccountRequest) ProtoMessage() {} -func (*GetServiceAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{70} +func (x *GetServiceAccountRequest) Reset() { + *x = GetServiceAccountRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetServiceAccountRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetServiceAccountRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetServiceAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetServiceAccountRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetServiceAccountRequest) ProtoMessage() {} + +func (x *GetServiceAccountRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[72] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetServiceAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServiceAccountRequest.Merge(m, src) -} -func (m *GetServiceAccountRequest) XXX_Size() int { - return m.Size() -} -func (m *GetServiceAccountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetServiceAccountRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetServiceAccountRequest proto.InternalMessageInfo +// Deprecated: Use GetServiceAccountRequest.ProtoReflect.Descriptor instead. +func (*GetServiceAccountRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{72} +} -func (m *GetServiceAccountRequest) GetServiceAccountId() string { - if m != nil { - return m.ServiceAccountId +func (x *GetServiceAccountRequest) GetServiceAccountId() string { + if x != nil { + return x.ServiceAccountId } return "" } type GetServiceAccountResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The service account retrieved. ServiceAccount *v1.ServiceAccount `protobuf:"bytes,1,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` } -func (m *GetServiceAccountResponse) Reset() { *m = GetServiceAccountResponse{} } -func (*GetServiceAccountResponse) ProtoMessage() {} -func (*GetServiceAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{71} +func (x *GetServiceAccountResponse) Reset() { + *x = GetServiceAccountResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[73] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetServiceAccountResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetServiceAccountResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetServiceAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetServiceAccountResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetServiceAccountResponse) ProtoMessage() {} + +func (x *GetServiceAccountResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[73] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetServiceAccountResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServiceAccountResponse.Merge(m, src) -} -func (m *GetServiceAccountResponse) XXX_Size() int { - return m.Size() -} -func (m *GetServiceAccountResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetServiceAccountResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetServiceAccountResponse proto.InternalMessageInfo +// Deprecated: Use GetServiceAccountResponse.ProtoReflect.Descriptor instead. +func (*GetServiceAccountResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{73} +} -func (m *GetServiceAccountResponse) GetServiceAccount() *v1.ServiceAccount { - if m != nil { - return m.ServiceAccount +func (x *GetServiceAccountResponse) GetServiceAccount() *v1.ServiceAccount { + if x != nil { + return x.ServiceAccount } return nil } type GetServiceAccountsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The requested size of the page to retrieve - optional. // Cannot exceed 1000. Defaults to 100. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The page token if this is continuing from another response - optional. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // Filter for service accounts which are scoped/unscoped - optional. + // temporal:ui + Scope GetServiceAccountsRequest_ScopeType `protobuf:"varint,100,opt,name=scope,proto3,enum=temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest_ScopeType" json:"scope,omitempty"` + // temporal:ui + Namespace string `protobuf:"bytes,101,opt,name=namespace,proto3" json:"namespace,omitempty"` + // Inclusive filter for entity states - optional. + // This is not the enum, because gogoproto will panic on decoding a repeated enum. + // temporal:ui + IncludeStates []string `protobuf:"bytes,102,rep,name=include_states,json=includeStates,proto3" json:"include_states,omitempty"` + // Filter for name substring - optional + // temporal:ui + NameSubstring string `protobuf:"bytes,103,opt,name=name_substring,json=nameSubstring,proto3" json:"name_substring,omitempty"` } -func (m *GetServiceAccountsRequest) Reset() { *m = GetServiceAccountsRequest{} } -func (*GetServiceAccountsRequest) ProtoMessage() {} -func (*GetServiceAccountsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{72} +func (x *GetServiceAccountsRequest) Reset() { + *x = GetServiceAccountsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[74] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetServiceAccountsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetServiceAccountsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetServiceAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetServiceAccountsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetServiceAccountsRequest) ProtoMessage() {} + +func (x *GetServiceAccountsRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[74] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } + return mi.MessageOf(x) +} + +// Deprecated: Use GetServiceAccountsRequest.ProtoReflect.Descriptor instead. +func (*GetServiceAccountsRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{74} } -func (m *GetServiceAccountsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServiceAccountsRequest.Merge(m, src) + +func (x *GetServiceAccountsRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize + } + return 0 } -func (m *GetServiceAccountsRequest) XXX_Size() int { - return m.Size() + +func (x *GetServiceAccountsRequest) GetPageToken() string { + if x != nil { + return x.PageToken + } + return "" } -func (m *GetServiceAccountsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetServiceAccountsRequest.DiscardUnknown(m) + +func (x *GetServiceAccountsRequest) GetScope() GetServiceAccountsRequest_ScopeType { + if x != nil { + return x.Scope + } + return GET_SERVICE_ACCOUNT_SCOPE_TYPE_UNSPECIFIED } -var xxx_messageInfo_GetServiceAccountsRequest proto.InternalMessageInfo +func (x *GetServiceAccountsRequest) GetNamespace() string { + if x != nil { + return x.Namespace + } + return "" +} -func (m *GetServiceAccountsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *GetServiceAccountsRequest) GetIncludeStates() []string { + if x != nil { + return x.IncludeStates } - return 0 + return nil } -func (m *GetServiceAccountsRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *GetServiceAccountsRequest) GetNameSubstring() string { + if x != nil { + return x.NameSubstring } return "" } type GetServiceAccountsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The list of service accounts in ascending ID order. ServiceAccount []*v1.ServiceAccount `protobuf:"bytes,1,rep,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` // The next page token, set if there is another page. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *GetServiceAccountsResponse) Reset() { *m = GetServiceAccountsResponse{} } -func (*GetServiceAccountsResponse) ProtoMessage() {} -func (*GetServiceAccountsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{73} +func (x *GetServiceAccountsResponse) Reset() { + *x = GetServiceAccountsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[75] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetServiceAccountsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetServiceAccountsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetServiceAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetServiceAccountsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetServiceAccountsResponse) ProtoMessage() {} + +func (x *GetServiceAccountsResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[75] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetServiceAccountsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetServiceAccountsResponse.Merge(m, src) -} -func (m *GetServiceAccountsResponse) XXX_Size() int { - return m.Size() -} -func (m *GetServiceAccountsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetServiceAccountsResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetServiceAccountsResponse proto.InternalMessageInfo +// Deprecated: Use GetServiceAccountsResponse.ProtoReflect.Descriptor instead. +func (*GetServiceAccountsResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{75} +} -func (m *GetServiceAccountsResponse) GetServiceAccount() []*v1.ServiceAccount { - if m != nil { - return m.ServiceAccount +func (x *GetServiceAccountsResponse) GetServiceAccount() []*v1.ServiceAccount { + if x != nil { + return x.ServiceAccount } return nil } -func (m *GetServiceAccountsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *GetServiceAccountsResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type UpdateServiceAccountRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The ID of the service account to update. ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // The new service account specification. @@ -4195,111 +4710,119 @@ type UpdateServiceAccountRequest struct { AsyncOperationId string `protobuf:"bytes,4,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *UpdateServiceAccountRequest) Reset() { *m = UpdateServiceAccountRequest{} } -func (*UpdateServiceAccountRequest) ProtoMessage() {} -func (*UpdateServiceAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{74} +func (x *UpdateServiceAccountRequest) Reset() { + *x = UpdateServiceAccountRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[76] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateServiceAccountRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *UpdateServiceAccountRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateServiceAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateServiceAccountRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*UpdateServiceAccountRequest) ProtoMessage() {} + +func (x *UpdateServiceAccountRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[76] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *UpdateServiceAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateServiceAccountRequest.Merge(m, src) -} -func (m *UpdateServiceAccountRequest) XXX_Size() int { - return m.Size() -} -func (m *UpdateServiceAccountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateServiceAccountRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateServiceAccountRequest proto.InternalMessageInfo +// Deprecated: Use UpdateServiceAccountRequest.ProtoReflect.Descriptor instead. +func (*UpdateServiceAccountRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{76} +} -func (m *UpdateServiceAccountRequest) GetServiceAccountId() string { - if m != nil { - return m.ServiceAccountId +func (x *UpdateServiceAccountRequest) GetServiceAccountId() string { + if x != nil { + return x.ServiceAccountId } return "" } -func (m *UpdateServiceAccountRequest) GetSpec() *v1.ServiceAccountSpec { - if m != nil { - return m.Spec +func (x *UpdateServiceAccountRequest) GetSpec() *v1.ServiceAccountSpec { + if x != nil { + return x.Spec } return nil } -func (m *UpdateServiceAccountRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *UpdateServiceAccountRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *UpdateServiceAccountRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *UpdateServiceAccountRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type UpdateServiceAccountResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *UpdateServiceAccountResponse) Reset() { *m = UpdateServiceAccountResponse{} } -func (*UpdateServiceAccountResponse) ProtoMessage() {} -func (*UpdateServiceAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{75} +func (x *UpdateServiceAccountResponse) Reset() { + *x = UpdateServiceAccountResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateServiceAccountResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *UpdateServiceAccountResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateServiceAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateServiceAccountResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*UpdateServiceAccountResponse) ProtoMessage() {} + +func (x *UpdateServiceAccountResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[77] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *UpdateServiceAccountResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateServiceAccountResponse.Merge(m, src) -} -func (m *UpdateServiceAccountResponse) XXX_Size() int { - return m.Size() -} -func (m *UpdateServiceAccountResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateServiceAccountResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateServiceAccountResponse proto.InternalMessageInfo +// Deprecated: Use UpdateServiceAccountResponse.ProtoReflect.Descriptor instead. +func (*UpdateServiceAccountResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{77} +} -func (m *UpdateServiceAccountResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *UpdateServiceAccountResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type SetServiceAccountNamespaceAccessRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The ID of the service account to update. ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // The namespace to set permissions for. @@ -4313,122 +4836,126 @@ type SetServiceAccountNamespaceAccessRequest struct { AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *SetServiceAccountNamespaceAccessRequest) Reset() { - *m = SetServiceAccountNamespaceAccessRequest{} -} -func (*SetServiceAccountNamespaceAccessRequest) ProtoMessage() {} -func (*SetServiceAccountNamespaceAccessRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{76} +func (x *SetServiceAccountNamespaceAccessRequest) Reset() { + *x = SetServiceAccountNamespaceAccessRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[78] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetServiceAccountNamespaceAccessRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *SetServiceAccountNamespaceAccessRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetServiceAccountNamespaceAccessRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SetServiceAccountNamespaceAccessRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*SetServiceAccountNamespaceAccessRequest) ProtoMessage() {} + +func (x *SetServiceAccountNamespaceAccessRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[78] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *SetServiceAccountNamespaceAccessRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetServiceAccountNamespaceAccessRequest.Merge(m, src) -} -func (m *SetServiceAccountNamespaceAccessRequest) XXX_Size() int { - return m.Size() -} -func (m *SetServiceAccountNamespaceAccessRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetServiceAccountNamespaceAccessRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_SetServiceAccountNamespaceAccessRequest proto.InternalMessageInfo +// Deprecated: Use SetServiceAccountNamespaceAccessRequest.ProtoReflect.Descriptor instead. +func (*SetServiceAccountNamespaceAccessRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{78} +} -func (m *SetServiceAccountNamespaceAccessRequest) GetServiceAccountId() string { - if m != nil { - return m.ServiceAccountId +func (x *SetServiceAccountNamespaceAccessRequest) GetServiceAccountId() string { + if x != nil { + return x.ServiceAccountId } return "" } -func (m *SetServiceAccountNamespaceAccessRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *SetServiceAccountNamespaceAccessRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *SetServiceAccountNamespaceAccessRequest) GetAccess() *v1.NamespaceAccess { - if m != nil { - return m.Access +func (x *SetServiceAccountNamespaceAccessRequest) GetAccess() *v1.NamespaceAccess { + if x != nil { + return x.Access } return nil } -func (m *SetServiceAccountNamespaceAccessRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *SetServiceAccountNamespaceAccessRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *SetServiceAccountNamespaceAccessRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *SetServiceAccountNamespaceAccessRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type SetServiceAccountNamespaceAccessResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *SetServiceAccountNamespaceAccessResponse) Reset() { - *m = SetServiceAccountNamespaceAccessResponse{} -} -func (*SetServiceAccountNamespaceAccessResponse) ProtoMessage() {} -func (*SetServiceAccountNamespaceAccessResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{77} +func (x *SetServiceAccountNamespaceAccessResponse) Reset() { + *x = SetServiceAccountNamespaceAccessResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[79] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetServiceAccountNamespaceAccessResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *SetServiceAccountNamespaceAccessResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetServiceAccountNamespaceAccessResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SetServiceAccountNamespaceAccessResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*SetServiceAccountNamespaceAccessResponse) ProtoMessage() {} + +func (x *SetServiceAccountNamespaceAccessResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[79] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *SetServiceAccountNamespaceAccessResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetServiceAccountNamespaceAccessResponse.Merge(m, src) -} -func (m *SetServiceAccountNamespaceAccessResponse) XXX_Size() int { - return m.Size() -} -func (m *SetServiceAccountNamespaceAccessResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SetServiceAccountNamespaceAccessResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_SetServiceAccountNamespaceAccessResponse proto.InternalMessageInfo +// Deprecated: Use SetServiceAccountNamespaceAccessResponse.ProtoReflect.Descriptor instead. +func (*SetServiceAccountNamespaceAccessResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{79} +} -func (m *SetServiceAccountNamespaceAccessResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *SetServiceAccountNamespaceAccessResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type DeleteServiceAccountRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The ID of the service account to delete; ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // The version of the service account for which this update is intended for. @@ -4438,104 +4965,112 @@ type DeleteServiceAccountRequest struct { AsyncOperationId string `protobuf:"bytes,3,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *DeleteServiceAccountRequest) Reset() { *m = DeleteServiceAccountRequest{} } -func (*DeleteServiceAccountRequest) ProtoMessage() {} -func (*DeleteServiceAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{78} +func (x *DeleteServiceAccountRequest) Reset() { + *x = DeleteServiceAccountRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[80] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteServiceAccountRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *DeleteServiceAccountRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteServiceAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteServiceAccountRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*DeleteServiceAccountRequest) ProtoMessage() {} + +func (x *DeleteServiceAccountRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[80] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *DeleteServiceAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteServiceAccountRequest.Merge(m, src) -} -func (m *DeleteServiceAccountRequest) XXX_Size() int { - return m.Size() -} -func (m *DeleteServiceAccountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteServiceAccountRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteServiceAccountRequest proto.InternalMessageInfo +// Deprecated: Use DeleteServiceAccountRequest.ProtoReflect.Descriptor instead. +func (*DeleteServiceAccountRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{80} +} -func (m *DeleteServiceAccountRequest) GetServiceAccountId() string { - if m != nil { - return m.ServiceAccountId +func (x *DeleteServiceAccountRequest) GetServiceAccountId() string { + if x != nil { + return x.ServiceAccountId } return "" } -func (m *DeleteServiceAccountRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *DeleteServiceAccountRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *DeleteServiceAccountRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *DeleteServiceAccountRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type DeleteServiceAccountResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *DeleteServiceAccountResponse) Reset() { *m = DeleteServiceAccountResponse{} } -func (*DeleteServiceAccountResponse) ProtoMessage() {} -func (*DeleteServiceAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{79} +func (x *DeleteServiceAccountResponse) Reset() { + *x = DeleteServiceAccountResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[81] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteServiceAccountResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *DeleteServiceAccountResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteServiceAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteServiceAccountResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*DeleteServiceAccountResponse) ProtoMessage() {} + +func (x *DeleteServiceAccountResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[81] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *DeleteServiceAccountResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteServiceAccountResponse.Merge(m, src) -} -func (m *DeleteServiceAccountResponse) XXX_Size() int { - return m.Size() -} -func (m *DeleteServiceAccountResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteServiceAccountResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteServiceAccountResponse proto.InternalMessageInfo +// Deprecated: Use DeleteServiceAccountResponse.ProtoReflect.Descriptor instead. +func (*DeleteServiceAccountResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{81} +} -func (m *DeleteServiceAccountResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *DeleteServiceAccountResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type GetApiKeysRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The requested size of the page to retrieve - optional. // Cannot exceed 1000. Defaults to 100. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` @@ -4545,222 +5080,271 @@ type GetApiKeysRequest struct { OwnerId string `protobuf:"bytes,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // Filter api keys by owner type - optional. // Possible values: user, service-account - OwnerTypeDeprecated string `protobuf:"bytes,4,opt,name=owner_type_deprecated,json=ownerTypeDeprecated,proto3" json:"owner_type_deprecated,omitempty"` // Deprecated: Do not use. + // temporal:versioning:max_version=v0.3.0 + // + // Deprecated: Do not use. + OwnerTypeDeprecated string `protobuf:"bytes,4,opt,name=owner_type_deprecated,json=ownerTypeDeprecated,proto3" json:"owner_type_deprecated,omitempty"` // Filter api keys by owner type - optional. // temporal:enums:replaces=owner_type_deprecated OwnerType v1.OwnerType `protobuf:"varint,5,opt,name=owner_type,json=ownerType,proto3,enum=temporal.api.cloud.identity.v1.OwnerType" json:"owner_type,omitempty"` + // temporal:ui + // Filter for entity status - optional. + IncludeStates []v16.ResourceState `protobuf:"varint,101,rep,packed,name=include_states,json=includeStates,proto3,enum=temporal.api.cloud.resource.v1.ResourceState" json:"include_states,omitempty"` + // temporal:ui + // optional: filter for API keys which are enabled/disabled. + Disabled *wrapperspb.BoolValue `protobuf:"bytes,102,opt,name=disabled,proto3" json:"disabled,omitempty"` + // temporal:ui + // optional: filter API keys by namespace access. + Namespace string `protobuf:"bytes,103,opt,name=namespace,proto3" json:"namespace,omitempty"` } -func (m *GetApiKeysRequest) Reset() { *m = GetApiKeysRequest{} } -func (*GetApiKeysRequest) ProtoMessage() {} -func (*GetApiKeysRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{80} +func (x *GetApiKeysRequest) Reset() { + *x = GetApiKeysRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[82] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetApiKeysRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetApiKeysRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetApiKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetApiKeysRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetApiKeysRequest) ProtoMessage() {} + +func (x *GetApiKeysRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[82] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetApiKeysRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetApiKeysRequest.Merge(m, src) -} -func (m *GetApiKeysRequest) XXX_Size() int { - return m.Size() -} -func (m *GetApiKeysRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetApiKeysRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetApiKeysRequest proto.InternalMessageInfo +// Deprecated: Use GetApiKeysRequest.ProtoReflect.Descriptor instead. +func (*GetApiKeysRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{82} +} -func (m *GetApiKeysRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *GetApiKeysRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *GetApiKeysRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *GetApiKeysRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } -func (m *GetApiKeysRequest) GetOwnerId() string { - if m != nil { - return m.OwnerId +func (x *GetApiKeysRequest) GetOwnerId() string { + if x != nil { + return x.OwnerId } return "" } // Deprecated: Do not use. -func (m *GetApiKeysRequest) GetOwnerTypeDeprecated() string { - if m != nil { - return m.OwnerTypeDeprecated +func (x *GetApiKeysRequest) GetOwnerTypeDeprecated() string { + if x != nil { + return x.OwnerTypeDeprecated } return "" } -func (m *GetApiKeysRequest) GetOwnerType() v1.OwnerType { - if m != nil { - return m.OwnerType +func (x *GetApiKeysRequest) GetOwnerType() v1.OwnerType { + if x != nil { + return x.OwnerType } return v1.OWNER_TYPE_UNSPECIFIED } +func (x *GetApiKeysRequest) GetIncludeStates() []v16.ResourceState { + if x != nil { + return x.IncludeStates + } + return nil +} + +func (x *GetApiKeysRequest) GetDisabled() *wrapperspb.BoolValue { + if x != nil { + return x.Disabled + } + return nil +} + +func (x *GetApiKeysRequest) GetNamespace() string { + if x != nil { + return x.Namespace + } + return "" +} + type GetApiKeysResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The list of api keys in ascending id order. ApiKeys []*v1.ApiKey `protobuf:"bytes,1,rep,name=api_keys,json=apiKeys,proto3" json:"api_keys,omitempty"` // The next page's token. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *GetApiKeysResponse) Reset() { *m = GetApiKeysResponse{} } -func (*GetApiKeysResponse) ProtoMessage() {} -func (*GetApiKeysResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{81} +func (x *GetApiKeysResponse) Reset() { + *x = GetApiKeysResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[83] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetApiKeysResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetApiKeysResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetApiKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetApiKeysResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetApiKeysResponse) ProtoMessage() {} + +func (x *GetApiKeysResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[83] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetApiKeysResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetApiKeysResponse.Merge(m, src) -} -func (m *GetApiKeysResponse) XXX_Size() int { - return m.Size() -} -func (m *GetApiKeysResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetApiKeysResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetApiKeysResponse proto.InternalMessageInfo +// Deprecated: Use GetApiKeysResponse.ProtoReflect.Descriptor instead. +func (*GetApiKeysResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{83} +} -func (m *GetApiKeysResponse) GetApiKeys() []*v1.ApiKey { - if m != nil { - return m.ApiKeys +func (x *GetApiKeysResponse) GetApiKeys() []*v1.ApiKey { + if x != nil { + return x.ApiKeys } return nil } -func (m *GetApiKeysResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *GetApiKeysResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type GetApiKeyRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the api key to get. KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` } -func (m *GetApiKeyRequest) Reset() { *m = GetApiKeyRequest{} } -func (*GetApiKeyRequest) ProtoMessage() {} -func (*GetApiKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{82} +func (x *GetApiKeyRequest) Reset() { + *x = GetApiKeyRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[84] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetApiKeyRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetApiKeyRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetApiKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetApiKeyRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetApiKeyRequest) ProtoMessage() {} + +func (x *GetApiKeyRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[84] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetApiKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetApiKeyRequest.Merge(m, src) -} -func (m *GetApiKeyRequest) XXX_Size() int { - return m.Size() -} -func (m *GetApiKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetApiKeyRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetApiKeyRequest proto.InternalMessageInfo +// Deprecated: Use GetApiKeyRequest.ProtoReflect.Descriptor instead. +func (*GetApiKeyRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{84} +} -func (m *GetApiKeyRequest) GetKeyId() string { - if m != nil { - return m.KeyId +func (x *GetApiKeyRequest) GetKeyId() string { + if x != nil { + return x.KeyId } return "" } type GetApiKeyResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The api key. ApiKey *v1.ApiKey `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"` } -func (m *GetApiKeyResponse) Reset() { *m = GetApiKeyResponse{} } -func (*GetApiKeyResponse) ProtoMessage() {} -func (*GetApiKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{83} +func (x *GetApiKeyResponse) Reset() { + *x = GetApiKeyResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[85] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetApiKeyResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetApiKeyResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetApiKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetApiKeyResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetApiKeyResponse) ProtoMessage() {} + +func (x *GetApiKeyResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[85] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetApiKeyResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetApiKeyResponse.Merge(m, src) -} -func (m *GetApiKeyResponse) XXX_Size() int { - return m.Size() -} -func (m *GetApiKeyResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetApiKeyResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetApiKeyResponse proto.InternalMessageInfo +// Deprecated: Use GetApiKeyResponse.ProtoReflect.Descriptor instead. +func (*GetApiKeyResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{85} +} -func (m *GetApiKeyResponse) GetApiKey() *v1.ApiKey { - if m != nil { - return m.ApiKey +func (x *GetApiKeyResponse) GetApiKey() *v1.ApiKey { + if x != nil { + return x.ApiKey } return nil } type CreateApiKeyRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The spec for the api key to create. // Create api key only supports service-account owner type for now. Spec *v1.ApiKeySpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` @@ -4768,53 +5352,57 @@ type CreateApiKeyRequest struct { AsyncOperationId string `protobuf:"bytes,2,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *CreateApiKeyRequest) Reset() { *m = CreateApiKeyRequest{} } -func (*CreateApiKeyRequest) ProtoMessage() {} -func (*CreateApiKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{84} +func (x *CreateApiKeyRequest) Reset() { + *x = CreateApiKeyRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[86] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateApiKeyRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *CreateApiKeyRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateApiKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateApiKeyRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*CreateApiKeyRequest) ProtoMessage() {} + +func (x *CreateApiKeyRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[86] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *CreateApiKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateApiKeyRequest.Merge(m, src) -} -func (m *CreateApiKeyRequest) XXX_Size() int { - return m.Size() -} -func (m *CreateApiKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateApiKeyRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_CreateApiKeyRequest proto.InternalMessageInfo +// Deprecated: Use CreateApiKeyRequest.ProtoReflect.Descriptor instead. +func (*CreateApiKeyRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{86} +} -func (m *CreateApiKeyRequest) GetSpec() *v1.ApiKeySpec { - if m != nil { - return m.Spec +func (x *CreateApiKeyRequest) GetSpec() *v1.ApiKeySpec { + if x != nil { + return x.Spec } return nil } -func (m *CreateApiKeyRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *CreateApiKeyRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type CreateApiKeyResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the api key created. KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` // The token of the api key created. @@ -4825,60 +5413,64 @@ type CreateApiKeyResponse struct { AsyncOperation *v11.AsyncOperation `protobuf:"bytes,3,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *CreateApiKeyResponse) Reset() { *m = CreateApiKeyResponse{} } -func (*CreateApiKeyResponse) ProtoMessage() {} -func (*CreateApiKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{85} +func (x *CreateApiKeyResponse) Reset() { + *x = CreateApiKeyResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[87] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateApiKeyResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *CreateApiKeyResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateApiKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateApiKeyResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*CreateApiKeyResponse) ProtoMessage() {} + +func (x *CreateApiKeyResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[87] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *CreateApiKeyResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateApiKeyResponse.Merge(m, src) -} -func (m *CreateApiKeyResponse) XXX_Size() int { - return m.Size() -} -func (m *CreateApiKeyResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateApiKeyResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_CreateApiKeyResponse proto.InternalMessageInfo +// Deprecated: Use CreateApiKeyResponse.ProtoReflect.Descriptor instead. +func (*CreateApiKeyResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{87} +} -func (m *CreateApiKeyResponse) GetKeyId() string { - if m != nil { - return m.KeyId +func (x *CreateApiKeyResponse) GetKeyId() string { + if x != nil { + return x.KeyId } return "" } -func (m *CreateApiKeyResponse) GetToken() string { - if m != nil { - return m.Token +func (x *CreateApiKeyResponse) GetToken() string { + if x != nil { + return x.Token } return "" } -func (m *CreateApiKeyResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *CreateApiKeyResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type UpdateApiKeyRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the api key to update. KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` // The new api key specification. @@ -4890,111 +5482,119 @@ type UpdateApiKeyRequest struct { AsyncOperationId string `protobuf:"bytes,4,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *UpdateApiKeyRequest) Reset() { *m = UpdateApiKeyRequest{} } -func (*UpdateApiKeyRequest) ProtoMessage() {} -func (*UpdateApiKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{86} +func (x *UpdateApiKeyRequest) Reset() { + *x = UpdateApiKeyRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[88] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateApiKeyRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *UpdateApiKeyRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateApiKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateApiKeyRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*UpdateApiKeyRequest) ProtoMessage() {} + +func (x *UpdateApiKeyRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[88] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *UpdateApiKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateApiKeyRequest.Merge(m, src) -} -func (m *UpdateApiKeyRequest) XXX_Size() int { - return m.Size() -} -func (m *UpdateApiKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateApiKeyRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateApiKeyRequest proto.InternalMessageInfo +// Deprecated: Use UpdateApiKeyRequest.ProtoReflect.Descriptor instead. +func (*UpdateApiKeyRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{88} +} -func (m *UpdateApiKeyRequest) GetKeyId() string { - if m != nil { - return m.KeyId +func (x *UpdateApiKeyRequest) GetKeyId() string { + if x != nil { + return x.KeyId } return "" } -func (m *UpdateApiKeyRequest) GetSpec() *v1.ApiKeySpec { - if m != nil { - return m.Spec +func (x *UpdateApiKeyRequest) GetSpec() *v1.ApiKeySpec { + if x != nil { + return x.Spec } return nil } -func (m *UpdateApiKeyRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *UpdateApiKeyRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *UpdateApiKeyRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *UpdateApiKeyRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type UpdateApiKeyResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *UpdateApiKeyResponse) Reset() { *m = UpdateApiKeyResponse{} } -func (*UpdateApiKeyResponse) ProtoMessage() {} -func (*UpdateApiKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{87} +func (x *UpdateApiKeyResponse) Reset() { + *x = UpdateApiKeyResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[89] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateApiKeyResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *UpdateApiKeyResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateApiKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateApiKeyResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*UpdateApiKeyResponse) ProtoMessage() {} + +func (x *UpdateApiKeyResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[89] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *UpdateApiKeyResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateApiKeyResponse.Merge(m, src) -} -func (m *UpdateApiKeyResponse) XXX_Size() int { - return m.Size() -} -func (m *UpdateApiKeyResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateApiKeyResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateApiKeyResponse proto.InternalMessageInfo +// Deprecated: Use UpdateApiKeyResponse.ProtoReflect.Descriptor instead. +func (*UpdateApiKeyResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{89} +} -func (m *UpdateApiKeyResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *UpdateApiKeyResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type DeleteApiKeyRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the api key to delete. KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` // The version of the api key for which this delete is intended for. @@ -5004,373 +5604,399 @@ type DeleteApiKeyRequest struct { AsyncOperationId string `protobuf:"bytes,3,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *DeleteApiKeyRequest) Reset() { *m = DeleteApiKeyRequest{} } -func (*DeleteApiKeyRequest) ProtoMessage() {} -func (*DeleteApiKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{88} +func (x *DeleteApiKeyRequest) Reset() { + *x = DeleteApiKeyRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[90] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteApiKeyRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *DeleteApiKeyRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteApiKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteApiKeyRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*DeleteApiKeyRequest) ProtoMessage() {} + +func (x *DeleteApiKeyRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[90] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *DeleteApiKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteApiKeyRequest.Merge(m, src) -} -func (m *DeleteApiKeyRequest) XXX_Size() int { - return m.Size() -} -func (m *DeleteApiKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteApiKeyRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteApiKeyRequest proto.InternalMessageInfo +// Deprecated: Use DeleteApiKeyRequest.ProtoReflect.Descriptor instead. +func (*DeleteApiKeyRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{90} +} -func (m *DeleteApiKeyRequest) GetKeyId() string { - if m != nil { - return m.KeyId +func (x *DeleteApiKeyRequest) GetKeyId() string { + if x != nil { + return x.KeyId } return "" } -func (m *DeleteApiKeyRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *DeleteApiKeyRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *DeleteApiKeyRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *DeleteApiKeyRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type DeleteApiKeyResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *DeleteApiKeyResponse) Reset() { *m = DeleteApiKeyResponse{} } -func (*DeleteApiKeyResponse) ProtoMessage() {} -func (*DeleteApiKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{89} +func (x *DeleteApiKeyResponse) Reset() { + *x = DeleteApiKeyResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[91] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteApiKeyResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *DeleteApiKeyResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteApiKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteApiKeyResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*DeleteApiKeyResponse) ProtoMessage() {} + +func (x *DeleteApiKeyResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[91] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *DeleteApiKeyResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteApiKeyResponse.Merge(m, src) -} -func (m *DeleteApiKeyResponse) XXX_Size() int { - return m.Size() -} -func (m *DeleteApiKeyResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteApiKeyResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteApiKeyResponse proto.InternalMessageInfo +// Deprecated: Use DeleteApiKeyResponse.ProtoReflect.Descriptor instead. +func (*DeleteApiKeyResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{91} +} -func (m *DeleteApiKeyResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *DeleteApiKeyResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type ValidateAccountAuditLogSinkRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The audit log sink spec that will be validated Spec *v15.AuditLogSinkSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` } -func (m *ValidateAccountAuditLogSinkRequest) Reset() { *m = ValidateAccountAuditLogSinkRequest{} } -func (*ValidateAccountAuditLogSinkRequest) ProtoMessage() {} -func (*ValidateAccountAuditLogSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{90} +func (x *ValidateAccountAuditLogSinkRequest) Reset() { + *x = ValidateAccountAuditLogSinkRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[92] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ValidateAccountAuditLogSinkRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *ValidateAccountAuditLogSinkRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidateAccountAuditLogSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidateAccountAuditLogSinkRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*ValidateAccountAuditLogSinkRequest) ProtoMessage() {} + +func (x *ValidateAccountAuditLogSinkRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[92] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *ValidateAccountAuditLogSinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidateAccountAuditLogSinkRequest.Merge(m, src) -} -func (m *ValidateAccountAuditLogSinkRequest) XXX_Size() int { - return m.Size() -} -func (m *ValidateAccountAuditLogSinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ValidateAccountAuditLogSinkRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_ValidateAccountAuditLogSinkRequest proto.InternalMessageInfo +// Deprecated: Use ValidateAccountAuditLogSinkRequest.ProtoReflect.Descriptor instead. +func (*ValidateAccountAuditLogSinkRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{92} +} -func (m *ValidateAccountAuditLogSinkRequest) GetSpec() *v15.AuditLogSinkSpec { - if m != nil { - return m.Spec +func (x *ValidateAccountAuditLogSinkRequest) GetSpec() *v15.AuditLogSinkSpec { + if x != nil { + return x.Spec } return nil } type ValidateAccountAuditLogSinkResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ValidateAccountAuditLogSinkResponse) Reset() { *m = ValidateAccountAuditLogSinkResponse{} } -func (*ValidateAccountAuditLogSinkResponse) ProtoMessage() {} -func (*ValidateAccountAuditLogSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{91} +func (x *ValidateAccountAuditLogSinkResponse) Reset() { + *x = ValidateAccountAuditLogSinkResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[93] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ValidateAccountAuditLogSinkResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *ValidateAccountAuditLogSinkResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidateAccountAuditLogSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidateAccountAuditLogSinkResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*ValidateAccountAuditLogSinkResponse) ProtoMessage() {} + +func (x *ValidateAccountAuditLogSinkResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[93] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *ValidateAccountAuditLogSinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidateAccountAuditLogSinkResponse.Merge(m, src) -} -func (m *ValidateAccountAuditLogSinkResponse) XXX_Size() int { - return m.Size() -} -func (m *ValidateAccountAuditLogSinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ValidateAccountAuditLogSinkResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_ValidateAccountAuditLogSinkResponse proto.InternalMessageInfo +// Deprecated: Use ValidateAccountAuditLogSinkResponse.ProtoReflect.Descriptor instead. +func (*ValidateAccountAuditLogSinkResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{93} +} -// temporal:dev type CreateAccountAuditLogSinkRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The specification for the audit log sink. Spec *v15.AuditLogSinkSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` // Optional. The ID to use for this async operation. AsyncOperationId string `protobuf:"bytes,2,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *CreateAccountAuditLogSinkRequest) Reset() { *m = CreateAccountAuditLogSinkRequest{} } -func (*CreateAccountAuditLogSinkRequest) ProtoMessage() {} -func (*CreateAccountAuditLogSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{92} +func (x *CreateAccountAuditLogSinkRequest) Reset() { + *x = CreateAccountAuditLogSinkRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[94] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateAccountAuditLogSinkRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *CreateAccountAuditLogSinkRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateAccountAuditLogSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateAccountAuditLogSinkRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*CreateAccountAuditLogSinkRequest) ProtoMessage() {} + +func (x *CreateAccountAuditLogSinkRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[94] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *CreateAccountAuditLogSinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateAccountAuditLogSinkRequest.Merge(m, src) -} -func (m *CreateAccountAuditLogSinkRequest) XXX_Size() int { - return m.Size() -} -func (m *CreateAccountAuditLogSinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateAccountAuditLogSinkRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_CreateAccountAuditLogSinkRequest proto.InternalMessageInfo +// Deprecated: Use CreateAccountAuditLogSinkRequest.ProtoReflect.Descriptor instead. +func (*CreateAccountAuditLogSinkRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{94} +} -func (m *CreateAccountAuditLogSinkRequest) GetSpec() *v15.AuditLogSinkSpec { - if m != nil { - return m.Spec +func (x *CreateAccountAuditLogSinkRequest) GetSpec() *v15.AuditLogSinkSpec { + if x != nil { + return x.Spec } return nil } -func (m *CreateAccountAuditLogSinkRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *CreateAccountAuditLogSinkRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } -// temporal:dev type CreateAccountAuditLogSinkResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *CreateAccountAuditLogSinkResponse) Reset() { *m = CreateAccountAuditLogSinkResponse{} } -func (*CreateAccountAuditLogSinkResponse) ProtoMessage() {} -func (*CreateAccountAuditLogSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{93} +func (x *CreateAccountAuditLogSinkResponse) Reset() { + *x = CreateAccountAuditLogSinkResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[95] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateAccountAuditLogSinkResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *CreateAccountAuditLogSinkResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateAccountAuditLogSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateAccountAuditLogSinkResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*CreateAccountAuditLogSinkResponse) ProtoMessage() {} + +func (x *CreateAccountAuditLogSinkResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[95] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *CreateAccountAuditLogSinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateAccountAuditLogSinkResponse.Merge(m, src) -} -func (m *CreateAccountAuditLogSinkResponse) XXX_Size() int { - return m.Size() -} -func (m *CreateAccountAuditLogSinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateAccountAuditLogSinkResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_CreateAccountAuditLogSinkResponse proto.InternalMessageInfo +// Deprecated: Use CreateAccountAuditLogSinkResponse.ProtoReflect.Descriptor instead. +func (*CreateAccountAuditLogSinkResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{95} +} -func (m *CreateAccountAuditLogSinkResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *CreateAccountAuditLogSinkResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } -// temporal:dev type GetAccountAuditLogSinkRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The name of the sink to retrieve. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } -func (m *GetAccountAuditLogSinkRequest) Reset() { *m = GetAccountAuditLogSinkRequest{} } -func (*GetAccountAuditLogSinkRequest) ProtoMessage() {} -func (*GetAccountAuditLogSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{94} +func (x *GetAccountAuditLogSinkRequest) Reset() { + *x = GetAccountAuditLogSinkRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[96] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetAccountAuditLogSinkRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetAccountAuditLogSinkRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountAuditLogSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetAccountAuditLogSinkRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetAccountAuditLogSinkRequest) ProtoMessage() {} + +func (x *GetAccountAuditLogSinkRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[96] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetAccountAuditLogSinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountAuditLogSinkRequest.Merge(m, src) -} -func (m *GetAccountAuditLogSinkRequest) XXX_Size() int { - return m.Size() -} -func (m *GetAccountAuditLogSinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountAuditLogSinkRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountAuditLogSinkRequest proto.InternalMessageInfo +// Deprecated: Use GetAccountAuditLogSinkRequest.ProtoReflect.Descriptor instead. +func (*GetAccountAuditLogSinkRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{96} +} -func (m *GetAccountAuditLogSinkRequest) GetName() string { - if m != nil { - return m.Name +func (x *GetAccountAuditLogSinkRequest) GetName() string { + if x != nil { + return x.Name } return "" } -// temporal:dev type GetAccountAuditLogSinkResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The audit log sink retrieved. Sink *v15.AuditLogSink `protobuf:"bytes,1,opt,name=sink,proto3" json:"sink,omitempty"` } -func (m *GetAccountAuditLogSinkResponse) Reset() { *m = GetAccountAuditLogSinkResponse{} } -func (*GetAccountAuditLogSinkResponse) ProtoMessage() {} -func (*GetAccountAuditLogSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{95} +func (x *GetAccountAuditLogSinkResponse) Reset() { + *x = GetAccountAuditLogSinkResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[97] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetAccountAuditLogSinkResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetAccountAuditLogSinkResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountAuditLogSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetAccountAuditLogSinkResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetAccountAuditLogSinkResponse) ProtoMessage() {} + +func (x *GetAccountAuditLogSinkResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[97] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetAccountAuditLogSinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountAuditLogSinkResponse.Merge(m, src) -} -func (m *GetAccountAuditLogSinkResponse) XXX_Size() int { - return m.Size() -} -func (m *GetAccountAuditLogSinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountAuditLogSinkResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountAuditLogSinkResponse proto.InternalMessageInfo +// Deprecated: Use GetAccountAuditLogSinkResponse.ProtoReflect.Descriptor instead. +func (*GetAccountAuditLogSinkResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{97} +} -func (m *GetAccountAuditLogSinkResponse) GetSink() *v15.AuditLogSink { - if m != nil { - return m.Sink +func (x *GetAccountAuditLogSinkResponse) GetSink() *v15.AuditLogSink { + if x != nil { + return x.Sink } return nil } -// temporal:dev type GetAccountAuditLogSinksRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The requested size of the page to retrieve. Cannot exceed 1000. // Defaults to 100 if not specified. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` @@ -5378,108 +6004,114 @@ type GetAccountAuditLogSinksRequest struct { PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *GetAccountAuditLogSinksRequest) Reset() { *m = GetAccountAuditLogSinksRequest{} } -func (*GetAccountAuditLogSinksRequest) ProtoMessage() {} -func (*GetAccountAuditLogSinksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{96} +func (x *GetAccountAuditLogSinksRequest) Reset() { + *x = GetAccountAuditLogSinksRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[98] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetAccountAuditLogSinksRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetAccountAuditLogSinksRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountAuditLogSinksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetAccountAuditLogSinksRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetAccountAuditLogSinksRequest) ProtoMessage() {} + +func (x *GetAccountAuditLogSinksRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[98] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetAccountAuditLogSinksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountAuditLogSinksRequest.Merge(m, src) -} -func (m *GetAccountAuditLogSinksRequest) XXX_Size() int { - return m.Size() -} -func (m *GetAccountAuditLogSinksRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountAuditLogSinksRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountAuditLogSinksRequest proto.InternalMessageInfo +// Deprecated: Use GetAccountAuditLogSinksRequest.ProtoReflect.Descriptor instead. +func (*GetAccountAuditLogSinksRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{98} +} -func (m *GetAccountAuditLogSinksRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *GetAccountAuditLogSinksRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *GetAccountAuditLogSinksRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *GetAccountAuditLogSinksRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } -// temporal:dev type GetAccountAuditLogSinksResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The list of audit log sinks retrieved. Sinks []*v15.AuditLogSink `protobuf:"bytes,1,rep,name=sinks,proto3" json:"sinks,omitempty"` // The next page token, set if there is another page. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *GetAccountAuditLogSinksResponse) Reset() { *m = GetAccountAuditLogSinksResponse{} } -func (*GetAccountAuditLogSinksResponse) ProtoMessage() {} -func (*GetAccountAuditLogSinksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{97} +func (x *GetAccountAuditLogSinksResponse) Reset() { + *x = GetAccountAuditLogSinksResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[99] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetAccountAuditLogSinksResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetAccountAuditLogSinksResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountAuditLogSinksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetAccountAuditLogSinksResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetAccountAuditLogSinksResponse) ProtoMessage() {} + +func (x *GetAccountAuditLogSinksResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[99] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetAccountAuditLogSinksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountAuditLogSinksResponse.Merge(m, src) -} -func (m *GetAccountAuditLogSinksResponse) XXX_Size() int { - return m.Size() -} -func (m *GetAccountAuditLogSinksResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountAuditLogSinksResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountAuditLogSinksResponse proto.InternalMessageInfo +// Deprecated: Use GetAccountAuditLogSinksResponse.ProtoReflect.Descriptor instead. +func (*GetAccountAuditLogSinksResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{99} +} -func (m *GetAccountAuditLogSinksResponse) GetSinks() []*v15.AuditLogSink { - if m != nil { - return m.Sinks +func (x *GetAccountAuditLogSinksResponse) GetSinks() []*v15.AuditLogSink { + if x != nil { + return x.Sinks } return nil } -func (m *GetAccountAuditLogSinksResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *GetAccountAuditLogSinksResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } -// temporal:dev type UpdateAccountAuditLogSinkRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The updated audit log sink specification. Spec *v15.AuditLogSinkSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` // The version of the audit log sink to update. The latest version can be @@ -5489,106 +6121,112 @@ type UpdateAccountAuditLogSinkRequest struct { AsyncOperationId string `protobuf:"bytes,3,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *UpdateAccountAuditLogSinkRequest) Reset() { *m = UpdateAccountAuditLogSinkRequest{} } -func (*UpdateAccountAuditLogSinkRequest) ProtoMessage() {} -func (*UpdateAccountAuditLogSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{98} +func (x *UpdateAccountAuditLogSinkRequest) Reset() { + *x = UpdateAccountAuditLogSinkRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[100] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateAccountAuditLogSinkRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *UpdateAccountAuditLogSinkRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateAccountAuditLogSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateAccountAuditLogSinkRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*UpdateAccountAuditLogSinkRequest) ProtoMessage() {} + +func (x *UpdateAccountAuditLogSinkRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[100] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *UpdateAccountAuditLogSinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateAccountAuditLogSinkRequest.Merge(m, src) -} -func (m *UpdateAccountAuditLogSinkRequest) XXX_Size() int { - return m.Size() -} -func (m *UpdateAccountAuditLogSinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateAccountAuditLogSinkRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateAccountAuditLogSinkRequest proto.InternalMessageInfo +// Deprecated: Use UpdateAccountAuditLogSinkRequest.ProtoReflect.Descriptor instead. +func (*UpdateAccountAuditLogSinkRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{100} +} -func (m *UpdateAccountAuditLogSinkRequest) GetSpec() *v15.AuditLogSinkSpec { - if m != nil { - return m.Spec +func (x *UpdateAccountAuditLogSinkRequest) GetSpec() *v15.AuditLogSinkSpec { + if x != nil { + return x.Spec } return nil } -func (m *UpdateAccountAuditLogSinkRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *UpdateAccountAuditLogSinkRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *UpdateAccountAuditLogSinkRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *UpdateAccountAuditLogSinkRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } -// temporal:dev type UpdateAccountAuditLogSinkResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *UpdateAccountAuditLogSinkResponse) Reset() { *m = UpdateAccountAuditLogSinkResponse{} } -func (*UpdateAccountAuditLogSinkResponse) ProtoMessage() {} -func (*UpdateAccountAuditLogSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{99} +func (x *UpdateAccountAuditLogSinkResponse) Reset() { + *x = UpdateAccountAuditLogSinkResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[101] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateAccountAuditLogSinkResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *UpdateAccountAuditLogSinkResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateAccountAuditLogSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateAccountAuditLogSinkResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*UpdateAccountAuditLogSinkResponse) ProtoMessage() {} + +func (x *UpdateAccountAuditLogSinkResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[101] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *UpdateAccountAuditLogSinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateAccountAuditLogSinkResponse.Merge(m, src) -} -func (m *UpdateAccountAuditLogSinkResponse) XXX_Size() int { - return m.Size() -} -func (m *UpdateAccountAuditLogSinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateAccountAuditLogSinkResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateAccountAuditLogSinkResponse proto.InternalMessageInfo +// Deprecated: Use UpdateAccountAuditLogSinkResponse.ProtoReflect.Descriptor instead. +func (*UpdateAccountAuditLogSinkResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{101} +} -func (m *UpdateAccountAuditLogSinkResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *UpdateAccountAuditLogSinkResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } -// temporal:dev type DeleteAccountAuditLogSinkRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The name of the sink to delete. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The version of the sink to delete. The latest version can be @@ -5598,242 +6236,255 @@ type DeleteAccountAuditLogSinkRequest struct { AsyncOperationId string `protobuf:"bytes,3,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *DeleteAccountAuditLogSinkRequest) Reset() { *m = DeleteAccountAuditLogSinkRequest{} } -func (*DeleteAccountAuditLogSinkRequest) ProtoMessage() {} -func (*DeleteAccountAuditLogSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{100} +func (x *DeleteAccountAuditLogSinkRequest) Reset() { + *x = DeleteAccountAuditLogSinkRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[102] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteAccountAuditLogSinkRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *DeleteAccountAuditLogSinkRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteAccountAuditLogSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteAccountAuditLogSinkRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*DeleteAccountAuditLogSinkRequest) ProtoMessage() {} + +func (x *DeleteAccountAuditLogSinkRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[102] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *DeleteAccountAuditLogSinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteAccountAuditLogSinkRequest.Merge(m, src) -} -func (m *DeleteAccountAuditLogSinkRequest) XXX_Size() int { - return m.Size() -} -func (m *DeleteAccountAuditLogSinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteAccountAuditLogSinkRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteAccountAuditLogSinkRequest proto.InternalMessageInfo +// Deprecated: Use DeleteAccountAuditLogSinkRequest.ProtoReflect.Descriptor instead. +func (*DeleteAccountAuditLogSinkRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{102} +} -func (m *DeleteAccountAuditLogSinkRequest) GetName() string { - if m != nil { - return m.Name +func (x *DeleteAccountAuditLogSinkRequest) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *DeleteAccountAuditLogSinkRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *DeleteAccountAuditLogSinkRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *DeleteAccountAuditLogSinkRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *DeleteAccountAuditLogSinkRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } -// temporal:dev type DeleteAccountAuditLogSinkResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *DeleteAccountAuditLogSinkResponse) Reset() { *m = DeleteAccountAuditLogSinkResponse{} } -func (*DeleteAccountAuditLogSinkResponse) ProtoMessage() {} -func (*DeleteAccountAuditLogSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{101} +func (x *DeleteAccountAuditLogSinkResponse) Reset() { + *x = DeleteAccountAuditLogSinkResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[103] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteAccountAuditLogSinkResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *DeleteAccountAuditLogSinkResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteAccountAuditLogSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteAccountAuditLogSinkResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*DeleteAccountAuditLogSinkResponse) ProtoMessage() {} + +func (x *DeleteAccountAuditLogSinkResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[103] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *DeleteAccountAuditLogSinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteAccountAuditLogSinkResponse.Merge(m, src) -} -func (m *DeleteAccountAuditLogSinkResponse) XXX_Size() int { - return m.Size() -} -func (m *DeleteAccountAuditLogSinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteAccountAuditLogSinkResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteAccountAuditLogSinkResponse proto.InternalMessageInfo +// Deprecated: Use DeleteAccountAuditLogSinkResponse.ProtoReflect.Descriptor instead. +func (*DeleteAccountAuditLogSinkResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{103} +} -func (m *DeleteAccountAuditLogSinkResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *DeleteAccountAuditLogSinkResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } -// temporal:dev type GetAuditLogsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The requested size of the page to retrieve - optional. // Cannot exceed 1000. Defaults to 100. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The page token if this is continuing from another response - optional. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Filter for UTC time >= (defaults to 30 days ago) - optional. - StartTimeInclusive *types.Timestamp `protobuf:"bytes,3,opt,name=start_time_inclusive,json=startTimeInclusive,proto3" json:"start_time_inclusive,omitempty"` + StartTimeInclusive *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time_inclusive,json=startTimeInclusive,proto3" json:"start_time_inclusive,omitempty"` // Filter for UTC time < (defaults to current time) - optional. - EndTimeExclusive *types.Timestamp `protobuf:"bytes,4,opt,name=end_time_exclusive,json=endTimeExclusive,proto3" json:"end_time_exclusive,omitempty"` + EndTimeExclusive *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time_exclusive,json=endTimeExclusive,proto3" json:"end_time_exclusive,omitempty"` } -func (m *GetAuditLogsRequest) Reset() { *m = GetAuditLogsRequest{} } -func (*GetAuditLogsRequest) ProtoMessage() {} -func (*GetAuditLogsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{102} +func (x *GetAuditLogsRequest) Reset() { + *x = GetAuditLogsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[104] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetAuditLogsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetAuditLogsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAuditLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetAuditLogsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetAuditLogsRequest) ProtoMessage() {} + +func (x *GetAuditLogsRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[104] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetAuditLogsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAuditLogsRequest.Merge(m, src) -} -func (m *GetAuditLogsRequest) XXX_Size() int { - return m.Size() -} -func (m *GetAuditLogsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAuditLogsRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetAuditLogsRequest proto.InternalMessageInfo +// Deprecated: Use GetAuditLogsRequest.ProtoReflect.Descriptor instead. +func (*GetAuditLogsRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{104} +} -func (m *GetAuditLogsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *GetAuditLogsRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *GetAuditLogsRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *GetAuditLogsRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } -func (m *GetAuditLogsRequest) GetStartTimeInclusive() *types.Timestamp { - if m != nil { - return m.StartTimeInclusive +func (x *GetAuditLogsRequest) GetStartTimeInclusive() *timestamppb.Timestamp { + if x != nil { + return x.StartTimeInclusive } return nil } -func (m *GetAuditLogsRequest) GetEndTimeExclusive() *types.Timestamp { - if m != nil { - return m.EndTimeExclusive +func (x *GetAuditLogsRequest) GetEndTimeExclusive() *timestamppb.Timestamp { + if x != nil { + return x.EndTimeExclusive } return nil } -// temporal:dev type GetAuditLogsResponse struct { - // The list of audit logs ordered by inserted time, emit time, log_id - Logs []*v16.LogRecord `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The list of audit logs ordered by emit time, log_id + Logs []*v17.LogRecord `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` // The next page's token. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *GetAuditLogsResponse) Reset() { *m = GetAuditLogsResponse{} } -func (*GetAuditLogsResponse) ProtoMessage() {} -func (*GetAuditLogsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{103} +func (x *GetAuditLogsResponse) Reset() { + *x = GetAuditLogsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[105] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetAuditLogsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetAuditLogsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAuditLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetAuditLogsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetAuditLogsResponse) ProtoMessage() {} + +func (x *GetAuditLogsResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[105] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetAuditLogsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAuditLogsResponse.Merge(m, src) -} -func (m *GetAuditLogsResponse) XXX_Size() int { - return m.Size() -} -func (m *GetAuditLogsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetAuditLogsResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetAuditLogsResponse proto.InternalMessageInfo +// Deprecated: Use GetAuditLogsResponse.ProtoReflect.Descriptor instead. +func (*GetAuditLogsResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{105} +} -func (m *GetAuditLogsResponse) GetLogs() []*v16.LogRecord { - if m != nil { - return m.Logs +func (x *GetAuditLogsResponse) GetLogs() []*v17.LogRecord { + if x != nil { + return x.Logs } return nil } -func (m *GetAuditLogsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *GetAuditLogsResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type GetUsageRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Filter for UTC time >= - optional. // Defaults to: start of the current month. // Must be: within the last 90 days from the current date. // Must be: midnight UTC time. - StartTimeInclusive *types.Timestamp `protobuf:"bytes,1,opt,name=start_time_inclusive,json=startTimeInclusive,proto3" json:"start_time_inclusive,omitempty"` + StartTimeInclusive *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time_inclusive,json=startTimeInclusive,proto3" json:"start_time_inclusive,omitempty"` // Filter for UTC time < - optional. // Defaults to: start of the next UTC day. // Must be: within the last 90 days from the current date. // Must be: midnight UTC time. - EndTimeExclusive *types.Timestamp `protobuf:"bytes,2,opt,name=end_time_exclusive,json=endTimeExclusive,proto3" json:"end_time_exclusive,omitempty"` + EndTimeExclusive *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time_exclusive,json=endTimeExclusive,proto3" json:"end_time_exclusive,omitempty"` // The requested size of the page to retrieve - optional. // Each count corresponds to a single object - per day per namespace // Cannot exceed 1000. Defaults to 100. @@ -5842,200 +6493,215 @@ type GetUsageRequest struct { PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *GetUsageRequest) Reset() { *m = GetUsageRequest{} } -func (*GetUsageRequest) ProtoMessage() {} -func (*GetUsageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{104} +func (x *GetUsageRequest) Reset() { + *x = GetUsageRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[106] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetUsageRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetUsageRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetUsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetUsageRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetUsageRequest) ProtoMessage() {} + +func (x *GetUsageRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[106] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetUsageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUsageRequest.Merge(m, src) -} -func (m *GetUsageRequest) XXX_Size() int { - return m.Size() -} -func (m *GetUsageRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetUsageRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetUsageRequest proto.InternalMessageInfo +// Deprecated: Use GetUsageRequest.ProtoReflect.Descriptor instead. +func (*GetUsageRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{106} +} -func (m *GetUsageRequest) GetStartTimeInclusive() *types.Timestamp { - if m != nil { - return m.StartTimeInclusive +func (x *GetUsageRequest) GetStartTimeInclusive() *timestamppb.Timestamp { + if x != nil { + return x.StartTimeInclusive } return nil } -func (m *GetUsageRequest) GetEndTimeExclusive() *types.Timestamp { - if m != nil { - return m.EndTimeExclusive +func (x *GetUsageRequest) GetEndTimeExclusive() *timestamppb.Timestamp { + if x != nil { + return x.EndTimeExclusive } return nil } -func (m *GetUsageRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *GetUsageRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *GetUsageRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *GetUsageRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } type GetUsageResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The list of data based on granularity (per Day for now) // Ordered by: time range in ascending order - Summaries []*v17.Summary `protobuf:"bytes,1,rep,name=summaries,proto3" json:"summaries,omitempty"` + Summaries []*v18.Summary `protobuf:"bytes,1,rep,name=summaries,proto3" json:"summaries,omitempty"` // The next page's token. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *GetUsageResponse) Reset() { *m = GetUsageResponse{} } -func (*GetUsageResponse) ProtoMessage() {} -func (*GetUsageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{105} +func (x *GetUsageResponse) Reset() { + *x = GetUsageResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[107] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetUsageResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetUsageResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetUsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetUsageResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetUsageResponse) ProtoMessage() {} + +func (x *GetUsageResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[107] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetUsageResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUsageResponse.Merge(m, src) -} -func (m *GetUsageResponse) XXX_Size() int { - return m.Size() -} -func (m *GetUsageResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetUsageResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetUsageResponse proto.InternalMessageInfo +// Deprecated: Use GetUsageResponse.ProtoReflect.Descriptor instead. +func (*GetUsageResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{107} +} -func (m *GetUsageResponse) GetSummaries() []*v17.Summary { - if m != nil { - return m.Summaries +func (x *GetUsageResponse) GetSummaries() []*v18.Summary { + if x != nil { + return x.Summaries } return nil } -func (m *GetUsageResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *GetUsageResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type GetAccountRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *GetAccountRequest) Reset() { *m = GetAccountRequest{} } -func (*GetAccountRequest) ProtoMessage() {} -func (*GetAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{106} +func (x *GetAccountRequest) Reset() { + *x = GetAccountRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[108] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetAccountRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetAccountRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetAccountRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetAccountRequest) ProtoMessage() {} + +func (x *GetAccountRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[108] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } + return mi.MessageOf(x) } -func (m *GetAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountRequest.Merge(m, src) -} -func (m *GetAccountRequest) XXX_Size() int { - return m.Size() -} -func (m *GetAccountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountRequest.DiscardUnknown(m) + +// Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead. +func (*GetAccountRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{108} } -var xxx_messageInfo_GetAccountRequest proto.InternalMessageInfo - type GetAccountResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The account. Account *v15.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` } -func (m *GetAccountResponse) Reset() { *m = GetAccountResponse{} } -func (*GetAccountResponse) ProtoMessage() {} -func (*GetAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{107} +func (x *GetAccountResponse) Reset() { + *x = GetAccountResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[109] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetAccountResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetAccountResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetAccountResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetAccountResponse) ProtoMessage() {} + +func (x *GetAccountResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[109] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetAccountResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountResponse.Merge(m, src) -} -func (m *GetAccountResponse) XXX_Size() int { - return m.Size() -} -func (m *GetAccountResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetAccountResponse proto.InternalMessageInfo +// Deprecated: Use GetAccountResponse.ProtoReflect.Descriptor instead. +func (*GetAccountResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{109} +} -func (m *GetAccountResponse) GetAccount() *v15.Account { - if m != nil { - return m.Account +func (x *GetAccountResponse) GetAccount() *v15.Account { + if x != nil { + return x.Account } return nil } type CreateNamespaceExportSinkRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace under which the sink is configured. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // The specification for the export sink. @@ -6044,201 +6710,217 @@ type CreateNamespaceExportSinkRequest struct { AsyncOperationId string `protobuf:"bytes,3,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *CreateNamespaceExportSinkRequest) Reset() { *m = CreateNamespaceExportSinkRequest{} } -func (*CreateNamespaceExportSinkRequest) ProtoMessage() {} -func (*CreateNamespaceExportSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{108} +func (x *CreateNamespaceExportSinkRequest) Reset() { + *x = CreateNamespaceExportSinkRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[110] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateNamespaceExportSinkRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *CreateNamespaceExportSinkRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateNamespaceExportSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateNamespaceExportSinkRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*CreateNamespaceExportSinkRequest) ProtoMessage() {} + +func (x *CreateNamespaceExportSinkRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[110] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *CreateNamespaceExportSinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateNamespaceExportSinkRequest.Merge(m, src) -} -func (m *CreateNamespaceExportSinkRequest) XXX_Size() int { - return m.Size() -} -func (m *CreateNamespaceExportSinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateNamespaceExportSinkRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_CreateNamespaceExportSinkRequest proto.InternalMessageInfo +// Deprecated: Use CreateNamespaceExportSinkRequest.ProtoReflect.Descriptor instead. +func (*CreateNamespaceExportSinkRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{110} +} -func (m *CreateNamespaceExportSinkRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *CreateNamespaceExportSinkRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *CreateNamespaceExportSinkRequest) GetSpec() *v12.ExportSinkSpec { - if m != nil { - return m.Spec +func (x *CreateNamespaceExportSinkRequest) GetSpec() *v12.ExportSinkSpec { + if x != nil { + return x.Spec } return nil } -func (m *CreateNamespaceExportSinkRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *CreateNamespaceExportSinkRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type CreateNamespaceExportSinkResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *CreateNamespaceExportSinkResponse) Reset() { *m = CreateNamespaceExportSinkResponse{} } -func (*CreateNamespaceExportSinkResponse) ProtoMessage() {} -func (*CreateNamespaceExportSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{109} +func (x *CreateNamespaceExportSinkResponse) Reset() { + *x = CreateNamespaceExportSinkResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[111] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateNamespaceExportSinkResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *CreateNamespaceExportSinkResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateNamespaceExportSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateNamespaceExportSinkResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*CreateNamespaceExportSinkResponse) ProtoMessage() {} + +func (x *CreateNamespaceExportSinkResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[111] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *CreateNamespaceExportSinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateNamespaceExportSinkResponse.Merge(m, src) -} -func (m *CreateNamespaceExportSinkResponse) XXX_Size() int { - return m.Size() -} -func (m *CreateNamespaceExportSinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateNamespaceExportSinkResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_CreateNamespaceExportSinkResponse proto.InternalMessageInfo +// Deprecated: Use CreateNamespaceExportSinkResponse.ProtoReflect.Descriptor instead. +func (*CreateNamespaceExportSinkResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{111} +} -func (m *CreateNamespaceExportSinkResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *CreateNamespaceExportSinkResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type GetNamespaceExportSinkRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace to which the sink belongs. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // The name of the sink to retrieve. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` } -func (m *GetNamespaceExportSinkRequest) Reset() { *m = GetNamespaceExportSinkRequest{} } -func (*GetNamespaceExportSinkRequest) ProtoMessage() {} -func (*GetNamespaceExportSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{110} +func (x *GetNamespaceExportSinkRequest) Reset() { + *x = GetNamespaceExportSinkRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[112] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetNamespaceExportSinkRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetNamespaceExportSinkRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetNamespaceExportSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetNamespaceExportSinkRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetNamespaceExportSinkRequest) ProtoMessage() {} + +func (x *GetNamespaceExportSinkRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[112] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetNamespaceExportSinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNamespaceExportSinkRequest.Merge(m, src) -} -func (m *GetNamespaceExportSinkRequest) XXX_Size() int { - return m.Size() -} -func (m *GetNamespaceExportSinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetNamespaceExportSinkRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetNamespaceExportSinkRequest proto.InternalMessageInfo +// Deprecated: Use GetNamespaceExportSinkRequest.ProtoReflect.Descriptor instead. +func (*GetNamespaceExportSinkRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{112} +} -func (m *GetNamespaceExportSinkRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *GetNamespaceExportSinkRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *GetNamespaceExportSinkRequest) GetName() string { - if m != nil { - return m.Name +func (x *GetNamespaceExportSinkRequest) GetName() string { + if x != nil { + return x.Name } return "" } type GetNamespaceExportSinkResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The export sink retrieved. Sink *v12.ExportSink `protobuf:"bytes,1,opt,name=sink,proto3" json:"sink,omitempty"` } -func (m *GetNamespaceExportSinkResponse) Reset() { *m = GetNamespaceExportSinkResponse{} } -func (*GetNamespaceExportSinkResponse) ProtoMessage() {} -func (*GetNamespaceExportSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{111} +func (x *GetNamespaceExportSinkResponse) Reset() { + *x = GetNamespaceExportSinkResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[113] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetNamespaceExportSinkResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetNamespaceExportSinkResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetNamespaceExportSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetNamespaceExportSinkResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetNamespaceExportSinkResponse) ProtoMessage() {} + +func (x *GetNamespaceExportSinkResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[113] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetNamespaceExportSinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNamespaceExportSinkResponse.Merge(m, src) -} -func (m *GetNamespaceExportSinkResponse) XXX_Size() int { - return m.Size() -} -func (m *GetNamespaceExportSinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetNamespaceExportSinkResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetNamespaceExportSinkResponse proto.InternalMessageInfo +// Deprecated: Use GetNamespaceExportSinkResponse.ProtoReflect.Descriptor instead. +func (*GetNamespaceExportSinkResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{113} +} -func (m *GetNamespaceExportSinkResponse) GetSink() *v12.ExportSink { - if m != nil { - return m.Sink +func (x *GetNamespaceExportSinkResponse) GetSink() *v12.ExportSink { + if x != nil { + return x.Sink } return nil } type GetNamespaceExportSinksRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace to which the sinks belong. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // The requested size of the page to retrieve. Cannot exceed 1000. @@ -6248,113 +6930,121 @@ type GetNamespaceExportSinksRequest struct { PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *GetNamespaceExportSinksRequest) Reset() { *m = GetNamespaceExportSinksRequest{} } -func (*GetNamespaceExportSinksRequest) ProtoMessage() {} -func (*GetNamespaceExportSinksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{112} +func (x *GetNamespaceExportSinksRequest) Reset() { + *x = GetNamespaceExportSinksRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[114] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetNamespaceExportSinksRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetNamespaceExportSinksRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetNamespaceExportSinksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetNamespaceExportSinksRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetNamespaceExportSinksRequest) ProtoMessage() {} + +func (x *GetNamespaceExportSinksRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[114] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetNamespaceExportSinksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNamespaceExportSinksRequest.Merge(m, src) -} -func (m *GetNamespaceExportSinksRequest) XXX_Size() int { - return m.Size() -} -func (m *GetNamespaceExportSinksRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetNamespaceExportSinksRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetNamespaceExportSinksRequest proto.InternalMessageInfo +// Deprecated: Use GetNamespaceExportSinksRequest.ProtoReflect.Descriptor instead. +func (*GetNamespaceExportSinksRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{114} +} -func (m *GetNamespaceExportSinksRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *GetNamespaceExportSinksRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *GetNamespaceExportSinksRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *GetNamespaceExportSinksRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *GetNamespaceExportSinksRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *GetNamespaceExportSinksRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } type GetNamespaceExportSinksResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The list of export sinks retrieved. Sinks []*v12.ExportSink `protobuf:"bytes,1,rep,name=sinks,proto3" json:"sinks,omitempty"` // The next page token, set if there is another page. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *GetNamespaceExportSinksResponse) Reset() { *m = GetNamespaceExportSinksResponse{} } -func (*GetNamespaceExportSinksResponse) ProtoMessage() {} -func (*GetNamespaceExportSinksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{113} +func (x *GetNamespaceExportSinksResponse) Reset() { + *x = GetNamespaceExportSinksResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[115] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetNamespaceExportSinksResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetNamespaceExportSinksResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetNamespaceExportSinksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetNamespaceExportSinksResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetNamespaceExportSinksResponse) ProtoMessage() {} + +func (x *GetNamespaceExportSinksResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[115] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetNamespaceExportSinksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNamespaceExportSinksResponse.Merge(m, src) -} -func (m *GetNamespaceExportSinksResponse) XXX_Size() int { - return m.Size() -} -func (m *GetNamespaceExportSinksResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetNamespaceExportSinksResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetNamespaceExportSinksResponse proto.InternalMessageInfo +// Deprecated: Use GetNamespaceExportSinksResponse.ProtoReflect.Descriptor instead. +func (*GetNamespaceExportSinksResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{115} +} -func (m *GetNamespaceExportSinksResponse) GetSinks() []*v12.ExportSink { - if m != nil { - return m.Sinks +func (x *GetNamespaceExportSinksResponse) GetSinks() []*v12.ExportSink { + if x != nil { + return x.Sinks } return nil } -func (m *GetNamespaceExportSinksResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *GetNamespaceExportSinksResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type UpdateNamespaceExportSinkRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace to which the sink belongs. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // The updated export sink specification. @@ -6366,111 +7056,119 @@ type UpdateNamespaceExportSinkRequest struct { AsyncOperationId string `protobuf:"bytes,4,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *UpdateNamespaceExportSinkRequest) Reset() { *m = UpdateNamespaceExportSinkRequest{} } -func (*UpdateNamespaceExportSinkRequest) ProtoMessage() {} -func (*UpdateNamespaceExportSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{114} +func (x *UpdateNamespaceExportSinkRequest) Reset() { + *x = UpdateNamespaceExportSinkRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[116] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateNamespaceExportSinkRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *UpdateNamespaceExportSinkRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateNamespaceExportSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateNamespaceExportSinkRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*UpdateNamespaceExportSinkRequest) ProtoMessage() {} + +func (x *UpdateNamespaceExportSinkRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[116] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *UpdateNamespaceExportSinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNamespaceExportSinkRequest.Merge(m, src) -} -func (m *UpdateNamespaceExportSinkRequest) XXX_Size() int { - return m.Size() -} -func (m *UpdateNamespaceExportSinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateNamespaceExportSinkRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateNamespaceExportSinkRequest proto.InternalMessageInfo +// Deprecated: Use UpdateNamespaceExportSinkRequest.ProtoReflect.Descriptor instead. +func (*UpdateNamespaceExportSinkRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{116} +} -func (m *UpdateNamespaceExportSinkRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *UpdateNamespaceExportSinkRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *UpdateNamespaceExportSinkRequest) GetSpec() *v12.ExportSinkSpec { - if m != nil { - return m.Spec +func (x *UpdateNamespaceExportSinkRequest) GetSpec() *v12.ExportSinkSpec { + if x != nil { + return x.Spec } return nil } -func (m *UpdateNamespaceExportSinkRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *UpdateNamespaceExportSinkRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *UpdateNamespaceExportSinkRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *UpdateNamespaceExportSinkRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type UpdateNamespaceExportSinkResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *UpdateNamespaceExportSinkResponse) Reset() { *m = UpdateNamespaceExportSinkResponse{} } -func (*UpdateNamespaceExportSinkResponse) ProtoMessage() {} -func (*UpdateNamespaceExportSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{115} +func (x *UpdateNamespaceExportSinkResponse) Reset() { + *x = UpdateNamespaceExportSinkResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[117] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateNamespaceExportSinkResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *UpdateNamespaceExportSinkResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateNamespaceExportSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateNamespaceExportSinkResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*UpdateNamespaceExportSinkResponse) ProtoMessage() {} + +func (x *UpdateNamespaceExportSinkResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[117] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *UpdateNamespaceExportSinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNamespaceExportSinkResponse.Merge(m, src) -} -func (m *UpdateNamespaceExportSinkResponse) XXX_Size() int { - return m.Size() -} -func (m *UpdateNamespaceExportSinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateNamespaceExportSinkResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateNamespaceExportSinkResponse proto.InternalMessageInfo +// Deprecated: Use UpdateNamespaceExportSinkResponse.ProtoReflect.Descriptor instead. +func (*UpdateNamespaceExportSinkResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{117} +} -func (m *UpdateNamespaceExportSinkResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *UpdateNamespaceExportSinkResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type DeleteNamespaceExportSinkRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace to which the sink belongs. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // The name of the sink to delete. @@ -6482,200 +7180,215 @@ type DeleteNamespaceExportSinkRequest struct { AsyncOperationId string `protobuf:"bytes,4,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *DeleteNamespaceExportSinkRequest) Reset() { *m = DeleteNamespaceExportSinkRequest{} } -func (*DeleteNamespaceExportSinkRequest) ProtoMessage() {} -func (*DeleteNamespaceExportSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{116} +func (x *DeleteNamespaceExportSinkRequest) Reset() { + *x = DeleteNamespaceExportSinkRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[118] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteNamespaceExportSinkRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *DeleteNamespaceExportSinkRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteNamespaceExportSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteNamespaceExportSinkRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*DeleteNamespaceExportSinkRequest) ProtoMessage() {} + +func (x *DeleteNamespaceExportSinkRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[118] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *DeleteNamespaceExportSinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNamespaceExportSinkRequest.Merge(m, src) -} -func (m *DeleteNamespaceExportSinkRequest) XXX_Size() int { - return m.Size() -} -func (m *DeleteNamespaceExportSinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteNamespaceExportSinkRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteNamespaceExportSinkRequest proto.InternalMessageInfo +// Deprecated: Use DeleteNamespaceExportSinkRequest.ProtoReflect.Descriptor instead. +func (*DeleteNamespaceExportSinkRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{118} +} -func (m *DeleteNamespaceExportSinkRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *DeleteNamespaceExportSinkRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *DeleteNamespaceExportSinkRequest) GetName() string { - if m != nil { - return m.Name +func (x *DeleteNamespaceExportSinkRequest) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *DeleteNamespaceExportSinkRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *DeleteNamespaceExportSinkRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *DeleteNamespaceExportSinkRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *DeleteNamespaceExportSinkRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type DeleteNamespaceExportSinkResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *DeleteNamespaceExportSinkResponse) Reset() { *m = DeleteNamespaceExportSinkResponse{} } -func (*DeleteNamespaceExportSinkResponse) ProtoMessage() {} -func (*DeleteNamespaceExportSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{117} +func (x *DeleteNamespaceExportSinkResponse) Reset() { + *x = DeleteNamespaceExportSinkResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[119] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteNamespaceExportSinkResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *DeleteNamespaceExportSinkResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteNamespaceExportSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteNamespaceExportSinkResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*DeleteNamespaceExportSinkResponse) ProtoMessage() {} + +func (x *DeleteNamespaceExportSinkResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[119] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *DeleteNamespaceExportSinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNamespaceExportSinkResponse.Merge(m, src) -} -func (m *DeleteNamespaceExportSinkResponse) XXX_Size() int { - return m.Size() -} -func (m *DeleteNamespaceExportSinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteNamespaceExportSinkResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteNamespaceExportSinkResponse proto.InternalMessageInfo +// Deprecated: Use DeleteNamespaceExportSinkResponse.ProtoReflect.Descriptor instead. +func (*DeleteNamespaceExportSinkResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{119} +} -func (m *DeleteNamespaceExportSinkResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *DeleteNamespaceExportSinkResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type ValidateNamespaceExportSinkRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace to which the sink belongs. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // The export sink specification to validate. Spec *v12.ExportSinkSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` } -func (m *ValidateNamespaceExportSinkRequest) Reset() { *m = ValidateNamespaceExportSinkRequest{} } -func (*ValidateNamespaceExportSinkRequest) ProtoMessage() {} -func (*ValidateNamespaceExportSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{118} +func (x *ValidateNamespaceExportSinkRequest) Reset() { + *x = ValidateNamespaceExportSinkRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[120] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ValidateNamespaceExportSinkRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *ValidateNamespaceExportSinkRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidateNamespaceExportSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidateNamespaceExportSinkRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*ValidateNamespaceExportSinkRequest) ProtoMessage() {} + +func (x *ValidateNamespaceExportSinkRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[120] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *ValidateNamespaceExportSinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidateNamespaceExportSinkRequest.Merge(m, src) -} -func (m *ValidateNamespaceExportSinkRequest) XXX_Size() int { - return m.Size() -} -func (m *ValidateNamespaceExportSinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ValidateNamespaceExportSinkRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_ValidateNamespaceExportSinkRequest proto.InternalMessageInfo +// Deprecated: Use ValidateNamespaceExportSinkRequest.ProtoReflect.Descriptor instead. +func (*ValidateNamespaceExportSinkRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{120} +} -func (m *ValidateNamespaceExportSinkRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *ValidateNamespaceExportSinkRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *ValidateNamespaceExportSinkRequest) GetSpec() *v12.ExportSinkSpec { - if m != nil { - return m.Spec +func (x *ValidateNamespaceExportSinkRequest) GetSpec() *v12.ExportSinkSpec { + if x != nil { + return x.Spec } return nil } type ValidateNamespaceExportSinkResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ValidateNamespaceExportSinkResponse) Reset() { *m = ValidateNamespaceExportSinkResponse{} } -func (*ValidateNamespaceExportSinkResponse) ProtoMessage() {} -func (*ValidateNamespaceExportSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{119} +func (x *ValidateNamespaceExportSinkResponse) Reset() { + *x = ValidateNamespaceExportSinkResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[121] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ValidateNamespaceExportSinkResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *ValidateNamespaceExportSinkResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidateNamespaceExportSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidateNamespaceExportSinkResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*ValidateNamespaceExportSinkResponse) ProtoMessage() {} + +func (x *ValidateNamespaceExportSinkResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[121] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *ValidateNamespaceExportSinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidateNamespaceExportSinkResponse.Merge(m, src) -} -func (m *ValidateNamespaceExportSinkResponse) XXX_Size() int { - return m.Size() -} -func (m *ValidateNamespaceExportSinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ValidateNamespaceExportSinkResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_ValidateNamespaceExportSinkResponse proto.InternalMessageInfo +// Deprecated: Use ValidateNamespaceExportSinkResponse.ProtoReflect.Descriptor instead. +func (*ValidateNamespaceExportSinkResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{121} +} // temporal:dev type StartMigrationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The migration specification. Spec *v12.MigrationSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` // The id to use for this async operation. @@ -6683,198 +7396,214 @@ type StartMigrationRequest struct { AsyncOperationId string `protobuf:"bytes,2,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *StartMigrationRequest) Reset() { *m = StartMigrationRequest{} } -func (*StartMigrationRequest) ProtoMessage() {} -func (*StartMigrationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{120} +func (x *StartMigrationRequest) Reset() { + *x = StartMigrationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[122] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StartMigrationRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *StartMigrationRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StartMigrationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StartMigrationRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*StartMigrationRequest) ProtoMessage() {} + +func (x *StartMigrationRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[122] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *StartMigrationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartMigrationRequest.Merge(m, src) -} -func (m *StartMigrationRequest) XXX_Size() int { - return m.Size() -} -func (m *StartMigrationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StartMigrationRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_StartMigrationRequest proto.InternalMessageInfo +// Deprecated: Use StartMigrationRequest.ProtoReflect.Descriptor instead. +func (*StartMigrationRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{122} +} -func (m *StartMigrationRequest) GetSpec() *v12.MigrationSpec { - if m != nil { - return m.Spec +func (x *StartMigrationRequest) GetSpec() *v12.MigrationSpec { + if x != nil { + return x.Spec } return nil } -func (m *StartMigrationRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *StartMigrationRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } // temporal:dev type StartMigrationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The migration id. MigrationId string `protobuf:"bytes,1,opt,name=migration_id,json=migrationId,proto3" json:"migration_id,omitempty"` // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,2,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *StartMigrationResponse) Reset() { *m = StartMigrationResponse{} } -func (*StartMigrationResponse) ProtoMessage() {} -func (*StartMigrationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{121} +func (x *StartMigrationResponse) Reset() { + *x = StartMigrationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[123] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StartMigrationResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *StartMigrationResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StartMigrationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_StartMigrationResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*StartMigrationResponse) ProtoMessage() {} + +func (x *StartMigrationResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[123] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *StartMigrationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartMigrationResponse.Merge(m, src) -} -func (m *StartMigrationResponse) XXX_Size() int { - return m.Size() -} -func (m *StartMigrationResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StartMigrationResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_StartMigrationResponse proto.InternalMessageInfo +// Deprecated: Use StartMigrationResponse.ProtoReflect.Descriptor instead. +func (*StartMigrationResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{123} +} -func (m *StartMigrationResponse) GetMigrationId() string { - if m != nil { - return m.MigrationId +func (x *StartMigrationResponse) GetMigrationId() string { + if x != nil { + return x.MigrationId } return "" } -func (m *StartMigrationResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *StartMigrationResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } // temporal:dev type GetMigrationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The migration id. MigrationId string `protobuf:"bytes,1,opt,name=migration_id,json=migrationId,proto3" json:"migration_id,omitempty"` } -func (m *GetMigrationRequest) Reset() { *m = GetMigrationRequest{} } -func (*GetMigrationRequest) ProtoMessage() {} -func (*GetMigrationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{122} +func (x *GetMigrationRequest) Reset() { + *x = GetMigrationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[124] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetMigrationRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetMigrationRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetMigrationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetMigrationRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetMigrationRequest) ProtoMessage() {} + +func (x *GetMigrationRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[124] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetMigrationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMigrationRequest.Merge(m, src) -} -func (m *GetMigrationRequest) XXX_Size() int { - return m.Size() -} -func (m *GetMigrationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetMigrationRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetMigrationRequest proto.InternalMessageInfo +// Deprecated: Use GetMigrationRequest.ProtoReflect.Descriptor instead. +func (*GetMigrationRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{124} +} -func (m *GetMigrationRequest) GetMigrationId() string { - if m != nil { - return m.MigrationId +func (x *GetMigrationRequest) GetMigrationId() string { + if x != nil { + return x.MigrationId } return "" } // temporal:dev type GetMigrationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The migration. Migration *v12.Migration `protobuf:"bytes,1,opt,name=migration,proto3" json:"migration,omitempty"` } -func (m *GetMigrationResponse) Reset() { *m = GetMigrationResponse{} } -func (*GetMigrationResponse) ProtoMessage() {} -func (*GetMigrationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{123} +func (x *GetMigrationResponse) Reset() { + *x = GetMigrationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[125] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetMigrationResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetMigrationResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetMigrationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetMigrationResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetMigrationResponse) ProtoMessage() {} + +func (x *GetMigrationResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[125] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetMigrationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMigrationResponse.Merge(m, src) -} -func (m *GetMigrationResponse) XXX_Size() int { - return m.Size() -} -func (m *GetMigrationResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetMigrationResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetMigrationResponse proto.InternalMessageInfo +// Deprecated: Use GetMigrationResponse.ProtoReflect.Descriptor instead. +func (*GetMigrationResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{125} +} -func (m *GetMigrationResponse) GetMigration() *v12.Migration { - if m != nil { - return m.Migration +func (x *GetMigrationResponse) GetMigration() *v12.Migration { + if x != nil { + return x.Migration } return nil } // temporal:dev type GetMigrationsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The requested size of the page to retrieve. // Cannot exceed 1000. // Optional, defaults to 100. @@ -6884,108 +7613,116 @@ type GetMigrationsRequest struct { PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *GetMigrationsRequest) Reset() { *m = GetMigrationsRequest{} } -func (*GetMigrationsRequest) ProtoMessage() {} -func (*GetMigrationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{124} +func (x *GetMigrationsRequest) Reset() { + *x = GetMigrationsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[126] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetMigrationsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetMigrationsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetMigrationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetMigrationsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetMigrationsRequest) ProtoMessage() {} + +func (x *GetMigrationsRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[126] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetMigrationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMigrationsRequest.Merge(m, src) -} -func (m *GetMigrationsRequest) XXX_Size() int { - return m.Size() -} -func (m *GetMigrationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetMigrationsRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetMigrationsRequest proto.InternalMessageInfo +// Deprecated: Use GetMigrationsRequest.ProtoReflect.Descriptor instead. +func (*GetMigrationsRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{126} +} -func (m *GetMigrationsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *GetMigrationsRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *GetMigrationsRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *GetMigrationsRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } // temporal:dev type GetMigrationsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The list of migrations. Migrations []*v12.Migration `protobuf:"bytes,1,rep,name=migrations,proto3" json:"migrations,omitempty"` // The next page's token. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *GetMigrationsResponse) Reset() { *m = GetMigrationsResponse{} } -func (*GetMigrationsResponse) ProtoMessage() {} -func (*GetMigrationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{125} +func (x *GetMigrationsResponse) Reset() { + *x = GetMigrationsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[127] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetMigrationsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetMigrationsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetMigrationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetMigrationsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetMigrationsResponse) ProtoMessage() {} + +func (x *GetMigrationsResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[127] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetMigrationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMigrationsResponse.Merge(m, src) -} -func (m *GetMigrationsResponse) XXX_Size() int { - return m.Size() -} -func (m *GetMigrationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetMigrationsResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetMigrationsResponse proto.InternalMessageInfo +// Deprecated: Use GetMigrationsResponse.ProtoReflect.Descriptor instead. +func (*GetMigrationsResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{127} +} -func (m *GetMigrationsResponse) GetMigrations() []*v12.Migration { - if m != nil { - return m.Migrations +func (x *GetMigrationsResponse) GetMigrations() []*v12.Migration { + if x != nil { + return x.Migrations } return nil } -func (m *GetMigrationsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *GetMigrationsResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } // temporal:dev type HandoverNamespaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The migration id. MigrationId string `protobuf:"bytes,1,opt,name=migration_id,json=migrationId,proto3" json:"migration_id,omitempty"` // The id of replica to make active. @@ -6995,106 +7732,114 @@ type HandoverNamespaceRequest struct { AsyncOperationId string `protobuf:"bytes,3,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *HandoverNamespaceRequest) Reset() { *m = HandoverNamespaceRequest{} } -func (*HandoverNamespaceRequest) ProtoMessage() {} -func (*HandoverNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{126} +func (x *HandoverNamespaceRequest) Reset() { + *x = HandoverNamespaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[128] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *HandoverNamespaceRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *HandoverNamespaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HandoverNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_HandoverNamespaceRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*HandoverNamespaceRequest) ProtoMessage() {} + +func (x *HandoverNamespaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[128] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *HandoverNamespaceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_HandoverNamespaceRequest.Merge(m, src) -} -func (m *HandoverNamespaceRequest) XXX_Size() int { - return m.Size() -} -func (m *HandoverNamespaceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_HandoverNamespaceRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_HandoverNamespaceRequest proto.InternalMessageInfo +// Deprecated: Use HandoverNamespaceRequest.ProtoReflect.Descriptor instead. +func (*HandoverNamespaceRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{128} +} -func (m *HandoverNamespaceRequest) GetMigrationId() string { - if m != nil { - return m.MigrationId +func (x *HandoverNamespaceRequest) GetMigrationId() string { + if x != nil { + return x.MigrationId } return "" } -func (m *HandoverNamespaceRequest) GetToReplicaId() string { - if m != nil { - return m.ToReplicaId +func (x *HandoverNamespaceRequest) GetToReplicaId() string { + if x != nil { + return x.ToReplicaId } return "" } -func (m *HandoverNamespaceRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *HandoverNamespaceRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } // temporal:dev type HandoverNamespaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *HandoverNamespaceResponse) Reset() { *m = HandoverNamespaceResponse{} } -func (*HandoverNamespaceResponse) ProtoMessage() {} -func (*HandoverNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{127} +func (x *HandoverNamespaceResponse) Reset() { + *x = HandoverNamespaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[129] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *HandoverNamespaceResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *HandoverNamespaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HandoverNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_HandoverNamespaceResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*HandoverNamespaceResponse) ProtoMessage() {} + +func (x *HandoverNamespaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[129] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *HandoverNamespaceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_HandoverNamespaceResponse.Merge(m, src) -} -func (m *HandoverNamespaceResponse) XXX_Size() int { - return m.Size() -} -func (m *HandoverNamespaceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_HandoverNamespaceResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_HandoverNamespaceResponse proto.InternalMessageInfo +// Deprecated: Use HandoverNamespaceResponse.ProtoReflect.Descriptor instead. +func (*HandoverNamespaceResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{129} +} -func (m *HandoverNamespaceResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *HandoverNamespaceResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } // temporal:dev type ConfirmMigrationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The migration id. MigrationId string `protobuf:"bytes,1,opt,name=migration_id,json=migrationId,proto3" json:"migration_id,omitempty"` // The id to use for this async operation. @@ -7102,99 +7847,107 @@ type ConfirmMigrationRequest struct { AsyncOperationId string `protobuf:"bytes,2,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *ConfirmMigrationRequest) Reset() { *m = ConfirmMigrationRequest{} } -func (*ConfirmMigrationRequest) ProtoMessage() {} -func (*ConfirmMigrationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{128} +func (x *ConfirmMigrationRequest) Reset() { + *x = ConfirmMigrationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[130] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ConfirmMigrationRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *ConfirmMigrationRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ConfirmMigrationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ConfirmMigrationRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*ConfirmMigrationRequest) ProtoMessage() {} + +func (x *ConfirmMigrationRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[130] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *ConfirmMigrationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfirmMigrationRequest.Merge(m, src) -} -func (m *ConfirmMigrationRequest) XXX_Size() int { - return m.Size() -} -func (m *ConfirmMigrationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ConfirmMigrationRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_ConfirmMigrationRequest proto.InternalMessageInfo +// Deprecated: Use ConfirmMigrationRequest.ProtoReflect.Descriptor instead. +func (*ConfirmMigrationRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{130} +} -func (m *ConfirmMigrationRequest) GetMigrationId() string { - if m != nil { - return m.MigrationId +func (x *ConfirmMigrationRequest) GetMigrationId() string { + if x != nil { + return x.MigrationId } return "" } -func (m *ConfirmMigrationRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *ConfirmMigrationRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } // temporal:dev type ConfirmMigrationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *ConfirmMigrationResponse) Reset() { *m = ConfirmMigrationResponse{} } -func (*ConfirmMigrationResponse) ProtoMessage() {} -func (*ConfirmMigrationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{129} +func (x *ConfirmMigrationResponse) Reset() { + *x = ConfirmMigrationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[131] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ConfirmMigrationResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *ConfirmMigrationResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ConfirmMigrationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ConfirmMigrationResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*ConfirmMigrationResponse) ProtoMessage() {} + +func (x *ConfirmMigrationResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[131] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *ConfirmMigrationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfirmMigrationResponse.Merge(m, src) -} -func (m *ConfirmMigrationResponse) XXX_Size() int { - return m.Size() -} -func (m *ConfirmMigrationResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ConfirmMigrationResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_ConfirmMigrationResponse proto.InternalMessageInfo +// Deprecated: Use ConfirmMigrationResponse.ProtoReflect.Descriptor instead. +func (*ConfirmMigrationResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{131} +} -func (m *ConfirmMigrationResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *ConfirmMigrationResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } // temporal:dev type AbortMigrationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The migration id. MigrationId string `protobuf:"bytes,1,opt,name=migration_id,json=migrationId,proto3" json:"migration_id,omitempty"` // The id to use for this async operation. @@ -7202,406 +7955,459 @@ type AbortMigrationRequest struct { AsyncOperationId string `protobuf:"bytes,2,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *AbortMigrationRequest) Reset() { *m = AbortMigrationRequest{} } -func (*AbortMigrationRequest) ProtoMessage() {} -func (*AbortMigrationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{130} +func (x *AbortMigrationRequest) Reset() { + *x = AbortMigrationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[132] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AbortMigrationRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *AbortMigrationRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AbortMigrationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AbortMigrationRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*AbortMigrationRequest) ProtoMessage() {} + +func (x *AbortMigrationRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[132] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *AbortMigrationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AbortMigrationRequest.Merge(m, src) -} -func (m *AbortMigrationRequest) XXX_Size() int { - return m.Size() -} -func (m *AbortMigrationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AbortMigrationRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_AbortMigrationRequest proto.InternalMessageInfo +// Deprecated: Use AbortMigrationRequest.ProtoReflect.Descriptor instead. +func (*AbortMigrationRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{132} +} -func (m *AbortMigrationRequest) GetMigrationId() string { - if m != nil { - return m.MigrationId +func (x *AbortMigrationRequest) GetMigrationId() string { + if x != nil { + return x.MigrationId } return "" } -func (m *AbortMigrationRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *AbortMigrationRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } // temporal:dev type AbortMigrationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *AbortMigrationResponse) Reset() { *m = AbortMigrationResponse{} } -func (*AbortMigrationResponse) ProtoMessage() {} -func (*AbortMigrationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{131} +func (x *AbortMigrationResponse) Reset() { + *x = AbortMigrationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[133] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AbortMigrationResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *AbortMigrationResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AbortMigrationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AbortMigrationResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*AbortMigrationResponse) ProtoMessage() {} + +func (x *AbortMigrationResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[133] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *AbortMigrationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AbortMigrationResponse.Merge(m, src) -} -func (m *AbortMigrationResponse) XXX_Size() int { - return m.Size() -} -func (m *AbortMigrationResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AbortMigrationResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_AbortMigrationResponse proto.InternalMessageInfo +// Deprecated: Use AbortMigrationResponse.ProtoReflect.Descriptor instead. +func (*AbortMigrationResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{133} +} -func (m *AbortMigrationResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *AbortMigrationResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type CreateConnectivityRuleRequest struct { - Spec *v18.ConnectivityRuleSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` - // The id to use for this async operation. - // Optional, if not provided a random id will be generated. + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The connectivity rule specification. + Spec *v19.ConnectivityRuleSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` + // The ID to use for this async operation. + // Optional, if not provided a random ID will be generated. AsyncOperationId string `protobuf:"bytes,2,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` + // The ID of the project this connectivity rule belongs to. + // temporal:dev + ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` } -func (m *CreateConnectivityRuleRequest) Reset() { *m = CreateConnectivityRuleRequest{} } -func (*CreateConnectivityRuleRequest) ProtoMessage() {} -func (*CreateConnectivityRuleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{132} +func (x *CreateConnectivityRuleRequest) Reset() { + *x = CreateConnectivityRuleRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[134] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateConnectivityRuleRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *CreateConnectivityRuleRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateConnectivityRuleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateConnectivityRuleRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*CreateConnectivityRuleRequest) ProtoMessage() {} + +func (x *CreateConnectivityRuleRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[134] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *CreateConnectivityRuleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateConnectivityRuleRequest.Merge(m, src) -} -func (m *CreateConnectivityRuleRequest) XXX_Size() int { - return m.Size() -} -func (m *CreateConnectivityRuleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateConnectivityRuleRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_CreateConnectivityRuleRequest proto.InternalMessageInfo +// Deprecated: Use CreateConnectivityRuleRequest.ProtoReflect.Descriptor instead. +func (*CreateConnectivityRuleRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{134} +} -func (m *CreateConnectivityRuleRequest) GetSpec() *v18.ConnectivityRuleSpec { - if m != nil { - return m.Spec +func (x *CreateConnectivityRuleRequest) GetSpec() *v19.ConnectivityRuleSpec { + if x != nil { + return x.Spec } return nil } -func (m *CreateConnectivityRuleRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *CreateConnectivityRuleRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId + } + return "" +} + +func (x *CreateConnectivityRuleRequest) GetProjectId() string { + if x != nil { + return x.ProjectId } return "" } type CreateConnectivityRuleResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ConnectivityRuleId string `protobuf:"bytes,1,opt,name=connectivity_rule_id,json=connectivityRuleId,proto3" json:"connectivity_rule_id,omitempty"` // The async operation AsyncOperation *v11.AsyncOperation `protobuf:"bytes,2,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *CreateConnectivityRuleResponse) Reset() { *m = CreateConnectivityRuleResponse{} } -func (*CreateConnectivityRuleResponse) ProtoMessage() {} -func (*CreateConnectivityRuleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{133} +func (x *CreateConnectivityRuleResponse) Reset() { + *x = CreateConnectivityRuleResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[135] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateConnectivityRuleResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *CreateConnectivityRuleResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateConnectivityRuleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateConnectivityRuleResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*CreateConnectivityRuleResponse) ProtoMessage() {} + +func (x *CreateConnectivityRuleResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[135] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *CreateConnectivityRuleResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateConnectivityRuleResponse.Merge(m, src) -} -func (m *CreateConnectivityRuleResponse) XXX_Size() int { - return m.Size() -} -func (m *CreateConnectivityRuleResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateConnectivityRuleResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_CreateConnectivityRuleResponse proto.InternalMessageInfo +// Deprecated: Use CreateConnectivityRuleResponse.ProtoReflect.Descriptor instead. +func (*CreateConnectivityRuleResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{135} +} -func (m *CreateConnectivityRuleResponse) GetConnectivityRuleId() string { - if m != nil { - return m.ConnectivityRuleId +func (x *CreateConnectivityRuleResponse) GetConnectivityRuleId() string { + if x != nil { + return x.ConnectivityRuleId } return "" } -func (m *CreateConnectivityRuleResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *CreateConnectivityRuleResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } type GetConnectivityRuleRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + ConnectivityRuleId string `protobuf:"bytes,1,opt,name=connectivity_rule_id,json=connectivityRuleId,proto3" json:"connectivity_rule_id,omitempty"` } -func (m *GetConnectivityRuleRequest) Reset() { *m = GetConnectivityRuleRequest{} } -func (*GetConnectivityRuleRequest) ProtoMessage() {} -func (*GetConnectivityRuleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{134} +func (x *GetConnectivityRuleRequest) Reset() { + *x = GetConnectivityRuleRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[136] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetConnectivityRuleRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetConnectivityRuleRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetConnectivityRuleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetConnectivityRuleRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetConnectivityRuleRequest) ProtoMessage() {} + +func (x *GetConnectivityRuleRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[136] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetConnectivityRuleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetConnectivityRuleRequest.Merge(m, src) -} -func (m *GetConnectivityRuleRequest) XXX_Size() int { - return m.Size() -} -func (m *GetConnectivityRuleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetConnectivityRuleRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetConnectivityRuleRequest proto.InternalMessageInfo +// Deprecated: Use GetConnectivityRuleRequest.ProtoReflect.Descriptor instead. +func (*GetConnectivityRuleRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{136} +} -func (m *GetConnectivityRuleRequest) GetConnectivityRuleId() string { - if m != nil { - return m.ConnectivityRuleId +func (x *GetConnectivityRuleRequest) GetConnectivityRuleId() string { + if x != nil { + return x.ConnectivityRuleId } return "" } type GetConnectivityRuleResponse struct { - ConnectivityRule *v18.ConnectivityRule `protobuf:"bytes,1,opt,name=connectivity_rule,json=connectivityRule,proto3" json:"connectivity_rule,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ConnectivityRule *v19.ConnectivityRule `protobuf:"bytes,1,opt,name=connectivity_rule,json=connectivityRule,proto3" json:"connectivity_rule,omitempty"` } -func (m *GetConnectivityRuleResponse) Reset() { *m = GetConnectivityRuleResponse{} } -func (*GetConnectivityRuleResponse) ProtoMessage() {} -func (*GetConnectivityRuleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{135} +func (x *GetConnectivityRuleResponse) Reset() { + *x = GetConnectivityRuleResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[137] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetConnectivityRuleResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetConnectivityRuleResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetConnectivityRuleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetConnectivityRuleResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetConnectivityRuleResponse) ProtoMessage() {} + +func (x *GetConnectivityRuleResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[137] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetConnectivityRuleResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetConnectivityRuleResponse.Merge(m, src) -} -func (m *GetConnectivityRuleResponse) XXX_Size() int { - return m.Size() -} -func (m *GetConnectivityRuleResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetConnectivityRuleResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetConnectivityRuleResponse proto.InternalMessageInfo +// Deprecated: Use GetConnectivityRuleResponse.ProtoReflect.Descriptor instead. +func (*GetConnectivityRuleResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{137} +} -func (m *GetConnectivityRuleResponse) GetConnectivityRule() *v18.ConnectivityRule { - if m != nil { - return m.ConnectivityRule +func (x *GetConnectivityRuleResponse) GetConnectivityRule() *v19.ConnectivityRule { + if x != nil { + return x.ConnectivityRule } return nil } type GetConnectivityRulesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The requested size of the page to retrieve. // Optional, defaults to 100. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The page token if this is continuing from another response. // Optional, defaults to empty. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // Namespace id + // Filter by namespace ID. Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` + // Filter by project ID. + // temporal:dev + ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` } -func (m *GetConnectivityRulesRequest) Reset() { *m = GetConnectivityRulesRequest{} } -func (*GetConnectivityRulesRequest) ProtoMessage() {} -func (*GetConnectivityRulesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{136} +func (x *GetConnectivityRulesRequest) Reset() { + *x = GetConnectivityRulesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[138] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetConnectivityRulesRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetConnectivityRulesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetConnectivityRulesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetConnectivityRulesRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetConnectivityRulesRequest) ProtoMessage() {} + +func (x *GetConnectivityRulesRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[138] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetConnectivityRulesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetConnectivityRulesRequest.Merge(m, src) -} -func (m *GetConnectivityRulesRequest) XXX_Size() int { - return m.Size() -} -func (m *GetConnectivityRulesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetConnectivityRulesRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetConnectivityRulesRequest proto.InternalMessageInfo +// Deprecated: Use GetConnectivityRulesRequest.ProtoReflect.Descriptor instead. +func (*GetConnectivityRulesRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{138} +} -func (m *GetConnectivityRulesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *GetConnectivityRulesRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *GetConnectivityRulesRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *GetConnectivityRulesRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } -func (m *GetConnectivityRulesRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *GetConnectivityRulesRequest) GetNamespace() string { + if x != nil { + return x.Namespace + } + return "" +} + +func (x *GetConnectivityRulesRequest) GetProjectId() string { + if x != nil { + return x.ProjectId } return "" } type GetConnectivityRulesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // connectivity_rules returned - ConnectivityRules []*v18.ConnectivityRule `protobuf:"bytes,1,rep,name=connectivity_rules,json=connectivityRules,proto3" json:"connectivity_rules,omitempty"` + ConnectivityRules []*v19.ConnectivityRule `protobuf:"bytes,1,rep,name=connectivity_rules,json=connectivityRules,proto3" json:"connectivity_rules,omitempty"` // The next page token NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *GetConnectivityRulesResponse) Reset() { *m = GetConnectivityRulesResponse{} } -func (*GetConnectivityRulesResponse) ProtoMessage() {} -func (*GetConnectivityRulesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{137} +func (x *GetConnectivityRulesResponse) Reset() { + *x = GetConnectivityRulesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[139] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetConnectivityRulesResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetConnectivityRulesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetConnectivityRulesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetConnectivityRulesResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetConnectivityRulesResponse) ProtoMessage() {} + +func (x *GetConnectivityRulesResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[139] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetConnectivityRulesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetConnectivityRulesResponse.Merge(m, src) -} -func (m *GetConnectivityRulesResponse) XXX_Size() int { - return m.Size() -} -func (m *GetConnectivityRulesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetConnectivityRulesResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetConnectivityRulesResponse proto.InternalMessageInfo +// Deprecated: Use GetConnectivityRulesResponse.ProtoReflect.Descriptor instead. +func (*GetConnectivityRulesResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{139} +} -func (m *GetConnectivityRulesResponse) GetConnectivityRules() []*v18.ConnectivityRule { - if m != nil { - return m.ConnectivityRules +func (x *GetConnectivityRulesResponse) GetConnectivityRules() []*v19.ConnectivityRule { + if x != nil { + return x.ConnectivityRules } return nil } -func (m *GetConnectivityRulesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *GetConnectivityRulesResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type DeleteConnectivityRuleRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The ID of the connectivity rule that need be deleted, required. ConnectivityRuleId string `protobuf:"bytes,1,opt,name=connectivity_rule_id,json=connectivityRuleId,proto3" json:"connectivity_rule_id,omitempty"` // The resource version which should be the same from the the db, required @@ -7611,105 +8417,113 @@ type DeleteConnectivityRuleRequest struct { AsyncOperationId string `protobuf:"bytes,3,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *DeleteConnectivityRuleRequest) Reset() { *m = DeleteConnectivityRuleRequest{} } -func (*DeleteConnectivityRuleRequest) ProtoMessage() {} -func (*DeleteConnectivityRuleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{138} +func (x *DeleteConnectivityRuleRequest) Reset() { + *x = DeleteConnectivityRuleRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[140] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteConnectivityRuleRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *DeleteConnectivityRuleRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteConnectivityRuleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteConnectivityRuleRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*DeleteConnectivityRuleRequest) ProtoMessage() {} + +func (x *DeleteConnectivityRuleRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[140] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *DeleteConnectivityRuleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteConnectivityRuleRequest.Merge(m, src) -} -func (m *DeleteConnectivityRuleRequest) XXX_Size() int { - return m.Size() -} -func (m *DeleteConnectivityRuleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteConnectivityRuleRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteConnectivityRuleRequest proto.InternalMessageInfo +// Deprecated: Use DeleteConnectivityRuleRequest.ProtoReflect.Descriptor instead. +func (*DeleteConnectivityRuleRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{140} +} -func (m *DeleteConnectivityRuleRequest) GetConnectivityRuleId() string { - if m != nil { - return m.ConnectivityRuleId +func (x *DeleteConnectivityRuleRequest) GetConnectivityRuleId() string { + if x != nil { + return x.ConnectivityRuleId } return "" } -func (m *DeleteConnectivityRuleRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *DeleteConnectivityRuleRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *DeleteConnectivityRuleRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *DeleteConnectivityRuleRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type DeleteConnectivityRuleResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *DeleteConnectivityRuleResponse) Reset() { *m = DeleteConnectivityRuleResponse{} } -func (*DeleteConnectivityRuleResponse) ProtoMessage() {} -func (*DeleteConnectivityRuleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{139} +func (x *DeleteConnectivityRuleResponse) Reset() { + *x = DeleteConnectivityRuleResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[141] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteConnectivityRuleResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *DeleteConnectivityRuleResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteConnectivityRuleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteConnectivityRuleResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*DeleteConnectivityRuleResponse) ProtoMessage() {} + +func (x *DeleteConnectivityRuleResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[141] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *DeleteConnectivityRuleResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteConnectivityRuleResponse.Merge(m, src) -} -func (m *DeleteConnectivityRuleResponse) XXX_Size() int { - return m.Size() -} -func (m *DeleteConnectivityRuleResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteConnectivityRuleResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteConnectivityRuleResponse proto.InternalMessageInfo +// Deprecated: Use DeleteConnectivityRuleResponse.ProtoReflect.Descriptor instead. +func (*DeleteConnectivityRuleResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{141} +} -func (m *DeleteConnectivityRuleResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *DeleteConnectivityRuleResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } // temporal:dev type GetProjectsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The requested size of the page to retrieve - optional. // Cannot exceed 1000. Defaults to 100. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` @@ -7717,311 +8531,335 @@ type GetProjectsRequest struct { PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *GetProjectsRequest) Reset() { *m = GetProjectsRequest{} } -func (*GetProjectsRequest) ProtoMessage() {} -func (*GetProjectsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{140} +func (x *GetProjectsRequest) Reset() { + *x = GetProjectsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[142] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetProjectsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetProjectsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetProjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetProjectsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetProjectsRequest) ProtoMessage() {} + +func (x *GetProjectsRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[142] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetProjectsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetProjectsRequest.Merge(m, src) -} -func (m *GetProjectsRequest) XXX_Size() int { - return m.Size() -} -func (m *GetProjectsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetProjectsRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetProjectsRequest proto.InternalMessageInfo +// Deprecated: Use GetProjectsRequest.ProtoReflect.Descriptor instead. +func (*GetProjectsRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{142} +} -func (m *GetProjectsRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *GetProjectsRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *GetProjectsRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *GetProjectsRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } // temporal:dev type GetProjectsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The list of projects in ascending ids order - Projects []*v19.Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` + Projects []*v110.Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` // The next page's token NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *GetProjectsResponse) Reset() { *m = GetProjectsResponse{} } -func (*GetProjectsResponse) ProtoMessage() {} -func (*GetProjectsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{141} +func (x *GetProjectsResponse) Reset() { + *x = GetProjectsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[143] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetProjectsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetProjectsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetProjectsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetProjectsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetProjectsResponse) ProtoMessage() {} + +func (x *GetProjectsResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[143] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetProjectsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetProjectsResponse.Merge(m, src) -} -func (m *GetProjectsResponse) XXX_Size() int { - return m.Size() -} -func (m *GetProjectsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetProjectsResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetProjectsResponse proto.InternalMessageInfo +// Deprecated: Use GetProjectsResponse.ProtoReflect.Descriptor instead. +func (*GetProjectsResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{143} +} -func (m *GetProjectsResponse) GetProjects() []*v19.Project { - if m != nil { - return m.Projects +func (x *GetProjectsResponse) GetProjects() []*v110.Project { + if x != nil { + return x.Projects } return nil } -func (m *GetProjectsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *GetProjectsResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } // temporal:dev type GetProjectRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the project to get ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` } -func (m *GetProjectRequest) Reset() { *m = GetProjectRequest{} } -func (*GetProjectRequest) ProtoMessage() {} -func (*GetProjectRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{142} +func (x *GetProjectRequest) Reset() { + *x = GetProjectRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[144] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetProjectRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetProjectRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetProjectRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetProjectRequest) ProtoMessage() {} + +func (x *GetProjectRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[144] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetProjectRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetProjectRequest.Merge(m, src) -} -func (m *GetProjectRequest) XXX_Size() int { - return m.Size() -} -func (m *GetProjectRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetProjectRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetProjectRequest proto.InternalMessageInfo +// Deprecated: Use GetProjectRequest.ProtoReflect.Descriptor instead. +func (*GetProjectRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{144} +} -func (m *GetProjectRequest) GetProjectId() string { - if m != nil { - return m.ProjectId +func (x *GetProjectRequest) GetProjectId() string { + if x != nil { + return x.ProjectId } return "" } // temporal:dev type GetProjectResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The project - Project *v19.Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` + Project *v110.Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` } -func (m *GetProjectResponse) Reset() { *m = GetProjectResponse{} } -func (*GetProjectResponse) ProtoMessage() {} -func (*GetProjectResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{143} +func (x *GetProjectResponse) Reset() { + *x = GetProjectResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[145] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetProjectResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GetProjectResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetProjectResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GetProjectResponse) ProtoMessage() {} + +func (x *GetProjectResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[145] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetProjectResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetProjectResponse.Merge(m, src) -} -func (m *GetProjectResponse) XXX_Size() int { - return m.Size() -} -func (m *GetProjectResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetProjectResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GetProjectResponse proto.InternalMessageInfo +// Deprecated: Use GetProjectResponse.ProtoReflect.Descriptor instead. +func (*GetProjectResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{145} +} -func (m *GetProjectResponse) GetProject() *v19.Project { - if m != nil { - return m.Project +func (x *GetProjectResponse) GetProject() *v110.Project { + if x != nil { + return x.Project } return nil } // temporal:dev type CreateProjectRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The spec for the project to create. - Spec *v19.ProjectSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` + Spec *v110.ProjectSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` // The id to use for this async operation. // Optional, if not provided a random id will be generated. AsyncOperationId string `protobuf:"bytes,2,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *CreateProjectRequest) Reset() { *m = CreateProjectRequest{} } -func (*CreateProjectRequest) ProtoMessage() {} -func (*CreateProjectRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{144} +func (x *CreateProjectRequest) Reset() { + *x = CreateProjectRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[146] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateProjectRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *CreateProjectRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateProjectRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*CreateProjectRequest) ProtoMessage() {} + +func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[146] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *CreateProjectRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateProjectRequest.Merge(m, src) -} -func (m *CreateProjectRequest) XXX_Size() int { - return m.Size() -} -func (m *CreateProjectRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateProjectRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_CreateProjectRequest proto.InternalMessageInfo +// Deprecated: Use CreateProjectRequest.ProtoReflect.Descriptor instead. +func (*CreateProjectRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{146} +} -func (m *CreateProjectRequest) GetSpec() *v19.ProjectSpec { - if m != nil { - return m.Spec +func (x *CreateProjectRequest) GetSpec() *v110.ProjectSpec { + if x != nil { + return x.Spec } return nil } -func (m *CreateProjectRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *CreateProjectRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } // temporal:dev type CreateProjectResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the project that was created. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,2,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *CreateProjectResponse) Reset() { *m = CreateProjectResponse{} } -func (*CreateProjectResponse) ProtoMessage() {} -func (*CreateProjectResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{145} +func (x *CreateProjectResponse) Reset() { + *x = CreateProjectResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[147] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateProjectResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *CreateProjectResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateProjectResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*CreateProjectResponse) ProtoMessage() {} + +func (x *CreateProjectResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[147] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *CreateProjectResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateProjectResponse.Merge(m, src) -} -func (m *CreateProjectResponse) XXX_Size() int { - return m.Size() -} -func (m *CreateProjectResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateProjectResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_CreateProjectResponse proto.InternalMessageInfo +// Deprecated: Use CreateProjectResponse.ProtoReflect.Descriptor instead. +func (*CreateProjectResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{147} +} -func (m *CreateProjectResponse) GetProjectId() string { - if m != nil { - return m.ProjectId +func (x *CreateProjectResponse) GetProjectId() string { + if x != nil { + return x.ProjectId } return "" } -func (m *CreateProjectResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *CreateProjectResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } // temporal:dev type UpdateProjectRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the project to update. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The new project specification. - Spec *v19.ProjectSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + Spec *v110.ProjectSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` // The version of the project for which this update is intended for. // The latest version can be found in the GetProject operation response. ResourceVersion string `protobuf:"bytes,3,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` @@ -8030,113 +8868,121 @@ type UpdateProjectRequest struct { AsyncOperationId string `protobuf:"bytes,4,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *UpdateProjectRequest) Reset() { *m = UpdateProjectRequest{} } -func (*UpdateProjectRequest) ProtoMessage() {} -func (*UpdateProjectRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{146} +func (x *UpdateProjectRequest) Reset() { + *x = UpdateProjectRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[148] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateProjectRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *UpdateProjectRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateProjectRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*UpdateProjectRequest) ProtoMessage() {} + +func (x *UpdateProjectRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[148] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *UpdateProjectRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateProjectRequest.Merge(m, src) -} -func (m *UpdateProjectRequest) XXX_Size() int { - return m.Size() -} -func (m *UpdateProjectRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateProjectRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateProjectRequest proto.InternalMessageInfo +// Deprecated: Use UpdateProjectRequest.ProtoReflect.Descriptor instead. +func (*UpdateProjectRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{148} +} -func (m *UpdateProjectRequest) GetProjectId() string { - if m != nil { - return m.ProjectId +func (x *UpdateProjectRequest) GetProjectId() string { + if x != nil { + return x.ProjectId } return "" } -func (m *UpdateProjectRequest) GetSpec() *v19.ProjectSpec { - if m != nil { - return m.Spec +func (x *UpdateProjectRequest) GetSpec() *v110.ProjectSpec { + if x != nil { + return x.Spec } return nil } -func (m *UpdateProjectRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *UpdateProjectRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *UpdateProjectRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *UpdateProjectRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } // temporal:dev type UpdateProjectResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *UpdateProjectResponse) Reset() { *m = UpdateProjectResponse{} } -func (*UpdateProjectResponse) ProtoMessage() {} -func (*UpdateProjectResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{147} +func (x *UpdateProjectResponse) Reset() { + *x = UpdateProjectResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[149] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateProjectResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *UpdateProjectResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateProjectResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*UpdateProjectResponse) ProtoMessage() {} + +func (x *UpdateProjectResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[149] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *UpdateProjectResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateProjectResponse.Merge(m, src) -} -func (m *UpdateProjectResponse) XXX_Size() int { - return m.Size() -} -func (m *UpdateProjectResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateProjectResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateProjectResponse proto.InternalMessageInfo +// Deprecated: Use UpdateProjectResponse.ProtoReflect.Descriptor instead. +func (*UpdateProjectResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{149} +} -func (m *UpdateProjectResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *UpdateProjectResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } // temporal:dev type DeleteProjectRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the project to delete. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The version of the project for which this delete is intended for. @@ -8147,37139 +8993,6118 @@ type DeleteProjectRequest struct { AsyncOperationId string `protobuf:"bytes,3,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *DeleteProjectRequest) Reset() { *m = DeleteProjectRequest{} } -func (*DeleteProjectRequest) ProtoMessage() {} -func (*DeleteProjectRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{148} +func (x *DeleteProjectRequest) Reset() { + *x = DeleteProjectRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[150] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteProjectRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *DeleteProjectRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteProjectRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*DeleteProjectRequest) ProtoMessage() {} + +func (x *DeleteProjectRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[150] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *DeleteProjectRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteProjectRequest.Merge(m, src) -} -func (m *DeleteProjectRequest) XXX_Size() int { - return m.Size() -} -func (m *DeleteProjectRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteProjectRequest.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteProjectRequest proto.InternalMessageInfo +// Deprecated: Use DeleteProjectRequest.ProtoReflect.Descriptor instead. +func (*DeleteProjectRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{150} +} -func (m *DeleteProjectRequest) GetProjectId() string { - if m != nil { - return m.ProjectId +func (x *DeleteProjectRequest) GetProjectId() string { + if x != nil { + return x.ProjectId } return "" } -func (m *DeleteProjectRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *DeleteProjectRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *DeleteProjectRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *DeleteProjectRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } // temporal:dev type DeleteProjectResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *DeleteProjectResponse) Reset() { *m = DeleteProjectResponse{} } -func (*DeleteProjectResponse) ProtoMessage() {} -func (*DeleteProjectResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{149} +func (x *DeleteProjectResponse) Reset() { + *x = DeleteProjectResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[151] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteProjectResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *DeleteProjectResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteProjectResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*DeleteProjectResponse) ProtoMessage() {} + +func (x *DeleteProjectResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[151] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *DeleteProjectResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteProjectResponse.Merge(m, src) -} -func (m *DeleteProjectResponse) XXX_Size() int { - return m.Size() -} -func (m *DeleteProjectResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteProjectResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteProjectResponse proto.InternalMessageInfo +// Deprecated: Use DeleteProjectResponse.ProtoReflect.Descriptor instead. +func (*DeleteProjectResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{151} +} -func (m *DeleteProjectResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *DeleteProjectResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } -// temporal:skip_validation_rule=MessageRuleUpdateRequest -type UpdateNamespaceTagsRequest struct { - // The namespace to set tags for. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // A map of tags to add or update. - // If a key of an existing tag is added, the tag's value is updated. - // At least one of tags_to_upsert or tags_to_remove must be specified. - TagsToUpsert map[string]string `protobuf:"bytes,2,rep,name=tags_to_upsert,json=tagsToUpsert,proto3" json:"tags_to_upsert,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // A list of tag keys to remove. - // If a tag key doesn't exist, it is silently ignored. - // At least one of tags_to_upsert or tags_to_remove must be specified. - TagsToRemove []string `protobuf:"bytes,3,rep,name=tags_to_remove,json=tagsToRemove,proto3" json:"tags_to_remove,omitempty"` +// temporal:dev +type SetUserGroupProjectAccessRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The project to set permissions for. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + // The id of the group to set permissions for. + GroupId string `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` + // The project access to assign the group. If left empty, the group will be removed from the project access. + Access *v1.ProjectAccess `protobuf:"bytes,3,opt,name=access,proto3" json:"access,omitempty"` + // The version of the group for which this update is intended for. + // The latest version can be found in the GetGroup operation response. + ResourceVersion string `protobuf:"bytes,4,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` // The id to use for this async operation - optional. - AsyncOperationId string `protobuf:"bytes,4,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` + AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *UpdateNamespaceTagsRequest) Reset() { *m = UpdateNamespaceTagsRequest{} } -func (*UpdateNamespaceTagsRequest) ProtoMessage() {} -func (*UpdateNamespaceTagsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{150} +func (x *SetUserGroupProjectAccessRequest) Reset() { + *x = SetUserGroupProjectAccessRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[152] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateNamespaceTagsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *SetUserGroupProjectAccessRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateNamespaceTagsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateNamespaceTagsRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*SetUserGroupProjectAccessRequest) ProtoMessage() {} + +func (x *SetUserGroupProjectAccessRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[152] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } + return mi.MessageOf(x) } -func (m *UpdateNamespaceTagsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNamespaceTagsRequest.Merge(m, src) -} -func (m *UpdateNamespaceTagsRequest) XXX_Size() int { - return m.Size() -} -func (m *UpdateNamespaceTagsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateNamespaceTagsRequest.DiscardUnknown(m) + +// Deprecated: Use SetUserGroupProjectAccessRequest.ProtoReflect.Descriptor instead. +func (*SetUserGroupProjectAccessRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{152} } -var xxx_messageInfo_UpdateNamespaceTagsRequest proto.InternalMessageInfo +func (x *SetUserGroupProjectAccessRequest) GetProjectId() string { + if x != nil { + return x.ProjectId + } + return "" +} -func (m *UpdateNamespaceTagsRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *SetUserGroupProjectAccessRequest) GetGroupId() string { + if x != nil { + return x.GroupId } return "" } -func (m *UpdateNamespaceTagsRequest) GetTagsToUpsert() map[string]string { - if m != nil { - return m.TagsToUpsert +func (x *SetUserGroupProjectAccessRequest) GetAccess() *v1.ProjectAccess { + if x != nil { + return x.Access } return nil } -func (m *UpdateNamespaceTagsRequest) GetTagsToRemove() []string { - if m != nil { - return m.TagsToRemove +func (x *SetUserGroupProjectAccessRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } - return nil + return "" } -func (m *UpdateNamespaceTagsRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *SetUserGroupProjectAccessRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } -type UpdateNamespaceTagsResponse struct { +// temporal:dev +type SetUserGroupProjectAccessResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *UpdateNamespaceTagsResponse) Reset() { *m = UpdateNamespaceTagsResponse{} } -func (*UpdateNamespaceTagsResponse) ProtoMessage() {} -func (*UpdateNamespaceTagsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{151} +func (x *SetUserGroupProjectAccessResponse) Reset() { + *x = SetUserGroupProjectAccessResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[153] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateNamespaceTagsResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *SetUserGroupProjectAccessResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateNamespaceTagsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateNamespaceTagsResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*SetUserGroupProjectAccessResponse) ProtoMessage() {} + +func (x *SetUserGroupProjectAccessResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[153] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *UpdateNamespaceTagsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNamespaceTagsResponse.Merge(m, src) -} -func (m *UpdateNamespaceTagsResponse) XXX_Size() int { - return m.Size() -} -func (m *UpdateNamespaceTagsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateNamespaceTagsResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateNamespaceTagsResponse proto.InternalMessageInfo +// Deprecated: Use SetUserGroupProjectAccessResponse.ProtoReflect.Descriptor instead. +func (*SetUserGroupProjectAccessResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{153} +} -func (m *UpdateNamespaceTagsResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *SetUserGroupProjectAccessResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } -// temporal:ui -type ResendUserInviteRequest struct { - // the id of user. - UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - // Optional, if not provided a random id will be generated. - AsyncOperationId string `protobuf:"bytes,2,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` +// temporal:dev +type SetUserProjectAccessRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The project to set permissions for. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + // The id of the group to set permissions for. + UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + // The project access to assign the group. If left empty, the group will be removed from the project access. + Access *v1.ProjectAccess `protobuf:"bytes,3,opt,name=access,proto3" json:"access,omitempty"` + // The version of the user for which this update is intended for. + // The latest version can be found in the GetUser operation response. + ResourceVersion string `protobuf:"bytes,4,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` + // The id to use for this async operation - optional. + AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *ResendUserInviteRequest) Reset() { *m = ResendUserInviteRequest{} } -func (*ResendUserInviteRequest) ProtoMessage() {} -func (*ResendUserInviteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{152} +func (x *SetUserProjectAccessRequest) Reset() { + *x = SetUserProjectAccessRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[154] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ResendUserInviteRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *SetUserProjectAccessRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResendUserInviteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ResendUserInviteRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*SetUserProjectAccessRequest) ProtoMessage() {} + +func (x *SetUserProjectAccessRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[154] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } + return mi.MessageOf(x) } -func (m *ResendUserInviteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResendUserInviteRequest.Merge(m, src) + +// Deprecated: Use SetUserProjectAccessRequest.ProtoReflect.Descriptor instead. +func (*SetUserProjectAccessRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{154} } -func (m *ResendUserInviteRequest) XXX_Size() int { - return m.Size() + +func (x *SetUserProjectAccessRequest) GetProjectId() string { + if x != nil { + return x.ProjectId + } + return "" } -func (m *ResendUserInviteRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ResendUserInviteRequest.DiscardUnknown(m) + +func (x *SetUserProjectAccessRequest) GetUserId() string { + if x != nil { + return x.UserId + } + return "" } -var xxx_messageInfo_ResendUserInviteRequest proto.InternalMessageInfo +func (x *SetUserProjectAccessRequest) GetAccess() *v1.ProjectAccess { + if x != nil { + return x.Access + } + return nil +} -func (m *ResendUserInviteRequest) GetUserId() string { - if m != nil { - return m.UserId +func (x *SetUserProjectAccessRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *ResendUserInviteRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *SetUserProjectAccessRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } -// temporal:ui -type ResendUserInviteResponse struct { +// temporal:dev +type SetUserProjectAccessResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The async operation. AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *ResendUserInviteResponse) Reset() { *m = ResendUserInviteResponse{} } -func (*ResendUserInviteResponse) ProtoMessage() {} -func (*ResendUserInviteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{153} +func (x *SetUserProjectAccessResponse) Reset() { + *x = SetUserProjectAccessResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[155] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ResendUserInviteResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *SetUserProjectAccessResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResendUserInviteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ResendUserInviteResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*SetUserProjectAccessResponse) ProtoMessage() {} + +func (x *SetUserProjectAccessResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[155] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *ResendUserInviteResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResendUserInviteResponse.Merge(m, src) -} -func (m *ResendUserInviteResponse) XXX_Size() int { - return m.Size() -} -func (m *ResendUserInviteResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ResendUserInviteResponse.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_ResendUserInviteResponse proto.InternalMessageInfo +// Deprecated: Use SetUserProjectAccessResponse.ProtoReflect.Descriptor instead. +func (*SetUserProjectAccessResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{155} +} -func (m *ResendUserInviteResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation +func (x *SetUserProjectAccessResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } return nil } -// temporal:ui -type GetTagKeysRequest struct { - // Filter for tag keys that start with this prefix - optional. - Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` -} +// temporal:dev +type SetServiceAccountProjectAccessRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GetTagKeysRequest) Reset() { *m = GetTagKeysRequest{} } -func (*GetTagKeysRequest) ProtoMessage() {} -func (*GetTagKeysRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{154} -} -func (m *GetTagKeysRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + // The project to set permissions for. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + // The id of the group to set permissions for. + ServiceAccountId string `protobuf:"bytes,2,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` + // The project access to assign the group. If left empty, the group will be removed from the project access. + Access *v1.ProjectAccess `protobuf:"bytes,3,opt,name=access,proto3" json:"access,omitempty"` + // The version of the service account for which this update is intended for. + // The latest version can be found in the GetServiceAccount operation response. + ResourceVersion string `protobuf:"bytes,4,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` + // The id to use for this async operation - optional. + AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *GetTagKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetTagKeysRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil + +func (x *SetServiceAccountProjectAccessRequest) Reset() { + *x = SetServiceAccountProjectAccessRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[156] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetTagKeysRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTagKeysRequest.Merge(m, src) -} -func (m *GetTagKeysRequest) XXX_Size() int { - return m.Size() -} -func (m *GetTagKeysRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTagKeysRequest.DiscardUnknown(m) + +func (x *SetServiceAccountProjectAccessRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_GetTagKeysRequest proto.InternalMessageInfo +func (*SetServiceAccountProjectAccessRequest) ProtoMessage() {} -func (m *GetTagKeysRequest) GetPrefix() string { - if m != nil { - return m.Prefix +func (x *SetServiceAccountProjectAccessRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[156] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -// temporal:ui -// temporal:skip_validation_rule=MessageRuleListResponseAndRequest -type GetTagKeysResponse struct { - // The list of tag keys in ascending name order. Returns up to 1000 keys. - TagKeys []string `protobuf:"bytes,1,rep,name=tag_keys,json=tagKeys,proto3" json:"tag_keys,omitempty"` +// Deprecated: Use SetServiceAccountProjectAccessRequest.ProtoReflect.Descriptor instead. +func (*SetServiceAccountProjectAccessRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{156} } -func (m *GetTagKeysResponse) Reset() { *m = GetTagKeysResponse{} } -func (*GetTagKeysResponse) ProtoMessage() {} -func (*GetTagKeysResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{155} -} -func (m *GetTagKeysResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetTagKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetTagKeysResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SetServiceAccountProjectAccessRequest) GetProjectId() string { + if x != nil { + return x.ProjectId } -} -func (m *GetTagKeysResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTagKeysResponse.Merge(m, src) -} -func (m *GetTagKeysResponse) XXX_Size() int { - return m.Size() -} -func (m *GetTagKeysResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetTagKeysResponse.DiscardUnknown(m) + return "" } -var xxx_messageInfo_GetTagKeysResponse proto.InternalMessageInfo +func (x *SetServiceAccountProjectAccessRequest) GetServiceAccountId() string { + if x != nil { + return x.ServiceAccountId + } + return "" +} -func (m *GetTagKeysResponse) GetTagKeys() []string { - if m != nil { - return m.TagKeys +func (x *SetServiceAccountProjectAccessRequest) GetAccess() *v1.ProjectAccess { + if x != nil { + return x.Access } return nil } -func init() { - proto.RegisterType((*GetUsersRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetUsersRequest") - proto.RegisterType((*GetUsersResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetUsersResponse") - proto.RegisterType((*GetUserRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetUserRequest") - proto.RegisterType((*GetUserResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetUserResponse") - proto.RegisterType((*CreateUserRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateUserRequest") - proto.RegisterType((*CreateUserResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateUserResponse") - proto.RegisterType((*UpdateUserRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateUserRequest") - proto.RegisterType((*UpdateUserResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateUserResponse") - proto.RegisterType((*DeleteUserRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteUserRequest") - proto.RegisterType((*DeleteUserResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteUserResponse") - proto.RegisterType((*SetUserNamespaceAccessRequest)(nil), "temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessRequest") - proto.RegisterType((*SetUserNamespaceAccessResponse)(nil), "temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessResponse") - proto.RegisterType((*GetAsyncOperationRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetAsyncOperationRequest") - proto.RegisterType((*GetAsyncOperationResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetAsyncOperationResponse") - proto.RegisterType((*CreateNamespaceRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest") - proto.RegisterMapType((map[string]string)(nil), "temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest.TagsEntry") - proto.RegisterType((*CreateNamespaceResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateNamespaceResponse") - proto.RegisterType((*GetNamespacesRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespacesRequest") - proto.RegisterType((*GetNamespacesResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespacesResponse") - proto.RegisterType((*GetNamespaceIDsRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceIDsRequest") - proto.RegisterType((*GetNamespaceIDsResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceIDsResponse") - proto.RegisterType((*GetNamespaceRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceRequest") - proto.RegisterType((*GetNamespaceResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceResponse") - proto.RegisterType((*UpdateNamespaceRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNamespaceRequest") - proto.RegisterType((*UpdateNamespaceResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNamespaceResponse") - proto.RegisterType((*RenameCustomSearchAttributeRequest)(nil), "temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest") - proto.RegisterType((*RenameCustomSearchAttributeResponse)(nil), "temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeResponse") - proto.RegisterType((*DeleteNamespaceRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteNamespaceRequest") - proto.RegisterType((*DeleteNamespaceResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteNamespaceResponse") - proto.RegisterType((*FailoverNamespaceRegionRequest)(nil), "temporal.api.cloud.cloudservice.v1.FailoverNamespaceRegionRequest") - proto.RegisterType((*FailoverNamespaceRegionResponse)(nil), "temporal.api.cloud.cloudservice.v1.FailoverNamespaceRegionResponse") - proto.RegisterType((*AddNamespaceRegionRequest)(nil), "temporal.api.cloud.cloudservice.v1.AddNamespaceRegionRequest") - proto.RegisterType((*AddNamespaceRegionResponse)(nil), "temporal.api.cloud.cloudservice.v1.AddNamespaceRegionResponse") - proto.RegisterType((*DeleteNamespaceRegionRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionRequest") - proto.RegisterType((*DeleteNamespaceRegionResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionResponse") - proto.RegisterType((*GetRegionsRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetRegionsRequest") - proto.RegisterType((*GetRegionsResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetRegionsResponse") - proto.RegisterType((*GetRegionRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetRegionRequest") - proto.RegisterType((*GetRegionResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetRegionResponse") - proto.RegisterType((*GetNexusEndpointsRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetNexusEndpointsRequest") - proto.RegisterType((*GetNexusEndpointsResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetNexusEndpointsResponse") - proto.RegisterType((*GetNexusEndpointRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetNexusEndpointRequest") - proto.RegisterType((*GetNexusEndpointResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetNexusEndpointResponse") - proto.RegisterType((*CreateNexusEndpointRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateNexusEndpointRequest") - proto.RegisterType((*CreateNexusEndpointResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateNexusEndpointResponse") - proto.RegisterType((*UpdateNexusEndpointRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest") - proto.RegisterType((*UpdateNexusEndpointResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointResponse") - proto.RegisterType((*DeleteNexusEndpointRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointRequest") - proto.RegisterType((*DeleteNexusEndpointResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointResponse") - proto.RegisterType((*UpdateAccountRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateAccountRequest") - proto.RegisterType((*UpdateAccountResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateAccountResponse") - proto.RegisterType((*GetUserGroupsRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest") - proto.RegisterType((*GetUserGroupsRequest_GoogleGroupFilter)(nil), "temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.GoogleGroupFilter") - proto.RegisterType((*GetUserGroupsRequest_SCIMGroupFilter)(nil), "temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.SCIMGroupFilter") - proto.RegisterType((*GetUserGroupsResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetUserGroupsResponse") - proto.RegisterType((*GetUserGroupRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetUserGroupRequest") - proto.RegisterType((*GetUserGroupResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetUserGroupResponse") - proto.RegisterType((*CreateUserGroupRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateUserGroupRequest") - proto.RegisterType((*CreateUserGroupResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateUserGroupResponse") - proto.RegisterType((*UpdateUserGroupRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateUserGroupRequest") - proto.RegisterType((*UpdateUserGroupResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateUserGroupResponse") - proto.RegisterType((*DeleteUserGroupRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteUserGroupRequest") - proto.RegisterType((*DeleteUserGroupResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteUserGroupResponse") - proto.RegisterType((*SetUserGroupNamespaceAccessRequest)(nil), "temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessRequest") - proto.RegisterType((*SetUserGroupNamespaceAccessResponse)(nil), "temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessResponse") - proto.RegisterType((*AddUserGroupMemberRequest)(nil), "temporal.api.cloud.cloudservice.v1.AddUserGroupMemberRequest") - proto.RegisterType((*AddUserGroupMemberResponse)(nil), "temporal.api.cloud.cloudservice.v1.AddUserGroupMemberResponse") - proto.RegisterType((*RemoveUserGroupMemberRequest)(nil), "temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberRequest") - proto.RegisterType((*RemoveUserGroupMemberResponse)(nil), "temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberResponse") - proto.RegisterType((*GetUserGroupMembersRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetUserGroupMembersRequest") - proto.RegisterType((*GetUserGroupMembersResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetUserGroupMembersResponse") - proto.RegisterType((*CreateServiceAccountRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateServiceAccountRequest") - proto.RegisterType((*CreateServiceAccountResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateServiceAccountResponse") - proto.RegisterType((*GetServiceAccountRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetServiceAccountRequest") - proto.RegisterType((*GetServiceAccountResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetServiceAccountResponse") - proto.RegisterType((*GetServiceAccountsRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest") - proto.RegisterType((*GetServiceAccountsResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetServiceAccountsResponse") - proto.RegisterType((*UpdateServiceAccountRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest") - proto.RegisterType((*UpdateServiceAccountResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse") - proto.RegisterType((*SetServiceAccountNamespaceAccessRequest)(nil), "temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest") - proto.RegisterType((*SetServiceAccountNamespaceAccessResponse)(nil), "temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse") - proto.RegisterType((*DeleteServiceAccountRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest") - proto.RegisterType((*DeleteServiceAccountResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteServiceAccountResponse") - proto.RegisterType((*GetApiKeysRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetApiKeysRequest") - proto.RegisterType((*GetApiKeysResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetApiKeysResponse") - proto.RegisterType((*GetApiKeyRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetApiKeyRequest") - proto.RegisterType((*GetApiKeyResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetApiKeyResponse") - proto.RegisterType((*CreateApiKeyRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateApiKeyRequest") - proto.RegisterType((*CreateApiKeyResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateApiKeyResponse") - proto.RegisterType((*UpdateApiKeyRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateApiKeyRequest") - proto.RegisterType((*UpdateApiKeyResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateApiKeyResponse") - proto.RegisterType((*DeleteApiKeyRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteApiKeyRequest") - proto.RegisterType((*DeleteApiKeyResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteApiKeyResponse") - proto.RegisterType((*ValidateAccountAuditLogSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest") - proto.RegisterType((*ValidateAccountAuditLogSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse") - proto.RegisterType((*CreateAccountAuditLogSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkRequest") - proto.RegisterType((*CreateAccountAuditLogSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkResponse") - proto.RegisterType((*GetAccountAuditLogSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkRequest") - proto.RegisterType((*GetAccountAuditLogSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkResponse") - proto.RegisterType((*GetAccountAuditLogSinksRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinksRequest") - proto.RegisterType((*GetAccountAuditLogSinksResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinksResponse") - proto.RegisterType((*UpdateAccountAuditLogSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateAccountAuditLogSinkRequest") - proto.RegisterType((*UpdateAccountAuditLogSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateAccountAuditLogSinkResponse") - proto.RegisterType((*DeleteAccountAuditLogSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteAccountAuditLogSinkRequest") - proto.RegisterType((*DeleteAccountAuditLogSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteAccountAuditLogSinkResponse") - proto.RegisterType((*GetAuditLogsRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetAuditLogsRequest") - proto.RegisterType((*GetAuditLogsResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetAuditLogsResponse") - proto.RegisterType((*GetUsageRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetUsageRequest") - proto.RegisterType((*GetUsageResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetUsageResponse") - proto.RegisterType((*GetAccountRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetAccountRequest") - proto.RegisterType((*GetAccountResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetAccountResponse") - proto.RegisterType((*CreateNamespaceExportSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkRequest") - proto.RegisterType((*CreateNamespaceExportSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkResponse") - proto.RegisterType((*GetNamespaceExportSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkRequest") - proto.RegisterType((*GetNamespaceExportSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkResponse") - proto.RegisterType((*GetNamespaceExportSinksRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksRequest") - proto.RegisterType((*GetNamespaceExportSinksResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksResponse") - proto.RegisterType((*UpdateNamespaceExportSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkRequest") - proto.RegisterType((*UpdateNamespaceExportSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkResponse") - proto.RegisterType((*DeleteNamespaceExportSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkRequest") - proto.RegisterType((*DeleteNamespaceExportSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkResponse") - proto.RegisterType((*ValidateNamespaceExportSinkRequest)(nil), "temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkRequest") - proto.RegisterType((*ValidateNamespaceExportSinkResponse)(nil), "temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkResponse") - proto.RegisterType((*StartMigrationRequest)(nil), "temporal.api.cloud.cloudservice.v1.StartMigrationRequest") - proto.RegisterType((*StartMigrationResponse)(nil), "temporal.api.cloud.cloudservice.v1.StartMigrationResponse") - proto.RegisterType((*GetMigrationRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetMigrationRequest") - proto.RegisterType((*GetMigrationResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetMigrationResponse") - proto.RegisterType((*GetMigrationsRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetMigrationsRequest") - proto.RegisterType((*GetMigrationsResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetMigrationsResponse") - proto.RegisterType((*HandoverNamespaceRequest)(nil), "temporal.api.cloud.cloudservice.v1.HandoverNamespaceRequest") - proto.RegisterType((*HandoverNamespaceResponse)(nil), "temporal.api.cloud.cloudservice.v1.HandoverNamespaceResponse") - proto.RegisterType((*ConfirmMigrationRequest)(nil), "temporal.api.cloud.cloudservice.v1.ConfirmMigrationRequest") - proto.RegisterType((*ConfirmMigrationResponse)(nil), "temporal.api.cloud.cloudservice.v1.ConfirmMigrationResponse") - proto.RegisterType((*AbortMigrationRequest)(nil), "temporal.api.cloud.cloudservice.v1.AbortMigrationRequest") - proto.RegisterType((*AbortMigrationResponse)(nil), "temporal.api.cloud.cloudservice.v1.AbortMigrationResponse") - proto.RegisterType((*CreateConnectivityRuleRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleRequest") - proto.RegisterType((*CreateConnectivityRuleResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleResponse") - proto.RegisterType((*GetConnectivityRuleRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetConnectivityRuleRequest") - proto.RegisterType((*GetConnectivityRuleResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetConnectivityRuleResponse") - proto.RegisterType((*GetConnectivityRulesRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetConnectivityRulesRequest") - proto.RegisterType((*GetConnectivityRulesResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetConnectivityRulesResponse") - proto.RegisterType((*DeleteConnectivityRuleRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleRequest") - proto.RegisterType((*DeleteConnectivityRuleResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse") - proto.RegisterType((*GetProjectsRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetProjectsRequest") - proto.RegisterType((*GetProjectsResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetProjectsResponse") - proto.RegisterType((*GetProjectRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetProjectRequest") - proto.RegisterType((*GetProjectResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetProjectResponse") - proto.RegisterType((*CreateProjectRequest)(nil), "temporal.api.cloud.cloudservice.v1.CreateProjectRequest") - proto.RegisterType((*CreateProjectResponse)(nil), "temporal.api.cloud.cloudservice.v1.CreateProjectResponse") - proto.RegisterType((*UpdateProjectRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateProjectRequest") - proto.RegisterType((*UpdateProjectResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateProjectResponse") - proto.RegisterType((*DeleteProjectRequest)(nil), "temporal.api.cloud.cloudservice.v1.DeleteProjectRequest") - proto.RegisterType((*DeleteProjectResponse)(nil), "temporal.api.cloud.cloudservice.v1.DeleteProjectResponse") - proto.RegisterType((*UpdateNamespaceTagsRequest)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest") - proto.RegisterMapType((map[string]string)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest.TagsToUpsertEntry") - proto.RegisterType((*UpdateNamespaceTagsResponse)(nil), "temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsResponse") - proto.RegisterType((*ResendUserInviteRequest)(nil), "temporal.api.cloud.cloudservice.v1.ResendUserInviteRequest") - proto.RegisterType((*ResendUserInviteResponse)(nil), "temporal.api.cloud.cloudservice.v1.ResendUserInviteResponse") - proto.RegisterType((*GetTagKeysRequest)(nil), "temporal.api.cloud.cloudservice.v1.GetTagKeysRequest") - proto.RegisterType((*GetTagKeysResponse)(nil), "temporal.api.cloud.cloudservice.v1.GetTagKeysResponse") -} - -func init() { - proto.RegisterFile("temporal/api/cloud/cloudservice/v1/request_response.proto", fileDescriptor_d04330087ace166d) -} - -var fileDescriptor_d04330087ace166d = []byte{ - // 3457 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5c, 0x5b, 0x6c, 0x1c, 0xd5, - 0xf9, 0xcf, 0x59, 0xdf, 0xe2, 0xcf, 0x49, 0x6c, 0x8f, 0xaf, 0x71, 0x9c, 0x8d, 0x33, 0x21, 0xfc, - 0x9d, 0x00, 0x6b, 0x12, 0xfe, 0x97, 0xfc, 0x5d, 0x2e, 0x75, 0x9c, 0xc4, 0x5e, 0x2e, 0xc1, 0x8c, - 0x9d, 0x80, 0xaa, 0x56, 0xcb, 0x64, 0xe7, 0x64, 0x19, 0xbc, 0xbb, 0x33, 0xcc, 0xcc, 0x6e, 0xbc, - 0xa9, 0x68, 0x4a, 0x4b, 0x45, 0x51, 0x11, 0x50, 0x55, 0xb4, 0xbc, 0xa0, 0xbe, 0x54, 0x15, 0x42, - 0x45, 0x3c, 0xb4, 0x55, 0x5f, 0x2b, 0x55, 0x55, 0xfb, 0x54, 0x90, 0xaa, 0x4a, 0x3c, 0x55, 0xc5, - 0x08, 0xa9, 0xad, 0x78, 0xe0, 0xb1, 0x0f, 0x95, 0x5a, 0xcd, 0xb9, 0xcc, 0x6d, 0x67, 0xd6, 0x33, - 0xcb, 0x1e, 0xa0, 0x2f, 0x89, 0xe7, 0xcc, 0xf9, 0xbe, 0xef, 0xf7, 0xfd, 0xce, 0xed, 0x3b, 0xdf, - 0x99, 0xb3, 0xf0, 0xff, 0x0e, 0xae, 0x99, 0x86, 0xa5, 0x56, 0x97, 0x54, 0x53, 0x5f, 0x2a, 0x57, - 0x8d, 0x86, 0x46, 0xff, 0xb5, 0xb1, 0xd5, 0xd4, 0xcb, 0x78, 0xa9, 0x79, 0x66, 0xc9, 0xc2, 0xcf, - 0x34, 0xb0, 0xed, 0x94, 0x2c, 0x6c, 0x9b, 0x46, 0xdd, 0xc6, 0x05, 0xd3, 0x32, 0x1c, 0x43, 0x92, - 0xb9, 0x68, 0x41, 0x35, 0xf5, 0x02, 0x11, 0x2a, 0x04, 0x45, 0x0b, 0xcd, 0x33, 0x73, 0xc7, 0x2a, - 0x86, 0x51, 0xa9, 0xe2, 0x25, 0x22, 0x71, 0xad, 0x71, 0x7d, 0xc9, 0xd1, 0x6b, 0xd8, 0x76, 0xd4, - 0x9a, 0x49, 0x95, 0xcc, 0xdd, 0x15, 0x63, 0xdf, 0x30, 0xb1, 0xa5, 0x3a, 0xba, 0x51, 0x77, 0x8d, - 0xd7, 0xb0, 0x6d, 0xab, 0x15, 0x66, 0x73, 0xee, 0xce, 0x98, 0xea, 0xba, 0x86, 0xeb, 0x8e, 0xee, - 0xb4, 0xda, 0x6b, 0xc7, 0x29, 0xaf, 0xab, 0x35, 0x6c, 0x9b, 0x2a, 0xf5, 0x2c, 0x5c, 0xfd, 0x54, - 0x5c, 0x75, 0xbc, 0xd3, 0xb0, 0xdb, 0xab, 0x9e, 0x8e, 0xa9, 0x6a, 0xe1, 0x4a, 0x2c, 0xe6, 0x3b, - 0x62, 0xea, 0xaa, 0xe5, 0xb2, 0xd1, 0xa8, 0x3b, 0xe9, 0x1c, 0x54, 0x1b, 0x9a, 0xee, 0x54, 0x8d, - 0x4a, 0x3a, 0xc4, 0x0d, 0xf7, 0x7d, 0x7b, 0xd5, 0xff, 0x8e, 0x6b, 0x68, 0xa3, 0x5e, 0xc7, 0x65, - 0x47, 0x6f, 0xea, 0x4e, 0xcb, 0x6a, 0x54, 0x71, 0x3a, 0xec, 0xa6, 0x65, 0x3c, 0x8d, 0xcb, 0xed, - 0xd8, 0xe5, 0xe7, 0x10, 0x8c, 0xae, 0x61, 0xe7, 0x8a, 0x8d, 0x2d, 0x5b, 0xa1, 0x7d, 0x46, 0x3a, - 0x02, 0xc3, 0xa6, 0x5a, 0xc1, 0x25, 0x5b, 0xbf, 0x89, 0x67, 0xd1, 0x02, 0x5a, 0x1c, 0x50, 0xf6, - 0xbb, 0x05, 0x9b, 0xfa, 0x4d, 0x2c, 0x1d, 0x05, 0x20, 0x2f, 0x1d, 0x63, 0x1b, 0xd7, 0x67, 0x73, - 0x0b, 0x68, 0x71, 0x58, 0x21, 0xd5, 0xb7, 0xdc, 0x02, 0x69, 0x12, 0x06, 0x70, 0x4d, 0xd5, 0xab, - 0xb3, 0x7d, 0xe4, 0x0d, 0x7d, 0x90, 0xe6, 0x61, 0xd8, 0x6b, 0xc3, 0xd9, 0x7e, 0x2a, 0xe3, 0x15, - 0xc8, 0x4d, 0x18, 0xf3, 0x21, 0xd0, 0xee, 0x2a, 0x2d, 0xc3, 0x40, 0xc3, 0x2d, 0x98, 0x45, 0x0b, - 0x7d, 0x8b, 0x23, 0x67, 0x6f, 0x2b, 0xc4, 0x74, 0x5c, 0xde, 0x89, 0x0a, 0xcd, 0x33, 0x05, 0x57, - 0x5a, 0xa1, 0x22, 0xd2, 0xed, 0x30, 0x5a, 0xc7, 0x3b, 0x4e, 0xa9, 0x0d, 0xe7, 0x41, 0xb7, 0x78, - 0x83, 0x63, 0x95, 0x4f, 0xc1, 0x21, 0x66, 0x97, 0x7b, 0x3e, 0x03, 0x43, 0xae, 0x8a, 0x92, 0xae, - 0x11, 0xbf, 0x87, 0x95, 0x41, 0xf7, 0xb1, 0xa8, 0xc9, 0x0f, 0x79, 0x2c, 0x79, 0x08, 0xcf, 0x41, - 0xbf, 0xfb, 0x92, 0x54, 0x4c, 0x0b, 0x90, 0x48, 0xc8, 0xb7, 0x60, 0x7c, 0xd5, 0xc2, 0xaa, 0x83, - 0x83, 0xa6, 0xef, 0x85, 0x7e, 0xdb, 0xc4, 0x65, 0xa6, 0x6e, 0x31, 0x8d, 0xba, 0x4d, 0x13, 0x97, - 0x15, 0x22, 0x25, 0xdd, 0x09, 0x92, 0x6a, 0xb7, 0xea, 0xe5, 0x92, 0x37, 0x0e, 0x5d, 0x1f, 0xa8, - 0xd7, 0x63, 0xe4, 0xcd, 0xa3, 0xfc, 0x45, 0x51, 0x93, 0x5f, 0x40, 0x20, 0x05, 0x11, 0x30, 0x8f, - 0x92, 0xbc, 0x97, 0x9e, 0x80, 0xd1, 0x88, 0x76, 0xa2, 0x7a, 0xe4, 0xec, 0x52, 0x1c, 0x4c, 0xaf, - 0x92, 0x8b, 0x73, 0x25, 0x64, 0x5b, 0x39, 0x14, 0xc6, 0x22, 0xff, 0x06, 0xc1, 0xf8, 0x15, 0x53, - 0x8b, 0x70, 0x91, 0x08, 0x84, 0x93, 0x94, 0xeb, 0x8a, 0xa4, 0x53, 0x30, 0x66, 0x61, 0xdb, 0x68, - 0x58, 0x65, 0x5c, 0x6a, 0x62, 0xcb, 0x76, 0xfd, 0xa0, 0xdd, 0x74, 0x94, 0x97, 0x5f, 0xa5, 0xc5, - 0x09, 0x7c, 0xf6, 0x27, 0xf0, 0x59, 0x07, 0x29, 0xe8, 0x04, 0xa3, 0x33, 0x86, 0x35, 0xd4, 0x1b, - 0xd6, 0xbe, 0x83, 0x60, 0xfc, 0x02, 0xae, 0xe2, 0x94, 0xac, 0xc5, 0xf9, 0x9d, 0xcb, 0xe2, 0x77, - 0x5f, 0xb2, 0xdf, 0x41, 0x18, 0xc2, 0xfd, 0xfe, 0x07, 0x82, 0xa3, 0x9b, 0x74, 0x18, 0x5e, 0xe6, - 0xb3, 0xc7, 0x4a, 0xb9, 0x8c, 0x6d, 0x6f, 0xea, 0x0a, 0x4d, 0x34, 0x28, 0x32, 0xd1, 0x04, 0x19, - 0xca, 0x85, 0x18, 0x5a, 0x83, 0x41, 0x95, 0xe8, 0x21, 0xae, 0x26, 0x20, 0x0d, 0xf6, 0xac, 0xa8, - 0x79, 0x26, 0x1e, 0x4b, 0x75, 0x7f, 0x16, 0xaa, 0x07, 0x12, 0xa8, 0xbe, 0x09, 0xf9, 0x24, 0xcf, - 0x85, 0xd3, 0xbe, 0x0e, 0xb3, 0x6b, 0xd8, 0x89, 0x54, 0x62, 0x84, 0xc7, 0x7b, 0x81, 0x12, 0xbc, - 0x68, 0xc0, 0xe1, 0x18, 0x4d, 0xc2, 0x1d, 0x78, 0x23, 0x07, 0xd3, 0x74, 0xbe, 0xf3, 0xc8, 0xe3, - 0xf8, 0xcf, 0x87, 0x66, 0x94, 0x42, 0x9c, 0x25, 0xaf, 0xff, 0x84, 0x1a, 0x7e, 0xcf, 0xc9, 0x37, - 0x61, 0xd0, 0x48, 0x4f, 0x40, 0xbf, 0xa3, 0x56, 0xec, 0xd9, 0x7e, 0xb2, 0xb0, 0x5d, 0x28, 0xec, - 0x1d, 0x91, 0x15, 0xe2, 0xb1, 0x17, 0xb6, 0xd4, 0x8a, 0x7d, 0xb1, 0xee, 0x58, 0x2d, 0x85, 0x68, - 0x9c, 0xfb, 0x3f, 0x18, 0xf6, 0x8a, 0xa4, 0x31, 0xe8, 0xdb, 0xc6, 0x2d, 0xd6, 0x12, 0xee, 0x9f, - 0xee, 0xd2, 0xdc, 0x54, 0xab, 0x0d, 0xcc, 0xfa, 0x3e, 0x7d, 0x58, 0xce, 0x9d, 0x43, 0xf2, 0xf7, - 0x11, 0xcc, 0xb4, 0xd9, 0x60, 0xad, 0xd2, 0x79, 0x44, 0x89, 0x5b, 0x19, 0x5e, 0x47, 0x30, 0xb9, - 0x86, 0x1d, 0x0f, 0x50, 0x4f, 0xa2, 0x13, 0x09, 0xfa, 0x5d, 0xec, 0xac, 0x6d, 0xc8, 0xdf, 0xd2, - 0xdd, 0x30, 0x19, 0x8c, 0xa9, 0x4a, 0x6e, 0x50, 0xe5, 0x4f, 0xf6, 0x52, 0xf0, 0x9d, 0xd2, 0xa8, - 0xe2, 0xa2, 0x26, 0x7f, 0x0f, 0xc1, 0x54, 0x04, 0x1a, 0x23, 0xeb, 0x41, 0x00, 0x8f, 0x1b, 0x1e, - 0xba, 0x9c, 0x4e, 0xdf, 0xa7, 0x94, 0x80, 0x74, 0xea, 0x28, 0x66, 0x0b, 0xa6, 0x83, 0x60, 0x8a, - 0x17, 0x7a, 0xc1, 0x94, 0x7c, 0x1d, 0x66, 0xda, 0xb4, 0x32, 0x27, 0x4f, 0xc0, 0x41, 0x0f, 0x66, - 0x49, 0xd7, 0xa8, 0x9f, 0xc3, 0xca, 0x01, 0xaf, 0xb0, 0xa8, 0xa5, 0x47, 0x7f, 0x0f, 0x4c, 0x04, - 0xed, 0xa4, 0x9a, 0xc7, 0xe5, 0x27, 0xc3, 0x5d, 0xc3, 0x43, 0xb6, 0x1e, 0x95, 0xca, 0xc6, 0x7e, - 0xc0, 0xc2, 0x1f, 0x11, 0x4c, 0xd3, 0x25, 0x3d, 0x1b, 0xb4, 0x9e, 0xcc, 0x27, 0xc2, 0xe2, 0x14, - 0x1b, 0x66, 0xda, 0x9c, 0x12, 0x3e, 0xf9, 0xfe, 0x32, 0x07, 0xb2, 0x82, 0x5d, 0xa7, 0x57, 0x1b, - 0xb6, 0x63, 0xd4, 0x36, 0xb1, 0x6a, 0x95, 0x9f, 0x5a, 0x71, 0x1c, 0x4b, 0xbf, 0xd6, 0x70, 0x52, - 0xd2, 0xba, 0x01, 0x27, 0xf1, 0x8e, 0x6e, 0x3b, 0x7a, 0xbd, 0x52, 0x2a, 0x13, 0x35, 0x25, 0x9b, - 0xe8, 0x29, 0xa9, 0x5c, 0x51, 0x89, 0x8c, 0x6c, 0xda, 0xc9, 0x8e, 0xf3, 0xca, 0xb1, 0x26, 0x5d, - 0xef, 0xa5, 0x4b, 0xb0, 0x50, 0xc7, 0x37, 0x3a, 0x2b, 0xa3, 0xa4, 0xcf, 0xd7, 0xf1, 0x8d, 0x64, - 0x3d, 0xc2, 0x56, 0xfc, 0x5b, 0x70, 0xa2, 0x23, 0x6d, 0xc2, 0x1b, 0xee, 0x15, 0x04, 0xd3, 0x34, - 0xbc, 0xcb, 0x38, 0x06, 0x84, 0xc5, 0x9b, 0x36, 0xcc, 0xb4, 0x01, 0x12, 0x4e, 0xc3, 0xf3, 0x08, - 0xf2, 0x97, 0x54, 0xbd, 0x6a, 0x34, 0x03, 0xb1, 0x97, 0x42, 0xf2, 0x06, 0xe9, 0xe8, 0x98, 0x86, - 0x41, 0x9a, 0x66, 0xe0, 0x41, 0x27, 0x7d, 0xca, 0xe8, 0xfb, 0xd7, 0xe1, 0x58, 0x22, 0x0a, 0xe1, - 0x1c, 0xbc, 0x85, 0xe0, 0xf0, 0x8a, 0xa6, 0xf5, 0xd4, 0x7d, 0x61, 0xb3, 0x5c, 0x13, 0xe6, 0xe2, - 0xb0, 0x0a, 0x27, 0xe9, 0x6d, 0x04, 0xf3, 0x6d, 0xdd, 0xf3, 0x0b, 0xcc, 0x53, 0x0b, 0x8e, 0x26, - 0xc0, 0x15, 0x4e, 0xd5, 0x04, 0x8c, 0xaf, 0x61, 0x87, 0x9a, 0xe3, 0xe1, 0x8a, 0xbc, 0x05, 0x52, - 0xb0, 0x90, 0x81, 0xb8, 0x1f, 0x86, 0x28, 0x11, 0x1d, 0x53, 0x41, 0xb4, 0x8a, 0x6b, 0x99, 0xf9, - 0xc0, 0x85, 0xe4, 0xd3, 0x24, 0xb9, 0x14, 0x6e, 0x08, 0x9f, 0x6a, 0x14, 0xa4, 0x5a, 0x7e, 0x2c, - 0x00, 0xcb, 0x03, 0x70, 0x6f, 0xa8, 0x72, 0x5a, 0xfb, 0x5c, 0xe5, 0x47, 0x88, 0x6c, 0x9e, 0x2e, - 0xe3, 0x9d, 0x86, 0x7d, 0xb1, 0xae, 0x99, 0x86, 0x5e, 0x77, 0x7a, 0x12, 0xca, 0x16, 0x60, 0xc2, - 0x51, 0xad, 0x0a, 0x76, 0x4a, 0xc1, 0x60, 0x8c, 0xf5, 0x8c, 0x71, 0xfa, 0xca, 0x0f, 0xdf, 0x34, - 0xe9, 0x34, 0xb0, 0xc2, 0x92, 0xa3, 0xda, 0xdb, 0xa5, 0x67, 0x1a, 0xb8, 0xc1, 0x53, 0x71, 0xa3, - 0xf4, 0xc5, 0x96, 0x6a, 0x6f, 0x3f, 0xe6, 0x16, 0x7b, 0x61, 0xf2, 0x40, 0x20, 0x4c, 0x76, 0xe1, - 0xd0, 0x24, 0xa2, 0x6b, 0x66, 0x90, 0xc1, 0xa1, 0x25, 0x45, 0x4d, 0xfe, 0x2e, 0x22, 0x5b, 0xbb, - 0xa8, 0x9f, 0x8c, 0xc3, 0x55, 0x18, 0xc6, 0xbc, 0x90, 0x35, 0xe3, 0xc9, 0xd8, 0xd0, 0xc8, 0x15, - 0x77, 0x59, 0xe4, 0x2a, 0x14, 0x5f, 0x2e, 0x75, 0x48, 0xb9, 0x4c, 0x43, 0xd7, 0x20, 0x12, 0x4e, - 0xf8, 0x31, 0x18, 0xe1, 0xfa, 0xfc, 0x6d, 0x2a, 0xf0, 0xa2, 0xa2, 0x26, 0x7f, 0xad, 0xbd, 0xb5, - 0x3c, 0x27, 0x56, 0x60, 0x3f, 0xaf, 0xc9, 0xba, 0x42, 0x4a, 0x1f, 0x3c, 0x31, 0xf9, 0x4d, 0x04, - 0x73, 0x6c, 0xa3, 0x15, 0x07, 0xef, 0xbe, 0x50, 0x0e, 0xf0, 0x54, 0x2a, 0xed, 0xdd, 0x26, 0x01, - 0x23, 0x0d, 0xda, 0x17, 0x6d, 0xd0, 0xd7, 0x11, 0x1c, 0x89, 0x85, 0xca, 0xd8, 0xd8, 0x8b, 0x4a, - 0x81, 0x5b, 0xc3, 0x3f, 0x21, 0x98, 0x63, 0x71, 0x6c, 0x37, 0x8d, 0xec, 0xd1, 0x9c, 0xeb, 0x8e, - 0x66, 0x61, 0x13, 0xf2, 0x0d, 0x38, 0x12, 0xeb, 0x96, 0xf0, 0xe9, 0xf8, 0x87, 0x08, 0xe6, 0xd8, - 0x52, 0xd0, 0x15, 0xa1, 0xc2, 0x02, 0xbe, 0x1b, 0x70, 0x24, 0x16, 0x97, 0x70, 0x46, 0xde, 0x41, - 0x30, 0x49, 0xdb, 0x62, 0x85, 0x9e, 0xfa, 0x70, 0x2e, 0xee, 0x0f, 0x0d, 0xd1, 0xd8, 0xdd, 0x25, - 0x3b, 0x27, 0x22, 0x56, 0xe8, 0x9f, 0x7b, 0x74, 0x9e, 0x9e, 0x50, 0xf5, 0x0c, 0x4c, 0x45, 0x00, - 0x0b, 0x27, 0xe9, 0xdd, 0x3e, 0xb2, 0x0f, 0xbf, 0x62, 0x63, 0x6b, 0xcd, 0x32, 0x1a, 0x66, 0x4f, - 0xd6, 0xb5, 0x50, 0x90, 0xd4, 0x17, 0x0d, 0x92, 0x8e, 0xc3, 0x01, 0x4d, 0xb7, 0xcd, 0xaa, 0xda, - 0xa2, 0x3b, 0x34, 0x3a, 0x94, 0x46, 0x58, 0x19, 0xd9, 0x90, 0xd5, 0xe0, 0x00, 0x3d, 0xc0, 0x2c, - 0x55, 0x5c, 0x50, 0x64, 0x11, 0x1b, 0x39, 0xfb, 0x60, 0x9a, 0x3c, 0x5b, 0x9c, 0x33, 0x85, 0x35, - 0xa2, 0x8c, 0x94, 0x5d, 0xd2, 0xab, 0x0e, 0xb6, 0x94, 0x91, 0x8a, 0x5f, 0x24, 0x55, 0x00, 0xec, - 0xb2, 0x5e, 0x63, 0xc6, 0x06, 0x89, 0xb1, 0xf5, 0xae, 0x8d, 0x6d, 0xae, 0x16, 0x1f, 0x09, 0x9a, - 0x1a, 0x76, 0x75, 0x93, 0x82, 0xb9, 0x73, 0x30, 0xde, 0x06, 0x45, 0x3a, 0x01, 0x07, 0xc9, 0x09, - 0x5b, 0x49, 0xd5, 0x34, 0x0b, 0xdb, 0x36, 0x1b, 0x9c, 0x07, 0x48, 0xe1, 0x0a, 0x2d, 0x9b, 0x5b, - 0x84, 0xd1, 0x88, 0x5e, 0x69, 0x0a, 0x06, 0x75, 0xcd, 0xf4, 0x47, 0xf3, 0x80, 0xae, 0x99, 0x45, - 0x4d, 0xfe, 0x16, 0xcd, 0x6c, 0x05, 0x71, 0x79, 0x8b, 0xdf, 0x20, 0xf1, 0x90, 0x2f, 0xdf, 0xa7, - 0xd2, 0x9c, 0xbd, 0x10, 0x1d, 0x0a, 0x13, 0x4c, 0xbd, 0x7e, 0xdf, 0x4d, 0x52, 0x42, 0xbe, 0x3c, - 0xeb, 0x54, 0x87, 0x61, 0x3f, 0x51, 0xe4, 0x83, 0x1e, 0x22, 0xcf, 0x45, 0x4d, 0x7e, 0x3c, 0xdc, - 0x0f, 0x3d, 0xd0, 0x0f, 0xc0, 0x00, 0x6d, 0x96, 0x0e, 0x0b, 0x6a, 0x3c, 0x66, 0x2a, 0x27, 0xbf, - 0x88, 0x78, 0xe2, 0xb8, 0x0d, 0xce, 0x4a, 0x68, 0x22, 0xb8, 0x2b, 0xb5, 0xea, 0xae, 0x0f, 0xed, - 0x5e, 0xf6, 0x92, 0xb4, 0xed, 0x8e, 0x26, 0x73, 0x23, 0x70, 0x19, 0x7e, 0xd7, 0xcb, 0x91, 0x65, - 0x68, 0x2b, 0x8f, 0xb7, 0x5c, 0xf7, 0xbc, 0x89, 0xcf, 0x8f, 0xb5, 0x33, 0x2c, 0x6e, 0x16, 0x7d, - 0xc9, 0x4b, 0xb3, 0x64, 0xa1, 0x51, 0x7c, 0x8e, 0xe5, 0xb3, 0xe4, 0xe0, 0x5f, 0x08, 0xe4, 0xcd, - 0xc0, 0x08, 0xee, 0xea, 0x74, 0x2f, 0xc8, 0x56, 0x2e, 0xcc, 0xd6, 0x17, 0xff, 0x7c, 0xef, 0x16, - 0x9c, 0xe8, 0x48, 0x80, 0xf0, 0x26, 0xf8, 0x05, 0x4d, 0xf1, 0x78, 0x08, 0x1e, 0xc1, 0xb5, 0x6b, - 0xfe, 0xd9, 0x72, 0x87, 0x9e, 0x78, 0x19, 0x86, 0x6b, 0xa4, 0x2e, 0xe7, 0x7d, 0xe4, 0xec, 0x99, - 0xd4, 0xa3, 0x9a, 0x5a, 0x29, 0x6a, 0xca, 0xfe, 0x1a, 0xfb, 0x2b, 0x63, 0x77, 0xa5, 0xc9, 0x9e, - 0x36, 0xd4, 0xc2, 0xe9, 0xfa, 0x15, 0x82, 0x79, 0x05, 0xd7, 0x8c, 0x26, 0xfe, 0x4f, 0x63, 0xac, - 0x05, 0x47, 0x13, 0x80, 0x0b, 0x27, 0xcd, 0x86, 0xb9, 0xe0, 0x3a, 0x4d, 0xed, 0xf6, 0x24, 0x6a, - 0x0c, 0xb2, 0xdd, 0x17, 0x0e, 0x0e, 0x5e, 0x45, 0x70, 0x24, 0xd6, 0x2a, 0x73, 0xb7, 0x08, 0x43, - 0x94, 0x49, 0x1e, 0xda, 0x2c, 0x65, 0x6c, 0x0b, 0x85, 0xcb, 0xa7, 0x8e, 0x70, 0x7e, 0xe0, 0xed, - 0xad, 0x37, 0x69, 0x3c, 0x18, 0xd9, 0x64, 0x5c, 0x0a, 0xc5, 0x16, 0x67, 0xf7, 0xc2, 0x13, 0x56, - 0xd2, 0x75, 0x80, 0xf1, 0x53, 0x04, 0xf3, 0xf1, 0xa8, 0x18, 0x53, 0x77, 0x82, 0xc4, 0xe2, 0xd7, - 0x12, 0xdb, 0xe3, 0x04, 0xce, 0xfa, 0xed, 0x90, 0x8c, 0xd0, 0xc0, 0x83, 0x7e, 0x8f, 0x10, 0x4f, - 0x5d, 0x26, 0x8c, 0xb2, 0x43, 0x92, 0x56, 0x09, 0xee, 0x3e, 0x0e, 0xa3, 0x11, 0x55, 0xac, 0x41, - 0x0a, 0xd9, 0x1a, 0x44, 0x39, 0x14, 0xb6, 0x2b, 0x3f, 0x1e, 0x63, 0xb5, 0x27, 0x87, 0xb6, 0x6f, - 0x20, 0x32, 0xc0, 0xda, 0x34, 0x77, 0x72, 0xa8, 0xef, 0xd3, 0x3b, 0x94, 0xba, 0xdf, 0x7f, 0x8c, - 0x78, 0x86, 0xa3, 0x07, 0x8d, 0xe7, 0x8d, 0x92, 0xdc, 0xa7, 0x1c, 0x25, 0xc2, 0xc2, 0xc9, 0x1d, - 0x98, 0x8f, 0xf7, 0x56, 0xf8, 0x44, 0xfb, 0xa3, 0x1c, 0xfc, 0xd7, 0x66, 0xb4, 0x23, 0x24, 0x04, - 0x55, 0xd9, 0x48, 0x0f, 0x85, 0x60, 0xb9, 0x68, 0x08, 0xf6, 0xc5, 0x8f, 0xb3, 0x9e, 0x47, 0xb0, - 0xb8, 0x37, 0x33, 0xc2, 0x1b, 0xe8, 0x27, 0x88, 0x67, 0xb6, 0x7a, 0x31, 0x12, 0x84, 0x6d, 0x06, - 0x76, 0xf8, 0x89, 0xd6, 0x67, 0xde, 0x83, 0x3f, 0x46, 0xe4, 0x2c, 0x66, 0xc5, 0xd4, 0x1f, 0xc2, - 0xad, 0x5e, 0x85, 0x08, 0xc6, 0x8d, 0x3a, 0x0d, 0xba, 0x58, 0x88, 0x40, 0x9e, 0x8b, 0x9a, 0xf4, - 0xbf, 0x30, 0x45, 0x5f, 0x39, 0x2d, 0x13, 0x97, 0x34, 0x6c, 0x5a, 0xb8, 0xac, 0x3a, 0x98, 0x8d, - 0xec, 0xf3, 0xb9, 0x59, 0xa4, 0x4c, 0x90, 0x0a, 0x5b, 0x2d, 0x13, 0x5f, 0xf0, 0x5e, 0x4b, 0xeb, - 0x00, 0xbe, 0x1c, 0xe9, 0x72, 0x87, 0xf6, 0x4e, 0x32, 0x3c, 0xca, 0x15, 0x29, 0xc3, 0x9e, 0x4e, - 0xf9, 0x16, 0x39, 0xfb, 0xf2, 0xbc, 0xf5, 0x4f, 0x1c, 0x54, 0x53, 0x2f, 0x6d, 0xe3, 0x16, 0x8f, - 0x4d, 0x6e, 0xdf, 0x4b, 0x3b, 0x55, 0xa1, 0x0c, 0xa9, 0x54, 0x55, 0x86, 0x6f, 0xa1, 0xc7, 0x3c, - 0x00, 0x9c, 0xed, 0x29, 0x18, 0xdc, 0xc6, 0xad, 0x40, 0x92, 0x68, 0x1b, 0xb7, 0x8a, 0x9a, 0xbc, - 0x15, 0x68, 0x99, 0x40, 0xaa, 0x65, 0x88, 0x41, 0x65, 0x3d, 0x20, 0x2d, 0xd2, 0x41, 0x8a, 0x54, - 0xfe, 0x36, 0x82, 0x09, 0x1a, 0x7d, 0x84, 0x41, 0xa4, 0x48, 0xb8, 0xb6, 0x6b, 0xed, 0x3a, 0x06, - 0x7a, 0x03, 0xc1, 0x64, 0x18, 0x05, 0xf3, 0x2f, 0x9e, 0x0b, 0x69, 0x12, 0x06, 0x82, 0xa4, 0xd2, - 0x87, 0xb8, 0x61, 0xd1, 0xd7, 0x9b, 0x61, 0xf1, 0x5b, 0x04, 0x13, 0x2c, 0xcd, 0x9b, 0xa2, 0xa9, - 0x3c, 0xf2, 0x72, 0x5d, 0x92, 0x27, 0x6c, 0x69, 0x34, 0xbd, 0xf4, 0x7a, 0x98, 0x66, 0xa1, 0xdf, - 0x4c, 0x4f, 0xd0, 0xb9, 0x2c, 0x15, 0x73, 0xc2, 0xa6, 0x54, 0x13, 0x26, 0xc3, 0x30, 0x84, 0x7b, - 0xae, 0x83, 0x7c, 0x55, 0xad, 0xea, 0x81, 0xb3, 0x81, 0x95, 0x86, 0xa6, 0x3b, 0x0f, 0x1b, 0x95, - 0x4d, 0xbd, 0xbe, 0xcd, 0x79, 0x58, 0x0d, 0x8d, 0xb3, 0xa5, 0xbd, 0x0e, 0x36, 0x02, 0x1a, 0xfc, - 0xfe, 0x22, 0x9f, 0x84, 0x13, 0x1d, 0x4d, 0x51, 0x5f, 0xe5, 0xd7, 0x10, 0x2c, 0xb0, 0x51, 0x26, - 0x16, 0x50, 0xc6, 0xd1, 0xff, 0x2c, 0x1c, 0xef, 0x00, 0x4b, 0x78, 0x43, 0xdd, 0x03, 0x47, 0xdd, - 0x89, 0x35, 0x99, 0x12, 0x7e, 0x2e, 0x8f, 0xfc, 0x73, 0x79, 0x59, 0x85, 0x7c, 0x92, 0x90, 0x37, - 0x35, 0xf7, 0xdb, 0x7a, 0x7d, 0x9b, 0xa1, 0xbc, 0x23, 0x03, 0x91, 0x0a, 0x11, 0x94, 0xbf, 0x9a, - 0x64, 0xa2, 0x27, 0x9b, 0x96, 0x97, 0x10, 0x1c, 0x4b, 0x54, 0xef, 0x2d, 0x84, 0x03, 0x2e, 0x12, - 0xbe, 0x0a, 0x66, 0xf2, 0x81, 0x4a, 0xa6, 0x5e, 0x08, 0x7f, 0x8d, 0x60, 0x21, 0x74, 0x90, 0x26, - 0xac, 0x6f, 0x0a, 0x9b, 0x62, 0x9e, 0x85, 0xe3, 0x1d, 0x3c, 0xf8, 0x2c, 0xbe, 0x1b, 0x5c, 0x60, - 0x53, 0x5c, 0xa6, 0xae, 0x2c, 0x94, 0x90, 0x0e, 0x80, 0x84, 0x13, 0xf2, 0x37, 0x44, 0x4e, 0xb4, - 0xb8, 0xd5, 0x9e, 0x44, 0xb3, 0x0f, 0xc3, 0xa4, 0xed, 0xa8, 0x96, 0x53, 0x72, 0xf4, 0x1a, 0x2e, - 0xe9, 0xf5, 0x72, 0xb5, 0x61, 0xeb, 0x4d, 0xcc, 0xe2, 0x8c, 0xb9, 0x02, 0x3d, 0xa2, 0x2c, 0xf0, - 0x3b, 0x9c, 0x85, 0x2d, 0x7e, 0x87, 0x53, 0x91, 0x88, 0x9c, 0xfb, 0x5c, 0xe4, 0x52, 0xd2, 0x3a, - 0x48, 0xb8, 0xae, 0x51, 0x5d, 0x78, 0x87, 0xeb, 0xea, 0xdf, 0x53, 0xd7, 0x18, 0xae, 0x6b, 0xee, - 0xd3, 0x45, 0x2e, 0x23, 0x3f, 0x4b, 0x8e, 0xe2, 0x02, 0xae, 0x32, 0x76, 0xef, 0x83, 0xfe, 0xaa, - 0x51, 0xe9, 0x78, 0x7a, 0xc8, 0xaf, 0x4c, 0xba, 0x8c, 0x3e, 0x6c, 0x54, 0x14, 0x5c, 0x36, 0x2c, - 0x4d, 0x21, 0x62, 0xa9, 0x47, 0xef, 0x47, 0xfc, 0x3a, 0xa3, 0x5a, 0xf1, 0x3e, 0x56, 0x4d, 0xa2, - 0x0a, 0xf5, 0x90, 0xaa, 0x5c, 0x76, 0xaa, 0xc2, 0xcd, 0xdf, 0xd7, 0xb1, 0xf9, 0xfb, 0xa3, 0x93, - 0xe6, 0x37, 0xd8, 0x95, 0x49, 0xe2, 0x26, 0xa3, 0xf8, 0x3c, 0x0c, 0xdb, 0x8d, 0x5a, 0x4d, 0xb5, - 0x74, 0xdc, 0xf1, 0x5b, 0x39, 0x72, 0xd9, 0x94, 0x64, 0x44, 0x48, 0xed, 0x96, 0xe2, 0x8b, 0xa5, - 0xe6, 0x99, 0x7e, 0xc0, 0x17, 0xde, 0xb4, 0xca, 0x57, 0xe9, 0x26, 0x26, 0xb2, 0x47, 0xfc, 0x32, - 0x0c, 0x85, 0xd3, 0x67, 0xb7, 0xa7, 0xfb, 0x68, 0x42, 0xe1, 0x62, 0xf2, 0xcf, 0xbd, 0x70, 0xc1, - 0xdb, 0xa8, 0x5f, 0xdc, 0x31, 0x0d, 0xcb, 0x09, 0x4e, 0x28, 0x9d, 0xcf, 0x86, 0x56, 0x43, 0x81, - 0xf0, 0xd2, 0x9e, 0x9f, 0xe5, 0xfb, 0xfa, 0xbb, 0xbd, 0xe7, 0xe3, 0x07, 0x13, 0xb1, 0xa0, 0x85, - 0x4f, 0x3a, 0x8f, 0x91, 0x60, 0xa2, 0x6b, 0xc2, 0xf8, 0xfc, 0x9c, 0x6b, 0x0b, 0x35, 0x3a, 0xb9, - 0x93, 0x22, 0xd4, 0x48, 0xa0, 0x99, 0x85, 0x1a, 0x37, 0x93, 0x4c, 0xa4, 0x3c, 0x03, 0x0c, 0x8d, - 0xa9, 0x5c, 0xc7, 0x31, 0xd5, 0x97, 0x10, 0x88, 0xc4, 0x1b, 0xcf, 0x10, 0x88, 0x24, 0x79, 0x98, - 0x31, 0x10, 0xf9, 0xb3, 0x17, 0x88, 0x7c, 0xbe, 0xbd, 0x5e, 0xd8, 0x1e, 0xd0, 0x0b, 0x53, 0x3e, - 0x9f, 0x01, 0xf2, 0xb6, 0x17, 0xa6, 0xf4, 0x72, 0x90, 0x08, 0xa5, 0xab, 0x03, 0x5c, 0xe1, 0x74, - 0xbd, 0x80, 0xfc, 0x6d, 0xe4, 0xe7, 0xda, 0x21, 0x83, 0x9b, 0xcc, 0x0e, 0x54, 0xc8, 0x2f, 0x22, - 0x98, 0xda, 0x74, 0xd7, 0xef, 0x47, 0xf4, 0x4a, 0xf8, 0xce, 0xea, 0xf9, 0x50, 0xf4, 0xbe, 0xf7, - 0x1d, 0x2d, 0x4f, 0x41, 0xd7, 0x1b, 0xcb, 0xd7, 0x10, 0x4c, 0x47, 0xb1, 0xb0, 0x16, 0x3b, 0x0e, - 0x07, 0x6a, 0xbc, 0xd0, 0xcf, 0x42, 0x8c, 0x78, 0x65, 0x42, 0x4f, 0xd2, 0xce, 0x91, 0xc0, 0xb4, - 0x8d, 0xa0, 0xbd, 0x31, 0xb1, 0x2b, 0x78, 0xed, 0xee, 0xac, 0xc3, 0xb0, 0x57, 0x2d, 0xf5, 0x15, - 0x3c, 0x5f, 0x8d, 0x2f, 0x2c, 0x2b, 0x61, 0x0b, 0x3d, 0xd9, 0x6b, 0xb2, 0x9b, 0x9b, 0x41, 0xa5, - 0xfe, 0xcd, 0x4d, 0xcf, 0x74, 0xfa, 0x9b, 0x9b, 0x3e, 0xf0, 0x80, 0x74, 0xea, 0x19, 0xfe, 0x15, - 0x04, 0xb3, 0xeb, 0x6a, 0x5d, 0x8b, 0xdc, 0xe9, 0x49, 0xdb, 0x06, 0x92, 0x0c, 0x07, 0x1d, 0xa3, - 0x64, 0x61, 0xb3, 0xaa, 0x97, 0x55, 0xbf, 0xfb, 0x8d, 0x38, 0x86, 0x42, 0xcb, 0x32, 0x7f, 0x1b, - 0xd0, 0x80, 0xc3, 0x31, 0x80, 0x84, 0xcf, 0x2d, 0x4f, 0xc3, 0xcc, 0xaa, 0x51, 0xbf, 0xae, 0x5b, - 0xb5, 0x2e, 0xba, 0x62, 0xc6, 0xa1, 0xe8, 0xc0, 0x6c, 0xbb, 0x2d, 0xe1, 0x1e, 0x3e, 0x05, 0x53, - 0x2b, 0xd7, 0x0c, 0xcb, 0x11, 0xef, 0x9f, 0x05, 0xd3, 0x51, 0x4b, 0xc2, 0xbd, 0xfb, 0x31, 0x82, - 0xa3, 0x34, 0xd6, 0x5d, 0x8d, 0xdc, 0x96, 0xe6, 0x6e, 0x6e, 0x84, 0xa6, 0xdc, 0x7b, 0x63, 0xbf, - 0x8f, 0x8d, 0xfc, 0xb0, 0x0d, 0xb9, 0xf8, 0x1e, 0x51, 0xd7, 0xf5, 0x04, 0xfc, 0x33, 0x04, 0xf9, - 0x24, 0x84, 0x8c, 0x9e, 0xa4, 0x7b, 0xe0, 0x28, 0xe9, 0x1e, 0xb8, 0xc0, 0x79, 0xf9, 0x32, 0x39, - 0xc7, 0x4f, 0x22, 0x33, 0x33, 0x52, 0xf9, 0x79, 0xfa, 0x0d, 0x4c, 0xa2, 0xef, 0x18, 0xc6, 0xdb, - 0x34, 0xb2, 0xb6, 0x3a, 0xd7, 0x6d, 0x5b, 0x29, 0x63, 0x51, 0x20, 0xf2, 0x8d, 0x58, 0x14, 0xe2, - 0x3f, 0x1b, 0x97, 0xdf, 0x41, 0x30, 0x1f, 0x6f, 0x99, 0x11, 0x50, 0x01, 0xa9, 0x8d, 0x00, 0xbe, - 0x0c, 0x74, 0xcf, 0xc0, 0x78, 0x94, 0x81, 0xf4, 0x6b, 0xc3, 0x5b, 0x88, 0xdf, 0xce, 0xeb, 0x59, - 0x2f, 0x10, 0x97, 0x5f, 0xbb, 0x09, 0xf9, 0x24, 0xac, 0xc2, 0xe7, 0x9e, 0x0d, 0x92, 0x74, 0xd8, - 0xa0, 0xf7, 0x96, 0x7a, 0x12, 0x24, 0x3c, 0x47, 0xd3, 0x75, 0xbe, 0x4a, 0x2f, 0xbf, 0xb2, 0x9f, - 0x5d, 0x8f, 0xea, 0x78, 0x1a, 0xcb, 0xea, 0xb8, 0xd0, 0x99, 0x0a, 0xc5, 0x93, 0x4b, 0xdd, 0xfc, - 0x67, 0x49, 0x7e, 0x85, 0xcb, 0x33, 0xa7, 0xc2, 0x37, 0xb6, 0x50, 0xf4, 0xc6, 0xd6, 0xd5, 0x20, - 0x13, 0xc1, 0xf4, 0x0b, 0xab, 0xd2, 0x29, 0xfd, 0x12, 0x03, 0x9a, 0x8b, 0xb9, 0x93, 0x07, 0x3b, - 0x13, 0x8d, 0xe0, 0x49, 0x71, 0x34, 0xdb, 0xae, 0xb7, 0xeb, 0x29, 0xfc, 0x55, 0x04, 0x53, 0x11, - 0x18, 0xcc, 0xc5, 0xce, 0xbc, 0x08, 0x9c, 0xa6, 0xff, 0xe0, 0xdd, 0x12, 0xca, 0xd4, 0x52, 0x69, - 0x8e, 0x65, 0x3b, 0x12, 0x27, 0x6c, 0x8f, 0xe9, 0x5d, 0x22, 0x8a, 0x52, 0x2c, 0x6e, 0xfc, 0xbe, - 0x8c, 0xf8, 0x81, 0x68, 0x36, 0x0e, 0x45, 0x5e, 0xa4, 0x8a, 0xe0, 0x11, 0xce, 0xc1, 0xef, 0x72, - 0xde, 0x85, 0x46, 0xbe, 0x64, 0x6d, 0xa9, 0x95, 0x94, 0x29, 0xaf, 0x26, 0x1c, 0x72, 0xd4, 0x8a, - 0x5d, 0x72, 0x8c, 0x52, 0xc3, 0xb4, 0xb1, 0xe5, 0xcc, 0xe6, 0xc8, 0xe4, 0xb4, 0x91, 0xe6, 0x12, - 0x52, 0xb2, 0x55, 0xf2, 0xeb, 0x42, 0x5b, 0xc6, 0x15, 0xa2, 0x92, 0xfe, 0xca, 0xd0, 0x01, 0x27, - 0x50, 0x24, 0xdd, 0xe6, 0xdb, 0xb5, 0xc8, 0xf7, 0xc4, 0xb3, 0x7d, 0xf4, 0x77, 0x60, 0x68, 0x2d, - 0xfa, 0x8d, 0x71, 0xb6, 0xfe, 0x37, 0xf7, 0x00, 0x8c, 0xb7, 0x99, 0xcd, 0xf4, 0x4b, 0x46, 0xfe, - 0x15, 0xca, 0xb0, 0x4b, 0xc2, 0x9b, 0xf0, 0x49, 0x98, 0x51, 0xb0, 0x8d, 0xeb, 0xe4, 0x53, 0xf4, - 0x62, 0xbd, 0xa9, 0xfb, 0xbf, 0x6c, 0x92, 0xf8, 0xbb, 0x6c, 0x99, 0x37, 0x2e, 0xed, 0x16, 0x84, - 0xfb, 0x75, 0x07, 0x59, 0x88, 0xb6, 0xd4, 0x4a, 0xf0, 0x33, 0xac, 0x69, 0x18, 0x34, 0x2d, 0x7c, - 0x5d, 0xdf, 0xe1, 0x0e, 0xd1, 0x27, 0x79, 0x89, 0xac, 0x40, 0x5e, 0x65, 0xff, 0x72, 0x92, 0xa3, - 0x56, 0xfc, 0xaf, 0x98, 0x86, 0x95, 0x21, 0x87, 0x56, 0x39, 0xff, 0x4f, 0xf4, 0xde, 0x07, 0xf9, - 0x7d, 0xef, 0x7f, 0x90, 0xdf, 0xf7, 0xc9, 0x07, 0x79, 0xf4, 0xcd, 0xdd, 0x3c, 0x7a, 0x73, 0x37, - 0x8f, 0x7e, 0xbf, 0x9b, 0x47, 0xef, 0xed, 0xe6, 0xd1, 0x5f, 0x76, 0xf3, 0xe8, 0xaf, 0xbb, 0xf9, - 0x7d, 0x9f, 0xec, 0xe6, 0xd1, 0xab, 0x1f, 0xe6, 0xf7, 0xbd, 0xf7, 0x61, 0x7e, 0xdf, 0xfb, 0x1f, - 0xe6, 0xf7, 0xc1, 0x49, 0xdd, 0x48, 0xd1, 0xb9, 0xcf, 0x4f, 0x32, 0xbc, 0x1c, 0xc9, 0x86, 0x65, - 0x38, 0xc6, 0x06, 0xfa, 0xca, 0xff, 0x54, 0x02, 0xe2, 0xba, 0x91, 0xfc, 0x2b, 0xaa, 0x5f, 0x0a, - 0x3e, 0xbf, 0x95, 0xbb, 0x6d, 0x8b, 0x09, 0xe9, 0x46, 0x61, 0xc5, 0xd4, 0x0b, 0xab, 0xc4, 0x2a, - 0xf9, 0x97, 0x7d, 0x1f, 0x57, 0xb8, 0x7a, 0xe6, 0xef, 0xb9, 0x45, 0xbf, 0xda, 0xf2, 0xf2, 0x8a, - 0xa9, 0x2f, 0x2f, 0x93, 0x2a, 0xec, 0x3f, 0x56, 0x73, 0x79, 0xf9, 0xea, 0x99, 0x6b, 0x83, 0xe4, - 0x9c, 0xe8, 0x9e, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xed, 0x6a, 0xae, 0x26, 0xd1, 0x55, 0x00, - 0x00, -} - -func (this *GetUsersRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*GetUsersRequest) - if !ok { - that2, ok := that.(GetUsersRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.PageSize != that1.PageSize { - return false - } - if this.PageToken != that1.PageToken { - return false - } - if this.Email != that1.Email { - return false - } - if this.Namespace != that1.Namespace { - return false - } - return true -} -func (this *GetUsersResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*GetUsersResponse) - if !ok { - that2, ok := that.(GetUsersResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.Users) != len(that1.Users) { - return false - } - for i := range this.Users { - if !this.Users[i].Equal(that1.Users[i]) { - return false - } - } - if this.NextPageToken != that1.NextPageToken { - return false +func (x *SetServiceAccountProjectAccessRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } - return true + return "" } -func (this *GetUserRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetUserRequest) - if !ok { - that2, ok := that.(GetUserRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false +func (x *SetServiceAccountProjectAccessRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } - if this.UserId != that1.UserId { - return false - } - return true + return "" } -func (this *GetUserResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetUserResponse) - if !ok { - that2, ok := that.(GetUserResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.User.Equal(that1.User) { - return false - } - return true +// temporal:dev +type SetServiceAccountProjectAccessResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The async operation. + AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (this *CreateUserRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CreateUserRequest) - if !ok { - that2, ok := that.(CreateUserRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false +func (x *SetServiceAccountProjectAccessResponse) Reset() { + *x = SetServiceAccountProjectAccessResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[157] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return true } -func (this *CreateUserResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CreateUserResponse) - if !ok { - that2, ok := that.(CreateUserResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.UserId != that1.UserId { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +func (x *SetServiceAccountProjectAccessResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *UpdateUserRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateUserRequest) - if !ok { - that2, ok := that.(UpdateUserRequest) - if ok { - that1 = &that2 - } else { - return false +func (*SetServiceAccountProjectAccessResponse) ProtoMessage() {} + +func (x *SetServiceAccountProjectAccessResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[157] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.UserId != that1.UserId { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true + return mi.MessageOf(x) } -func (this *UpdateUserResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateUserResponse) - if !ok { - that2, ok := that.(UpdateUserResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +// Deprecated: Use SetServiceAccountProjectAccessResponse.ProtoReflect.Descriptor instead. +func (*SetServiceAccountProjectAccessResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{157} } -func (this *DeleteUserRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*DeleteUserRequest) - if !ok { - that2, ok := that.(DeleteUserRequest) - if ok { - that1 = &that2 - } else { - return false - } +func (x *SetServiceAccountProjectAccessResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.UserId != that1.UserId { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true + return nil } -func (this *DeleteUserResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*DeleteUserResponse) - if !ok { - that2, ok := that.(DeleteUserResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +// temporal:skip_validation_rule=MessageRuleUpdateRequest +type UpdateNamespaceTagsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The namespace to set tags for. + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + // A map of tags to add or update. + // If a key of an existing tag is added, the tag's value is updated. + // At least one of tags_to_upsert or tags_to_remove must be specified. + TagsToUpsert map[string]string `protobuf:"bytes,2,rep,name=tags_to_upsert,json=tagsToUpsert,proto3" json:"tags_to_upsert,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // A list of tag keys to remove. + // If a tag key doesn't exist, it is silently ignored. + // At least one of tags_to_upsert or tags_to_remove must be specified. + TagsToRemove []string `protobuf:"bytes,3,rep,name=tags_to_remove,json=tagsToRemove,proto3" json:"tags_to_remove,omitempty"` + // The id to use for this async operation - optional. + AsyncOperationId string `protobuf:"bytes,4,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (this *SetUserNamespaceAccessRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*SetUserNamespaceAccessRequest) - if !ok { - that2, ok := that.(SetUserNamespaceAccessRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if this.UserId != that1.UserId { - return false - } - if !this.Access.Equal(that1.Access) { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false +func (x *UpdateNamespaceTagsRequest) Reset() { + *x = UpdateNamespaceTagsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[158] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true } -func (this *SetUserNamespaceAccessResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*SetUserNamespaceAccessResponse) - if !ok { - that2, ok := that.(SetUserNamespaceAccessResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +func (x *UpdateNamespaceTagsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *GetAsyncOperationRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetAsyncOperationRequest) - if !ok { - that2, ok := that.(GetAsyncOperationRequest) - if ok { - that1 = &that2 - } else { - return false +func (*UpdateNamespaceTagsRequest) ProtoMessage() {} + +func (x *UpdateNamespaceTagsRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[158] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true + return mi.MessageOf(x) } -func (this *GetAsyncOperationResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetAsyncOperationResponse) - if !ok { - that2, ok := that.(GetAsyncOperationResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +// Deprecated: Use UpdateNamespaceTagsRequest.ProtoReflect.Descriptor instead. +func (*UpdateNamespaceTagsRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{158} } -func (this *CreateNamespaceRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CreateNamespaceRequest) - if !ok { - that2, ok := that.(CreateNamespaceRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - if len(this.Tags) != len(that1.Tags) { - return false - } - for i := range this.Tags { - if this.Tags[i] != that1.Tags[i] { - return false - } +func (x *UpdateNamespaceTagsRequest) GetNamespace() string { + if x != nil { + return x.Namespace } - return true + return "" } -func (this *CreateNamespaceResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CreateNamespaceResponse) - if !ok { - that2, ok := that.(CreateNamespaceResponse) - if ok { - that1 = &that2 - } else { - return false - } +func (x *UpdateNamespaceTagsRequest) GetTagsToUpsert() map[string]string { + if x != nil { + return x.TagsToUpsert } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true + return nil } -func (this *GetNamespacesRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetNamespacesRequest) - if !ok { - that2, ok := that.(GetNamespacesRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.PageSize != that1.PageSize { - return false +func (x *UpdateNamespaceTagsRequest) GetTagsToRemove() []string { + if x != nil { + return x.TagsToRemove } - if this.PageToken != that1.PageToken { - return false - } - if this.Name != that1.Name { - return false - } - if this.ConnectivityRuleId != that1.ConnectivityRuleId { - return false - } - return true + return nil } -func (this *GetNamespacesResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetNamespacesResponse) - if !ok { - that2, ok := that.(GetNamespacesResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.Namespaces) != len(that1.Namespaces) { - return false +func (x *UpdateNamespaceTagsRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } - for i := range this.Namespaces { - if !this.Namespaces[i].Equal(that1.Namespaces[i]) { - return false - } - } - if this.NextPageToken != that1.NextPageToken { - return false - } - return true + return "" } -func (this *GetNamespaceIDsRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetNamespaceIDsRequest) - if !ok { - that2, ok := that.(GetNamespaceIDsRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.PageSize != that1.PageSize { - return false - } - if this.PageToken != that1.PageToken { - return false - } - return true +type UpdateNamespaceTagsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The async operation. + AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (this *GetNamespaceIDsResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetNamespaceIDsResponse) - if !ok { - that2, ok := that.(GetNamespaceIDsResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.NamespaceIds) != len(that1.NamespaceIds) { - return false - } - for i := range this.NamespaceIds { - if this.NamespaceIds[i] != that1.NamespaceIds[i] { - return false - } +func (x *UpdateNamespaceTagsResponse) Reset() { + *x = UpdateNamespaceTagsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[159] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if this.NextPageToken != that1.NextPageToken { - return false - } - return true } -func (this *GetNamespaceRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetNamespaceRequest) - if !ok { - that2, ok := that.(GetNamespaceRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - return true +func (x *UpdateNamespaceTagsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *GetNamespaceResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetNamespaceResponse) - if !ok { - that2, ok := that.(GetNamespaceResponse) - if ok { - that1 = &that2 - } else { - return false +func (*UpdateNamespaceTagsResponse) ProtoMessage() {} + +func (x *UpdateNamespaceTagsResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[159] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Namespace.Equal(that1.Namespace) { - return false - } - return true + return mi.MessageOf(x) } -func (this *UpdateNamespaceRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateNamespaceRequest) - if !ok { - that2, ok := that.(UpdateNamespaceRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true +// Deprecated: Use UpdateNamespaceTagsResponse.ProtoReflect.Descriptor instead. +func (*UpdateNamespaceTagsResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{159} } -func (this *UpdateNamespaceResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateNamespaceResponse) - if !ok { - that2, ok := that.(UpdateNamespaceResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false +func (x *UpdateNamespaceTagsResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } - return true + return nil } -func (this *RenameCustomSearchAttributeRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*RenameCustomSearchAttributeRequest) - if !ok { - that2, ok := that.(RenameCustomSearchAttributeRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if this.ExistingCustomSearchAttributeName != that1.ExistingCustomSearchAttributeName { - return false - } - if this.NewCustomSearchAttributeName != that1.NewCustomSearchAttributeName { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true +// temporal:ui +type ResendUserInviteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // the id of user. + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + // Optional, if not provided a random id will be generated. + AsyncOperationId string `protobuf:"bytes,2,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (this *RenameCustomSearchAttributeResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*RenameCustomSearchAttributeResponse) - if !ok { - that2, ok := that.(RenameCustomSearchAttributeResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false +func (x *ResendUserInviteRequest) Reset() { + *x = ResendUserInviteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[160] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true } -func (this *DeleteNamespaceRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*DeleteNamespaceRequest) - if !ok { - that2, ok := that.(DeleteNamespaceRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true +func (x *ResendUserInviteRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *DeleteNamespaceResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*DeleteNamespaceResponse) - if !ok { - that2, ok := that.(DeleteNamespaceResponse) - if ok { - that1 = &that2 - } else { - return false +func (*ResendUserInviteRequest) ProtoMessage() {} + +func (x *ResendUserInviteRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[160] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true + return mi.MessageOf(x) } -func (this *FailoverNamespaceRegionRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*FailoverNamespaceRegionRequest) - if !ok { - that2, ok := that.(FailoverNamespaceRegionRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if this.Region != that1.Region { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true +// Deprecated: Use ResendUserInviteRequest.ProtoReflect.Descriptor instead. +func (*ResendUserInviteRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{160} } -func (this *FailoverNamespaceRegionResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*FailoverNamespaceRegionResponse) - if !ok { - that2, ok := that.(FailoverNamespaceRegionResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false +func (x *ResendUserInviteRequest) GetUserId() string { + if x != nil { + return x.UserId } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true + return "" } -func (this *AddNamespaceRegionRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*AddNamespaceRegionRequest) - if !ok { - that2, ok := that.(AddNamespaceRegionRequest) - if ok { - that1 = &that2 - } else { - return false - } +func (x *ResendUserInviteRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if this.Region != that1.Region { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true + return "" } -func (this *AddNamespaceRegionResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*AddNamespaceRegionResponse) - if !ok { - that2, ok := that.(AddNamespaceRegionResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +// temporal:ui +type ResendUserInviteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The async operation. + AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (this *DeleteNamespaceRegionRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*DeleteNamespaceRegionRequest) - if !ok { - that2, ok := that.(DeleteNamespaceRegionRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false +func (x *ResendUserInviteResponse) Reset() { + *x = ResendUserInviteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[161] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if this.Region != that1.Region { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true } -func (this *DeleteNamespaceRegionResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*DeleteNamespaceRegionResponse) - if !ok { - that2, ok := that.(DeleteNamespaceRegionResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +func (x *ResendUserInviteResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *GetRegionsRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetRegionsRequest) - if !ok { - that2, ok := that.(GetRegionsRequest) - if ok { - that1 = &that2 - } else { - return false +func (*ResendUserInviteResponse) ProtoMessage() {} + +func (x *ResendUserInviteResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[161] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - return true + return mi.MessageOf(x) } -func (this *GetRegionsResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetRegionsResponse) - if !ok { - that2, ok := that.(GetRegionsResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.Regions) != len(that1.Regions) { - return false - } - for i := range this.Regions { - if !this.Regions[i].Equal(that1.Regions[i]) { - return false - } - } - return true +// Deprecated: Use ResendUserInviteResponse.ProtoReflect.Descriptor instead. +func (*ResendUserInviteResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{161} } -func (this *GetRegionRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetRegionRequest) - if !ok { - that2, ok := that.(GetRegionRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Region != that1.Region { - return false +func (x *ResendUserInviteResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } - return true + return nil } -func (this *GetRegionResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetRegionResponse) - if !ok { - that2, ok := that.(GetRegionResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Region.Equal(that1.Region) { - return false - } - return true +// temporal:ui +type GetTagKeysRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Filter for tag keys that start with this prefix - optional. + Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` } -func (this *GetNexusEndpointsRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetNexusEndpointsRequest) - if !ok { - that2, ok := that.(GetNexusEndpointsRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.PageSize != that1.PageSize { - return false - } - if this.PageToken != that1.PageToken { - return false - } - if this.TargetNamespaceId != that1.TargetNamespaceId { - return false - } - if this.TargetTaskQueue != that1.TargetTaskQueue { - return false - } - if this.Name != that1.Name { - return false - } - if this.ProjectId != that1.ProjectId { - return false +func (x *GetTagKeysRequest) Reset() { + *x = GetTagKeysRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[162] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return true } -func (this *GetNexusEndpointsResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetNexusEndpointsResponse) - if !ok { - that2, ok := that.(GetNexusEndpointsResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.Endpoints) != len(that1.Endpoints) { - return false - } - for i := range this.Endpoints { - if !this.Endpoints[i].Equal(that1.Endpoints[i]) { - return false - } - } - if this.NextPageToken != that1.NextPageToken { - return false - } - return true +func (x *GetTagKeysRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *GetNexusEndpointRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetNexusEndpointRequest) - if !ok { - that2, ok := that.(GetNexusEndpointRequest) - if ok { - that1 = &that2 - } else { - return false +func (*GetTagKeysRequest) ProtoMessage() {} + +func (x *GetTagKeysRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[162] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.EndpointId != that1.EndpointId { - return false - } - return true + return mi.MessageOf(x) } -func (this *GetNexusEndpointResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetNexusEndpointResponse) - if !ok { - that2, ok := that.(GetNexusEndpointResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Endpoint.Equal(that1.Endpoint) { - return false - } - return true +// Deprecated: Use GetTagKeysRequest.ProtoReflect.Descriptor instead. +func (*GetTagKeysRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{162} } -func (this *CreateNexusEndpointRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CreateNexusEndpointRequest) - if !ok { - that2, ok := that.(CreateNexusEndpointRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false +func (x *GetTagKeysRequest) GetPrefix() string { + if x != nil { + return x.Prefix } - if this.ProjectId != that1.ProjectId { - return false - } - return true + return "" } -func (this *CreateNexusEndpointResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CreateNexusEndpointResponse) - if !ok { - that2, ok := that.(CreateNexusEndpointResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.EndpointId != that1.EndpointId { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +// temporal:ui +// temporal:skip_validation_rule=MessageRuleListResponseAndRequest +type GetTagKeysResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The list of tag keys in ascending name order. Returns up to 1000 keys. + TagKeys []string `protobuf:"bytes,1,rep,name=tag_keys,json=tagKeys,proto3" json:"tag_keys,omitempty"` } -func (this *UpdateNexusEndpointRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateNexusEndpointRequest) - if !ok { - that2, ok := that.(UpdateNexusEndpointRequest) - if ok { - that1 = &that2 - } else { - return false - } +func (x *GetTagKeysResponse) Reset() { + *x = GetTagKeysResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[163] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.EndpointId != that1.EndpointId { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true } -func (this *UpdateNexusEndpointResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateNexusEndpointResponse) - if !ok { - that2, ok := that.(UpdateNexusEndpointResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +func (x *GetTagKeysResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *DeleteNexusEndpointRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*DeleteNexusEndpointRequest) - if !ok { - that2, ok := that.(DeleteNexusEndpointRequest) - if ok { - that1 = &that2 - } else { - return false +func (*GetTagKeysResponse) ProtoMessage() {} + +func (x *GetTagKeysResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[163] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.EndpointId != that1.EndpointId { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true + return mi.MessageOf(x) } -func (this *DeleteNexusEndpointResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*DeleteNexusEndpointResponse) - if !ok { - that2, ok := that.(DeleteNexusEndpointResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +// Deprecated: Use GetTagKeysResponse.ProtoReflect.Descriptor instead. +func (*GetTagKeysResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{163} } -func (this *UpdateAccountRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateAccountRequest) - if !ok { - that2, ok := that.(UpdateAccountRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false +func (x *GetTagKeysResponse) GetTagKeys() []string { + if x != nil { + return x.TagKeys } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true + return nil } -func (this *UpdateAccountResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateAccountResponse) - if !ok { - that2, ok := that.(UpdateAccountResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +// Custom Role messages +// temporal:dev +type GetCustomRolesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The requested size of the page to retrieve - optional. + // Cannot exceed 1000. Defaults to 100. + PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // The page token if this is continuing from another response - optional. + PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (this *GetUserGroupsRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetUserGroupsRequest) - if !ok { - that2, ok := that.(GetUserGroupsRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.PageSize != that1.PageSize { - return false - } - if this.PageToken != that1.PageToken { - return false - } - if this.Namespace != that1.Namespace { - return false +func (x *GetCustomRolesRequest) Reset() { + *x = GetCustomRolesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[164] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if this.DisplayName != that1.DisplayName { - return false - } - if !this.GoogleGroup.Equal(that1.GoogleGroup) { - return false - } - if !this.ScimGroup.Equal(that1.ScimGroup) { - return false - } - return true } -func (this *GetUserGroupsRequest_GoogleGroupFilter) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetUserGroupsRequest_GoogleGroupFilter) - if !ok { - that2, ok := that.(GetUserGroupsRequest_GoogleGroupFilter) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.EmailAddress != that1.EmailAddress { - return false - } - return true +func (x *GetCustomRolesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *GetUserGroupsRequest_SCIMGroupFilter) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetUserGroupsRequest_SCIMGroupFilter) - if !ok { - that2, ok := that.(GetUserGroupsRequest_SCIMGroupFilter) - if ok { - that1 = &that2 - } else { - return false +func (*GetCustomRolesRequest) ProtoMessage() {} + +func (x *GetCustomRolesRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[164] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.IdpId != that1.IdpId { - return false - } - return true + return mi.MessageOf(x) } -func (this *GetUserGroupsResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetUserGroupsResponse) - if !ok { - that2, ok := that.(GetUserGroupsResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.Groups) != len(that1.Groups) { - return false - } - for i := range this.Groups { - if !this.Groups[i].Equal(that1.Groups[i]) { - return false - } - } - if this.NextPageToken != that1.NextPageToken { - return false - } - return true +// Deprecated: Use GetCustomRolesRequest.ProtoReflect.Descriptor instead. +func (*GetCustomRolesRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{164} } -func (this *GetUserGroupRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetUserGroupRequest) - if !ok { - that2, ok := that.(GetUserGroupRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.GroupId != that1.GroupId { - return false +func (x *GetCustomRolesRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } - return true + return 0 } -func (this *GetUserGroupResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetUserGroupResponse) - if !ok { - that2, ok := that.(GetUserGroupResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false +func (x *GetCustomRolesRequest) GetPageToken() string { + if x != nil { + return x.PageToken } - if !this.Group.Equal(that1.Group) { - return false - } - return true + return "" } -func (this *CreateUserGroupRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CreateUserGroupRequest) - if !ok { - that2, ok := that.(CreateUserGroupRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true +// temporal:dev +type GetCustomRolesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The list of custom roles in ascending id order. + CustomRoles []*v1.CustomRole `protobuf:"bytes,1,rep,name=custom_roles,json=customRoles,proto3" json:"custom_roles,omitempty"` + // The next page's token. + NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (this *CreateUserGroupResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CreateUserGroupResponse) - if !ok { - that2, ok := that.(CreateUserGroupResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.GroupId != that1.GroupId { - return false +func (x *GetCustomRolesResponse) Reset() { + *x = GetCustomRolesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[165] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true } -func (this *UpdateUserGroupRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateUserGroupRequest) - if !ok { - that2, ok := that.(UpdateUserGroupRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.GroupId != that1.GroupId { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true +func (x *GetCustomRolesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *UpdateUserGroupResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateUserGroupResponse) - if !ok { - that2, ok := that.(UpdateUserGroupResponse) - if ok { - that1 = &that2 - } else { - return false +func (*GetCustomRolesResponse) ProtoMessage() {} + +func (x *GetCustomRolesResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[165] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true + return mi.MessageOf(x) } -func (this *DeleteUserGroupRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*DeleteUserGroupRequest) - if !ok { - that2, ok := that.(DeleteUserGroupRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.GroupId != that1.GroupId { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true +// Deprecated: Use GetCustomRolesResponse.ProtoReflect.Descriptor instead. +func (*GetCustomRolesResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{165} } -func (this *DeleteUserGroupResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*DeleteUserGroupResponse) - if !ok { - that2, ok := that.(DeleteUserGroupResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false +func (x *GetCustomRolesResponse) GetCustomRoles() []*v1.CustomRole { + if x != nil { + return x.CustomRoles } - return true + return nil } -func (this *SetUserGroupNamespaceAccessRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*SetUserGroupNamespaceAccessRequest) - if !ok { - that2, ok := that.(SetUserGroupNamespaceAccessRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false +func (x *GetCustomRolesResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } - if this.Namespace != that1.Namespace { - return false - } - if this.GroupId != that1.GroupId { - return false - } - if !this.Access.Equal(that1.Access) { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true + return "" } -func (this *SetUserGroupNamespaceAccessResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*SetUserGroupNamespaceAccessResponse) - if !ok { - that2, ok := that.(SetUserGroupNamespaceAccessResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +// temporal:dev +type GetCustomRoleRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The id of the custom role to get. + RoleId string `protobuf:"bytes,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` } -func (this *AddUserGroupMemberRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*AddUserGroupMemberRequest) - if !ok { - that2, ok := that.(AddUserGroupMemberRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false +func (x *GetCustomRoleRequest) Reset() { + *x = GetCustomRoleRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[166] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if this.GroupId != that1.GroupId { - return false - } - if !this.MemberId.Equal(that1.MemberId) { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true } -func (this *AddUserGroupMemberResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*AddUserGroupMemberResponse) - if !ok { - that2, ok := that.(AddUserGroupMemberResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +func (x *GetCustomRoleRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *RemoveUserGroupMemberRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*RemoveUserGroupMemberRequest) - if !ok { - that2, ok := that.(RemoveUserGroupMemberRequest) - if ok { - that1 = &that2 - } else { - return false +func (*GetCustomRoleRequest) ProtoMessage() {} + +func (x *GetCustomRoleRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[166] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.GroupId != that1.GroupId { - return false - } - if !this.MemberId.Equal(that1.MemberId) { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true + return mi.MessageOf(x) } -func (this *RemoveUserGroupMemberResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*RemoveUserGroupMemberResponse) - if !ok { - that2, ok := that.(RemoveUserGroupMemberResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +// Deprecated: Use GetCustomRoleRequest.ProtoReflect.Descriptor instead. +func (*GetCustomRoleRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{166} } -func (this *GetUserGroupMembersRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetUserGroupMembersRequest) - if !ok { - that2, ok := that.(GetUserGroupMembersRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.PageSize != that1.PageSize { - return false - } - if this.PageToken != that1.PageToken { - return false +func (x *GetCustomRoleRequest) GetRoleId() string { + if x != nil { + return x.RoleId } - if this.GroupId != that1.GroupId { - return false - } - return true + return "" } -func (this *GetUserGroupMembersResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetUserGroupMembersResponse) - if !ok { - that2, ok := that.(GetUserGroupMembersResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.Members) != len(that1.Members) { - return false +// temporal:dev +type GetCustomRoleResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The custom role. + CustomRole *v1.CustomRole `protobuf:"bytes,1,opt,name=custom_role,json=customRole,proto3" json:"custom_role,omitempty"` +} + +func (x *GetCustomRoleResponse) Reset() { + *x = GetCustomRoleResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[167] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - for i := range this.Members { - if !this.Members[i].Equal(that1.Members[i]) { - return false +} + +func (x *GetCustomRoleResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCustomRoleResponse) ProtoMessage() {} + +func (x *GetCustomRoleResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[167] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if this.NextPageToken != that1.NextPageToken { - return false - } - return true + return mi.MessageOf(x) } -func (this *CreateServiceAccountRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CreateServiceAccountRequest) - if !ok { - that2, ok := that.(CreateServiceAccountRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true +// Deprecated: Use GetCustomRoleResponse.ProtoReflect.Descriptor instead. +func (*GetCustomRoleResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{167} } -func (this *CreateServiceAccountResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CreateServiceAccountResponse) - if !ok { - that2, ok := that.(CreateServiceAccountResponse) - if ok { - that1 = &that2 - } else { - return false - } +func (x *GetCustomRoleResponse) GetCustomRole() *v1.CustomRole { + if x != nil { + return x.CustomRole } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.ServiceAccountId != that1.ServiceAccountId { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true + return nil } -func (this *GetServiceAccountRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetServiceAccountRequest) - if !ok { - that2, ok := that.(GetServiceAccountRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.ServiceAccountId != that1.ServiceAccountId { - return false - } - return true +// temporal:dev +type CreateCustomRoleRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The spec for the custom role to create. + Spec *v1.CustomRoleSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` + // The id to use for this async operation. + // Optional, if not provided a random id will be generated. + AsyncOperationId string `protobuf:"bytes,2,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (this *GetServiceAccountResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetServiceAccountResponse) - if !ok { - that2, ok := that.(GetServiceAccountResponse) - if ok { - that1 = &that2 - } else { - return false - } +func (x *CreateCustomRoleRequest) Reset() { + *x = CreateCustomRoleRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[168] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.ServiceAccount.Equal(that1.ServiceAccount) { - return false - } - return true } -func (this *GetServiceAccountsRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetServiceAccountsRequest) - if !ok { - that2, ok := that.(GetServiceAccountsRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.PageSize != that1.PageSize { - return false - } - if this.PageToken != that1.PageToken { - return false - } - return true +func (x *CreateCustomRoleRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *GetServiceAccountsResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetServiceAccountsResponse) - if !ok { - that2, ok := that.(GetServiceAccountsResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.ServiceAccount) != len(that1.ServiceAccount) { - return false - } - for i := range this.ServiceAccount { - if !this.ServiceAccount[i].Equal(that1.ServiceAccount[i]) { - return false +func (*CreateCustomRoleRequest) ProtoMessage() {} + +func (x *CreateCustomRoleRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[168] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if this.NextPageToken != that1.NextPageToken { - return false - } - return true + return mi.MessageOf(x) } -func (this *UpdateServiceAccountRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateServiceAccountRequest) - if !ok { - that2, ok := that.(UpdateServiceAccountRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.ServiceAccountId != that1.ServiceAccountId { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true +// Deprecated: Use CreateCustomRoleRequest.ProtoReflect.Descriptor instead. +func (*CreateCustomRoleRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{168} } -func (this *UpdateServiceAccountResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateServiceAccountResponse) - if !ok { - that2, ok := that.(UpdateServiceAccountResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false +func (x *CreateCustomRoleRequest) GetSpec() *v1.CustomRoleSpec { + if x != nil { + return x.Spec } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true + return nil } -func (this *SetServiceAccountNamespaceAccessRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*SetServiceAccountNamespaceAccessRequest) - if !ok { - that2, ok := that.(SetServiceAccountNamespaceAccessRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.ServiceAccountId != that1.ServiceAccountId { - return false +func (x *CreateCustomRoleRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } - if this.Namespace != that1.Namespace { - return false - } - if !this.Access.Equal(that1.Access) { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true + return "" } -func (this *SetServiceAccountNamespaceAccessResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*SetServiceAccountNamespaceAccessResponse) - if !ok { - that2, ok := that.(SetServiceAccountNamespaceAccessResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +// temporal:dev +type CreateCustomRoleResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The id of the custom role created. + RoleId string `protobuf:"bytes,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` + // The async operation. + AsyncOperation *v11.AsyncOperation `protobuf:"bytes,2,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (this *DeleteServiceAccountRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*DeleteServiceAccountRequest) - if !ok { - that2, ok := that.(DeleteServiceAccountRequest) - if ok { - that1 = &that2 - } else { - return false - } +func (x *CreateCustomRoleResponse) Reset() { + *x = CreateCustomRoleResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[169] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.ServiceAccountId != that1.ServiceAccountId { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true } -func (this *DeleteServiceAccountResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*DeleteServiceAccountResponse) - if !ok { - that2, ok := that.(DeleteServiceAccountResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +func (x *CreateCustomRoleResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *GetApiKeysRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetApiKeysRequest) - if !ok { - that2, ok := that.(GetApiKeysRequest) - if ok { - that1 = &that2 - } else { - return false +func (*CreateCustomRoleResponse) ProtoMessage() {} + +func (x *CreateCustomRoleResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[169] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.PageSize != that1.PageSize { - return false - } - if this.PageToken != that1.PageToken { - return false - } - if this.OwnerId != that1.OwnerId { - return false - } - if this.OwnerTypeDeprecated != that1.OwnerTypeDeprecated { - return false - } - if this.OwnerType != that1.OwnerType { - return false - } - return true + return mi.MessageOf(x) } -func (this *GetApiKeysResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetApiKeysResponse) - if !ok { - that2, ok := that.(GetApiKeysResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.ApiKeys) != len(that1.ApiKeys) { - return false - } - for i := range this.ApiKeys { - if !this.ApiKeys[i].Equal(that1.ApiKeys[i]) { - return false - } - } - if this.NextPageToken != that1.NextPageToken { - return false - } - return true +// Deprecated: Use CreateCustomRoleResponse.ProtoReflect.Descriptor instead. +func (*CreateCustomRoleResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{169} } -func (this *GetApiKeyRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetApiKeyRequest) - if !ok { - that2, ok := that.(GetApiKeyRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false +func (x *CreateCustomRoleResponse) GetRoleId() string { + if x != nil { + return x.RoleId } - if this.KeyId != that1.KeyId { - return false - } - return true + return "" } -func (this *GetApiKeyResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetApiKeyResponse) - if !ok { - that2, ok := that.(GetApiKeyResponse) - if ok { - that1 = &that2 - } else { - return false - } +func (x *CreateCustomRoleResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.ApiKey.Equal(that1.ApiKey) { - return false - } - return true + return nil } -func (this *CreateApiKeyRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CreateApiKeyRequest) - if !ok { - that2, ok := that.(CreateApiKeyRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true +// temporal:dev +type UpdateCustomRoleRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The id of the custom role to update. + RoleId string `protobuf:"bytes,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` + // The new custom role specification. + Spec *v1.CustomRoleSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + // The version of the custom role for which this update is intended for. + // The latest version can be found in the GetCustomRole operation response. + ResourceVersion string `protobuf:"bytes,3,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` + // The id to use for this async operation. + // Optional, if not provided a random id will be generated. + AsyncOperationId string `protobuf:"bytes,4,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (this *CreateApiKeyResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CreateApiKeyResponse) - if !ok { - that2, ok := that.(CreateApiKeyResponse) - if ok { - that1 = &that2 - } else { - return false - } +func (x *UpdateCustomRoleRequest) Reset() { + *x = UpdateCustomRoleRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[170] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.KeyId != that1.KeyId { - return false - } - if this.Token != that1.Token { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true } -func (this *UpdateApiKeyRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateApiKeyRequest) - if !ok { - that2, ok := that.(UpdateApiKeyRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.KeyId != that1.KeyId { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true +func (x *UpdateCustomRoleRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *UpdateApiKeyResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateApiKeyResponse) - if !ok { - that2, ok := that.(UpdateApiKeyResponse) - if ok { - that1 = &that2 - } else { - return false +func (*UpdateCustomRoleRequest) ProtoMessage() {} + +func (x *UpdateCustomRoleRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[170] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true + return mi.MessageOf(x) } -func (this *DeleteApiKeyRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*DeleteApiKeyRequest) - if !ok { - that2, ok := that.(DeleteApiKeyRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.KeyId != that1.KeyId { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true +// Deprecated: Use UpdateCustomRoleRequest.ProtoReflect.Descriptor instead. +func (*UpdateCustomRoleRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{170} } -func (this *DeleteApiKeyResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*DeleteApiKeyResponse) - if !ok { - that2, ok := that.(DeleteApiKeyResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false +func (x *UpdateCustomRoleRequest) GetRoleId() string { + if x != nil { + return x.RoleId } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true + return "" } -func (this *ValidateAccountAuditLogSinkRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*ValidateAccountAuditLogSinkRequest) - if !ok { - that2, ok := that.(ValidateAccountAuditLogSinkRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false +func (x *UpdateCustomRoleRequest) GetSpec() *v1.CustomRoleSpec { + if x != nil { + return x.Spec } - return true + return nil } -func (this *ValidateAccountAuditLogSinkResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*ValidateAccountAuditLogSinkResponse) - if !ok { - that2, ok := that.(ValidateAccountAuditLogSinkResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false +func (x *UpdateCustomRoleRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } - return true + return "" } -func (this *CreateAccountAuditLogSinkRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CreateAccountAuditLogSinkRequest) - if !ok { - that2, ok := that.(CreateAccountAuditLogSinkRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false +func (x *UpdateCustomRoleRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true + return "" } -func (this *CreateAccountAuditLogSinkResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CreateAccountAuditLogSinkResponse) - if !ok { - that2, ok := that.(CreateAccountAuditLogSinkResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +// temporal:dev +type UpdateCustomRoleResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The async operation. + AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (this *GetAccountAuditLogSinkRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetAccountAuditLogSinkRequest) - if !ok { - that2, ok := that.(GetAccountAuditLogSinkRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Name != that1.Name { - return false +func (x *UpdateCustomRoleResponse) Reset() { + *x = UpdateCustomRoleResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[171] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return true } -func (this *GetAccountAuditLogSinkResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetAccountAuditLogSinkResponse) - if !ok { - that2, ok := that.(GetAccountAuditLogSinkResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Sink.Equal(that1.Sink) { - return false - } - return true +func (x *UpdateCustomRoleResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *GetAccountAuditLogSinksRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetAccountAuditLogSinksRequest) - if !ok { - that2, ok := that.(GetAccountAuditLogSinksRequest) - if ok { - that1 = &that2 - } else { - return false +func (*UpdateCustomRoleResponse) ProtoMessage() {} + +func (x *UpdateCustomRoleResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[171] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.PageSize != that1.PageSize { - return false - } - if this.PageToken != that1.PageToken { - return false - } - return true + return mi.MessageOf(x) } -func (this *GetAccountAuditLogSinksResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetAccountAuditLogSinksResponse) - if !ok { - that2, ok := that.(GetAccountAuditLogSinksResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.Sinks) != len(that1.Sinks) { - return false - } - for i := range this.Sinks { - if !this.Sinks[i].Equal(that1.Sinks[i]) { - return false - } - } - if this.NextPageToken != that1.NextPageToken { - return false - } - return true +// Deprecated: Use UpdateCustomRoleResponse.ProtoReflect.Descriptor instead. +func (*UpdateCustomRoleResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{171} } -func (this *UpdateAccountAuditLogSinkRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateAccountAuditLogSinkRequest) - if !ok { - that2, ok := that.(UpdateAccountAuditLogSinkRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false +func (x *UpdateCustomRoleResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } - return true + return nil } -func (this *UpdateAccountAuditLogSinkResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateAccountAuditLogSinkResponse) - if !ok { - that2, ok := that.(UpdateAccountAuditLogSinkResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +// temporal:dev +type DeleteCustomRoleRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The id of the custom role to delete. + RoleId string `protobuf:"bytes,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` + // The version of the custom role for which this delete is intended for. + // The latest version can be found in the GetCustomRole operation response. + ResourceVersion string `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` + // The id to use for this async operation. + // Optional, if not provided a random id will be generated. + AsyncOperationId string `protobuf:"bytes,3,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (this *DeleteAccountAuditLogSinkRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*DeleteAccountAuditLogSinkRequest) - if !ok { - that2, ok := that.(DeleteAccountAuditLogSinkRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Name != that1.Name { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false +func (x *DeleteCustomRoleRequest) Reset() { + *x = DeleteCustomRoleRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[172] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true } -func (this *DeleteAccountAuditLogSinkResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*DeleteAccountAuditLogSinkResponse) - if !ok { - that2, ok := that.(DeleteAccountAuditLogSinkResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +func (x *DeleteCustomRoleRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *GetAuditLogsRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetAuditLogsRequest) - if !ok { - that2, ok := that.(GetAuditLogsRequest) - if ok { - that1 = &that2 - } else { - return false +func (*DeleteCustomRoleRequest) ProtoMessage() {} + +func (x *DeleteCustomRoleRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[172] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.PageSize != that1.PageSize { - return false - } - if this.PageToken != that1.PageToken { - return false - } - if !this.StartTimeInclusive.Equal(that1.StartTimeInclusive) { - return false - } - if !this.EndTimeExclusive.Equal(that1.EndTimeExclusive) { - return false - } - return true + return mi.MessageOf(x) } -func (this *GetAuditLogsResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetAuditLogsResponse) - if !ok { - that2, ok := that.(GetAuditLogsResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.Logs) != len(that1.Logs) { - return false - } - for i := range this.Logs { - if !this.Logs[i].Equal(that1.Logs[i]) { - return false - } - } - if this.NextPageToken != that1.NextPageToken { - return false - } - return true +// Deprecated: Use DeleteCustomRoleRequest.ProtoReflect.Descriptor instead. +func (*DeleteCustomRoleRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{172} } -func (this *GetUsageRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetUsageRequest) - if !ok { - that2, ok := that.(GetUsageRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false +func (x *DeleteCustomRoleRequest) GetRoleId() string { + if x != nil { + return x.RoleId } - if !this.StartTimeInclusive.Equal(that1.StartTimeInclusive) { - return false - } - if !this.EndTimeExclusive.Equal(that1.EndTimeExclusive) { - return false - } - if this.PageSize != that1.PageSize { - return false - } - if this.PageToken != that1.PageToken { - return false - } - return true + return "" } -func (this *GetUsageResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetUsageResponse) - if !ok { - that2, ok := that.(GetUsageResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false +func (x *DeleteCustomRoleRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } - if len(this.Summaries) != len(that1.Summaries) { - return false - } - for i := range this.Summaries { - if !this.Summaries[i].Equal(that1.Summaries[i]) { - return false - } - } - if this.NextPageToken != that1.NextPageToken { - return false - } - return true + return "" } -func (this *GetAccountRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetAccountRequest) - if !ok { - that2, ok := that.(GetAccountRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false +func (x *DeleteCustomRoleRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } - return true + return "" } -func (this *GetAccountResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetAccountResponse) - if !ok { - that2, ok := that.(GetAccountResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Account.Equal(that1.Account) { - return false - } - return true +// temporal:dev +type DeleteCustomRoleResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The async operation. + AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (this *CreateNamespaceExportSinkRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CreateNamespaceExportSinkRequest) - if !ok { - that2, ok := that.(CreateNamespaceExportSinkRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false +func (x *DeleteCustomRoleResponse) Reset() { + *x = DeleteCustomRoleResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[173] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return true } -func (this *CreateNamespaceExportSinkResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CreateNamespaceExportSinkResponse) - if !ok { - that2, ok := that.(CreateNamespaceExportSinkResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +func (x *DeleteCustomRoleResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *GetNamespaceExportSinkRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetNamespaceExportSinkRequest) - if !ok { - that2, ok := that.(GetNamespaceExportSinkRequest) - if ok { - that1 = &that2 - } else { - return false +func (*DeleteCustomRoleResponse) ProtoMessage() {} + +func (x *DeleteCustomRoleResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[173] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if this.Name != that1.Name { - return false - } - return true + return mi.MessageOf(x) } -func (this *GetNamespaceExportSinkResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetNamespaceExportSinkResponse) - if !ok { - that2, ok := that.(GetNamespaceExportSinkResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Sink.Equal(that1.Sink) { - return false - } - return true +// Deprecated: Use DeleteCustomRoleResponse.ProtoReflect.Descriptor instead. +func (*DeleteCustomRoleResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{173} } -func (this *GetNamespaceExportSinksRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetNamespaceExportSinksRequest) - if !ok { - that2, ok := that.(GetNamespaceExportSinksRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if this.PageSize != that1.PageSize { - return false +func (x *DeleteCustomRoleResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } - if this.PageToken != that1.PageToken { - return false - } - return true + return nil } -func (this *GetNamespaceExportSinksResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetNamespaceExportSinksResponse) - if !ok { - that2, ok := that.(GetNamespaceExportSinksResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.Sinks) != len(that1.Sinks) { - return false - } - for i := range this.Sinks { - if !this.Sinks[i].Equal(that1.Sinks[i]) { - return false - } - } - if this.NextPageToken != that1.NextPageToken { - return false - } - return true +// temporal:dev +type CreateBillingReportRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The specification for the billing report. + Spec *v111.BillingReportSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` + // Optional, if not provided a random id will be generated. + AsyncOperationId string `protobuf:"bytes,2,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (this *UpdateNamespaceExportSinkRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateNamespaceExportSinkRequest) - if !ok { - that2, ok := that.(UpdateNamespaceExportSinkRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false +func (x *CreateBillingReportRequest) Reset() { + *x = CreateBillingReportRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[174] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true } -func (this *UpdateNamespaceExportSinkResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateNamespaceExportSinkResponse) - if !ok { - that2, ok := that.(UpdateNamespaceExportSinkResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +func (x *CreateBillingReportRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *DeleteNamespaceExportSinkRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*DeleteNamespaceExportSinkRequest) - if !ok { - that2, ok := that.(DeleteNamespaceExportSinkRequest) - if ok { - that1 = &that2 - } else { - return false +func (*CreateBillingReportRequest) ProtoMessage() {} + +func (x *CreateBillingReportRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[174] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if this.Name != that1.Name { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true + return mi.MessageOf(x) } -func (this *DeleteNamespaceExportSinkResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*DeleteNamespaceExportSinkResponse) - if !ok { - that2, ok := that.(DeleteNamespaceExportSinkResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +// Deprecated: Use CreateBillingReportRequest.ProtoReflect.Descriptor instead. +func (*CreateBillingReportRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{174} } -func (this *ValidateNamespaceExportSinkRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*ValidateNamespaceExportSinkRequest) - if !ok { - that2, ok := that.(ValidateNamespaceExportSinkRequest) - if ok { - that1 = &that2 - } else { - return false - } +func (x *CreateBillingReportRequest) GetSpec() *v111.BillingReportSpec { + if x != nil { + return x.Spec } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - return true + return nil } -func (this *ValidateNamespaceExportSinkResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*ValidateNamespaceExportSinkResponse) - if !ok { - that2, ok := that.(ValidateNamespaceExportSinkResponse) - if ok { - that1 = &that2 - } else { - return false - } +func (x *CreateBillingReportRequest) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - return true + return "" } -func (this *StartMigrationRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*StartMigrationRequest) - if !ok { - that2, ok := that.(StartMigrationRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true +// temporal:dev +type CreateBillingReportResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The id of the billing report created. + BillingReportId string `protobuf:"bytes,1,opt,name=billing_report_id,json=billingReportId,proto3" json:"billing_report_id,omitempty"` + // The async operation. + AsyncOperation *v11.AsyncOperation `protobuf:"bytes,2,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (this *StartMigrationResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*StartMigrationResponse) - if !ok { - that2, ok := that.(StartMigrationResponse) - if ok { - that1 = &that2 - } else { - return false - } +func (x *CreateBillingReportResponse) Reset() { + *x = CreateBillingReportResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[175] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.MigrationId != that1.MigrationId { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true } -func (this *GetMigrationRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetMigrationRequest) - if !ok { - that2, ok := that.(GetMigrationRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.MigrationId != that1.MigrationId { - return false - } - return true +func (x *CreateBillingReportResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *GetMigrationResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetMigrationResponse) - if !ok { - that2, ok := that.(GetMigrationResponse) - if ok { - that1 = &that2 - } else { - return false +func (*CreateBillingReportResponse) ProtoMessage() {} + +func (x *CreateBillingReportResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[175] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Migration.Equal(that1.Migration) { - return false - } - return true + return mi.MessageOf(x) } -func (this *GetMigrationsRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetMigrationsRequest) - if !ok { - that2, ok := that.(GetMigrationsRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.PageSize != that1.PageSize { - return false - } - if this.PageToken != that1.PageToken { - return false - } - return true +// Deprecated: Use CreateBillingReportResponse.ProtoReflect.Descriptor instead. +func (*CreateBillingReportResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{175} } -func (this *GetMigrationsResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetMigrationsResponse) - if !ok { - that2, ok := that.(GetMigrationsResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.Migrations) != len(that1.Migrations) { - return false - } - for i := range this.Migrations { - if !this.Migrations[i].Equal(that1.Migrations[i]) { - return false - } +func (x *CreateBillingReportResponse) GetBillingReportId() string { + if x != nil { + return x.BillingReportId } - if this.NextPageToken != that1.NextPageToken { - return false - } - return true + return "" } -func (this *HandoverNamespaceRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*HandoverNamespaceRequest) - if !ok { - that2, ok := that.(HandoverNamespaceRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.MigrationId != that1.MigrationId { - return false - } - if this.ToReplicaId != that1.ToReplicaId { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false +func (x *CreateBillingReportResponse) GetAsyncOperation() *v11.AsyncOperation { + if x != nil { + return x.AsyncOperation } - return true + return nil } -func (this *HandoverNamespaceResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*HandoverNamespaceResponse) - if !ok { - that2, ok := that.(HandoverNamespaceResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +// temporal:dev +type GetBillingReportRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The id of the billing report to retrieve. + BillingReportId string `protobuf:"bytes,1,opt,name=billing_report_id,json=billingReportId,proto3" json:"billing_report_id,omitempty"` } -func (this *ConfirmMigrationRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*ConfirmMigrationRequest) - if !ok { - that2, ok := that.(ConfirmMigrationRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.MigrationId != that1.MigrationId { - return false +func (x *GetBillingReportRequest) Reset() { + *x = GetBillingReportRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[176] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true } -func (this *ConfirmMigrationResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*ConfirmMigrationResponse) - if !ok { - that2, ok := that.(ConfirmMigrationResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +func (x *GetBillingReportRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *AbortMigrationRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*AbortMigrationRequest) - if !ok { - that2, ok := that.(AbortMigrationRequest) - if ok { - that1 = &that2 - } else { - return false +func (*GetBillingReportRequest) ProtoMessage() {} + +func (x *GetBillingReportRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[176] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.MigrationId != that1.MigrationId { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true + return mi.MessageOf(x) } -func (this *AbortMigrationResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*AbortMigrationResponse) - if !ok { - that2, ok := that.(AbortMigrationResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +// Deprecated: Use GetBillingReportRequest.ProtoReflect.Descriptor instead. +func (*GetBillingReportRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{176} } -func (this *CreateConnectivityRuleRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CreateConnectivityRuleRequest) - if !ok { - that2, ok := that.(CreateConnectivityRuleRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false +func (x *GetBillingReportRequest) GetBillingReportId() string { + if x != nil { + return x.BillingReportId } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true + return "" } -func (this *CreateConnectivityRuleResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CreateConnectivityRuleResponse) - if !ok { - that2, ok := that.(CreateConnectivityRuleResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.ConnectivityRuleId != that1.ConnectivityRuleId { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +// temporal:dev +type GetBillingReportResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The billing report retrieved. + BillingReport *v111.BillingReport `protobuf:"bytes,1,opt,name=billing_report,json=billingReport,proto3" json:"billing_report,omitempty"` } -func (this *GetConnectivityRuleRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetConnectivityRuleRequest) - if !ok { - that2, ok := that.(GetConnectivityRuleRequest) - if ok { - that1 = &that2 - } else { - return false - } +func (x *GetBillingReportResponse) Reset() { + *x = GetBillingReportResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[177] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.ConnectivityRuleId != that1.ConnectivityRuleId { - return false - } - return true } -func (this *GetConnectivityRuleResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetConnectivityRuleResponse) - if !ok { - that2, ok := that.(GetConnectivityRuleResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.ConnectivityRule.Equal(that1.ConnectivityRule) { - return false - } - return true +func (x *GetBillingReportResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *GetConnectivityRulesRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetConnectivityRulesRequest) - if !ok { - that2, ok := that.(GetConnectivityRulesRequest) - if ok { - that1 = &that2 - } else { - return false +func (*GetBillingReportResponse) ProtoMessage() {} + +func (x *GetBillingReportResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[177] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.PageSize != that1.PageSize { - return false - } - if this.PageToken != that1.PageToken { - return false - } - if this.Namespace != that1.Namespace { - return false - } - return true + return mi.MessageOf(x) } -func (this *GetConnectivityRulesResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetConnectivityRulesResponse) - if !ok { - that2, ok := that.(GetConnectivityRulesResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.ConnectivityRules) != len(that1.ConnectivityRules) { - return false - } - for i := range this.ConnectivityRules { - if !this.ConnectivityRules[i].Equal(that1.ConnectivityRules[i]) { - return false - } - } - if this.NextPageToken != that1.NextPageToken { - return false - } - return true +// Deprecated: Use GetBillingReportResponse.ProtoReflect.Descriptor instead. +func (*GetBillingReportResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{177} } -func (this *DeleteConnectivityRuleRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*DeleteConnectivityRuleRequest) - if !ok { - that2, ok := that.(DeleteConnectivityRuleRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false +func (x *GetBillingReportResponse) GetBillingReport() *v111.BillingReport { + if x != nil { + return x.BillingReport } - if this.ConnectivityRuleId != that1.ConnectivityRuleId { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true + return nil } -func (this *DeleteConnectivityRuleResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*DeleteConnectivityRuleResponse) - if !ok { - that2, ok := that.(DeleteConnectivityRuleResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +// temporal:dev +type GetNamespaceCapacityInfoRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The namespace identifier. + // Required. + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` } -func (this *GetProjectsRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetProjectsRequest) - if !ok { - that2, ok := that.(GetProjectsRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.PageSize != that1.PageSize { - return false +func (x *GetNamespaceCapacityInfoRequest) Reset() { + *x = GetNamespaceCapacityInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[178] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if this.PageToken != that1.PageToken { - return false - } - return true } -func (this *GetProjectsResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetProjectsResponse) - if !ok { - that2, ok := that.(GetProjectsResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.Projects) != len(that1.Projects) { - return false - } - for i := range this.Projects { - if !this.Projects[i].Equal(that1.Projects[i]) { - return false - } - } - if this.NextPageToken != that1.NextPageToken { - return false - } - return true +func (x *GetNamespaceCapacityInfoRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *GetProjectRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetProjectRequest) - if !ok { - that2, ok := that.(GetProjectRequest) - if ok { - that1 = &that2 - } else { - return false +func (*GetNamespaceCapacityInfoRequest) ProtoMessage() {} + +func (x *GetNamespaceCapacityInfoRequest) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[178] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.ProjectId != that1.ProjectId { - return false - } - return true + return mi.MessageOf(x) } -func (this *GetProjectResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetProjectResponse) - if !ok { - that2, ok := that.(GetProjectResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Project.Equal(that1.Project) { - return false - } - return true +// Deprecated: Use GetNamespaceCapacityInfoRequest.ProtoReflect.Descriptor instead. +func (*GetNamespaceCapacityInfoRequest) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{178} } -func (this *CreateProjectRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CreateProjectRequest) - if !ok { - that2, ok := that.(CreateProjectRequest) - if ok { - that1 = &that2 - } else { - return false - } +func (x *GetNamespaceCapacityInfoRequest) GetNamespace() string { + if x != nil { + return x.Namespace } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true + return "" } -func (this *CreateProjectResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CreateProjectResponse) - if !ok { - that2, ok := that.(CreateProjectResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.ProjectId != that1.ProjectId { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true +// temporal:dev +type GetNamespaceCapacityInfoResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Capacity information for the namespace. + CapacityInfo *v12.NamespaceCapacityInfo `protobuf:"bytes,1,opt,name=capacity_info,json=capacityInfo,proto3" json:"capacity_info,omitempty"` } -func (this *UpdateProjectRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateProjectRequest) - if !ok { - that2, ok := that.(UpdateProjectRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.ProjectId != that1.ProjectId { - return false +func (x *GetNamespaceCapacityInfoResponse) Reset() { + *x = GetNamespaceCapacityInfoResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[179] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true } -func (this *UpdateProjectResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateProjectResponse) - if !ok { - that2, ok := that.(UpdateProjectResponse) - if ok { - that1 = &that2 - } else { - return false +func (x *GetNamespaceCapacityInfoResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetNamespaceCapacityInfoResponse) ProtoMessage() {} + +func (x *GetNamespaceCapacityInfoResponse) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[179] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true -} -func (this *DeleteProjectRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*DeleteProjectRequest) - if !ok { - that2, ok := that.(DeleteProjectRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.ProjectId != that1.ProjectId { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true -} -func (this *DeleteProjectResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*DeleteProjectResponse) - if !ok { - that2, ok := that.(DeleteProjectResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true -} -func (this *UpdateNamespaceTagsRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*UpdateNamespaceTagsRequest) - if !ok { - that2, ok := that.(UpdateNamespaceTagsRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if len(this.TagsToUpsert) != len(that1.TagsToUpsert) { - return false - } - for i := range this.TagsToUpsert { - if this.TagsToUpsert[i] != that1.TagsToUpsert[i] { - return false - } - } - if len(this.TagsToRemove) != len(that1.TagsToRemove) { - return false - } - for i := range this.TagsToRemove { - if this.TagsToRemove[i] != that1.TagsToRemove[i] { - return false - } - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true -} -func (this *UpdateNamespaceTagsResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*UpdateNamespaceTagsResponse) - if !ok { - that2, ok := that.(UpdateNamespaceTagsResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true -} -func (this *ResendUserInviteRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*ResendUserInviteRequest) - if !ok { - that2, ok := that.(ResendUserInviteRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.UserId != that1.UserId { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true -} -func (this *ResendUserInviteResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*ResendUserInviteResponse) - if !ok { - that2, ok := that.(ResendUserInviteResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true -} -func (this *GetTagKeysRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*GetTagKeysRequest) - if !ok { - that2, ok := that.(GetTagKeysRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Prefix != that1.Prefix { - return false - } - return true -} -func (this *GetTagKeysResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*GetTagKeysResponse) - if !ok { - that2, ok := that.(GetTagKeysResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.TagKeys) != len(that1.TagKeys) { - return false - } - for i := range this.TagKeys { - if this.TagKeys[i] != that1.TagKeys[i] { - return false - } - } - return true -} -func (this *GetUsersRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&cloudservice.GetUsersRequest{") - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - s = append(s, "Email: "+fmt.Sprintf("%#v", this.Email)+",\n") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetUsersResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.GetUsersResponse{") - if this.Users != nil { - s = append(s, "Users: "+fmt.Sprintf("%#v", this.Users)+",\n") - } - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetUserRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetUserRequest{") - s = append(s, "UserId: "+fmt.Sprintf("%#v", this.UserId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetUserResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetUserResponse{") - if this.User != nil { - s = append(s, "User: "+fmt.Sprintf("%#v", this.User)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateUserRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.CreateUserRequest{") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateUserResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.CreateUserResponse{") - s = append(s, "UserId: "+fmt.Sprintf("%#v", this.UserId)+",\n") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateUserRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&cloudservice.UpdateUserRequest{") - s = append(s, "UserId: "+fmt.Sprintf("%#v", this.UserId)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateUserResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.UpdateUserResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteUserRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&cloudservice.DeleteUserRequest{") - s = append(s, "UserId: "+fmt.Sprintf("%#v", this.UserId)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteUserResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.DeleteUserResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *SetUserNamespaceAccessRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 9) - s = append(s, "&cloudservice.SetUserNamespaceAccessRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "UserId: "+fmt.Sprintf("%#v", this.UserId)+",\n") - if this.Access != nil { - s = append(s, "Access: "+fmt.Sprintf("%#v", this.Access)+",\n") - } - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *SetUserNamespaceAccessResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.SetUserNamespaceAccessResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetAsyncOperationRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetAsyncOperationRequest{") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetAsyncOperationResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetAsyncOperationResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateNamespaceRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&cloudservice.CreateNamespaceRequest{") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - keysForTags := make([]string, 0, len(this.Tags)) - for k, _ := range this.Tags { - keysForTags = append(keysForTags, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForTags) - mapStringForTags := "map[string]string{" - for _, k := range keysForTags { - mapStringForTags += fmt.Sprintf("%#v: %#v,", k, this.Tags[k]) - } - mapStringForTags += "}" - if this.Tags != nil { - s = append(s, "Tags: "+mapStringForTags+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateNamespaceResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.CreateNamespaceResponse{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetNamespacesRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&cloudservice.GetNamespacesRequest{") - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") - s = append(s, "ConnectivityRuleId: "+fmt.Sprintf("%#v", this.ConnectivityRuleId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetNamespacesResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.GetNamespacesResponse{") - if this.Namespaces != nil { - s = append(s, "Namespaces: "+fmt.Sprintf("%#v", this.Namespaces)+",\n") - } - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetNamespaceIDsRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.GetNamespaceIDsRequest{") - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetNamespaceIDsResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.GetNamespaceIDsResponse{") - s = append(s, "NamespaceIds: "+fmt.Sprintf("%#v", this.NamespaceIds)+",\n") - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetNamespaceRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetNamespaceRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetNamespaceResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetNamespaceResponse{") - if this.Namespace != nil { - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateNamespaceRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&cloudservice.UpdateNamespaceRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateNamespaceResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.UpdateNamespaceResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *RenameCustomSearchAttributeRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 9) - s = append(s, "&cloudservice.RenameCustomSearchAttributeRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "ExistingCustomSearchAttributeName: "+fmt.Sprintf("%#v", this.ExistingCustomSearchAttributeName)+",\n") - s = append(s, "NewCustomSearchAttributeName: "+fmt.Sprintf("%#v", this.NewCustomSearchAttributeName)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *RenameCustomSearchAttributeResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.RenameCustomSearchAttributeResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteNamespaceRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&cloudservice.DeleteNamespaceRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteNamespaceResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.DeleteNamespaceResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *FailoverNamespaceRegionRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&cloudservice.FailoverNamespaceRegionRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "Region: "+fmt.Sprintf("%#v", this.Region)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *FailoverNamespaceRegionResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.FailoverNamespaceRegionResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *AddNamespaceRegionRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&cloudservice.AddNamespaceRegionRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "Region: "+fmt.Sprintf("%#v", this.Region)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *AddNamespaceRegionResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.AddNamespaceRegionResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteNamespaceRegionRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&cloudservice.DeleteNamespaceRegionRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "Region: "+fmt.Sprintf("%#v", this.Region)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteNamespaceRegionResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.DeleteNamespaceRegionResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetRegionsRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 4) - s = append(s, "&cloudservice.GetRegionsRequest{") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetRegionsResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetRegionsResponse{") - if this.Regions != nil { - s = append(s, "Regions: "+fmt.Sprintf("%#v", this.Regions)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetRegionRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetRegionRequest{") - s = append(s, "Region: "+fmt.Sprintf("%#v", this.Region)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetRegionResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetRegionResponse{") - if this.Region != nil { - s = append(s, "Region: "+fmt.Sprintf("%#v", this.Region)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetNexusEndpointsRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 10) - s = append(s, "&cloudservice.GetNexusEndpointsRequest{") - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - s = append(s, "TargetNamespaceId: "+fmt.Sprintf("%#v", this.TargetNamespaceId)+",\n") - s = append(s, "TargetTaskQueue: "+fmt.Sprintf("%#v", this.TargetTaskQueue)+",\n") - s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") - s = append(s, "ProjectId: "+fmt.Sprintf("%#v", this.ProjectId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetNexusEndpointsResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.GetNexusEndpointsResponse{") - if this.Endpoints != nil { - s = append(s, "Endpoints: "+fmt.Sprintf("%#v", this.Endpoints)+",\n") - } - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetNexusEndpointRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetNexusEndpointRequest{") - s = append(s, "EndpointId: "+fmt.Sprintf("%#v", this.EndpointId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetNexusEndpointResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetNexusEndpointResponse{") - if this.Endpoint != nil { - s = append(s, "Endpoint: "+fmt.Sprintf("%#v", this.Endpoint)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateNexusEndpointRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&cloudservice.CreateNexusEndpointRequest{") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "ProjectId: "+fmt.Sprintf("%#v", this.ProjectId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateNexusEndpointResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.CreateNexusEndpointResponse{") - s = append(s, "EndpointId: "+fmt.Sprintf("%#v", this.EndpointId)+",\n") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateNexusEndpointRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&cloudservice.UpdateNexusEndpointRequest{") - s = append(s, "EndpointId: "+fmt.Sprintf("%#v", this.EndpointId)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateNexusEndpointResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.UpdateNexusEndpointResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteNexusEndpointRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&cloudservice.DeleteNexusEndpointRequest{") - s = append(s, "EndpointId: "+fmt.Sprintf("%#v", this.EndpointId)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteNexusEndpointResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.DeleteNexusEndpointResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateAccountRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&cloudservice.UpdateAccountRequest{") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateAccountResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.UpdateAccountResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetUserGroupsRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 10) - s = append(s, "&cloudservice.GetUserGroupsRequest{") - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "DisplayName: "+fmt.Sprintf("%#v", this.DisplayName)+",\n") - if this.GoogleGroup != nil { - s = append(s, "GoogleGroup: "+fmt.Sprintf("%#v", this.GoogleGroup)+",\n") - } - if this.ScimGroup != nil { - s = append(s, "ScimGroup: "+fmt.Sprintf("%#v", this.ScimGroup)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetUserGroupsRequest_GoogleGroupFilter) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetUserGroupsRequest_GoogleGroupFilter{") - s = append(s, "EmailAddress: "+fmt.Sprintf("%#v", this.EmailAddress)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetUserGroupsRequest_SCIMGroupFilter) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetUserGroupsRequest_SCIMGroupFilter{") - s = append(s, "IdpId: "+fmt.Sprintf("%#v", this.IdpId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetUserGroupsResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.GetUserGroupsResponse{") - if this.Groups != nil { - s = append(s, "Groups: "+fmt.Sprintf("%#v", this.Groups)+",\n") - } - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetUserGroupRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetUserGroupRequest{") - s = append(s, "GroupId: "+fmt.Sprintf("%#v", this.GroupId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetUserGroupResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetUserGroupResponse{") - if this.Group != nil { - s = append(s, "Group: "+fmt.Sprintf("%#v", this.Group)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateUserGroupRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.CreateUserGroupRequest{") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateUserGroupResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.CreateUserGroupResponse{") - s = append(s, "GroupId: "+fmt.Sprintf("%#v", this.GroupId)+",\n") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateUserGroupRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&cloudservice.UpdateUserGroupRequest{") - s = append(s, "GroupId: "+fmt.Sprintf("%#v", this.GroupId)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateUserGroupResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.UpdateUserGroupResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteUserGroupRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&cloudservice.DeleteUserGroupRequest{") - s = append(s, "GroupId: "+fmt.Sprintf("%#v", this.GroupId)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteUserGroupResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.DeleteUserGroupResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *SetUserGroupNamespaceAccessRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 9) - s = append(s, "&cloudservice.SetUserGroupNamespaceAccessRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "GroupId: "+fmt.Sprintf("%#v", this.GroupId)+",\n") - if this.Access != nil { - s = append(s, "Access: "+fmt.Sprintf("%#v", this.Access)+",\n") - } - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *SetUserGroupNamespaceAccessResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.SetUserGroupNamespaceAccessResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *AddUserGroupMemberRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&cloudservice.AddUserGroupMemberRequest{") - s = append(s, "GroupId: "+fmt.Sprintf("%#v", this.GroupId)+",\n") - if this.MemberId != nil { - s = append(s, "MemberId: "+fmt.Sprintf("%#v", this.MemberId)+",\n") - } - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *AddUserGroupMemberResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.AddUserGroupMemberResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *RemoveUserGroupMemberRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&cloudservice.RemoveUserGroupMemberRequest{") - s = append(s, "GroupId: "+fmt.Sprintf("%#v", this.GroupId)+",\n") - if this.MemberId != nil { - s = append(s, "MemberId: "+fmt.Sprintf("%#v", this.MemberId)+",\n") - } - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *RemoveUserGroupMemberResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.RemoveUserGroupMemberResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetUserGroupMembersRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&cloudservice.GetUserGroupMembersRequest{") - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - s = append(s, "GroupId: "+fmt.Sprintf("%#v", this.GroupId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetUserGroupMembersResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.GetUserGroupMembersResponse{") - if this.Members != nil { - s = append(s, "Members: "+fmt.Sprintf("%#v", this.Members)+",\n") - } - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateServiceAccountRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.CreateServiceAccountRequest{") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateServiceAccountResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.CreateServiceAccountResponse{") - s = append(s, "ServiceAccountId: "+fmt.Sprintf("%#v", this.ServiceAccountId)+",\n") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetServiceAccountRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetServiceAccountRequest{") - s = append(s, "ServiceAccountId: "+fmt.Sprintf("%#v", this.ServiceAccountId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetServiceAccountResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetServiceAccountResponse{") - if this.ServiceAccount != nil { - s = append(s, "ServiceAccount: "+fmt.Sprintf("%#v", this.ServiceAccount)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetServiceAccountsRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.GetServiceAccountsRequest{") - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetServiceAccountsResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.GetServiceAccountsResponse{") - if this.ServiceAccount != nil { - s = append(s, "ServiceAccount: "+fmt.Sprintf("%#v", this.ServiceAccount)+",\n") - } - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateServiceAccountRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&cloudservice.UpdateServiceAccountRequest{") - s = append(s, "ServiceAccountId: "+fmt.Sprintf("%#v", this.ServiceAccountId)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateServiceAccountResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.UpdateServiceAccountResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *SetServiceAccountNamespaceAccessRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 9) - s = append(s, "&cloudservice.SetServiceAccountNamespaceAccessRequest{") - s = append(s, "ServiceAccountId: "+fmt.Sprintf("%#v", this.ServiceAccountId)+",\n") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - if this.Access != nil { - s = append(s, "Access: "+fmt.Sprintf("%#v", this.Access)+",\n") - } - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *SetServiceAccountNamespaceAccessResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.SetServiceAccountNamespaceAccessResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteServiceAccountRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&cloudservice.DeleteServiceAccountRequest{") - s = append(s, "ServiceAccountId: "+fmt.Sprintf("%#v", this.ServiceAccountId)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteServiceAccountResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.DeleteServiceAccountResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetApiKeysRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 9) - s = append(s, "&cloudservice.GetApiKeysRequest{") - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - s = append(s, "OwnerId: "+fmt.Sprintf("%#v", this.OwnerId)+",\n") - s = append(s, "OwnerTypeDeprecated: "+fmt.Sprintf("%#v", this.OwnerTypeDeprecated)+",\n") - s = append(s, "OwnerType: "+fmt.Sprintf("%#v", this.OwnerType)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetApiKeysResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.GetApiKeysResponse{") - if this.ApiKeys != nil { - s = append(s, "ApiKeys: "+fmt.Sprintf("%#v", this.ApiKeys)+",\n") - } - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetApiKeyRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetApiKeyRequest{") - s = append(s, "KeyId: "+fmt.Sprintf("%#v", this.KeyId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetApiKeyResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetApiKeyResponse{") - if this.ApiKey != nil { - s = append(s, "ApiKey: "+fmt.Sprintf("%#v", this.ApiKey)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateApiKeyRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.CreateApiKeyRequest{") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateApiKeyResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&cloudservice.CreateApiKeyResponse{") - s = append(s, "KeyId: "+fmt.Sprintf("%#v", this.KeyId)+",\n") - s = append(s, "Token: "+fmt.Sprintf("%#v", this.Token)+",\n") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateApiKeyRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&cloudservice.UpdateApiKeyRequest{") - s = append(s, "KeyId: "+fmt.Sprintf("%#v", this.KeyId)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateApiKeyResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.UpdateApiKeyResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteApiKeyRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&cloudservice.DeleteApiKeyRequest{") - s = append(s, "KeyId: "+fmt.Sprintf("%#v", this.KeyId)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteApiKeyResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.DeleteApiKeyResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ValidateAccountAuditLogSinkRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.ValidateAccountAuditLogSinkRequest{") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ValidateAccountAuditLogSinkResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 4) - s = append(s, "&cloudservice.ValidateAccountAuditLogSinkResponse{") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateAccountAuditLogSinkRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.CreateAccountAuditLogSinkRequest{") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateAccountAuditLogSinkResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.CreateAccountAuditLogSinkResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetAccountAuditLogSinkRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetAccountAuditLogSinkRequest{") - s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetAccountAuditLogSinkResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetAccountAuditLogSinkResponse{") - if this.Sink != nil { - s = append(s, "Sink: "+fmt.Sprintf("%#v", this.Sink)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetAccountAuditLogSinksRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.GetAccountAuditLogSinksRequest{") - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetAccountAuditLogSinksResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.GetAccountAuditLogSinksResponse{") - if this.Sinks != nil { - s = append(s, "Sinks: "+fmt.Sprintf("%#v", this.Sinks)+",\n") - } - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateAccountAuditLogSinkRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&cloudservice.UpdateAccountAuditLogSinkRequest{") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateAccountAuditLogSinkResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.UpdateAccountAuditLogSinkResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteAccountAuditLogSinkRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&cloudservice.DeleteAccountAuditLogSinkRequest{") - s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteAccountAuditLogSinkResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.DeleteAccountAuditLogSinkResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetAuditLogsRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&cloudservice.GetAuditLogsRequest{") - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - if this.StartTimeInclusive != nil { - s = append(s, "StartTimeInclusive: "+fmt.Sprintf("%#v", this.StartTimeInclusive)+",\n") - } - if this.EndTimeExclusive != nil { - s = append(s, "EndTimeExclusive: "+fmt.Sprintf("%#v", this.EndTimeExclusive)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetAuditLogsResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.GetAuditLogsResponse{") - if this.Logs != nil { - s = append(s, "Logs: "+fmt.Sprintf("%#v", this.Logs)+",\n") - } - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetUsageRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&cloudservice.GetUsageRequest{") - if this.StartTimeInclusive != nil { - s = append(s, "StartTimeInclusive: "+fmt.Sprintf("%#v", this.StartTimeInclusive)+",\n") - } - if this.EndTimeExclusive != nil { - s = append(s, "EndTimeExclusive: "+fmt.Sprintf("%#v", this.EndTimeExclusive)+",\n") - } - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetUsageResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.GetUsageResponse{") - if this.Summaries != nil { - s = append(s, "Summaries: "+fmt.Sprintf("%#v", this.Summaries)+",\n") - } - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetAccountRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 4) - s = append(s, "&cloudservice.GetAccountRequest{") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetAccountResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetAccountResponse{") - if this.Account != nil { - s = append(s, "Account: "+fmt.Sprintf("%#v", this.Account)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateNamespaceExportSinkRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&cloudservice.CreateNamespaceExportSinkRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateNamespaceExportSinkResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.CreateNamespaceExportSinkResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetNamespaceExportSinkRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.GetNamespaceExportSinkRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetNamespaceExportSinkResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetNamespaceExportSinkResponse{") - if this.Sink != nil { - s = append(s, "Sink: "+fmt.Sprintf("%#v", this.Sink)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetNamespaceExportSinksRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&cloudservice.GetNamespaceExportSinksRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetNamespaceExportSinksResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.GetNamespaceExportSinksResponse{") - if this.Sinks != nil { - s = append(s, "Sinks: "+fmt.Sprintf("%#v", this.Sinks)+",\n") - } - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateNamespaceExportSinkRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&cloudservice.UpdateNamespaceExportSinkRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateNamespaceExportSinkResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.UpdateNamespaceExportSinkResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteNamespaceExportSinkRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&cloudservice.DeleteNamespaceExportSinkRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteNamespaceExportSinkResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.DeleteNamespaceExportSinkResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ValidateNamespaceExportSinkRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.ValidateNamespaceExportSinkRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ValidateNamespaceExportSinkResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 4) - s = append(s, "&cloudservice.ValidateNamespaceExportSinkResponse{") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *StartMigrationRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.StartMigrationRequest{") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *StartMigrationResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.StartMigrationResponse{") - s = append(s, "MigrationId: "+fmt.Sprintf("%#v", this.MigrationId)+",\n") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetMigrationRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetMigrationRequest{") - s = append(s, "MigrationId: "+fmt.Sprintf("%#v", this.MigrationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetMigrationResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetMigrationResponse{") - if this.Migration != nil { - s = append(s, "Migration: "+fmt.Sprintf("%#v", this.Migration)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetMigrationsRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.GetMigrationsRequest{") - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetMigrationsResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.GetMigrationsResponse{") - if this.Migrations != nil { - s = append(s, "Migrations: "+fmt.Sprintf("%#v", this.Migrations)+",\n") - } - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *HandoverNamespaceRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&cloudservice.HandoverNamespaceRequest{") - s = append(s, "MigrationId: "+fmt.Sprintf("%#v", this.MigrationId)+",\n") - s = append(s, "ToReplicaId: "+fmt.Sprintf("%#v", this.ToReplicaId)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *HandoverNamespaceResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.HandoverNamespaceResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ConfirmMigrationRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.ConfirmMigrationRequest{") - s = append(s, "MigrationId: "+fmt.Sprintf("%#v", this.MigrationId)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ConfirmMigrationResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.ConfirmMigrationResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *AbortMigrationRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.AbortMigrationRequest{") - s = append(s, "MigrationId: "+fmt.Sprintf("%#v", this.MigrationId)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *AbortMigrationResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.AbortMigrationResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateConnectivityRuleRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.CreateConnectivityRuleRequest{") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateConnectivityRuleResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.CreateConnectivityRuleResponse{") - s = append(s, "ConnectivityRuleId: "+fmt.Sprintf("%#v", this.ConnectivityRuleId)+",\n") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetConnectivityRuleRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetConnectivityRuleRequest{") - s = append(s, "ConnectivityRuleId: "+fmt.Sprintf("%#v", this.ConnectivityRuleId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetConnectivityRuleResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetConnectivityRuleResponse{") - if this.ConnectivityRule != nil { - s = append(s, "ConnectivityRule: "+fmt.Sprintf("%#v", this.ConnectivityRule)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetConnectivityRulesRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&cloudservice.GetConnectivityRulesRequest{") - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetConnectivityRulesResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.GetConnectivityRulesResponse{") - if this.ConnectivityRules != nil { - s = append(s, "ConnectivityRules: "+fmt.Sprintf("%#v", this.ConnectivityRules)+",\n") - } - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteConnectivityRuleRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&cloudservice.DeleteConnectivityRuleRequest{") - s = append(s, "ConnectivityRuleId: "+fmt.Sprintf("%#v", this.ConnectivityRuleId)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteConnectivityRuleResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.DeleteConnectivityRuleResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetProjectsRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.GetProjectsRequest{") - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetProjectsResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.GetProjectsResponse{") - if this.Projects != nil { - s = append(s, "Projects: "+fmt.Sprintf("%#v", this.Projects)+",\n") - } - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetProjectRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetProjectRequest{") - s = append(s, "ProjectId: "+fmt.Sprintf("%#v", this.ProjectId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetProjectResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetProjectResponse{") - if this.Project != nil { - s = append(s, "Project: "+fmt.Sprintf("%#v", this.Project)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateProjectRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.CreateProjectRequest{") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateProjectResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.CreateProjectResponse{") - s = append(s, "ProjectId: "+fmt.Sprintf("%#v", this.ProjectId)+",\n") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateProjectRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&cloudservice.UpdateProjectRequest{") - s = append(s, "ProjectId: "+fmt.Sprintf("%#v", this.ProjectId)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateProjectResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.UpdateProjectResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteProjectRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&cloudservice.DeleteProjectRequest{") - s = append(s, "ProjectId: "+fmt.Sprintf("%#v", this.ProjectId)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteProjectResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.DeleteProjectResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateNamespaceTagsRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&cloudservice.UpdateNamespaceTagsRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - keysForTagsToUpsert := make([]string, 0, len(this.TagsToUpsert)) - for k, _ := range this.TagsToUpsert { - keysForTagsToUpsert = append(keysForTagsToUpsert, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForTagsToUpsert) - mapStringForTagsToUpsert := "map[string]string{" - for _, k := range keysForTagsToUpsert { - mapStringForTagsToUpsert += fmt.Sprintf("%#v: %#v,", k, this.TagsToUpsert[k]) - } - mapStringForTagsToUpsert += "}" - if this.TagsToUpsert != nil { - s = append(s, "TagsToUpsert: "+mapStringForTagsToUpsert+",\n") - } - s = append(s, "TagsToRemove: "+fmt.Sprintf("%#v", this.TagsToRemove)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateNamespaceTagsResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.UpdateNamespaceTagsResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ResendUserInviteRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&cloudservice.ResendUserInviteRequest{") - s = append(s, "UserId: "+fmt.Sprintf("%#v", this.UserId)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ResendUserInviteResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.ResendUserInviteResponse{") - if this.AsyncOperation != nil { - s = append(s, "AsyncOperation: "+fmt.Sprintf("%#v", this.AsyncOperation)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetTagKeysRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetTagKeysRequest{") - s = append(s, "Prefix: "+fmt.Sprintf("%#v", this.Prefix)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetTagKeysResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&cloudservice.GetTagKeysResponse{") - s = append(s, "TagKeys: "+fmt.Sprintf("%#v", this.TagKeys)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func valueToGoStringRequestResponse(v interface{}, typ string) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) -} -func (m *GetUsersRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetUsersRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetUsersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0x22 - } - if len(m.Email) > 0 { - i -= len(m.Email) - copy(dAtA[i:], m.Email) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Email))) - i-- - dAtA[i] = 0x1a - } - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x12 - } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *GetUsersResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetUsersResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetUsersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.Users) > 0 { - for iNdEx := len(m.Users) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Users[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GetUserRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetUserRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.UserId) > 0 { - i -= len(m.UserId) - copy(dAtA[i:], m.UserId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.UserId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetUserResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetUserResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetUserResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.User != nil { - { - size, err := m.User.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CreateUserRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateUserRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x12 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CreateUserResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateUserResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateUserResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.UserId) > 0 { - i -= len(m.UserId) - copy(dAtA[i:], m.UserId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.UserId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateUserRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateUserRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x22 - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.UserId) > 0 { - i -= len(m.UserId) - copy(dAtA[i:], m.UserId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.UserId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateUserResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateUserResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateUserResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteUserRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteUserRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if len(m.UserId) > 0 { - i -= len(m.UserId) - copy(dAtA[i:], m.UserId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.UserId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteUserResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteUserResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteUserResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SetUserNamespaceAccessRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SetUserNamespaceAccessRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SetUserNamespaceAccessRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x2a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x22 - } - if m.Access != nil { - { - size, err := m.Access.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.UserId) > 0 { - i -= len(m.UserId) - copy(dAtA[i:], m.UserId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.UserId))) - i-- - dAtA[i] = 0x12 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SetUserNamespaceAccessResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SetUserNamespaceAccessResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SetUserNamespaceAccessResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetAsyncOperationRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetAsyncOperationRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetAsyncOperationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetAsyncOperationResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetAsyncOperationResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetAsyncOperationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CreateNamespaceRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Tags) > 0 { - for k := range m.Tags { - v := m.Tags[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintRequestResponse(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x22 - } - } - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - return len(dAtA) - i, nil -} - -func (m *CreateNamespaceResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetNamespacesRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetNamespacesRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetNamespacesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ConnectivityRuleId) > 0 { - i -= len(m.ConnectivityRuleId) - copy(dAtA[i:], m.ConnectivityRuleId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ConnectivityRuleId))) - i-- - dAtA[i] = 0x22 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0x1a - } - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x12 - } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *GetNamespacesResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetNamespacesResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetNamespacesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.Namespaces) > 0 { - for iNdEx := len(m.Namespaces) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Namespaces[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GetNamespaceIDsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetNamespaceIDsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetNamespaceIDsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x12 - } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *GetNamespaceIDsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetNamespaceIDsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return mi.MessageOf(x) } -func (m *GetNamespaceIDsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.NamespaceIds) > 0 { - for iNdEx := len(m.NamespaceIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.NamespaceIds[iNdEx]) - copy(dAtA[i:], m.NamespaceIds[iNdEx]) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NamespaceIds[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil +// Deprecated: Use GetNamespaceCapacityInfoResponse.ProtoReflect.Descriptor instead. +func (*GetNamespaceCapacityInfoResponse) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{179} } -func (m *GetNamespaceRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *GetNamespaceCapacityInfoResponse) GetCapacityInfo() *v12.NamespaceCapacityInfo { + if x != nil { + return x.CapacityInfo } - return dAtA[:n], nil -} - -func (m *GetNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return nil } -func (m *GetNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} +type GetUserGroupsRequest_GoogleGroupFilter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GetNamespaceResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil + // Filter groups by the google group email - optional. + EmailAddress string `protobuf:"bytes,1,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"` } -func (m *GetNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Namespace != nil { - { - size, err := m.Namespace.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateNamespaceRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x22 - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 +func (x *GetUserGroupsRequest_GoogleGroupFilter) Reset() { + *x = GetUserGroupsRequest_GoogleGroupFilter{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[181] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil } -func (m *UpdateNamespaceResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (x *GetUserGroupsRequest_GoogleGroupFilter) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} +func (*GetUserGroupsRequest_GoogleGroupFilter) ProtoMessage() {} -func (m *UpdateNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *RenameCustomSearchAttributeRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RenameCustomSearchAttributeRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RenameCustomSearchAttributeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x2a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x22 - } - if len(m.NewCustomSearchAttributeName) > 0 { - i -= len(m.NewCustomSearchAttributeName) - copy(dAtA[i:], m.NewCustomSearchAttributeName) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NewCustomSearchAttributeName))) - i-- - dAtA[i] = 0x1a - } - if len(m.ExistingCustomSearchAttributeName) > 0 { - i -= len(m.ExistingCustomSearchAttributeName) - copy(dAtA[i:], m.ExistingCustomSearchAttributeName) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ExistingCustomSearchAttributeName))) - i-- - dAtA[i] = 0x12 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *RenameCustomSearchAttributeResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RenameCustomSearchAttributeResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RenameCustomSearchAttributeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) +func (x *GetUserGroupsRequest_GoogleGroupFilter) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[181] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteNamespaceRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa + return ms } - return len(dAtA) - i, nil + return mi.MessageOf(x) } -func (m *DeleteNamespaceResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +// Deprecated: Use GetUserGroupsRequest_GoogleGroupFilter.ProtoReflect.Descriptor instead. +func (*GetUserGroupsRequest_GoogleGroupFilter) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{52, 0} } -func (m *DeleteNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func (x *GetUserGroupsRequest_GoogleGroupFilter) GetEmailAddress() string { + if x != nil { + return x.EmailAddress } - return len(dAtA) - i, nil + return "" } -func (m *FailoverNamespaceRegionRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} +type GetUserGroupsRequest_SCIMGroupFilter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FailoverNamespaceRegionRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + // Filter groups by the SCIM IDP id - optional. + IdpId string `protobuf:"bytes,1,opt,name=idp_id,json=idpId,proto3" json:"idp_id,omitempty"` } -func (m *FailoverNamespaceRegionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x1a +func (x *GetUserGroupsRequest_SCIMGroupFilter) Reset() { + *x = GetUserGroupsRequest_SCIMGroupFilter{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[182] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if len(m.Region) > 0 { - i -= len(m.Region) - copy(dAtA[i:], m.Region) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Region))) - i-- - dAtA[i] = 0x12 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil } -func (m *FailoverNamespaceRegionResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (x *GetUserGroupsRequest_SCIMGroupFilter) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FailoverNamespaceRegionResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} +func (*GetUserGroupsRequest_SCIMGroupFilter) ProtoMessage() {} -func (m *FailoverNamespaceRegionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AddNamespaceRegionRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AddNamespaceRegionRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AddNamespaceRegionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x22 - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x1a - } - if len(m.Region) > 0 { - i -= len(m.Region) - copy(dAtA[i:], m.Region) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Region))) - i-- - dAtA[i] = 0x12 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AddNamespaceRegionResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AddNamespaceRegionResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AddNamespaceRegionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteNamespaceRegionRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteNamespaceRegionRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteNamespaceRegionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x22 - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x1a - } - if len(m.Region) > 0 { - i -= len(m.Region) - copy(dAtA[i:], m.Region) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Region))) - i-- - dAtA[i] = 0x12 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteNamespaceRegionResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteNamespaceRegionResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteNamespaceRegionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) +func (x *GetUserGroupsRequest_SCIMGroupFilter) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[182] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - i-- - dAtA[i] = 0xa + return ms } - return len(dAtA) - i, nil + return mi.MessageOf(x) } -func (m *GetRegionsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetRegionsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +// Deprecated: Use GetUserGroupsRequest_SCIMGroupFilter.ProtoReflect.Descriptor instead. +func (*GetUserGroupsRequest_SCIMGroupFilter) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP(), []int{52, 1} +} + +func (x *GetUserGroupsRequest_SCIMGroupFilter) GetIdpId() string { + if x != nil { + return x.IdpId + } + return "" +} + +var File_temporal_api_cloud_cloudservice_v1_request_response_proto protoreflect.FileDescriptor + +var file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDesc = []byte{ + 0x0a, 0x39, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x1a, + 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1b, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x65, + 0x78, 0x75, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2f, + 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x2b, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, + 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x75, 0x73, 0x61, + 0x67, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x72, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1b, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, + 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x22, 0x94, 0x02, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x3a, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, + 0x55, 0x73, 0x65, 0x72, 0x48, 0x00, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x59, 0x0a, 0x0f, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x11, 0x70, 0x72, 0x69, 0x6e, 0x63, + 0x69, 0x70, 0x61, 0x6c, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x0f, 0x70, 0x72, 0x69, 0x6e, + 0x63, 0x69, 0x70, 0x61, 0x6c, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x42, 0x0b, 0x0a, 0x09, 0x70, + 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x22, 0xd1, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, + 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, + 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, + 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, + 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, + 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1c, + 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x27, 0x0a, 0x0f, + 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, + 0x64, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x53, 0x75, 0x62, 0x73, + 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, + 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x65, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x69, + 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x22, 0x76, 0x0a, 0x10, + 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x3a, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x24, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, + 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x26, 0x0a, 0x0f, + 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x5d, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x32, 0x0a, 0x15, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, + 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x64, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, + 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x44, 0x65, 0x72, 0x69, 0x76, 0x65, 0x64, 0x52, 0x6f, + 0x6c, 0x65, 0x73, 0x22, 0x4b, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, + 0x22, 0x87, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x42, 0x06, + 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x2c, 0x0a, 0x12, + 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x87, 0x01, 0x0a, 0x12, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, + 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xcb, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, + 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x44, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x28, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, + 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x42, 0x06, 0xba, 0x48, 0x03, + 0xc8, 0x01, 0x01, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x22, 0x6e, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, + 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x85, 0x01, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, + 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x6e, 0x0a, 0x12, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, + 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, + 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x88, 0x02, 0x0a, 0x1d, 0x53, + 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x09, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x06, 0x75, 0x73, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x47, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, + 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x7a, 0x0a, 0x1e, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, + 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x48, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, + 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x75, 0x0a, 0x19, 0x47, + 0x65, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, + 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0xc4, 0x02, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, + 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x42, 0x06, 0xba, 0x48, 0x03, + 0xc8, 0x01, 0x01, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, + 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x58, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x2e, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x74, 0x61, 0x67, + 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, + 0x1a, 0x37, 0x0a, 0x09, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x91, 0x01, 0x0a, 0x17, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, + 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, + 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x85, 0x01, + 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, + 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, + 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, + 0x65, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x49, 0x64, 0x22, 0x8b, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x4a, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, + 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, + 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x22, 0x73, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x49, 0x44, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, + 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, + 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x22, 0x66, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, + 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, + 0x22, 0x3b, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, + 0x01, 0x01, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x60, 0x0a, + 0x14, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, + 0xe3, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x09, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, + 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x12, 0x4a, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x42, 0x06, + 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x29, 0x0a, 0x10, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, + 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x73, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, + 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, + 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xbd, 0x02, 0x0a, 0x22, 0x52, + 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x53, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x24, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x09, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x50, 0x0a, 0x25, 0x65, 0x78, 0x69, 0x73, 0x74, + 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x21, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, + 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x74, 0x74, 0x72, + 0x69, 0x62, 0x75, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x20, 0x6e, 0x65, 0x77, + 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x61, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x1c, 0x6e, 0x65, 0x77, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x53, 0x65, + 0x61, 0x72, 0x63, 0x68, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, + 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x7f, 0x0a, 0x23, 0x52, 0x65, + 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, + 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, + 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x97, 0x01, 0x0a, 0x16, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, + 0x01, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x29, 0x0a, 0x10, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, + 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x73, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, + 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, + 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8c, 0x01, 0x0a, 0x1e, 0x46, + 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, + 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x61, + 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x7b, 0x0a, 0x1f, 0x46, 0x61, 0x69, + 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, + 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb2, 0x01, 0x0a, 0x19, 0x41, 0x64, 0x64, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, + 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, + 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x76, 0x0a, 0x1a, 0x41, + 0x64, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, + 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0xb5, 0x01, 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, + 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, + 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x79, 0x0a, 0x1d, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, + 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x13, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x54, 0x0a, 0x12, 0x47, + 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x3e, 0x0a, 0x07, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x76, + 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x73, 0x22, 0x2a, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x22, 0x51, 0x0a, + 0x11, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x76, + 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x22, 0xe5, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x78, 0x75, 0x73, 0x45, 0x6e, 0x64, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, + 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, + 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x2e, 0x0a, 0x13, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, + 0x51, 0x75, 0x65, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x22, 0x88, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, + 0x4e, 0x65, 0x78, 0x75, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, + 0x65, 0x78, 0x75, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x52, 0x09, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, + 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x22, 0x42, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x78, 0x75, 0x73, 0x45, + 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, + 0x0a, 0x0b, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x0a, 0x65, 0x6e, 0x64, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x5d, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4e, 0x65, + 0x78, 0x75, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x78, 0x75, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x08, 0x65, 0x6e, + 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0xb0, 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x4e, 0x65, 0x78, 0x75, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x78, 0x75, 0x73, 0x2e, 0x76, + 0x31, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x42, 0x06, + 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x2c, 0x0a, 0x12, + 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x22, 0x98, 0x01, 0x0a, 0x1b, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x4e, 0x65, 0x78, 0x75, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6e, 0x64, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, + 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xe5, 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, + 0x65, 0x78, 0x75, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0b, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, + 0x52, 0x0a, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x04, + 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x6e, 0x65, 0x78, 0x75, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x53, 0x70, 0x65, 0x63, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x04, 0x73, + 0x70, 0x65, 0x63, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, + 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, + 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x77, 0x0a, 0x1b, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x65, 0x78, 0x75, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x61, + 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9e, 0x01, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x4e, 0x65, 0x78, 0x75, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0b, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, + 0x01, 0x52, 0x0a, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x29, 0x0a, + 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, + 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x77, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x4e, 0x65, 0x78, 0x75, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, + 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0xb7, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x70, + 0x65, 0x63, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, + 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x61, + 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x71, 0x0a, 0x15, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, + 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, + 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9d, 0x04, 0x0a, + 0x14, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, + 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, + 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, + 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x6d, 0x0a, 0x0c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5f, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4a, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x2e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x46, 0x69, + 0x6c, 0x74, 0x65, 0x72, 0x52, 0x0b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, + 0x70, 0x12, 0x67, 0x0a, 0x0a, 0x73, 0x63, 0x69, 0x6d, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, + 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, + 0x53, 0x43, 0x49, 0x4d, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, + 0x09, 0x73, 0x63, 0x69, 0x6d, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x25, 0x0a, 0x0e, 0x6e, 0x61, + 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x64, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x61, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x74, 0x72, 0x69, 0x6e, + 0x67, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x73, 0x18, 0x65, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, + 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x1a, 0x38, 0x0a, 0x11, 0x47, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x23, 0x0a, + 0x0d, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x1a, 0x28, 0x0a, 0x0f, 0x53, 0x43, 0x49, 0x4d, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x46, + 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x15, 0x0a, 0x06, 0x69, 0x64, 0x70, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x64, 0x70, 0x49, 0x64, 0x22, 0x82, 0x01, 0x0a, + 0x15, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, + 0x70, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, + 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x22, 0x30, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, + 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x49, 0x64, 0x22, 0x57, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, + 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x05, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x91, 0x01, 0x0a, + 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x53, 0x70, 0x65, 0x63, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x04, 0x73, 0x70, + 0x65, 0x63, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, + 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x22, 0x8e, 0x01, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, + 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0xd7, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x49, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x53, 0x70, 0x65, 0x63, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x04, 0x73, 0x70, + 0x65, 0x63, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, + 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x73, 0x0a, 0x17, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, + 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, + 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x8c, 0x01, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, + 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, + 0x73, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, + 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, + 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8f, 0x02, 0x0a, 0x22, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x09, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, + 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x12, 0x21, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x07, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x49, 0x64, 0x12, 0x47, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, + 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, + 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x7f, 0x0a, 0x23, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, + 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, + 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb4, 0x01, 0x0a, 0x19, 0x41, 0x64, 0x64, 0x55, + 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, + 0x12, 0x4e, 0x0a, 0x09, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x49, 0x64, 0x52, 0x08, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x64, + 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, + 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x76, + 0x0a, 0x1a, 0x41, 0x64, 0x64, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, + 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb7, 0x01, 0x0a, 0x1c, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x49, 0x64, 0x12, 0x4e, 0x0a, 0x09, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x64, 0x52, 0x08, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, + 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, + 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x22, 0x79, 0x0a, 0x1d, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, + 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, + 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, + 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x73, 0x0a, 0x1a, 0x47, + 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, + 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, + 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, + 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, + 0x22, 0x90, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, + 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x49, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, + 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, + 0x65, 0x72, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, + 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x22, 0x9b, 0x01, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x4e, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x32, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, + 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x53, 0x70, 0x65, 0x63, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x04, 0x73, + 0x70, 0x65, 0x63, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x22, 0xa6, 0x01, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, + 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, + 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, + 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x48, 0x0a, 0x18, 0x47, 0x65, + 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x49, 0x64, 0x22, 0x74, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x57, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xba, 0x03, 0x0a, 0x19, 0x47, + 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, + 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, + 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x5d, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x64, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x47, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x73, 0x63, + 0x6f, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x18, 0x65, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x73, 0x18, 0x66, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, + 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x6e, 0x61, 0x6d, 0x65, + 0x5f, 0x73, 0x75, 0x62, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x67, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0d, 0x6e, 0x61, 0x6d, 0x65, 0x53, 0x75, 0x62, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, + 0x95, 0x01, 0x0a, 0x09, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, + 0x2a, 0x47, 0x45, 0x54, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x41, 0x43, 0x43, + 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x2a, 0x0a, + 0x26, 0x47, 0x45, 0x54, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x41, 0x43, 0x43, + 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x2c, 0x0a, 0x28, 0x47, 0x45, 0x54, + 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, + 0x5f, 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x41, 0x4d, 0x45, + 0x53, 0x50, 0x41, 0x43, 0x45, 0x10, 0x02, 0x22, 0x9d, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x2e, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, + 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, + 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, + 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xf4, 0x01, 0x0a, 0x1b, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x4e, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, + 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, + 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x78, + 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, + 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa7, 0x02, 0x0a, 0x27, 0x53, 0x65, 0x74, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x09, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, + 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x12, 0x47, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, + 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x22, 0x84, 0x01, 0x0a, 0x28, 0x53, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa4, 0x01, 0x0a, 0x1b, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, + 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x22, 0x78, 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, + 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, + 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x98, 0x03, 0x0a, 0x11, 0x47, + 0x65, 0x74, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, + 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x19, 0x0a, 0x08, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x15, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x13, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x54, 0x79, 0x70, 0x65, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, + 0x48, 0x0a, 0x0a, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x54, 0x0a, 0x0e, 0x69, 0x6e, 0x63, + 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x65, 0x20, 0x03, 0x28, + 0x0e, 0x32, 0x2d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x52, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, + 0x36, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x66, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x64, + 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x18, 0x67, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x7f, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x41, 0x70, 0x69, 0x4b, + 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x08, 0x61, + 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, + 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x41, + 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x07, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x26, + 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, + 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x29, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, 0x70, 0x69, + 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6b, 0x65, + 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6b, 0x65, 0x79, 0x49, + 0x64, 0x22, 0x54, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x07, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, + 0x06, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x22, 0x8b, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x46, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, + 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x41, + 0x70, 0x69, 0x4b, 0x65, 0x79, 0x53, 0x70, 0x65, 0x63, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, + 0x01, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, + 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x9d, 0x01, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x15, + 0x0a, 0x06, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x6b, 0x65, 0x79, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x58, 0x0a, 0x0f, 0x61, + 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xcd, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, + 0x06, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6b, + 0x65, 0x79, 0x49, 0x64, 0x12, 0x46, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x53, 0x70, 0x65, 0x63, 0x42, 0x06, + 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x29, 0x0a, 0x10, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, + 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x70, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, + 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, + 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x85, 0x01, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x15, 0x0a, 0x06, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x6b, 0x65, 0x79, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, + 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, + 0x70, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, + 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x71, 0x0a, 0x22, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4b, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, + 0x6e, 0x6b, 0x53, 0x70, 0x65, 0x63, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x04, + 0x73, 0x70, 0x65, 0x63, 0x22, 0x25, 0x0a, 0x23, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, + 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9d, 0x01, 0x0a, 0x20, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x64, + 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x4b, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, + 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, 0x53, 0x70, 0x65, 0x63, 0x42, + 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x2c, 0x0a, + 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x7d, 0x0a, 0x21, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x64, 0x69, + 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, + 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, + 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x33, 0x0a, 0x1d, 0x47, 0x65, + 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, + 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, + 0x61, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x64, + 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x3f, 0x0a, 0x04, 0x73, 0x69, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2b, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, + 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x04, 0x73, 0x69, + 0x6e, 0x6b, 0x22, 0x5c, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, + 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, + 0x22, 0x8c, 0x01, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, + 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x05, 0x73, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, + 0x52, 0x05, 0x73, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, + 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, + 0xc8, 0x01, 0x0a, 0x20, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x4b, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, + 0x76, 0x31, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, 0x53, + 0x70, 0x65, 0x63, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x04, 0x73, 0x70, 0x65, + 0x63, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, + 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x7d, 0x0a, 0x21, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, + 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8f, 0x01, 0x0a, 0x20, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, + 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, + 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x7d, 0x0a, 0x21, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x64, 0x69, + 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, + 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, + 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xe9, 0x01, 0x0a, 0x13, 0x47, + 0x65, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, + 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x4c, + 0x0a, 0x14, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x69, 0x6e, 0x63, + 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x12, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, + 0x69, 0x6d, 0x65, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x12, 0x48, 0x0a, 0x12, + 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, + 0x76, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x45, 0x78, 0x63, + 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x22, 0x7d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, 0x75, 0x64, + 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, + 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, + 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x26, 0x0a, + 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xe5, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x55, 0x73, 0x61, + 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x14, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x52, 0x12, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x49, 0x6e, + 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x12, 0x48, 0x0a, 0x12, 0x65, 0x6e, 0x64, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, + 0x10, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x45, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, + 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, + 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x7e, 0x0a, + 0x10, 0x47, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x42, 0x0a, 0x09, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x09, 0x73, 0x75, 0x6d, 0x6d, + 0x61, 0x72, 0x69, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, + 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, + 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x13, 0x0a, + 0x11, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x22, 0x56, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xc3, 0x01, 0x0a, 0x20, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, + 0x70, 0x6f, 0x72, 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x24, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x4b, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x69, 0x6e, 0x6b, + 0x53, 0x70, 0x65, 0x63, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x04, 0x73, 0x70, + 0x65, 0x63, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, + 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x22, 0x7d, 0x0a, 0x21, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, + 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x59, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, + 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x24, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x09, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x61, 0x0a, 0x1e, 0x47, 0x65, + 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, + 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x04, + 0x73, 0x69, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, + 0x6f, 0x72, 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x04, 0x73, 0x69, 0x6e, 0x6b, 0x22, 0x82, 0x01, + 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, + 0x70, 0x6f, 0x72, 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x24, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x09, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, + 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, + 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, + 0x65, 0x6e, 0x22, 0x8c, 0x01, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x05, 0x73, 0x69, 0x6e, 0x6b, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x69, + 0x6e, 0x6b, 0x52, 0x05, 0x73, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, + 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x22, 0xee, 0x01, 0x0a, 0x20, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, + 0x01, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x4b, 0x0a, 0x04, + 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, + 0x6f, 0x72, 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x53, 0x70, 0x65, 0x63, 0x42, 0x06, 0xba, 0x48, 0x03, + 0xc8, 0x01, 0x01, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x22, 0x7d, 0x0a, 0x21, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, + 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0xb5, 0x01, 0x0a, 0x20, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, + 0x01, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x61, + 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x7d, 0x0a, 0x21, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x70, 0x6f, + 0x72, 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, + 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x97, 0x01, 0x0a, 0x22, 0x56, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, + 0x70, 0x6f, 0x72, 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x24, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x4b, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x69, 0x6e, 0x6b, + 0x53, 0x70, 0x65, 0x63, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x04, 0x73, 0x70, + 0x65, 0x63, 0x22, 0x25, 0x0a, 0x23, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x69, 0x6e, + 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x15, 0x53, 0x74, + 0x61, 0x72, 0x74, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2e, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, + 0x63, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, + 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, + 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x95, 0x01, + 0x0a, 0x16, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x69, 0x67, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x58, 0x0a, 0x0f, 0x61, + 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x38, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x67, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, + 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, + 0x60, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x09, 0x6d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x52, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, + 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, + 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x8b, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x4a, 0x0a, 0x0a, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x0a, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, + 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x22, 0x8f, 0x01, 0x0a, 0x18, 0x48, 0x61, 0x6e, 0x64, 0x6f, 0x76, 0x65, 0x72, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x6f, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, + 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x75, 0x0a, 0x19, 0x48, 0x61, 0x6e, 0x64, 0x6f, 0x76, 0x65, + 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, + 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, + 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x6a, 0x0a, 0x17, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, + 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, + 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x74, 0x0a, 0x18, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x72, 0x6d, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, + 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, + 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, + 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x68, + 0x0a, 0x15, 0x41, 0x62, 0x6f, 0x72, 0x74, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, + 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, + 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x72, 0x0a, 0x16, 0x41, 0x62, 0x6f, 0x72, + 0x74, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, + 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, + 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xc6, 0x01, 0x0a, + 0x1d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x58, + 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x72, 0x75, + 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, + 0x01, 0x01, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, + 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x49, 0x64, 0x22, 0xac, 0x01, 0x0a, 0x1e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, + 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x4e, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x12, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, + 0x6c, 0x65, 0x49, 0x64, 0x22, 0x84, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x38, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x22, 0x96, 0x01, 0x0a, 0x1b, + 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, + 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, + 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, + 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, + 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, + 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x49, 0x64, 0x22, 0xaf, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x67, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x38, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x11, 0x63, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x26, + 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, + 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xaa, 0x01, 0x0a, 0x1d, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x22, 0x7a, 0x0a, 0x1e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, + 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x50, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, + 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, + 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x22, 0x81, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x08, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x26, 0x0a, + 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x3a, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0a, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, + 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, + 0x64, 0x22, 0x56, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x8c, 0x01, 0x0a, 0x14, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x46, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2a, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, + 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x70, 0x65, 0x63, 0x42, 0x06, 0xba, 0x48, + 0x03, 0xc8, 0x01, 0x01, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, + 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x90, 0x01, 0x0a, 0x15, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, + 0x64, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, + 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, + 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xde, 0x01, 0x0a, 0x14, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, + 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x46, 0x0a, 0x04, 0x73, + 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x53, 0x70, 0x65, 0x63, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x04, 0x73, + 0x70, 0x65, 0x63, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, + 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, + 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x71, 0x0a, 0x15, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, + 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x96, 0x01, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, + 0x03, 0xc8, 0x01, 0x01, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, + 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, + 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x71, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, + 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, + 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8c, 0x02, 0x0a, 0x20, + 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x25, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x09, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, + 0x01, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x06, 0x61, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, + 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x7d, 0x0a, 0x21, 0x53, 0x65, + 0x74, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x85, 0x02, 0x0a, 0x1b, 0x53, 0x65, + 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0a, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, + 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, + 0x12, 0x1f, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x45, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, + 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x22, 0x78, 0x0a, 0x1c, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, + 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, + 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa4, 0x02, 0x0a, 0x25, + 0x53, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, + 0x01, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x12, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, + 0x52, 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x49, 0x64, 0x12, 0x45, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x22, 0x82, 0x01, 0x0a, 0x26, 0x53, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, + 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xcf, 0x02, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, + 0x01, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x76, 0x0a, 0x0e, + 0x74, 0x61, 0x67, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x75, 0x70, 0x73, 0x65, 0x72, 0x74, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x50, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x61, 0x67, 0x73, 0x54, 0x6f, 0x55, 0x70, 0x73, 0x65, 0x72, + 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x74, 0x61, 0x67, 0x73, 0x54, 0x6f, 0x55, 0x70, + 0x73, 0x65, 0x72, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x61, 0x67, 0x73, 0x5f, 0x74, 0x6f, 0x5f, + 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x61, + 0x67, 0x73, 0x54, 0x6f, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, + 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x1a, 0x3f, 0x0a, 0x11, 0x54, 0x61, 0x67, 0x73, + 0x54, 0x6f, 0x55, 0x70, 0x73, 0x65, 0x72, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x77, 0x0a, 0x1b, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, + 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x60, 0x0a, 0x17, 0x52, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, + 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, + 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, + 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x74, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, + 0x65, 0x72, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, + 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, + 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2b, 0x0a, 0x11, 0x47, 0x65, + 0x74, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x22, 0x2f, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, 0x61, + 0x67, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, + 0x08, 0x74, 0x61, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x07, 0x74, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x73, 0x22, 0x53, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x43, + 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, + 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x8f, 0x01, + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0c, 0x63, 0x75, 0x73, 0x74, + 0x6f, 0x6d, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, + 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x0b, 0x63, 0x75, 0x73, 0x74, + 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, + 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, + 0x37, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, + 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x64, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x43, + 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x4b, 0x0a, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x72, 0x6f, 0x6c, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, + 0x6c, 0x65, 0x52, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x22, 0x93, + 0x01, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, + 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x04, 0x73, 0x70, + 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, + 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, + 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, + 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x8d, 0x01, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, + 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, + 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xdf, 0x01, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, + 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1f, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, + 0x64, 0x12, 0x4a, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2e, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, + 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x42, + 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x29, 0x0a, + 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, + 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x74, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, + 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, + 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x93, 0x01, 0x0a, + 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x07, 0x72, 0x6f, 0x6c, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, + 0x01, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x22, 0x74, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, + 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, + 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x98, 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, + 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, + 0x6f, 0x72, 0x74, 0x53, 0x70, 0x65, 0x63, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, + 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x22, 0xa3, 0x01, 0x0a, 0x1b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x69, + 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x72, + 0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, + 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x64, 0x12, + 0x58, 0x0a, 0x0f, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x73, 0x79, 0x6e, 0x63, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x45, 0x0a, 0x17, 0x47, 0x65, 0x74, + 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, + 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x64, + 0x22, 0x6f, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, + 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0e, + 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, + 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6f, + 0x72, 0x74, 0x52, 0x0d, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6f, 0x72, + 0x74, 0x22, 0x47, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xba, 0x48, 0x03, 0xc8, 0x01, 0x01, 0x52, + 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x7f, 0x0a, 0x20, 0x47, 0x65, + 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, + 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, + 0x0a, 0x0d, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x63, + 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0xa2, 0x02, 0x0a, 0x26, + 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, + 0x67, 0x6f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x69, 0x6f, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0xa2, 0x02, 0x04, 0x54, 0x41, 0x43, 0x43, 0xaa, 0x02, 0x22, 0x54, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x41, 0x70, 0x69, 0x2e, 0x43, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x56, + 0x31, 0xca, 0x02, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x5c, 0x41, 0x70, 0x69, + 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x2e, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x43, 0x6c, 0x6f, 0x75, + 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x26, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, + 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x3a, 0x3a, 0x56, 0x31, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func (m *GetRegionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} +var ( + file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescOnce sync.Once + file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescData = file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDesc +) -func (m *GetRegionsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescGZIP() []byte { + file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescOnce.Do(func() { + file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescData) + }) + return file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDescData +} + +var file_temporal_api_cloud_cloudservice_v1_request_response_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes = make([]protoimpl.MessageInfo, 184) +var file_temporal_api_cloud_cloudservice_v1_request_response_proto_goTypes = []interface{}{ + (GetServiceAccountsRequest_ScopeType)(0), // 0: temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest.ScopeType + (*GetCurrentIdentityRequest)(nil), // 1: temporal.api.cloud.cloudservice.v1.GetCurrentIdentityRequest + (*GetCurrentIdentityResponse)(nil), // 2: temporal.api.cloud.cloudservice.v1.GetCurrentIdentityResponse + (*GetUsersRequest)(nil), // 3: temporal.api.cloud.cloudservice.v1.GetUsersRequest + (*GetUsersResponse)(nil), // 4: temporal.api.cloud.cloudservice.v1.GetUsersResponse + (*GetUserRequest)(nil), // 5: temporal.api.cloud.cloudservice.v1.GetUserRequest + (*GetUserResponse)(nil), // 6: temporal.api.cloud.cloudservice.v1.GetUserResponse + (*CreateUserRequest)(nil), // 7: temporal.api.cloud.cloudservice.v1.CreateUserRequest + (*CreateUserResponse)(nil), // 8: temporal.api.cloud.cloudservice.v1.CreateUserResponse + (*UpdateUserRequest)(nil), // 9: temporal.api.cloud.cloudservice.v1.UpdateUserRequest + (*UpdateUserResponse)(nil), // 10: temporal.api.cloud.cloudservice.v1.UpdateUserResponse + (*DeleteUserRequest)(nil), // 11: temporal.api.cloud.cloudservice.v1.DeleteUserRequest + (*DeleteUserResponse)(nil), // 12: temporal.api.cloud.cloudservice.v1.DeleteUserResponse + (*SetUserNamespaceAccessRequest)(nil), // 13: temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessRequest + (*SetUserNamespaceAccessResponse)(nil), // 14: temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessResponse + (*GetAsyncOperationRequest)(nil), // 15: temporal.api.cloud.cloudservice.v1.GetAsyncOperationRequest + (*GetAsyncOperationResponse)(nil), // 16: temporal.api.cloud.cloudservice.v1.GetAsyncOperationResponse + (*CreateNamespaceRequest)(nil), // 17: temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest + (*CreateNamespaceResponse)(nil), // 18: temporal.api.cloud.cloudservice.v1.CreateNamespaceResponse + (*GetNamespacesRequest)(nil), // 19: temporal.api.cloud.cloudservice.v1.GetNamespacesRequest + (*GetNamespacesResponse)(nil), // 20: temporal.api.cloud.cloudservice.v1.GetNamespacesResponse + (*GetNamespaceIDsRequest)(nil), // 21: temporal.api.cloud.cloudservice.v1.GetNamespaceIDsRequest + (*GetNamespaceIDsResponse)(nil), // 22: temporal.api.cloud.cloudservice.v1.GetNamespaceIDsResponse + (*GetNamespaceRequest)(nil), // 23: temporal.api.cloud.cloudservice.v1.GetNamespaceRequest + (*GetNamespaceResponse)(nil), // 24: temporal.api.cloud.cloudservice.v1.GetNamespaceResponse + (*UpdateNamespaceRequest)(nil), // 25: temporal.api.cloud.cloudservice.v1.UpdateNamespaceRequest + (*UpdateNamespaceResponse)(nil), // 26: temporal.api.cloud.cloudservice.v1.UpdateNamespaceResponse + (*RenameCustomSearchAttributeRequest)(nil), // 27: temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest + (*RenameCustomSearchAttributeResponse)(nil), // 28: temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeResponse + (*DeleteNamespaceRequest)(nil), // 29: temporal.api.cloud.cloudservice.v1.DeleteNamespaceRequest + (*DeleteNamespaceResponse)(nil), // 30: temporal.api.cloud.cloudservice.v1.DeleteNamespaceResponse + (*FailoverNamespaceRegionRequest)(nil), // 31: temporal.api.cloud.cloudservice.v1.FailoverNamespaceRegionRequest + (*FailoverNamespaceRegionResponse)(nil), // 32: temporal.api.cloud.cloudservice.v1.FailoverNamespaceRegionResponse + (*AddNamespaceRegionRequest)(nil), // 33: temporal.api.cloud.cloudservice.v1.AddNamespaceRegionRequest + (*AddNamespaceRegionResponse)(nil), // 34: temporal.api.cloud.cloudservice.v1.AddNamespaceRegionResponse + (*DeleteNamespaceRegionRequest)(nil), // 35: temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionRequest + (*DeleteNamespaceRegionResponse)(nil), // 36: temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionResponse + (*GetRegionsRequest)(nil), // 37: temporal.api.cloud.cloudservice.v1.GetRegionsRequest + (*GetRegionsResponse)(nil), // 38: temporal.api.cloud.cloudservice.v1.GetRegionsResponse + (*GetRegionRequest)(nil), // 39: temporal.api.cloud.cloudservice.v1.GetRegionRequest + (*GetRegionResponse)(nil), // 40: temporal.api.cloud.cloudservice.v1.GetRegionResponse + (*GetNexusEndpointsRequest)(nil), // 41: temporal.api.cloud.cloudservice.v1.GetNexusEndpointsRequest + (*GetNexusEndpointsResponse)(nil), // 42: temporal.api.cloud.cloudservice.v1.GetNexusEndpointsResponse + (*GetNexusEndpointRequest)(nil), // 43: temporal.api.cloud.cloudservice.v1.GetNexusEndpointRequest + (*GetNexusEndpointResponse)(nil), // 44: temporal.api.cloud.cloudservice.v1.GetNexusEndpointResponse + (*CreateNexusEndpointRequest)(nil), // 45: temporal.api.cloud.cloudservice.v1.CreateNexusEndpointRequest + (*CreateNexusEndpointResponse)(nil), // 46: temporal.api.cloud.cloudservice.v1.CreateNexusEndpointResponse + (*UpdateNexusEndpointRequest)(nil), // 47: temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest + (*UpdateNexusEndpointResponse)(nil), // 48: temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointResponse + (*DeleteNexusEndpointRequest)(nil), // 49: temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointRequest + (*DeleteNexusEndpointResponse)(nil), // 50: temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointResponse + (*UpdateAccountRequest)(nil), // 51: temporal.api.cloud.cloudservice.v1.UpdateAccountRequest + (*UpdateAccountResponse)(nil), // 52: temporal.api.cloud.cloudservice.v1.UpdateAccountResponse + (*GetUserGroupsRequest)(nil), // 53: temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest + (*GetUserGroupsResponse)(nil), // 54: temporal.api.cloud.cloudservice.v1.GetUserGroupsResponse + (*GetUserGroupRequest)(nil), // 55: temporal.api.cloud.cloudservice.v1.GetUserGroupRequest + (*GetUserGroupResponse)(nil), // 56: temporal.api.cloud.cloudservice.v1.GetUserGroupResponse + (*CreateUserGroupRequest)(nil), // 57: temporal.api.cloud.cloudservice.v1.CreateUserGroupRequest + (*CreateUserGroupResponse)(nil), // 58: temporal.api.cloud.cloudservice.v1.CreateUserGroupResponse + (*UpdateUserGroupRequest)(nil), // 59: temporal.api.cloud.cloudservice.v1.UpdateUserGroupRequest + (*UpdateUserGroupResponse)(nil), // 60: temporal.api.cloud.cloudservice.v1.UpdateUserGroupResponse + (*DeleteUserGroupRequest)(nil), // 61: temporal.api.cloud.cloudservice.v1.DeleteUserGroupRequest + (*DeleteUserGroupResponse)(nil), // 62: temporal.api.cloud.cloudservice.v1.DeleteUserGroupResponse + (*SetUserGroupNamespaceAccessRequest)(nil), // 63: temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessRequest + (*SetUserGroupNamespaceAccessResponse)(nil), // 64: temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessResponse + (*AddUserGroupMemberRequest)(nil), // 65: temporal.api.cloud.cloudservice.v1.AddUserGroupMemberRequest + (*AddUserGroupMemberResponse)(nil), // 66: temporal.api.cloud.cloudservice.v1.AddUserGroupMemberResponse + (*RemoveUserGroupMemberRequest)(nil), // 67: temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberRequest + (*RemoveUserGroupMemberResponse)(nil), // 68: temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberResponse + (*GetUserGroupMembersRequest)(nil), // 69: temporal.api.cloud.cloudservice.v1.GetUserGroupMembersRequest + (*GetUserGroupMembersResponse)(nil), // 70: temporal.api.cloud.cloudservice.v1.GetUserGroupMembersResponse + (*CreateServiceAccountRequest)(nil), // 71: temporal.api.cloud.cloudservice.v1.CreateServiceAccountRequest + (*CreateServiceAccountResponse)(nil), // 72: temporal.api.cloud.cloudservice.v1.CreateServiceAccountResponse + (*GetServiceAccountRequest)(nil), // 73: temporal.api.cloud.cloudservice.v1.GetServiceAccountRequest + (*GetServiceAccountResponse)(nil), // 74: temporal.api.cloud.cloudservice.v1.GetServiceAccountResponse + (*GetServiceAccountsRequest)(nil), // 75: temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest + (*GetServiceAccountsResponse)(nil), // 76: temporal.api.cloud.cloudservice.v1.GetServiceAccountsResponse + (*UpdateServiceAccountRequest)(nil), // 77: temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest + (*UpdateServiceAccountResponse)(nil), // 78: temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse + (*SetServiceAccountNamespaceAccessRequest)(nil), // 79: temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest + (*SetServiceAccountNamespaceAccessResponse)(nil), // 80: temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse + (*DeleteServiceAccountRequest)(nil), // 81: temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest + (*DeleteServiceAccountResponse)(nil), // 82: temporal.api.cloud.cloudservice.v1.DeleteServiceAccountResponse + (*GetApiKeysRequest)(nil), // 83: temporal.api.cloud.cloudservice.v1.GetApiKeysRequest + (*GetApiKeysResponse)(nil), // 84: temporal.api.cloud.cloudservice.v1.GetApiKeysResponse + (*GetApiKeyRequest)(nil), // 85: temporal.api.cloud.cloudservice.v1.GetApiKeyRequest + (*GetApiKeyResponse)(nil), // 86: temporal.api.cloud.cloudservice.v1.GetApiKeyResponse + (*CreateApiKeyRequest)(nil), // 87: temporal.api.cloud.cloudservice.v1.CreateApiKeyRequest + (*CreateApiKeyResponse)(nil), // 88: temporal.api.cloud.cloudservice.v1.CreateApiKeyResponse + (*UpdateApiKeyRequest)(nil), // 89: temporal.api.cloud.cloudservice.v1.UpdateApiKeyRequest + (*UpdateApiKeyResponse)(nil), // 90: temporal.api.cloud.cloudservice.v1.UpdateApiKeyResponse + (*DeleteApiKeyRequest)(nil), // 91: temporal.api.cloud.cloudservice.v1.DeleteApiKeyRequest + (*DeleteApiKeyResponse)(nil), // 92: temporal.api.cloud.cloudservice.v1.DeleteApiKeyResponse + (*ValidateAccountAuditLogSinkRequest)(nil), // 93: temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest + (*ValidateAccountAuditLogSinkResponse)(nil), // 94: temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse + (*CreateAccountAuditLogSinkRequest)(nil), // 95: temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkRequest + (*CreateAccountAuditLogSinkResponse)(nil), // 96: temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkResponse + (*GetAccountAuditLogSinkRequest)(nil), // 97: temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkRequest + (*GetAccountAuditLogSinkResponse)(nil), // 98: temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkResponse + (*GetAccountAuditLogSinksRequest)(nil), // 99: temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinksRequest + (*GetAccountAuditLogSinksResponse)(nil), // 100: temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinksResponse + (*UpdateAccountAuditLogSinkRequest)(nil), // 101: temporal.api.cloud.cloudservice.v1.UpdateAccountAuditLogSinkRequest + (*UpdateAccountAuditLogSinkResponse)(nil), // 102: temporal.api.cloud.cloudservice.v1.UpdateAccountAuditLogSinkResponse + (*DeleteAccountAuditLogSinkRequest)(nil), // 103: temporal.api.cloud.cloudservice.v1.DeleteAccountAuditLogSinkRequest + (*DeleteAccountAuditLogSinkResponse)(nil), // 104: temporal.api.cloud.cloudservice.v1.DeleteAccountAuditLogSinkResponse + (*GetAuditLogsRequest)(nil), // 105: temporal.api.cloud.cloudservice.v1.GetAuditLogsRequest + (*GetAuditLogsResponse)(nil), // 106: temporal.api.cloud.cloudservice.v1.GetAuditLogsResponse + (*GetUsageRequest)(nil), // 107: temporal.api.cloud.cloudservice.v1.GetUsageRequest + (*GetUsageResponse)(nil), // 108: temporal.api.cloud.cloudservice.v1.GetUsageResponse + (*GetAccountRequest)(nil), // 109: temporal.api.cloud.cloudservice.v1.GetAccountRequest + (*GetAccountResponse)(nil), // 110: temporal.api.cloud.cloudservice.v1.GetAccountResponse + (*CreateNamespaceExportSinkRequest)(nil), // 111: temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkRequest + (*CreateNamespaceExportSinkResponse)(nil), // 112: temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkResponse + (*GetNamespaceExportSinkRequest)(nil), // 113: temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkRequest + (*GetNamespaceExportSinkResponse)(nil), // 114: temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkResponse + (*GetNamespaceExportSinksRequest)(nil), // 115: temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksRequest + (*GetNamespaceExportSinksResponse)(nil), // 116: temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksResponse + (*UpdateNamespaceExportSinkRequest)(nil), // 117: temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkRequest + (*UpdateNamespaceExportSinkResponse)(nil), // 118: temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkResponse + (*DeleteNamespaceExportSinkRequest)(nil), // 119: temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkRequest + (*DeleteNamespaceExportSinkResponse)(nil), // 120: temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkResponse + (*ValidateNamespaceExportSinkRequest)(nil), // 121: temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkRequest + (*ValidateNamespaceExportSinkResponse)(nil), // 122: temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkResponse + (*StartMigrationRequest)(nil), // 123: temporal.api.cloud.cloudservice.v1.StartMigrationRequest + (*StartMigrationResponse)(nil), // 124: temporal.api.cloud.cloudservice.v1.StartMigrationResponse + (*GetMigrationRequest)(nil), // 125: temporal.api.cloud.cloudservice.v1.GetMigrationRequest + (*GetMigrationResponse)(nil), // 126: temporal.api.cloud.cloudservice.v1.GetMigrationResponse + (*GetMigrationsRequest)(nil), // 127: temporal.api.cloud.cloudservice.v1.GetMigrationsRequest + (*GetMigrationsResponse)(nil), // 128: temporal.api.cloud.cloudservice.v1.GetMigrationsResponse + (*HandoverNamespaceRequest)(nil), // 129: temporal.api.cloud.cloudservice.v1.HandoverNamespaceRequest + (*HandoverNamespaceResponse)(nil), // 130: temporal.api.cloud.cloudservice.v1.HandoverNamespaceResponse + (*ConfirmMigrationRequest)(nil), // 131: temporal.api.cloud.cloudservice.v1.ConfirmMigrationRequest + (*ConfirmMigrationResponse)(nil), // 132: temporal.api.cloud.cloudservice.v1.ConfirmMigrationResponse + (*AbortMigrationRequest)(nil), // 133: temporal.api.cloud.cloudservice.v1.AbortMigrationRequest + (*AbortMigrationResponse)(nil), // 134: temporal.api.cloud.cloudservice.v1.AbortMigrationResponse + (*CreateConnectivityRuleRequest)(nil), // 135: temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleRequest + (*CreateConnectivityRuleResponse)(nil), // 136: temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleResponse + (*GetConnectivityRuleRequest)(nil), // 137: temporal.api.cloud.cloudservice.v1.GetConnectivityRuleRequest + (*GetConnectivityRuleResponse)(nil), // 138: temporal.api.cloud.cloudservice.v1.GetConnectivityRuleResponse + (*GetConnectivityRulesRequest)(nil), // 139: temporal.api.cloud.cloudservice.v1.GetConnectivityRulesRequest + (*GetConnectivityRulesResponse)(nil), // 140: temporal.api.cloud.cloudservice.v1.GetConnectivityRulesResponse + (*DeleteConnectivityRuleRequest)(nil), // 141: temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleRequest + (*DeleteConnectivityRuleResponse)(nil), // 142: temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse + (*GetProjectsRequest)(nil), // 143: temporal.api.cloud.cloudservice.v1.GetProjectsRequest + (*GetProjectsResponse)(nil), // 144: temporal.api.cloud.cloudservice.v1.GetProjectsResponse + (*GetProjectRequest)(nil), // 145: temporal.api.cloud.cloudservice.v1.GetProjectRequest + (*GetProjectResponse)(nil), // 146: temporal.api.cloud.cloudservice.v1.GetProjectResponse + (*CreateProjectRequest)(nil), // 147: temporal.api.cloud.cloudservice.v1.CreateProjectRequest + (*CreateProjectResponse)(nil), // 148: temporal.api.cloud.cloudservice.v1.CreateProjectResponse + (*UpdateProjectRequest)(nil), // 149: temporal.api.cloud.cloudservice.v1.UpdateProjectRequest + (*UpdateProjectResponse)(nil), // 150: temporal.api.cloud.cloudservice.v1.UpdateProjectResponse + (*DeleteProjectRequest)(nil), // 151: temporal.api.cloud.cloudservice.v1.DeleteProjectRequest + (*DeleteProjectResponse)(nil), // 152: temporal.api.cloud.cloudservice.v1.DeleteProjectResponse + (*SetUserGroupProjectAccessRequest)(nil), // 153: temporal.api.cloud.cloudservice.v1.SetUserGroupProjectAccessRequest + (*SetUserGroupProjectAccessResponse)(nil), // 154: temporal.api.cloud.cloudservice.v1.SetUserGroupProjectAccessResponse + (*SetUserProjectAccessRequest)(nil), // 155: temporal.api.cloud.cloudservice.v1.SetUserProjectAccessRequest + (*SetUserProjectAccessResponse)(nil), // 156: temporal.api.cloud.cloudservice.v1.SetUserProjectAccessResponse + (*SetServiceAccountProjectAccessRequest)(nil), // 157: temporal.api.cloud.cloudservice.v1.SetServiceAccountProjectAccessRequest + (*SetServiceAccountProjectAccessResponse)(nil), // 158: temporal.api.cloud.cloudservice.v1.SetServiceAccountProjectAccessResponse + (*UpdateNamespaceTagsRequest)(nil), // 159: temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest + (*UpdateNamespaceTagsResponse)(nil), // 160: temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsResponse + (*ResendUserInviteRequest)(nil), // 161: temporal.api.cloud.cloudservice.v1.ResendUserInviteRequest + (*ResendUserInviteResponse)(nil), // 162: temporal.api.cloud.cloudservice.v1.ResendUserInviteResponse + (*GetTagKeysRequest)(nil), // 163: temporal.api.cloud.cloudservice.v1.GetTagKeysRequest + (*GetTagKeysResponse)(nil), // 164: temporal.api.cloud.cloudservice.v1.GetTagKeysResponse + (*GetCustomRolesRequest)(nil), // 165: temporal.api.cloud.cloudservice.v1.GetCustomRolesRequest + (*GetCustomRolesResponse)(nil), // 166: temporal.api.cloud.cloudservice.v1.GetCustomRolesResponse + (*GetCustomRoleRequest)(nil), // 167: temporal.api.cloud.cloudservice.v1.GetCustomRoleRequest + (*GetCustomRoleResponse)(nil), // 168: temporal.api.cloud.cloudservice.v1.GetCustomRoleResponse + (*CreateCustomRoleRequest)(nil), // 169: temporal.api.cloud.cloudservice.v1.CreateCustomRoleRequest + (*CreateCustomRoleResponse)(nil), // 170: temporal.api.cloud.cloudservice.v1.CreateCustomRoleResponse + (*UpdateCustomRoleRequest)(nil), // 171: temporal.api.cloud.cloudservice.v1.UpdateCustomRoleRequest + (*UpdateCustomRoleResponse)(nil), // 172: temporal.api.cloud.cloudservice.v1.UpdateCustomRoleResponse + (*DeleteCustomRoleRequest)(nil), // 173: temporal.api.cloud.cloudservice.v1.DeleteCustomRoleRequest + (*DeleteCustomRoleResponse)(nil), // 174: temporal.api.cloud.cloudservice.v1.DeleteCustomRoleResponse + (*CreateBillingReportRequest)(nil), // 175: temporal.api.cloud.cloudservice.v1.CreateBillingReportRequest + (*CreateBillingReportResponse)(nil), // 176: temporal.api.cloud.cloudservice.v1.CreateBillingReportResponse + (*GetBillingReportRequest)(nil), // 177: temporal.api.cloud.cloudservice.v1.GetBillingReportRequest + (*GetBillingReportResponse)(nil), // 178: temporal.api.cloud.cloudservice.v1.GetBillingReportResponse + (*GetNamespaceCapacityInfoRequest)(nil), // 179: temporal.api.cloud.cloudservice.v1.GetNamespaceCapacityInfoRequest + (*GetNamespaceCapacityInfoResponse)(nil), // 180: temporal.api.cloud.cloudservice.v1.GetNamespaceCapacityInfoResponse + nil, // 181: temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest.TagsEntry + (*GetUserGroupsRequest_GoogleGroupFilter)(nil), // 182: temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.GoogleGroupFilter + (*GetUserGroupsRequest_SCIMGroupFilter)(nil), // 183: temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.SCIMGroupFilter + nil, // 184: temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest.TagsToUpsertEntry + (*v1.User)(nil), // 185: temporal.api.cloud.identity.v1.User + (*v1.ServiceAccount)(nil), // 186: temporal.api.cloud.identity.v1.ServiceAccount + (*v1.ApiKey)(nil), // 187: temporal.api.cloud.identity.v1.ApiKey + (*v1.UserSpec)(nil), // 188: temporal.api.cloud.identity.v1.UserSpec + (*v11.AsyncOperation)(nil), // 189: temporal.api.cloud.operation.v1.AsyncOperation + (*v1.NamespaceAccess)(nil), // 190: temporal.api.cloud.identity.v1.NamespaceAccess + (*v12.NamespaceSpec)(nil), // 191: temporal.api.cloud.namespace.v1.NamespaceSpec + (*v12.Namespace)(nil), // 192: temporal.api.cloud.namespace.v1.Namespace + (*v13.Region)(nil), // 193: temporal.api.cloud.region.v1.Region + (*v14.Endpoint)(nil), // 194: temporal.api.cloud.nexus.v1.Endpoint + (*v14.EndpointSpec)(nil), // 195: temporal.api.cloud.nexus.v1.EndpointSpec + (*v15.AccountSpec)(nil), // 196: temporal.api.cloud.account.v1.AccountSpec + (*v1.UserGroup)(nil), // 197: temporal.api.cloud.identity.v1.UserGroup + (*v1.UserGroupSpec)(nil), // 198: temporal.api.cloud.identity.v1.UserGroupSpec + (*v1.UserGroupMemberId)(nil), // 199: temporal.api.cloud.identity.v1.UserGroupMemberId + (*v1.UserGroupMember)(nil), // 200: temporal.api.cloud.identity.v1.UserGroupMember + (*v1.ServiceAccountSpec)(nil), // 201: temporal.api.cloud.identity.v1.ServiceAccountSpec + (v1.OwnerType)(0), // 202: temporal.api.cloud.identity.v1.OwnerType + (v16.ResourceState)(0), // 203: temporal.api.cloud.resource.v1.ResourceState + (*wrapperspb.BoolValue)(nil), // 204: google.protobuf.BoolValue + (*v1.ApiKeySpec)(nil), // 205: temporal.api.cloud.identity.v1.ApiKeySpec + (*v15.AuditLogSinkSpec)(nil), // 206: temporal.api.cloud.account.v1.AuditLogSinkSpec + (*v15.AuditLogSink)(nil), // 207: temporal.api.cloud.account.v1.AuditLogSink + (*timestamppb.Timestamp)(nil), // 208: google.protobuf.Timestamp + (*v17.LogRecord)(nil), // 209: temporal.api.cloud.auditlog.v1.LogRecord + (*v18.Summary)(nil), // 210: temporal.api.cloud.usage.v1.Summary + (*v15.Account)(nil), // 211: temporal.api.cloud.account.v1.Account + (*v12.ExportSinkSpec)(nil), // 212: temporal.api.cloud.namespace.v1.ExportSinkSpec + (*v12.ExportSink)(nil), // 213: temporal.api.cloud.namespace.v1.ExportSink + (*v12.MigrationSpec)(nil), // 214: temporal.api.cloud.namespace.v1.MigrationSpec + (*v12.Migration)(nil), // 215: temporal.api.cloud.namespace.v1.Migration + (*v19.ConnectivityRuleSpec)(nil), // 216: temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec + (*v19.ConnectivityRule)(nil), // 217: temporal.api.cloud.connectivityrule.v1.ConnectivityRule + (*v110.Project)(nil), // 218: temporal.api.cloud.project.v1.Project + (*v110.ProjectSpec)(nil), // 219: temporal.api.cloud.project.v1.ProjectSpec + (*v1.ProjectAccess)(nil), // 220: temporal.api.cloud.identity.v1.ProjectAccess + (*v1.CustomRole)(nil), // 221: temporal.api.cloud.identity.v1.CustomRole + (*v1.CustomRoleSpec)(nil), // 222: temporal.api.cloud.identity.v1.CustomRoleSpec + (*v111.BillingReportSpec)(nil), // 223: temporal.api.cloud.billing.v1.BillingReportSpec + (*v111.BillingReport)(nil), // 224: temporal.api.cloud.billing.v1.BillingReport + (*v12.NamespaceCapacityInfo)(nil), // 225: temporal.api.cloud.namespace.v1.NamespaceCapacityInfo +} +var file_temporal_api_cloud_cloudservice_v1_request_response_proto_depIdxs = []int32{ + 185, // 0: temporal.api.cloud.cloudservice.v1.GetCurrentIdentityResponse.user:type_name -> temporal.api.cloud.identity.v1.User + 186, // 1: temporal.api.cloud.cloudservice.v1.GetCurrentIdentityResponse.service_account:type_name -> temporal.api.cloud.identity.v1.ServiceAccount + 187, // 2: temporal.api.cloud.cloudservice.v1.GetCurrentIdentityResponse.principal_api_key:type_name -> temporal.api.cloud.identity.v1.ApiKey + 185, // 3: temporal.api.cloud.cloudservice.v1.GetUsersResponse.users:type_name -> temporal.api.cloud.identity.v1.User + 185, // 4: temporal.api.cloud.cloudservice.v1.GetUserResponse.user:type_name -> temporal.api.cloud.identity.v1.User + 188, // 5: temporal.api.cloud.cloudservice.v1.CreateUserRequest.spec:type_name -> temporal.api.cloud.identity.v1.UserSpec + 189, // 6: temporal.api.cloud.cloudservice.v1.CreateUserResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 188, // 7: temporal.api.cloud.cloudservice.v1.UpdateUserRequest.spec:type_name -> temporal.api.cloud.identity.v1.UserSpec + 189, // 8: temporal.api.cloud.cloudservice.v1.UpdateUserResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 189, // 9: temporal.api.cloud.cloudservice.v1.DeleteUserResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 190, // 10: temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessRequest.access:type_name -> temporal.api.cloud.identity.v1.NamespaceAccess + 189, // 11: temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 189, // 12: temporal.api.cloud.cloudservice.v1.GetAsyncOperationResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 191, // 13: temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest.spec:type_name -> temporal.api.cloud.namespace.v1.NamespaceSpec + 181, // 14: temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest.tags:type_name -> temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest.TagsEntry + 189, // 15: temporal.api.cloud.cloudservice.v1.CreateNamespaceResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 192, // 16: temporal.api.cloud.cloudservice.v1.GetNamespacesResponse.namespaces:type_name -> temporal.api.cloud.namespace.v1.Namespace + 192, // 17: temporal.api.cloud.cloudservice.v1.GetNamespaceResponse.namespace:type_name -> temporal.api.cloud.namespace.v1.Namespace + 191, // 18: temporal.api.cloud.cloudservice.v1.UpdateNamespaceRequest.spec:type_name -> temporal.api.cloud.namespace.v1.NamespaceSpec + 189, // 19: temporal.api.cloud.cloudservice.v1.UpdateNamespaceResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 189, // 20: temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 189, // 21: temporal.api.cloud.cloudservice.v1.DeleteNamespaceResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 189, // 22: temporal.api.cloud.cloudservice.v1.FailoverNamespaceRegionResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 189, // 23: temporal.api.cloud.cloudservice.v1.AddNamespaceRegionResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 189, // 24: temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 193, // 25: temporal.api.cloud.cloudservice.v1.GetRegionsResponse.regions:type_name -> temporal.api.cloud.region.v1.Region + 193, // 26: temporal.api.cloud.cloudservice.v1.GetRegionResponse.region:type_name -> temporal.api.cloud.region.v1.Region + 194, // 27: temporal.api.cloud.cloudservice.v1.GetNexusEndpointsResponse.endpoints:type_name -> temporal.api.cloud.nexus.v1.Endpoint + 194, // 28: temporal.api.cloud.cloudservice.v1.GetNexusEndpointResponse.endpoint:type_name -> temporal.api.cloud.nexus.v1.Endpoint + 195, // 29: temporal.api.cloud.cloudservice.v1.CreateNexusEndpointRequest.spec:type_name -> temporal.api.cloud.nexus.v1.EndpointSpec + 189, // 30: temporal.api.cloud.cloudservice.v1.CreateNexusEndpointResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 195, // 31: temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest.spec:type_name -> temporal.api.cloud.nexus.v1.EndpointSpec + 189, // 32: temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 189, // 33: temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 196, // 34: temporal.api.cloud.cloudservice.v1.UpdateAccountRequest.spec:type_name -> temporal.api.cloud.account.v1.AccountSpec + 189, // 35: temporal.api.cloud.cloudservice.v1.UpdateAccountResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 182, // 36: temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.google_group:type_name -> temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.GoogleGroupFilter + 183, // 37: temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.scim_group:type_name -> temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest.SCIMGroupFilter + 197, // 38: temporal.api.cloud.cloudservice.v1.GetUserGroupsResponse.groups:type_name -> temporal.api.cloud.identity.v1.UserGroup + 197, // 39: temporal.api.cloud.cloudservice.v1.GetUserGroupResponse.group:type_name -> temporal.api.cloud.identity.v1.UserGroup + 198, // 40: temporal.api.cloud.cloudservice.v1.CreateUserGroupRequest.spec:type_name -> temporal.api.cloud.identity.v1.UserGroupSpec + 189, // 41: temporal.api.cloud.cloudservice.v1.CreateUserGroupResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 198, // 42: temporal.api.cloud.cloudservice.v1.UpdateUserGroupRequest.spec:type_name -> temporal.api.cloud.identity.v1.UserGroupSpec + 189, // 43: temporal.api.cloud.cloudservice.v1.UpdateUserGroupResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 189, // 44: temporal.api.cloud.cloudservice.v1.DeleteUserGroupResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 190, // 45: temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessRequest.access:type_name -> temporal.api.cloud.identity.v1.NamespaceAccess + 189, // 46: temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 199, // 47: temporal.api.cloud.cloudservice.v1.AddUserGroupMemberRequest.member_id:type_name -> temporal.api.cloud.identity.v1.UserGroupMemberId + 189, // 48: temporal.api.cloud.cloudservice.v1.AddUserGroupMemberResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 199, // 49: temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberRequest.member_id:type_name -> temporal.api.cloud.identity.v1.UserGroupMemberId + 189, // 50: temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 200, // 51: temporal.api.cloud.cloudservice.v1.GetUserGroupMembersResponse.members:type_name -> temporal.api.cloud.identity.v1.UserGroupMember + 201, // 52: temporal.api.cloud.cloudservice.v1.CreateServiceAccountRequest.spec:type_name -> temporal.api.cloud.identity.v1.ServiceAccountSpec + 189, // 53: temporal.api.cloud.cloudservice.v1.CreateServiceAccountResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 186, // 54: temporal.api.cloud.cloudservice.v1.GetServiceAccountResponse.service_account:type_name -> temporal.api.cloud.identity.v1.ServiceAccount + 0, // 55: temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest.scope:type_name -> temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest.ScopeType + 186, // 56: temporal.api.cloud.cloudservice.v1.GetServiceAccountsResponse.service_account:type_name -> temporal.api.cloud.identity.v1.ServiceAccount + 201, // 57: temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest.spec:type_name -> temporal.api.cloud.identity.v1.ServiceAccountSpec + 189, // 58: temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 190, // 59: temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest.access:type_name -> temporal.api.cloud.identity.v1.NamespaceAccess + 189, // 60: temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 189, // 61: temporal.api.cloud.cloudservice.v1.DeleteServiceAccountResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 202, // 62: temporal.api.cloud.cloudservice.v1.GetApiKeysRequest.owner_type:type_name -> temporal.api.cloud.identity.v1.OwnerType + 203, // 63: temporal.api.cloud.cloudservice.v1.GetApiKeysRequest.include_states:type_name -> temporal.api.cloud.resource.v1.ResourceState + 204, // 64: temporal.api.cloud.cloudservice.v1.GetApiKeysRequest.disabled:type_name -> google.protobuf.BoolValue + 187, // 65: temporal.api.cloud.cloudservice.v1.GetApiKeysResponse.api_keys:type_name -> temporal.api.cloud.identity.v1.ApiKey + 187, // 66: temporal.api.cloud.cloudservice.v1.GetApiKeyResponse.api_key:type_name -> temporal.api.cloud.identity.v1.ApiKey + 205, // 67: temporal.api.cloud.cloudservice.v1.CreateApiKeyRequest.spec:type_name -> temporal.api.cloud.identity.v1.ApiKeySpec + 189, // 68: temporal.api.cloud.cloudservice.v1.CreateApiKeyResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 205, // 69: temporal.api.cloud.cloudservice.v1.UpdateApiKeyRequest.spec:type_name -> temporal.api.cloud.identity.v1.ApiKeySpec + 189, // 70: temporal.api.cloud.cloudservice.v1.UpdateApiKeyResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 189, // 71: temporal.api.cloud.cloudservice.v1.DeleteApiKeyResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 206, // 72: temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest.spec:type_name -> temporal.api.cloud.account.v1.AuditLogSinkSpec + 206, // 73: temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkRequest.spec:type_name -> temporal.api.cloud.account.v1.AuditLogSinkSpec + 189, // 74: temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 207, // 75: temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkResponse.sink:type_name -> temporal.api.cloud.account.v1.AuditLogSink + 207, // 76: temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinksResponse.sinks:type_name -> temporal.api.cloud.account.v1.AuditLogSink + 206, // 77: temporal.api.cloud.cloudservice.v1.UpdateAccountAuditLogSinkRequest.spec:type_name -> temporal.api.cloud.account.v1.AuditLogSinkSpec + 189, // 78: temporal.api.cloud.cloudservice.v1.UpdateAccountAuditLogSinkResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 189, // 79: temporal.api.cloud.cloudservice.v1.DeleteAccountAuditLogSinkResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 208, // 80: temporal.api.cloud.cloudservice.v1.GetAuditLogsRequest.start_time_inclusive:type_name -> google.protobuf.Timestamp + 208, // 81: temporal.api.cloud.cloudservice.v1.GetAuditLogsRequest.end_time_exclusive:type_name -> google.protobuf.Timestamp + 209, // 82: temporal.api.cloud.cloudservice.v1.GetAuditLogsResponse.logs:type_name -> temporal.api.cloud.auditlog.v1.LogRecord + 208, // 83: temporal.api.cloud.cloudservice.v1.GetUsageRequest.start_time_inclusive:type_name -> google.protobuf.Timestamp + 208, // 84: temporal.api.cloud.cloudservice.v1.GetUsageRequest.end_time_exclusive:type_name -> google.protobuf.Timestamp + 210, // 85: temporal.api.cloud.cloudservice.v1.GetUsageResponse.summaries:type_name -> temporal.api.cloud.usage.v1.Summary + 211, // 86: temporal.api.cloud.cloudservice.v1.GetAccountResponse.account:type_name -> temporal.api.cloud.account.v1.Account + 212, // 87: temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkRequest.spec:type_name -> temporal.api.cloud.namespace.v1.ExportSinkSpec + 189, // 88: temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 213, // 89: temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkResponse.sink:type_name -> temporal.api.cloud.namespace.v1.ExportSink + 213, // 90: temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksResponse.sinks:type_name -> temporal.api.cloud.namespace.v1.ExportSink + 212, // 91: temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkRequest.spec:type_name -> temporal.api.cloud.namespace.v1.ExportSinkSpec + 189, // 92: temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 189, // 93: temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 212, // 94: temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkRequest.spec:type_name -> temporal.api.cloud.namespace.v1.ExportSinkSpec + 214, // 95: temporal.api.cloud.cloudservice.v1.StartMigrationRequest.spec:type_name -> temporal.api.cloud.namespace.v1.MigrationSpec + 189, // 96: temporal.api.cloud.cloudservice.v1.StartMigrationResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 215, // 97: temporal.api.cloud.cloudservice.v1.GetMigrationResponse.migration:type_name -> temporal.api.cloud.namespace.v1.Migration + 215, // 98: temporal.api.cloud.cloudservice.v1.GetMigrationsResponse.migrations:type_name -> temporal.api.cloud.namespace.v1.Migration + 189, // 99: temporal.api.cloud.cloudservice.v1.HandoverNamespaceResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 189, // 100: temporal.api.cloud.cloudservice.v1.ConfirmMigrationResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 189, // 101: temporal.api.cloud.cloudservice.v1.AbortMigrationResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 216, // 102: temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleRequest.spec:type_name -> temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec + 189, // 103: temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 217, // 104: temporal.api.cloud.cloudservice.v1.GetConnectivityRuleResponse.connectivity_rule:type_name -> temporal.api.cloud.connectivityrule.v1.ConnectivityRule + 217, // 105: temporal.api.cloud.cloudservice.v1.GetConnectivityRulesResponse.connectivity_rules:type_name -> temporal.api.cloud.connectivityrule.v1.ConnectivityRule + 189, // 106: temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 218, // 107: temporal.api.cloud.cloudservice.v1.GetProjectsResponse.projects:type_name -> temporal.api.cloud.project.v1.Project + 218, // 108: temporal.api.cloud.cloudservice.v1.GetProjectResponse.project:type_name -> temporal.api.cloud.project.v1.Project + 219, // 109: temporal.api.cloud.cloudservice.v1.CreateProjectRequest.spec:type_name -> temporal.api.cloud.project.v1.ProjectSpec + 189, // 110: temporal.api.cloud.cloudservice.v1.CreateProjectResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 219, // 111: temporal.api.cloud.cloudservice.v1.UpdateProjectRequest.spec:type_name -> temporal.api.cloud.project.v1.ProjectSpec + 189, // 112: temporal.api.cloud.cloudservice.v1.UpdateProjectResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 189, // 113: temporal.api.cloud.cloudservice.v1.DeleteProjectResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 220, // 114: temporal.api.cloud.cloudservice.v1.SetUserGroupProjectAccessRequest.access:type_name -> temporal.api.cloud.identity.v1.ProjectAccess + 189, // 115: temporal.api.cloud.cloudservice.v1.SetUserGroupProjectAccessResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 220, // 116: temporal.api.cloud.cloudservice.v1.SetUserProjectAccessRequest.access:type_name -> temporal.api.cloud.identity.v1.ProjectAccess + 189, // 117: temporal.api.cloud.cloudservice.v1.SetUserProjectAccessResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 220, // 118: temporal.api.cloud.cloudservice.v1.SetServiceAccountProjectAccessRequest.access:type_name -> temporal.api.cloud.identity.v1.ProjectAccess + 189, // 119: temporal.api.cloud.cloudservice.v1.SetServiceAccountProjectAccessResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 184, // 120: temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest.tags_to_upsert:type_name -> temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest.TagsToUpsertEntry + 189, // 121: temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 189, // 122: temporal.api.cloud.cloudservice.v1.ResendUserInviteResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 221, // 123: temporal.api.cloud.cloudservice.v1.GetCustomRolesResponse.custom_roles:type_name -> temporal.api.cloud.identity.v1.CustomRole + 221, // 124: temporal.api.cloud.cloudservice.v1.GetCustomRoleResponse.custom_role:type_name -> temporal.api.cloud.identity.v1.CustomRole + 222, // 125: temporal.api.cloud.cloudservice.v1.CreateCustomRoleRequest.spec:type_name -> temporal.api.cloud.identity.v1.CustomRoleSpec + 189, // 126: temporal.api.cloud.cloudservice.v1.CreateCustomRoleResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 222, // 127: temporal.api.cloud.cloudservice.v1.UpdateCustomRoleRequest.spec:type_name -> temporal.api.cloud.identity.v1.CustomRoleSpec + 189, // 128: temporal.api.cloud.cloudservice.v1.UpdateCustomRoleResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 189, // 129: temporal.api.cloud.cloudservice.v1.DeleteCustomRoleResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 223, // 130: temporal.api.cloud.cloudservice.v1.CreateBillingReportRequest.spec:type_name -> temporal.api.cloud.billing.v1.BillingReportSpec + 189, // 131: temporal.api.cloud.cloudservice.v1.CreateBillingReportResponse.async_operation:type_name -> temporal.api.cloud.operation.v1.AsyncOperation + 224, // 132: temporal.api.cloud.cloudservice.v1.GetBillingReportResponse.billing_report:type_name -> temporal.api.cloud.billing.v1.BillingReport + 225, // 133: temporal.api.cloud.cloudservice.v1.GetNamespaceCapacityInfoResponse.capacity_info:type_name -> temporal.api.cloud.namespace.v1.NamespaceCapacityInfo + 134, // [134:134] is the sub-list for method output_type + 134, // [134:134] is the sub-list for method input_type + 134, // [134:134] is the sub-list for extension type_name + 134, // [134:134] is the sub-list for extension extendee + 0, // [0:134] is the sub-list for field type_name +} + +func init() { file_temporal_api_cloud_cloudservice_v1_request_response_proto_init() } +func file_temporal_api_cloud_cloudservice_v1_request_response_proto_init() { + if File_temporal_api_cloud_cloudservice_v1_request_response_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCurrentIdentityRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCurrentIdentityResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUsersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUsersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateUserRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateUserResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateUserRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateUserResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteUserRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteUserResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetUserNamespaceAccessRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetUserNamespaceAccessResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAsyncOperationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAsyncOperationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateNamespaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateNamespaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNamespacesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNamespacesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNamespaceIDsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNamespaceIDsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNamespaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNamespaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateNamespaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateNamespaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RenameCustomSearchAttributeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RenameCustomSearchAttributeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteNamespaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteNamespaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FailoverNamespaceRegionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FailoverNamespaceRegionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddNamespaceRegionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddNamespaceRegionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteNamespaceRegionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteNamespaceRegionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRegionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRegionsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRegionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRegionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNexusEndpointsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNexusEndpointsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNexusEndpointRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNexusEndpointResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateNexusEndpointRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateNexusEndpointResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateNexusEndpointRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateNexusEndpointResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteNexusEndpointRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteNexusEndpointResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateAccountRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateAccountResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserGroupsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserGroupsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserGroupRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserGroupResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateUserGroupRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateUserGroupResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateUserGroupRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateUserGroupResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteUserGroupRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteUserGroupResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetUserGroupNamespaceAccessRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetUserGroupNamespaceAccessResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddUserGroupMemberRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddUserGroupMemberResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveUserGroupMemberRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveUserGroupMemberResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserGroupMembersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserGroupMembersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateServiceAccountRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateServiceAccountResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetServiceAccountRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetServiceAccountResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetServiceAccountsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetServiceAccountsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateServiceAccountRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateServiceAccountResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetServiceAccountNamespaceAccessRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetServiceAccountNamespaceAccessResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteServiceAccountRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteServiceAccountResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetApiKeysRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetApiKeysResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetApiKeyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetApiKeyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateApiKeyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateApiKeyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateApiKeyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateApiKeyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteApiKeyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteApiKeyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidateAccountAuditLogSinkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidateAccountAuditLogSinkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateAccountAuditLogSinkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateAccountAuditLogSinkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAccountAuditLogSinkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAccountAuditLogSinkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAccountAuditLogSinksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAccountAuditLogSinksResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateAccountAuditLogSinkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateAccountAuditLogSinkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteAccountAuditLogSinkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteAccountAuditLogSinkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAuditLogsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAuditLogsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUsageRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUsageResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAccountRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAccountResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateNamespaceExportSinkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateNamespaceExportSinkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNamespaceExportSinkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[113].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNamespaceExportSinkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[114].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNamespaceExportSinksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[115].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNamespaceExportSinksResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[116].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateNamespaceExportSinkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[117].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateNamespaceExportSinkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[118].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteNamespaceExportSinkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[119].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteNamespaceExportSinkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[120].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidateNamespaceExportSinkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[121].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidateNamespaceExportSinkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[122].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartMigrationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[123].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartMigrationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[124].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMigrationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[125].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMigrationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[126].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMigrationsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[127].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMigrationsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[128].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HandoverNamespaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[129].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HandoverNamespaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[130].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConfirmMigrationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[131].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConfirmMigrationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[132].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbortMigrationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[133].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AbortMigrationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[134].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateConnectivityRuleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[135].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateConnectivityRuleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[136].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetConnectivityRuleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[137].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetConnectivityRuleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[138].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetConnectivityRulesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[139].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetConnectivityRulesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[140].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteConnectivityRuleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[141].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteConnectivityRuleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[142].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetProjectsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[143].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetProjectsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[144].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetProjectRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[145].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetProjectResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[146].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateProjectRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[147].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateProjectResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[148].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateProjectRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[149].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateProjectResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[150].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteProjectRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[151].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteProjectResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[152].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetUserGroupProjectAccessRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[153].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetUserGroupProjectAccessResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[154].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetUserProjectAccessRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[155].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetUserProjectAccessResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[156].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetServiceAccountProjectAccessRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[157].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetServiceAccountProjectAccessResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[158].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateNamespaceTagsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[159].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateNamespaceTagsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[160].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResendUserInviteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[161].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResendUserInviteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[162].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTagKeysRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[163].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTagKeysResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[164].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCustomRolesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[165].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCustomRolesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[166].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCustomRoleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[167].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCustomRoleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[168].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateCustomRoleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[169].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateCustomRoleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[170].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateCustomRoleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[171].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateCustomRoleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[172].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteCustomRoleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[173].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteCustomRoleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[174].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateBillingReportRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[175].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateBillingReportResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[176].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBillingReportRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[177].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBillingReportResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[178].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNamespaceCapacityInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[179].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNamespaceCapacityInfoResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[181].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserGroupsRequest_GoogleGroupFilter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[182].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetUserGroupsRequest_SCIMGroupFilter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*GetCurrentIdentityResponse_User)(nil), + (*GetCurrentIdentityResponse_ServiceAccount)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDesc, + NumEnums: 1, + NumMessages: 184, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_temporal_api_cloud_cloudservice_v1_request_response_proto_goTypes, + DependencyIndexes: file_temporal_api_cloud_cloudservice_v1_request_response_proto_depIdxs, + EnumInfos: file_temporal_api_cloud_cloudservice_v1_request_response_proto_enumTypes, + MessageInfos: file_temporal_api_cloud_cloudservice_v1_request_response_proto_msgTypes, + }.Build() + File_temporal_api_cloud_cloudservice_v1_request_response_proto = out.File + file_temporal_api_cloud_cloudservice_v1_request_response_proto_rawDesc = nil + file_temporal_api_cloud_cloudservice_v1_request_response_proto_goTypes = nil + file_temporal_api_cloud_cloudservice_v1_request_response_proto_depIdxs = nil } - -func (m *GetRegionsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetRegionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Regions) > 0 { - for iNdEx := len(m.Regions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Regions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GetRegionRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetRegionRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetRegionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Region) > 0 { - i -= len(m.Region) - copy(dAtA[i:], m.Region) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Region))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetRegionResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetRegionResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetRegionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Region != nil { - { - size, err := m.Region.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetNexusEndpointsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetNexusEndpointsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetNexusEndpointsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ProjectId) > 0 { - i -= len(m.ProjectId) - copy(dAtA[i:], m.ProjectId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ProjectId))) - i-- - dAtA[i] = 0x32 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0x2a - } - if len(m.TargetTaskQueue) > 0 { - i -= len(m.TargetTaskQueue) - copy(dAtA[i:], m.TargetTaskQueue) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.TargetTaskQueue))) - i-- - dAtA[i] = 0x22 - } - if len(m.TargetNamespaceId) > 0 { - i -= len(m.TargetNamespaceId) - copy(dAtA[i:], m.TargetNamespaceId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.TargetNamespaceId))) - i-- - dAtA[i] = 0x1a - } - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x12 - } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *GetNexusEndpointsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetNexusEndpointsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetNexusEndpointsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.Endpoints) > 0 { - for iNdEx := len(m.Endpoints) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Endpoints[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GetNexusEndpointRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetNexusEndpointRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetNexusEndpointRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.EndpointId) > 0 { - i -= len(m.EndpointId) - copy(dAtA[i:], m.EndpointId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.EndpointId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetNexusEndpointResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetNexusEndpointResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetNexusEndpointResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Endpoint != nil { - { - size, err := m.Endpoint.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CreateNexusEndpointRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateNexusEndpointRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateNexusEndpointRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ProjectId) > 0 { - i -= len(m.ProjectId) - copy(dAtA[i:], m.ProjectId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ProjectId))) - i-- - dAtA[i] = 0x1a - } - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x12 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CreateNexusEndpointResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateNexusEndpointResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateNexusEndpointResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.EndpointId) > 0 { - i -= len(m.EndpointId) - copy(dAtA[i:], m.EndpointId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.EndpointId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateNexusEndpointRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateNexusEndpointRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateNexusEndpointRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x22 - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.EndpointId) > 0 { - i -= len(m.EndpointId) - copy(dAtA[i:], m.EndpointId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.EndpointId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateNexusEndpointResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateNexusEndpointResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateNexusEndpointResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteNexusEndpointRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteNexusEndpointRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteNexusEndpointRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if len(m.EndpointId) > 0 { - i -= len(m.EndpointId) - copy(dAtA[i:], m.EndpointId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.EndpointId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteNexusEndpointResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteNexusEndpointResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteNexusEndpointResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateAccountRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateAccountRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateAccountResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateAccountResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetUserGroupsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetUserGroupsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetUserGroupsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ScimGroup != nil { - { - size, err := m.ScimGroup.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if m.GoogleGroup != nil { - { - size, err := m.GoogleGroup.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if len(m.DisplayName) > 0 { - i -= len(m.DisplayName) - copy(dAtA[i:], m.DisplayName) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.DisplayName))) - i-- - dAtA[i] = 0x22 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0x1a - } - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x12 - } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *GetUserGroupsRequest_GoogleGroupFilter) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetUserGroupsRequest_GoogleGroupFilter) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetUserGroupsRequest_GoogleGroupFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.EmailAddress) > 0 { - i -= len(m.EmailAddress) - copy(dAtA[i:], m.EmailAddress) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.EmailAddress))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetUserGroupsRequest_SCIMGroupFilter) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetUserGroupsRequest_SCIMGroupFilter) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetUserGroupsRequest_SCIMGroupFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.IdpId) > 0 { - i -= len(m.IdpId) - copy(dAtA[i:], m.IdpId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.IdpId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetUserGroupsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetUserGroupsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetUserGroupsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.Groups) > 0 { - for iNdEx := len(m.Groups) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Groups[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GetUserGroupRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetUserGroupRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetUserGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.GroupId) > 0 { - i -= len(m.GroupId) - copy(dAtA[i:], m.GroupId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.GroupId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetUserGroupResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetUserGroupResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetUserGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Group != nil { - { - size, err := m.Group.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CreateUserGroupRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateUserGroupRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateUserGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x12 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CreateUserGroupResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateUserGroupResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateUserGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.GroupId) > 0 { - i -= len(m.GroupId) - copy(dAtA[i:], m.GroupId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.GroupId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateUserGroupRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateUserGroupRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateUserGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x22 - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.GroupId) > 0 { - i -= len(m.GroupId) - copy(dAtA[i:], m.GroupId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.GroupId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateUserGroupResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateUserGroupResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateUserGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteUserGroupRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteUserGroupRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteUserGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if len(m.GroupId) > 0 { - i -= len(m.GroupId) - copy(dAtA[i:], m.GroupId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.GroupId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteUserGroupResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteUserGroupResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteUserGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SetUserGroupNamespaceAccessRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SetUserGroupNamespaceAccessRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SetUserGroupNamespaceAccessRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x2a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x22 - } - if m.Access != nil { - { - size, err := m.Access.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.GroupId) > 0 { - i -= len(m.GroupId) - copy(dAtA[i:], m.GroupId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.GroupId))) - i-- - dAtA[i] = 0x12 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SetUserGroupNamespaceAccessResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SetUserGroupNamespaceAccessResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SetUserGroupNamespaceAccessResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AddUserGroupMemberRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AddUserGroupMemberRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AddUserGroupMemberRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x1a - } - if m.MemberId != nil { - { - size, err := m.MemberId.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.GroupId) > 0 { - i -= len(m.GroupId) - copy(dAtA[i:], m.GroupId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.GroupId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AddUserGroupMemberResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AddUserGroupMemberResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AddUserGroupMemberResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *RemoveUserGroupMemberRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RemoveUserGroupMemberRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RemoveUserGroupMemberRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x1a - } - if m.MemberId != nil { - { - size, err := m.MemberId.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.GroupId) > 0 { - i -= len(m.GroupId) - copy(dAtA[i:], m.GroupId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.GroupId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *RemoveUserGroupMemberResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RemoveUserGroupMemberResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RemoveUserGroupMemberResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetUserGroupMembersRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetUserGroupMembersRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetUserGroupMembersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.GroupId) > 0 { - i -= len(m.GroupId) - copy(dAtA[i:], m.GroupId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.GroupId))) - i-- - dAtA[i] = 0x1a - } - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x12 - } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *GetUserGroupMembersResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetUserGroupMembersResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetUserGroupMembersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.Members) > 0 { - for iNdEx := len(m.Members) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Members[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *CreateServiceAccountRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateServiceAccountRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateServiceAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x12 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CreateServiceAccountResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateServiceAccountResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateServiceAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.ServiceAccountId) > 0 { - i -= len(m.ServiceAccountId) - copy(dAtA[i:], m.ServiceAccountId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ServiceAccountId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetServiceAccountRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetServiceAccountRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetServiceAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ServiceAccountId) > 0 { - i -= len(m.ServiceAccountId) - copy(dAtA[i:], m.ServiceAccountId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ServiceAccountId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetServiceAccountResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetServiceAccountResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetServiceAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ServiceAccount != nil { - { - size, err := m.ServiceAccount.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetServiceAccountsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetServiceAccountsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetServiceAccountsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x12 - } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *GetServiceAccountsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetServiceAccountsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetServiceAccountsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.ServiceAccount) > 0 { - for iNdEx := len(m.ServiceAccount) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ServiceAccount[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *UpdateServiceAccountRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateServiceAccountRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateServiceAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x22 - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.ServiceAccountId) > 0 { - i -= len(m.ServiceAccountId) - copy(dAtA[i:], m.ServiceAccountId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ServiceAccountId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateServiceAccountResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateServiceAccountResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateServiceAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SetServiceAccountNamespaceAccessRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SetServiceAccountNamespaceAccessRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SetServiceAccountNamespaceAccessRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x2a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x22 - } - if m.Access != nil { - { - size, err := m.Access.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0x12 - } - if len(m.ServiceAccountId) > 0 { - i -= len(m.ServiceAccountId) - copy(dAtA[i:], m.ServiceAccountId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ServiceAccountId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SetServiceAccountNamespaceAccessResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SetServiceAccountNamespaceAccessResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SetServiceAccountNamespaceAccessResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteServiceAccountRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteServiceAccountRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteServiceAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if len(m.ServiceAccountId) > 0 { - i -= len(m.ServiceAccountId) - copy(dAtA[i:], m.ServiceAccountId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ServiceAccountId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteServiceAccountResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteServiceAccountResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteServiceAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetApiKeysRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetApiKeysRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetApiKeysRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.OwnerType != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.OwnerType)) - i-- - dAtA[i] = 0x28 - } - if len(m.OwnerTypeDeprecated) > 0 { - i -= len(m.OwnerTypeDeprecated) - copy(dAtA[i:], m.OwnerTypeDeprecated) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.OwnerTypeDeprecated))) - i-- - dAtA[i] = 0x22 - } - if len(m.OwnerId) > 0 { - i -= len(m.OwnerId) - copy(dAtA[i:], m.OwnerId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.OwnerId))) - i-- - dAtA[i] = 0x1a - } - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x12 - } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *GetApiKeysResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetApiKeysResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetApiKeysResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.ApiKeys) > 0 { - for iNdEx := len(m.ApiKeys) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ApiKeys[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GetApiKeyRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetApiKeyRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetApiKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.KeyId) > 0 { - i -= len(m.KeyId) - copy(dAtA[i:], m.KeyId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.KeyId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetApiKeyResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetApiKeyResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetApiKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ApiKey != nil { - { - size, err := m.ApiKey.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CreateApiKeyRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateApiKeyRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateApiKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x12 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CreateApiKeyResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateApiKeyResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateApiKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.Token) > 0 { - i -= len(m.Token) - copy(dAtA[i:], m.Token) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Token))) - i-- - dAtA[i] = 0x12 - } - if len(m.KeyId) > 0 { - i -= len(m.KeyId) - copy(dAtA[i:], m.KeyId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.KeyId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateApiKeyRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateApiKeyRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateApiKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x22 - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.KeyId) > 0 { - i -= len(m.KeyId) - copy(dAtA[i:], m.KeyId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.KeyId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateApiKeyResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateApiKeyResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateApiKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteApiKeyRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteApiKeyRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteApiKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if len(m.KeyId) > 0 { - i -= len(m.KeyId) - copy(dAtA[i:], m.KeyId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.KeyId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteApiKeyResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteApiKeyResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteApiKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ValidateAccountAuditLogSinkRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidateAccountAuditLogSinkRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidateAccountAuditLogSinkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ValidateAccountAuditLogSinkResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidateAccountAuditLogSinkResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidateAccountAuditLogSinkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *CreateAccountAuditLogSinkRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateAccountAuditLogSinkRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateAccountAuditLogSinkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x12 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CreateAccountAuditLogSinkResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateAccountAuditLogSinkResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateAccountAuditLogSinkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetAccountAuditLogSinkRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetAccountAuditLogSinkRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetAccountAuditLogSinkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetAccountAuditLogSinkResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetAccountAuditLogSinkResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetAccountAuditLogSinkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Sink != nil { - { - size, err := m.Sink.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetAccountAuditLogSinksRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetAccountAuditLogSinksRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetAccountAuditLogSinksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x12 - } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *GetAccountAuditLogSinksResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetAccountAuditLogSinksResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetAccountAuditLogSinksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.Sinks) > 0 { - for iNdEx := len(m.Sinks) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Sinks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *UpdateAccountAuditLogSinkRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateAccountAuditLogSinkRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateAccountAuditLogSinkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateAccountAuditLogSinkResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateAccountAuditLogSinkResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateAccountAuditLogSinkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteAccountAuditLogSinkRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteAccountAuditLogSinkRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteAccountAuditLogSinkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteAccountAuditLogSinkResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteAccountAuditLogSinkResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteAccountAuditLogSinkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetAuditLogsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetAuditLogsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetAuditLogsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.EndTimeExclusive != nil { - { - size, err := m.EndTimeExclusive.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if m.StartTimeInclusive != nil { - { - size, err := m.StartTimeInclusive.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x12 - } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *GetAuditLogsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetAuditLogsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetAuditLogsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.Logs) > 0 { - for iNdEx := len(m.Logs) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Logs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GetUsageRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetUsageRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetUsageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x22 - } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x18 - } - if m.EndTimeExclusive != nil { - { - size, err := m.EndTimeExclusive.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.StartTimeInclusive != nil { - { - size, err := m.StartTimeInclusive.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetUsageResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetUsageResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetUsageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.Summaries) > 0 { - for iNdEx := len(m.Summaries) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Summaries[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GetAccountRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetAccountRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *GetAccountResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetAccountResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Account != nil { - { - size, err := m.Account.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CreateNamespaceExportSinkRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateNamespaceExportSinkRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateNamespaceExportSinkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CreateNamespaceExportSinkResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateNamespaceExportSinkResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateNamespaceExportSinkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetNamespaceExportSinkRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetNamespaceExportSinkRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetNamespaceExportSinkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0x12 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetNamespaceExportSinkResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetNamespaceExportSinkResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetNamespaceExportSinkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Sink != nil { - { - size, err := m.Sink.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetNamespaceExportSinksRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetNamespaceExportSinksRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetNamespaceExportSinksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x1a - } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x10 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetNamespaceExportSinksResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetNamespaceExportSinksResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetNamespaceExportSinksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.Sinks) > 0 { - for iNdEx := len(m.Sinks) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Sinks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *UpdateNamespaceExportSinkRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateNamespaceExportSinkRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateNamespaceExportSinkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x22 - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateNamespaceExportSinkResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateNamespaceExportSinkResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateNamespaceExportSinkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteNamespaceExportSinkRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteNamespaceExportSinkRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteNamespaceExportSinkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x22 - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x1a - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0x12 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteNamespaceExportSinkResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteNamespaceExportSinkResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteNamespaceExportSinkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ValidateNamespaceExportSinkRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidateNamespaceExportSinkRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidateNamespaceExportSinkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ValidateNamespaceExportSinkResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidateNamespaceExportSinkResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidateNamespaceExportSinkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *StartMigrationRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StartMigrationRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StartMigrationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x12 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *StartMigrationResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StartMigrationResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StartMigrationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.MigrationId) > 0 { - i -= len(m.MigrationId) - copy(dAtA[i:], m.MigrationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.MigrationId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetMigrationRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetMigrationRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetMigrationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.MigrationId) > 0 { - i -= len(m.MigrationId) - copy(dAtA[i:], m.MigrationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.MigrationId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetMigrationResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetMigrationResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetMigrationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Migration != nil { - { - size, err := m.Migration.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetMigrationsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetMigrationsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetMigrationsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x12 - } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *GetMigrationsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetMigrationsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetMigrationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.Migrations) > 0 { - for iNdEx := len(m.Migrations) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Migrations[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *HandoverNamespaceRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *HandoverNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *HandoverNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x1a - } - if len(m.ToReplicaId) > 0 { - i -= len(m.ToReplicaId) - copy(dAtA[i:], m.ToReplicaId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ToReplicaId))) - i-- - dAtA[i] = 0x12 - } - if len(m.MigrationId) > 0 { - i -= len(m.MigrationId) - copy(dAtA[i:], m.MigrationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.MigrationId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *HandoverNamespaceResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *HandoverNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *HandoverNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ConfirmMigrationRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ConfirmMigrationRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ConfirmMigrationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x12 - } - if len(m.MigrationId) > 0 { - i -= len(m.MigrationId) - copy(dAtA[i:], m.MigrationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.MigrationId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ConfirmMigrationResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ConfirmMigrationResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ConfirmMigrationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AbortMigrationRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AbortMigrationRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AbortMigrationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x12 - } - if len(m.MigrationId) > 0 { - i -= len(m.MigrationId) - copy(dAtA[i:], m.MigrationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.MigrationId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AbortMigrationResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AbortMigrationResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AbortMigrationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CreateConnectivityRuleRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateConnectivityRuleRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateConnectivityRuleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x12 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CreateConnectivityRuleResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateConnectivityRuleResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateConnectivityRuleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.ConnectivityRuleId) > 0 { - i -= len(m.ConnectivityRuleId) - copy(dAtA[i:], m.ConnectivityRuleId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ConnectivityRuleId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetConnectivityRuleRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetConnectivityRuleRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetConnectivityRuleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ConnectivityRuleId) > 0 { - i -= len(m.ConnectivityRuleId) - copy(dAtA[i:], m.ConnectivityRuleId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ConnectivityRuleId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetConnectivityRuleResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetConnectivityRuleResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetConnectivityRuleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ConnectivityRule != nil { - { - size, err := m.ConnectivityRule.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetConnectivityRulesRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetConnectivityRulesRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetConnectivityRulesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0x1a - } - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x12 - } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *GetConnectivityRulesResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetConnectivityRulesResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetConnectivityRulesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.ConnectivityRules) > 0 { - for iNdEx := len(m.ConnectivityRules) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ConnectivityRules[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *DeleteConnectivityRuleRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteConnectivityRuleRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteConnectivityRuleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if len(m.ConnectivityRuleId) > 0 { - i -= len(m.ConnectivityRuleId) - copy(dAtA[i:], m.ConnectivityRuleId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ConnectivityRuleId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteConnectivityRuleResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteConnectivityRuleResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteConnectivityRuleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetProjectsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetProjectsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetProjectsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x12 - } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *GetProjectsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetProjectsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetProjectsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.Projects) > 0 { - for iNdEx := len(m.Projects) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Projects[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GetProjectRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetProjectRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetProjectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ProjectId) > 0 { - i -= len(m.ProjectId) - copy(dAtA[i:], m.ProjectId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ProjectId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetProjectResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetProjectResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetProjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Project != nil { - { - size, err := m.Project.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CreateProjectRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateProjectRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateProjectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x12 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CreateProjectResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateProjectResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateProjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.ProjectId) > 0 { - i -= len(m.ProjectId) - copy(dAtA[i:], m.ProjectId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ProjectId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateProjectRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateProjectRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateProjectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x22 - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.ProjectId) > 0 { - i -= len(m.ProjectId) - copy(dAtA[i:], m.ProjectId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ProjectId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateProjectResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateProjectResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateProjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteProjectRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteProjectRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteProjectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if len(m.ProjectId) > 0 { - i -= len(m.ProjectId) - copy(dAtA[i:], m.ProjectId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ProjectId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteProjectResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteProjectResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteProjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateNamespaceTagsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateNamespaceTagsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateNamespaceTagsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x22 - } - if len(m.TagsToRemove) > 0 { - for iNdEx := len(m.TagsToRemove) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.TagsToRemove[iNdEx]) - copy(dAtA[i:], m.TagsToRemove[iNdEx]) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.TagsToRemove[iNdEx]))) - i-- - dAtA[i] = 0x1a - } - } - if len(m.TagsToUpsert) > 0 { - for k := range m.TagsToUpsert { - v := m.TagsToUpsert[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintRequestResponse(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x12 - } - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateNamespaceTagsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateNamespaceTagsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateNamespaceTagsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ResendUserInviteRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ResendUserInviteRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ResendUserInviteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x12 - } - if len(m.UserId) > 0 { - i -= len(m.UserId) - copy(dAtA[i:], m.UserId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.UserId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ResendUserInviteResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ResendUserInviteResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ResendUserInviteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AsyncOperation != nil { - { - size, err := m.AsyncOperation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetTagKeysRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetTagKeysRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetTagKeysRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Prefix) > 0 { - i -= len(m.Prefix) - copy(dAtA[i:], m.Prefix) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Prefix))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetTagKeysResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetTagKeysResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetTagKeysResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.TagKeys) > 0 { - for iNdEx := len(m.TagKeys) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.TagKeys[iNdEx]) - copy(dAtA[i:], m.TagKeys[iNdEx]) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.TagKeys[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func encodeVarintRequestResponse(dAtA []byte, offset int, v uint64) int { - offset -= sovRequestResponse(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *GetUsersRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PageSize != 0 { - n += 1 + sovRequestResponse(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.Email) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetUsersResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Users) > 0 { - for _, e := range m.Users { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetUserRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.UserId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetUserResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.User != nil { - l = m.User.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *CreateUserRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *CreateUserResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.UserId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateUserRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.UserId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateUserResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteUserRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.UserId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteUserResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *SetUserNamespaceAccessRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.UserId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.Access != nil { - l = m.Access.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *SetUserNamespaceAccessResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetAsyncOperationRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetAsyncOperationResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *CreateNamespaceRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if len(m.Tags) > 0 { - for k, v := range m.Tags { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovRequestResponse(uint64(len(k))) + 1 + len(v) + sovRequestResponse(uint64(len(v))) - n += mapEntrySize + 1 + sovRequestResponse(uint64(mapEntrySize)) - } - } - return n -} - -func (m *CreateNamespaceResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetNamespacesRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PageSize != 0 { - n += 1 + sovRequestResponse(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.Name) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ConnectivityRuleId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetNamespacesResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Namespaces) > 0 { - for _, e := range m.Namespaces { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetNamespaceIDsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PageSize != 0 { - n += 1 + sovRequestResponse(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetNamespaceIDsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.NamespaceIds) > 0 { - for _, s := range m.NamespaceIds { - l = len(s) - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetNamespaceRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetNamespaceResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Namespace != nil { - l = m.Namespace.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateNamespaceRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateNamespaceResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *RenameCustomSearchAttributeRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ExistingCustomSearchAttributeName) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.NewCustomSearchAttributeName) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *RenameCustomSearchAttributeResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteNamespaceRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteNamespaceResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *FailoverNamespaceRegionRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.Region) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *FailoverNamespaceRegionResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *AddNamespaceRegionRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.Region) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *AddNamespaceRegionResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteNamespaceRegionRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.Region) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteNamespaceRegionResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetRegionsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *GetRegionsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Regions) > 0 { - for _, e := range m.Regions { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - return n -} - -func (m *GetRegionRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Region) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetRegionResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Region != nil { - l = m.Region.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetNexusEndpointsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PageSize != 0 { - n += 1 + sovRequestResponse(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.TargetNamespaceId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.TargetTaskQueue) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.Name) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ProjectId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetNexusEndpointsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Endpoints) > 0 { - for _, e := range m.Endpoints { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetNexusEndpointRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.EndpointId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetNexusEndpointResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Endpoint != nil { - l = m.Endpoint.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *CreateNexusEndpointRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ProjectId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *CreateNexusEndpointResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.EndpointId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateNexusEndpointRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.EndpointId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateNexusEndpointResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteNexusEndpointRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.EndpointId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteNexusEndpointResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateAccountRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateAccountResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetUserGroupsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PageSize != 0 { - n += 1 + sovRequestResponse(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.DisplayName) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.GoogleGroup != nil { - l = m.GoogleGroup.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.ScimGroup != nil { - l = m.ScimGroup.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetUserGroupsRequest_GoogleGroupFilter) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.EmailAddress) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetUserGroupsRequest_SCIMGroupFilter) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.IdpId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetUserGroupsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Groups) > 0 { - for _, e := range m.Groups { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetUserGroupRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.GroupId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetUserGroupResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Group != nil { - l = m.Group.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *CreateUserGroupRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *CreateUserGroupResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.GroupId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateUserGroupRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.GroupId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateUserGroupResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteUserGroupRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.GroupId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteUserGroupResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *SetUserGroupNamespaceAccessRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.GroupId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.Access != nil { - l = m.Access.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *SetUserGroupNamespaceAccessResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *AddUserGroupMemberRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.GroupId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.MemberId != nil { - l = m.MemberId.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *AddUserGroupMemberResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *RemoveUserGroupMemberRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.GroupId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.MemberId != nil { - l = m.MemberId.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *RemoveUserGroupMemberResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetUserGroupMembersRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PageSize != 0 { - n += 1 + sovRequestResponse(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.GroupId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetUserGroupMembersResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Members) > 0 { - for _, e := range m.Members { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *CreateServiceAccountRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *CreateServiceAccountResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ServiceAccountId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetServiceAccountRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ServiceAccountId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetServiceAccountResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ServiceAccount != nil { - l = m.ServiceAccount.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetServiceAccountsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PageSize != 0 { - n += 1 + sovRequestResponse(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetServiceAccountsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.ServiceAccount) > 0 { - for _, e := range m.ServiceAccount { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateServiceAccountRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ServiceAccountId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateServiceAccountResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *SetServiceAccountNamespaceAccessRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ServiceAccountId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.Access != nil { - l = m.Access.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *SetServiceAccountNamespaceAccessResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteServiceAccountRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ServiceAccountId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteServiceAccountResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetApiKeysRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PageSize != 0 { - n += 1 + sovRequestResponse(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.OwnerId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.OwnerTypeDeprecated) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.OwnerType != 0 { - n += 1 + sovRequestResponse(uint64(m.OwnerType)) - } - return n -} - -func (m *GetApiKeysResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.ApiKeys) > 0 { - for _, e := range m.ApiKeys { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetApiKeyRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.KeyId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetApiKeyResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ApiKey != nil { - l = m.ApiKey.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *CreateApiKeyRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *CreateApiKeyResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.KeyId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.Token) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateApiKeyRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.KeyId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateApiKeyResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteApiKeyRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.KeyId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteApiKeyResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *ValidateAccountAuditLogSinkRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *ValidateAccountAuditLogSinkResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *CreateAccountAuditLogSinkRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *CreateAccountAuditLogSinkResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetAccountAuditLogSinkRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetAccountAuditLogSinkResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Sink != nil { - l = m.Sink.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetAccountAuditLogSinksRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PageSize != 0 { - n += 1 + sovRequestResponse(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetAccountAuditLogSinksResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Sinks) > 0 { - for _, e := range m.Sinks { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateAccountAuditLogSinkRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateAccountAuditLogSinkResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteAccountAuditLogSinkRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteAccountAuditLogSinkResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetAuditLogsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PageSize != 0 { - n += 1 + sovRequestResponse(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.StartTimeInclusive != nil { - l = m.StartTimeInclusive.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.EndTimeExclusive != nil { - l = m.EndTimeExclusive.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetAuditLogsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Logs) > 0 { - for _, e := range m.Logs { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetUsageRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.StartTimeInclusive != nil { - l = m.StartTimeInclusive.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.EndTimeExclusive != nil { - l = m.EndTimeExclusive.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.PageSize != 0 { - n += 1 + sovRequestResponse(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetUsageResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Summaries) > 0 { - for _, e := range m.Summaries { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetAccountRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *GetAccountResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Account != nil { - l = m.Account.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *CreateNamespaceExportSinkRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *CreateNamespaceExportSinkResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetNamespaceExportSinkRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.Name) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetNamespaceExportSinkResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Sink != nil { - l = m.Sink.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetNamespaceExportSinksRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.PageSize != 0 { - n += 1 + sovRequestResponse(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetNamespaceExportSinksResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Sinks) > 0 { - for _, e := range m.Sinks { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateNamespaceExportSinkRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateNamespaceExportSinkResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteNamespaceExportSinkRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.Name) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteNamespaceExportSinkResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *ValidateNamespaceExportSinkRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *ValidateNamespaceExportSinkResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *StartMigrationRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *StartMigrationResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.MigrationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetMigrationRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.MigrationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetMigrationResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Migration != nil { - l = m.Migration.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetMigrationsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PageSize != 0 { - n += 1 + sovRequestResponse(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetMigrationsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Migrations) > 0 { - for _, e := range m.Migrations { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *HandoverNamespaceRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.MigrationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ToReplicaId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *HandoverNamespaceResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *ConfirmMigrationRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.MigrationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *ConfirmMigrationResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *AbortMigrationRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.MigrationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *AbortMigrationResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *CreateConnectivityRuleRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *CreateConnectivityRuleResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ConnectivityRuleId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetConnectivityRuleRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ConnectivityRuleId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetConnectivityRuleResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ConnectivityRule != nil { - l = m.ConnectivityRule.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetConnectivityRulesRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PageSize != 0 { - n += 1 + sovRequestResponse(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetConnectivityRulesResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.ConnectivityRules) > 0 { - for _, e := range m.ConnectivityRules { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteConnectivityRuleRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ConnectivityRuleId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteConnectivityRuleResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetProjectsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PageSize != 0 { - n += 1 + sovRequestResponse(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetProjectsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Projects) > 0 { - for _, e := range m.Projects { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetProjectRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ProjectId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetProjectResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Project != nil { - l = m.Project.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *CreateProjectRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *CreateProjectResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ProjectId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateProjectRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ProjectId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateProjectResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteProjectRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ProjectId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteProjectResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateNamespaceTagsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if len(m.TagsToUpsert) > 0 { - for k, v := range m.TagsToUpsert { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovRequestResponse(uint64(len(k))) + 1 + len(v) + sovRequestResponse(uint64(len(v))) - n += mapEntrySize + 1 + sovRequestResponse(uint64(mapEntrySize)) - } - } - if len(m.TagsToRemove) > 0 { - for _, s := range m.TagsToRemove { - l = len(s) - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateNamespaceTagsResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *ResendUserInviteRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.UserId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *ResendUserInviteResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AsyncOperation != nil { - l = m.AsyncOperation.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetTagKeysRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Prefix) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetTagKeysResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.TagKeys) > 0 { - for _, s := range m.TagKeys { - l = len(s) - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - return n -} - -func sovRequestResponse(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozRequestResponse(x uint64) (n int) { - return sovRequestResponse(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (this *GetUsersRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetUsersRequest{`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `Email:` + fmt.Sprintf("%v", this.Email) + `,`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `}`, - }, "") - return s -} -func (this *GetUsersResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForUsers := "[]*User{" - for _, f := range this.Users { - repeatedStringForUsers += strings.Replace(fmt.Sprintf("%v", f), "User", "v1.User", 1) + "," - } - repeatedStringForUsers += "}" - s := strings.Join([]string{`&GetUsersResponse{`, - `Users:` + repeatedStringForUsers + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetUserRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetUserRequest{`, - `UserId:` + fmt.Sprintf("%v", this.UserId) + `,`, - `}`, - }, "") - return s -} -func (this *GetUserResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetUserResponse{`, - `User:` + strings.Replace(fmt.Sprintf("%v", this.User), "User", "v1.User", 1) + `,`, - `}`, - }, "") - return s -} -func (this *CreateUserRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateUserRequest{`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "UserSpec", "v1.UserSpec", 1) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *CreateUserResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateUserResponse{`, - `UserId:` + fmt.Sprintf("%v", this.UserId) + `,`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateUserRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateUserRequest{`, - `UserId:` + fmt.Sprintf("%v", this.UserId) + `,`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "UserSpec", "v1.UserSpec", 1) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateUserResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateUserResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteUserRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteUserRequest{`, - `UserId:` + fmt.Sprintf("%v", this.UserId) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteUserResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteUserResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *SetUserNamespaceAccessRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&SetUserNamespaceAccessRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `UserId:` + fmt.Sprintf("%v", this.UserId) + `,`, - `Access:` + strings.Replace(fmt.Sprintf("%v", this.Access), "NamespaceAccess", "v1.NamespaceAccess", 1) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *SetUserNamespaceAccessResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&SetUserNamespaceAccessResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetAsyncOperationRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetAsyncOperationRequest{`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *GetAsyncOperationResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetAsyncOperationResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *CreateNamespaceRequest) String() string { - if this == nil { - return "nil" - } - keysForTags := make([]string, 0, len(this.Tags)) - for k, _ := range this.Tags { - keysForTags = append(keysForTags, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForTags) - mapStringForTags := "map[string]string{" - for _, k := range keysForTags { - mapStringForTags += fmt.Sprintf("%v: %v,", k, this.Tags[k]) - } - mapStringForTags += "}" - s := strings.Join([]string{`&CreateNamespaceRequest{`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "NamespaceSpec", "v12.NamespaceSpec", 1) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `Tags:` + mapStringForTags + `,`, - `}`, - }, "") - return s -} -func (this *CreateNamespaceResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateNamespaceResponse{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetNamespacesRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetNamespacesRequest{`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `Name:` + fmt.Sprintf("%v", this.Name) + `,`, - `ConnectivityRuleId:` + fmt.Sprintf("%v", this.ConnectivityRuleId) + `,`, - `}`, - }, "") - return s -} -func (this *GetNamespacesResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForNamespaces := "[]*Namespace{" - for _, f := range this.Namespaces { - repeatedStringForNamespaces += strings.Replace(fmt.Sprintf("%v", f), "Namespace", "v12.Namespace", 1) + "," - } - repeatedStringForNamespaces += "}" - s := strings.Join([]string{`&GetNamespacesResponse{`, - `Namespaces:` + repeatedStringForNamespaces + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetNamespaceIDsRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetNamespaceIDsRequest{`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetNamespaceIDsResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetNamespaceIDsResponse{`, - `NamespaceIds:` + fmt.Sprintf("%v", this.NamespaceIds) + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetNamespaceRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetNamespaceRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `}`, - }, "") - return s -} -func (this *GetNamespaceResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetNamespaceResponse{`, - `Namespace:` + strings.Replace(fmt.Sprintf("%v", this.Namespace), "Namespace", "v12.Namespace", 1) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateNamespaceRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateNamespaceRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "NamespaceSpec", "v12.NamespaceSpec", 1) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateNamespaceResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateNamespaceResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *RenameCustomSearchAttributeRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&RenameCustomSearchAttributeRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `ExistingCustomSearchAttributeName:` + fmt.Sprintf("%v", this.ExistingCustomSearchAttributeName) + `,`, - `NewCustomSearchAttributeName:` + fmt.Sprintf("%v", this.NewCustomSearchAttributeName) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *RenameCustomSearchAttributeResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&RenameCustomSearchAttributeResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteNamespaceRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteNamespaceRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteNamespaceResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteNamespaceResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *FailoverNamespaceRegionRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&FailoverNamespaceRegionRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `Region:` + fmt.Sprintf("%v", this.Region) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *FailoverNamespaceRegionResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&FailoverNamespaceRegionResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *AddNamespaceRegionRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&AddNamespaceRegionRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `Region:` + fmt.Sprintf("%v", this.Region) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *AddNamespaceRegionResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&AddNamespaceRegionResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteNamespaceRegionRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteNamespaceRegionRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `Region:` + fmt.Sprintf("%v", this.Region) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteNamespaceRegionResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteNamespaceRegionResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetRegionsRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetRegionsRequest{`, - `}`, - }, "") - return s -} -func (this *GetRegionsResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForRegions := "[]*Region{" - for _, f := range this.Regions { - repeatedStringForRegions += strings.Replace(fmt.Sprintf("%v", f), "Region", "v13.Region", 1) + "," - } - repeatedStringForRegions += "}" - s := strings.Join([]string{`&GetRegionsResponse{`, - `Regions:` + repeatedStringForRegions + `,`, - `}`, - }, "") - return s -} -func (this *GetRegionRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetRegionRequest{`, - `Region:` + fmt.Sprintf("%v", this.Region) + `,`, - `}`, - }, "") - return s -} -func (this *GetRegionResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetRegionResponse{`, - `Region:` + strings.Replace(fmt.Sprintf("%v", this.Region), "Region", "v13.Region", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetNexusEndpointsRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetNexusEndpointsRequest{`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `TargetNamespaceId:` + fmt.Sprintf("%v", this.TargetNamespaceId) + `,`, - `TargetTaskQueue:` + fmt.Sprintf("%v", this.TargetTaskQueue) + `,`, - `Name:` + fmt.Sprintf("%v", this.Name) + `,`, - `ProjectId:` + fmt.Sprintf("%v", this.ProjectId) + `,`, - `}`, - }, "") - return s -} -func (this *GetNexusEndpointsResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForEndpoints := "[]*Endpoint{" - for _, f := range this.Endpoints { - repeatedStringForEndpoints += strings.Replace(fmt.Sprintf("%v", f), "Endpoint", "v14.Endpoint", 1) + "," - } - repeatedStringForEndpoints += "}" - s := strings.Join([]string{`&GetNexusEndpointsResponse{`, - `Endpoints:` + repeatedStringForEndpoints + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetNexusEndpointRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetNexusEndpointRequest{`, - `EndpointId:` + fmt.Sprintf("%v", this.EndpointId) + `,`, - `}`, - }, "") - return s -} -func (this *GetNexusEndpointResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetNexusEndpointResponse{`, - `Endpoint:` + strings.Replace(fmt.Sprintf("%v", this.Endpoint), "Endpoint", "v14.Endpoint", 1) + `,`, - `}`, - }, "") - return s -} -func (this *CreateNexusEndpointRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateNexusEndpointRequest{`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "EndpointSpec", "v14.EndpointSpec", 1) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `ProjectId:` + fmt.Sprintf("%v", this.ProjectId) + `,`, - `}`, - }, "") - return s -} -func (this *CreateNexusEndpointResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateNexusEndpointResponse{`, - `EndpointId:` + fmt.Sprintf("%v", this.EndpointId) + `,`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateNexusEndpointRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateNexusEndpointRequest{`, - `EndpointId:` + fmt.Sprintf("%v", this.EndpointId) + `,`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "EndpointSpec", "v14.EndpointSpec", 1) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateNexusEndpointResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateNexusEndpointResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteNexusEndpointRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteNexusEndpointRequest{`, - `EndpointId:` + fmt.Sprintf("%v", this.EndpointId) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteNexusEndpointResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteNexusEndpointResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateAccountRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateAccountRequest{`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "AccountSpec", "v15.AccountSpec", 1) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateAccountResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateAccountResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetUserGroupsRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetUserGroupsRequest{`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `DisplayName:` + fmt.Sprintf("%v", this.DisplayName) + `,`, - `GoogleGroup:` + strings.Replace(fmt.Sprintf("%v", this.GoogleGroup), "GetUserGroupsRequest_GoogleGroupFilter", "GetUserGroupsRequest_GoogleGroupFilter", 1) + `,`, - `ScimGroup:` + strings.Replace(fmt.Sprintf("%v", this.ScimGroup), "GetUserGroupsRequest_SCIMGroupFilter", "GetUserGroupsRequest_SCIMGroupFilter", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetUserGroupsRequest_GoogleGroupFilter) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetUserGroupsRequest_GoogleGroupFilter{`, - `EmailAddress:` + fmt.Sprintf("%v", this.EmailAddress) + `,`, - `}`, - }, "") - return s -} -func (this *GetUserGroupsRequest_SCIMGroupFilter) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetUserGroupsRequest_SCIMGroupFilter{`, - `IdpId:` + fmt.Sprintf("%v", this.IdpId) + `,`, - `}`, - }, "") - return s -} -func (this *GetUserGroupsResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForGroups := "[]*UserGroup{" - for _, f := range this.Groups { - repeatedStringForGroups += strings.Replace(fmt.Sprintf("%v", f), "UserGroup", "v1.UserGroup", 1) + "," - } - repeatedStringForGroups += "}" - s := strings.Join([]string{`&GetUserGroupsResponse{`, - `Groups:` + repeatedStringForGroups + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetUserGroupRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetUserGroupRequest{`, - `GroupId:` + fmt.Sprintf("%v", this.GroupId) + `,`, - `}`, - }, "") - return s -} -func (this *GetUserGroupResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetUserGroupResponse{`, - `Group:` + strings.Replace(fmt.Sprintf("%v", this.Group), "UserGroup", "v1.UserGroup", 1) + `,`, - `}`, - }, "") - return s -} -func (this *CreateUserGroupRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateUserGroupRequest{`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "UserGroupSpec", "v1.UserGroupSpec", 1) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *CreateUserGroupResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateUserGroupResponse{`, - `GroupId:` + fmt.Sprintf("%v", this.GroupId) + `,`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateUserGroupRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateUserGroupRequest{`, - `GroupId:` + fmt.Sprintf("%v", this.GroupId) + `,`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "UserGroupSpec", "v1.UserGroupSpec", 1) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateUserGroupResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateUserGroupResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteUserGroupRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteUserGroupRequest{`, - `GroupId:` + fmt.Sprintf("%v", this.GroupId) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteUserGroupResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteUserGroupResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *SetUserGroupNamespaceAccessRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&SetUserGroupNamespaceAccessRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `GroupId:` + fmt.Sprintf("%v", this.GroupId) + `,`, - `Access:` + strings.Replace(fmt.Sprintf("%v", this.Access), "NamespaceAccess", "v1.NamespaceAccess", 1) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *SetUserGroupNamespaceAccessResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&SetUserGroupNamespaceAccessResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *AddUserGroupMemberRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&AddUserGroupMemberRequest{`, - `GroupId:` + fmt.Sprintf("%v", this.GroupId) + `,`, - `MemberId:` + strings.Replace(fmt.Sprintf("%v", this.MemberId), "UserGroupMemberId", "v1.UserGroupMemberId", 1) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *AddUserGroupMemberResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&AddUserGroupMemberResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *RemoveUserGroupMemberRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&RemoveUserGroupMemberRequest{`, - `GroupId:` + fmt.Sprintf("%v", this.GroupId) + `,`, - `MemberId:` + strings.Replace(fmt.Sprintf("%v", this.MemberId), "UserGroupMemberId", "v1.UserGroupMemberId", 1) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *RemoveUserGroupMemberResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&RemoveUserGroupMemberResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetUserGroupMembersRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetUserGroupMembersRequest{`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `GroupId:` + fmt.Sprintf("%v", this.GroupId) + `,`, - `}`, - }, "") - return s -} -func (this *GetUserGroupMembersResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForMembers := "[]*UserGroupMember{" - for _, f := range this.Members { - repeatedStringForMembers += strings.Replace(fmt.Sprintf("%v", f), "UserGroupMember", "v1.UserGroupMember", 1) + "," - } - repeatedStringForMembers += "}" - s := strings.Join([]string{`&GetUserGroupMembersResponse{`, - `Members:` + repeatedStringForMembers + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *CreateServiceAccountRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateServiceAccountRequest{`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "ServiceAccountSpec", "v1.ServiceAccountSpec", 1) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *CreateServiceAccountResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateServiceAccountResponse{`, - `ServiceAccountId:` + fmt.Sprintf("%v", this.ServiceAccountId) + `,`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetServiceAccountRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetServiceAccountRequest{`, - `ServiceAccountId:` + fmt.Sprintf("%v", this.ServiceAccountId) + `,`, - `}`, - }, "") - return s -} -func (this *GetServiceAccountResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetServiceAccountResponse{`, - `ServiceAccount:` + strings.Replace(fmt.Sprintf("%v", this.ServiceAccount), "ServiceAccount", "v1.ServiceAccount", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetServiceAccountsRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetServiceAccountsRequest{`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetServiceAccountsResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForServiceAccount := "[]*ServiceAccount{" - for _, f := range this.ServiceAccount { - repeatedStringForServiceAccount += strings.Replace(fmt.Sprintf("%v", f), "ServiceAccount", "v1.ServiceAccount", 1) + "," - } - repeatedStringForServiceAccount += "}" - s := strings.Join([]string{`&GetServiceAccountsResponse{`, - `ServiceAccount:` + repeatedStringForServiceAccount + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateServiceAccountRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateServiceAccountRequest{`, - `ServiceAccountId:` + fmt.Sprintf("%v", this.ServiceAccountId) + `,`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "ServiceAccountSpec", "v1.ServiceAccountSpec", 1) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateServiceAccountResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateServiceAccountResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *SetServiceAccountNamespaceAccessRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&SetServiceAccountNamespaceAccessRequest{`, - `ServiceAccountId:` + fmt.Sprintf("%v", this.ServiceAccountId) + `,`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `Access:` + strings.Replace(fmt.Sprintf("%v", this.Access), "NamespaceAccess", "v1.NamespaceAccess", 1) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *SetServiceAccountNamespaceAccessResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&SetServiceAccountNamespaceAccessResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteServiceAccountRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteServiceAccountRequest{`, - `ServiceAccountId:` + fmt.Sprintf("%v", this.ServiceAccountId) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteServiceAccountResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteServiceAccountResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetApiKeysRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetApiKeysRequest{`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `OwnerId:` + fmt.Sprintf("%v", this.OwnerId) + `,`, - `OwnerTypeDeprecated:` + fmt.Sprintf("%v", this.OwnerTypeDeprecated) + `,`, - `OwnerType:` + fmt.Sprintf("%v", this.OwnerType) + `,`, - `}`, - }, "") - return s -} -func (this *GetApiKeysResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForApiKeys := "[]*ApiKey{" - for _, f := range this.ApiKeys { - repeatedStringForApiKeys += strings.Replace(fmt.Sprintf("%v", f), "ApiKey", "v1.ApiKey", 1) + "," - } - repeatedStringForApiKeys += "}" - s := strings.Join([]string{`&GetApiKeysResponse{`, - `ApiKeys:` + repeatedStringForApiKeys + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetApiKeyRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetApiKeyRequest{`, - `KeyId:` + fmt.Sprintf("%v", this.KeyId) + `,`, - `}`, - }, "") - return s -} -func (this *GetApiKeyResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetApiKeyResponse{`, - `ApiKey:` + strings.Replace(fmt.Sprintf("%v", this.ApiKey), "ApiKey", "v1.ApiKey", 1) + `,`, - `}`, - }, "") - return s -} -func (this *CreateApiKeyRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateApiKeyRequest{`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "ApiKeySpec", "v1.ApiKeySpec", 1) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *CreateApiKeyResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateApiKeyResponse{`, - `KeyId:` + fmt.Sprintf("%v", this.KeyId) + `,`, - `Token:` + fmt.Sprintf("%v", this.Token) + `,`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateApiKeyRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateApiKeyRequest{`, - `KeyId:` + fmt.Sprintf("%v", this.KeyId) + `,`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "ApiKeySpec", "v1.ApiKeySpec", 1) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateApiKeyResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateApiKeyResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteApiKeyRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteApiKeyRequest{`, - `KeyId:` + fmt.Sprintf("%v", this.KeyId) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteApiKeyResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteApiKeyResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *ValidateAccountAuditLogSinkRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ValidateAccountAuditLogSinkRequest{`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "AuditLogSinkSpec", "v15.AuditLogSinkSpec", 1) + `,`, - `}`, - }, "") - return s -} -func (this *ValidateAccountAuditLogSinkResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ValidateAccountAuditLogSinkResponse{`, - `}`, - }, "") - return s -} -func (this *CreateAccountAuditLogSinkRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateAccountAuditLogSinkRequest{`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "AuditLogSinkSpec", "v15.AuditLogSinkSpec", 1) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *CreateAccountAuditLogSinkResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateAccountAuditLogSinkResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetAccountAuditLogSinkRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetAccountAuditLogSinkRequest{`, - `Name:` + fmt.Sprintf("%v", this.Name) + `,`, - `}`, - }, "") - return s -} -func (this *GetAccountAuditLogSinkResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetAccountAuditLogSinkResponse{`, - `Sink:` + strings.Replace(fmt.Sprintf("%v", this.Sink), "AuditLogSink", "v15.AuditLogSink", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetAccountAuditLogSinksRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetAccountAuditLogSinksRequest{`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetAccountAuditLogSinksResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForSinks := "[]*AuditLogSink{" - for _, f := range this.Sinks { - repeatedStringForSinks += strings.Replace(fmt.Sprintf("%v", f), "AuditLogSink", "v15.AuditLogSink", 1) + "," - } - repeatedStringForSinks += "}" - s := strings.Join([]string{`&GetAccountAuditLogSinksResponse{`, - `Sinks:` + repeatedStringForSinks + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateAccountAuditLogSinkRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateAccountAuditLogSinkRequest{`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "AuditLogSinkSpec", "v15.AuditLogSinkSpec", 1) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateAccountAuditLogSinkResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateAccountAuditLogSinkResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteAccountAuditLogSinkRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteAccountAuditLogSinkRequest{`, - `Name:` + fmt.Sprintf("%v", this.Name) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteAccountAuditLogSinkResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteAccountAuditLogSinkResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetAuditLogsRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetAuditLogsRequest{`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `StartTimeInclusive:` + strings.Replace(fmt.Sprintf("%v", this.StartTimeInclusive), "Timestamp", "types.Timestamp", 1) + `,`, - `EndTimeExclusive:` + strings.Replace(fmt.Sprintf("%v", this.EndTimeExclusive), "Timestamp", "types.Timestamp", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetAuditLogsResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForLogs := "[]*LogRecord{" - for _, f := range this.Logs { - repeatedStringForLogs += strings.Replace(fmt.Sprintf("%v", f), "LogRecord", "v16.LogRecord", 1) + "," - } - repeatedStringForLogs += "}" - s := strings.Join([]string{`&GetAuditLogsResponse{`, - `Logs:` + repeatedStringForLogs + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetUsageRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetUsageRequest{`, - `StartTimeInclusive:` + strings.Replace(fmt.Sprintf("%v", this.StartTimeInclusive), "Timestamp", "types.Timestamp", 1) + `,`, - `EndTimeExclusive:` + strings.Replace(fmt.Sprintf("%v", this.EndTimeExclusive), "Timestamp", "types.Timestamp", 1) + `,`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetUsageResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForSummaries := "[]*Summary{" - for _, f := range this.Summaries { - repeatedStringForSummaries += strings.Replace(fmt.Sprintf("%v", f), "Summary", "v17.Summary", 1) + "," - } - repeatedStringForSummaries += "}" - s := strings.Join([]string{`&GetUsageResponse{`, - `Summaries:` + repeatedStringForSummaries + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetAccountRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetAccountRequest{`, - `}`, - }, "") - return s -} -func (this *GetAccountResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetAccountResponse{`, - `Account:` + strings.Replace(fmt.Sprintf("%v", this.Account), "Account", "v15.Account", 1) + `,`, - `}`, - }, "") - return s -} -func (this *CreateNamespaceExportSinkRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateNamespaceExportSinkRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "ExportSinkSpec", "v12.ExportSinkSpec", 1) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *CreateNamespaceExportSinkResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateNamespaceExportSinkResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetNamespaceExportSinkRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetNamespaceExportSinkRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `Name:` + fmt.Sprintf("%v", this.Name) + `,`, - `}`, - }, "") - return s -} -func (this *GetNamespaceExportSinkResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetNamespaceExportSinkResponse{`, - `Sink:` + strings.Replace(fmt.Sprintf("%v", this.Sink), "ExportSink", "v12.ExportSink", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetNamespaceExportSinksRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetNamespaceExportSinksRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetNamespaceExportSinksResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForSinks := "[]*ExportSink{" - for _, f := range this.Sinks { - repeatedStringForSinks += strings.Replace(fmt.Sprintf("%v", f), "ExportSink", "v12.ExportSink", 1) + "," - } - repeatedStringForSinks += "}" - s := strings.Join([]string{`&GetNamespaceExportSinksResponse{`, - `Sinks:` + repeatedStringForSinks + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateNamespaceExportSinkRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateNamespaceExportSinkRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "ExportSinkSpec", "v12.ExportSinkSpec", 1) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateNamespaceExportSinkResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateNamespaceExportSinkResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteNamespaceExportSinkRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteNamespaceExportSinkRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `Name:` + fmt.Sprintf("%v", this.Name) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteNamespaceExportSinkResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteNamespaceExportSinkResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *ValidateNamespaceExportSinkRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ValidateNamespaceExportSinkRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "ExportSinkSpec", "v12.ExportSinkSpec", 1) + `,`, - `}`, - }, "") - return s -} -func (this *ValidateNamespaceExportSinkResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ValidateNamespaceExportSinkResponse{`, - `}`, - }, "") - return s -} -func (this *StartMigrationRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&StartMigrationRequest{`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "MigrationSpec", "v12.MigrationSpec", 1) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *StartMigrationResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&StartMigrationResponse{`, - `MigrationId:` + fmt.Sprintf("%v", this.MigrationId) + `,`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetMigrationRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetMigrationRequest{`, - `MigrationId:` + fmt.Sprintf("%v", this.MigrationId) + `,`, - `}`, - }, "") - return s -} -func (this *GetMigrationResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetMigrationResponse{`, - `Migration:` + strings.Replace(fmt.Sprintf("%v", this.Migration), "Migration", "v12.Migration", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetMigrationsRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetMigrationsRequest{`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetMigrationsResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForMigrations := "[]*Migration{" - for _, f := range this.Migrations { - repeatedStringForMigrations += strings.Replace(fmt.Sprintf("%v", f), "Migration", "v12.Migration", 1) + "," - } - repeatedStringForMigrations += "}" - s := strings.Join([]string{`&GetMigrationsResponse{`, - `Migrations:` + repeatedStringForMigrations + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *HandoverNamespaceRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&HandoverNamespaceRequest{`, - `MigrationId:` + fmt.Sprintf("%v", this.MigrationId) + `,`, - `ToReplicaId:` + fmt.Sprintf("%v", this.ToReplicaId) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *HandoverNamespaceResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&HandoverNamespaceResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *ConfirmMigrationRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ConfirmMigrationRequest{`, - `MigrationId:` + fmt.Sprintf("%v", this.MigrationId) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *ConfirmMigrationResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ConfirmMigrationResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *AbortMigrationRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&AbortMigrationRequest{`, - `MigrationId:` + fmt.Sprintf("%v", this.MigrationId) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *AbortMigrationResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&AbortMigrationResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *CreateConnectivityRuleRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateConnectivityRuleRequest{`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "ConnectivityRuleSpec", "v18.ConnectivityRuleSpec", 1) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *CreateConnectivityRuleResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateConnectivityRuleResponse{`, - `ConnectivityRuleId:` + fmt.Sprintf("%v", this.ConnectivityRuleId) + `,`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetConnectivityRuleRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetConnectivityRuleRequest{`, - `ConnectivityRuleId:` + fmt.Sprintf("%v", this.ConnectivityRuleId) + `,`, - `}`, - }, "") - return s -} -func (this *GetConnectivityRuleResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetConnectivityRuleResponse{`, - `ConnectivityRule:` + strings.Replace(fmt.Sprintf("%v", this.ConnectivityRule), "ConnectivityRule", "v18.ConnectivityRule", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetConnectivityRulesRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetConnectivityRulesRequest{`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `}`, - }, "") - return s -} -func (this *GetConnectivityRulesResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForConnectivityRules := "[]*ConnectivityRule{" - for _, f := range this.ConnectivityRules { - repeatedStringForConnectivityRules += strings.Replace(fmt.Sprintf("%v", f), "ConnectivityRule", "v18.ConnectivityRule", 1) + "," - } - repeatedStringForConnectivityRules += "}" - s := strings.Join([]string{`&GetConnectivityRulesResponse{`, - `ConnectivityRules:` + repeatedStringForConnectivityRules + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteConnectivityRuleRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteConnectivityRuleRequest{`, - `ConnectivityRuleId:` + fmt.Sprintf("%v", this.ConnectivityRuleId) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteConnectivityRuleResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteConnectivityRuleResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetProjectsRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetProjectsRequest{`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetProjectsResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForProjects := "[]*Project{" - for _, f := range this.Projects { - repeatedStringForProjects += strings.Replace(fmt.Sprintf("%v", f), "Project", "v19.Project", 1) + "," - } - repeatedStringForProjects += "}" - s := strings.Join([]string{`&GetProjectsResponse{`, - `Projects:` + repeatedStringForProjects + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetProjectRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetProjectRequest{`, - `ProjectId:` + fmt.Sprintf("%v", this.ProjectId) + `,`, - `}`, - }, "") - return s -} -func (this *GetProjectResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetProjectResponse{`, - `Project:` + strings.Replace(fmt.Sprintf("%v", this.Project), "Project", "v19.Project", 1) + `,`, - `}`, - }, "") - return s -} -func (this *CreateProjectRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateProjectRequest{`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "ProjectSpec", "v19.ProjectSpec", 1) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *CreateProjectResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateProjectResponse{`, - `ProjectId:` + fmt.Sprintf("%v", this.ProjectId) + `,`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateProjectRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateProjectRequest{`, - `ProjectId:` + fmt.Sprintf("%v", this.ProjectId) + `,`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "ProjectSpec", "v19.ProjectSpec", 1) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateProjectResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateProjectResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteProjectRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteProjectRequest{`, - `ProjectId:` + fmt.Sprintf("%v", this.ProjectId) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteProjectResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteProjectResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateNamespaceTagsRequest) String() string { - if this == nil { - return "nil" - } - keysForTagsToUpsert := make([]string, 0, len(this.TagsToUpsert)) - for k, _ := range this.TagsToUpsert { - keysForTagsToUpsert = append(keysForTagsToUpsert, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForTagsToUpsert) - mapStringForTagsToUpsert := "map[string]string{" - for _, k := range keysForTagsToUpsert { - mapStringForTagsToUpsert += fmt.Sprintf("%v: %v,", k, this.TagsToUpsert[k]) - } - mapStringForTagsToUpsert += "}" - s := strings.Join([]string{`&UpdateNamespaceTagsRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `TagsToUpsert:` + mapStringForTagsToUpsert + `,`, - `TagsToRemove:` + fmt.Sprintf("%v", this.TagsToRemove) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateNamespaceTagsResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateNamespaceTagsResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *ResendUserInviteRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ResendUserInviteRequest{`, - `UserId:` + fmt.Sprintf("%v", this.UserId) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s -} -func (this *ResendUserInviteResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ResendUserInviteResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetTagKeysRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetTagKeysRequest{`, - `Prefix:` + fmt.Sprintf("%v", this.Prefix) + `,`, - `}`, - }, "") - return s -} -func (this *GetTagKeysResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetTagKeysResponse{`, - `TagKeys:` + fmt.Sprintf("%v", this.TagKeys) + `,`, - `}`, - }, "") - return s -} -func valueToStringRequestResponse(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) -} -func (m *GetUsersRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetUsersRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetUsersRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Email", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Email = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetUsersResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetUsersResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetUsersResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Users", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Users = append(m.Users, &v1.User{}) - if err := m.Users[len(m.Users)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetUserRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetUserRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetUserRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.UserId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetUserResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetUserResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetUserResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.User == nil { - m.User = &v1.User{} - } - if err := m.User.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateUserRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateUserRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateUserRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v1.UserSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateUserResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateUserResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateUserResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.UserId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateUserRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateUserRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateUserRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.UserId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v1.UserSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateUserResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateUserResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateUserResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteUserRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteUserRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteUserRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.UserId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteUserResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteUserResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteUserResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SetUserNamespaceAccessRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SetUserNamespaceAccessRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SetUserNamespaceAccessRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.UserId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Access == nil { - m.Access = &v1.NamespaceAccess{} - } - if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SetUserNamespaceAccessResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SetUserNamespaceAccessResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SetUserNamespaceAccessResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetAsyncOperationRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetAsyncOperationRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetAsyncOperationRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetAsyncOperationResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetAsyncOperationResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetAsyncOperationResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateNamespaceRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateNamespaceRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v12.NamespaceSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Tags == nil { - m.Tags = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthRequestResponse - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthRequestResponse - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthRequestResponse - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthRequestResponse - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Tags[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateNamespaceResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateNamespaceResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetNamespacesRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetNamespacesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespacesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectivityRuleId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ConnectivityRuleId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetNamespacesResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetNamespacesResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespacesResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespaces", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespaces = append(m.Namespaces, &v12.Namespace{}) - if err := m.Namespaces[len(m.Namespaces)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetNamespaceIDsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetNamespaceIDsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespaceIDsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetNamespaceIDsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetNamespaceIDsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespaceIDsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NamespaceIds", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NamespaceIds = append(m.NamespaceIds, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetNamespaceRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetNamespaceRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetNamespaceResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetNamespaceResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Namespace == nil { - m.Namespace = &v12.Namespace{} - } - if err := m.Namespace.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateNamespaceRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateNamespaceRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v12.NamespaceSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateNamespaceResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateNamespaceResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RenameCustomSearchAttributeRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RenameCustomSearchAttributeRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExistingCustomSearchAttributeName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ExistingCustomSearchAttributeName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NewCustomSearchAttributeName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NewCustomSearchAttributeName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RenameCustomSearchAttributeResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RenameCustomSearchAttributeResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RenameCustomSearchAttributeResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteNamespaceRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteNamespaceRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteNamespaceResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteNamespaceResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *FailoverNamespaceRegionRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: FailoverNamespaceRegionRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: FailoverNamespaceRegionRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Region = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *FailoverNamespaceRegionResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: FailoverNamespaceRegionResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: FailoverNamespaceRegionResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AddNamespaceRegionRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AddNamespaceRegionRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AddNamespaceRegionRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Region = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AddNamespaceRegionResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AddNamespaceRegionResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AddNamespaceRegionResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteNamespaceRegionRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteNamespaceRegionRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteNamespaceRegionRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Region = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteNamespaceRegionResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteNamespaceRegionResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteNamespaceRegionResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetRegionsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetRegionsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetRegionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetRegionsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetRegionsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetRegionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Regions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Regions = append(m.Regions, &v13.Region{}) - if err := m.Regions[len(m.Regions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetRegionRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetRegionRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetRegionRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Region = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetRegionResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetRegionResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetRegionResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Region == nil { - m.Region = &v13.Region{} - } - if err := m.Region.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetNexusEndpointsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetNexusEndpointsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetNexusEndpointsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TargetNamespaceId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TargetNamespaceId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TargetTaskQueue", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TargetTaskQueue = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ProjectId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetNexusEndpointsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetNexusEndpointsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetNexusEndpointsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Endpoints", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Endpoints = append(m.Endpoints, &v14.Endpoint{}) - if err := m.Endpoints[len(m.Endpoints)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetNexusEndpointRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetNexusEndpointRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetNexusEndpointRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EndpointId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.EndpointId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetNexusEndpointResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetNexusEndpointResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetNexusEndpointResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Endpoint", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Endpoint == nil { - m.Endpoint = &v14.Endpoint{} - } - if err := m.Endpoint.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateNexusEndpointRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateNexusEndpointRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateNexusEndpointRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v14.EndpointSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ProjectId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateNexusEndpointResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateNexusEndpointResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateNexusEndpointResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EndpointId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.EndpointId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateNexusEndpointRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateNexusEndpointRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateNexusEndpointRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EndpointId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.EndpointId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v14.EndpointSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateNexusEndpointResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateNexusEndpointResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateNexusEndpointResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteNexusEndpointRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteNexusEndpointRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteNexusEndpointRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EndpointId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.EndpointId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteNexusEndpointResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteNexusEndpointResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteNexusEndpointResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateAccountRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateAccountRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v15.AccountSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateAccountResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateAccountResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetUserGroupsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetUserGroupsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetUserGroupsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DisplayName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DisplayName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GoogleGroup", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.GoogleGroup == nil { - m.GoogleGroup = &GetUserGroupsRequest_GoogleGroupFilter{} - } - if err := m.GoogleGroup.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ScimGroup", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ScimGroup == nil { - m.ScimGroup = &GetUserGroupsRequest_SCIMGroupFilter{} - } - if err := m.ScimGroup.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetUserGroupsRequest_GoogleGroupFilter) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GoogleGroupFilter: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GoogleGroupFilter: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EmailAddress", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.EmailAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetUserGroupsRequest_SCIMGroupFilter) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SCIMGroupFilter: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SCIMGroupFilter: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IdpId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.IdpId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetUserGroupsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetUserGroupsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetUserGroupsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Groups", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Groups = append(m.Groups, &v1.UserGroup{}) - if err := m.Groups[len(m.Groups)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetUserGroupRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetUserGroupRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetUserGroupRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GroupId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetUserGroupResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetUserGroupResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetUserGroupResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Group == nil { - m.Group = &v1.UserGroup{} - } - if err := m.Group.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateUserGroupRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateUserGroupRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateUserGroupRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v1.UserGroupSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateUserGroupResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateUserGroupResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateUserGroupResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GroupId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateUserGroupRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateUserGroupRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateUserGroupRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GroupId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v1.UserGroupSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateUserGroupResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateUserGroupResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateUserGroupResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteUserGroupRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteUserGroupRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteUserGroupRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GroupId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteUserGroupResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteUserGroupResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteUserGroupResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SetUserGroupNamespaceAccessRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SetUserGroupNamespaceAccessRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SetUserGroupNamespaceAccessRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GroupId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Access == nil { - m.Access = &v1.NamespaceAccess{} - } - if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SetUserGroupNamespaceAccessResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SetUserGroupNamespaceAccessResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SetUserGroupNamespaceAccessResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AddUserGroupMemberRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AddUserGroupMemberRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AddUserGroupMemberRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GroupId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MemberId", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.MemberId == nil { - m.MemberId = &v1.UserGroupMemberId{} - } - if err := m.MemberId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AddUserGroupMemberResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AddUserGroupMemberResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AddUserGroupMemberResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RemoveUserGroupMemberRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RemoveUserGroupMemberRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RemoveUserGroupMemberRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GroupId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MemberId", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.MemberId == nil { - m.MemberId = &v1.UserGroupMemberId{} - } - if err := m.MemberId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RemoveUserGroupMemberResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RemoveUserGroupMemberResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RemoveUserGroupMemberResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetUserGroupMembersRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetUserGroupMembersRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetUserGroupMembersRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GroupId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetUserGroupMembersResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetUserGroupMembersResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetUserGroupMembersResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Members", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Members = append(m.Members, &v1.UserGroupMember{}) - if err := m.Members[len(m.Members)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateServiceAccountRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateServiceAccountRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateServiceAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v1.ServiceAccountSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateServiceAccountResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateServiceAccountResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateServiceAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetServiceAccountRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetServiceAccountRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetServiceAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetServiceAccountResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetServiceAccountResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetServiceAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccount", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ServiceAccount == nil { - m.ServiceAccount = &v1.ServiceAccount{} - } - if err := m.ServiceAccount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetServiceAccountsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetServiceAccountsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetServiceAccountsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetServiceAccountsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetServiceAccountsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetServiceAccountsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccount", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ServiceAccount = append(m.ServiceAccount, &v1.ServiceAccount{}) - if err := m.ServiceAccount[len(m.ServiceAccount)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateServiceAccountRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateServiceAccountRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateServiceAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v1.ServiceAccountSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateServiceAccountResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateServiceAccountResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateServiceAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SetServiceAccountNamespaceAccessRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SetServiceAccountNamespaceAccessRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SetServiceAccountNamespaceAccessRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Access == nil { - m.Access = &v1.NamespaceAccess{} - } - if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SetServiceAccountNamespaceAccessResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SetServiceAccountNamespaceAccessResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SetServiceAccountNamespaceAccessResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteServiceAccountRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteServiceAccountRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteServiceAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteServiceAccountResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteServiceAccountResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteServiceAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetApiKeysRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetApiKeysRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetApiKeysRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OwnerId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.OwnerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OwnerTypeDeprecated", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.OwnerTypeDeprecated = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field OwnerType", wireType) - } - m.OwnerType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.OwnerType |= v1.OwnerType(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetApiKeysResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetApiKeysResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetApiKeysResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ApiKeys", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ApiKeys = append(m.ApiKeys, &v1.ApiKey{}) - if err := m.ApiKeys[len(m.ApiKeys)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetApiKeyRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetApiKeyRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetApiKeyRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field KeyId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.KeyId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetApiKeyResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetApiKeyResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetApiKeyResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ApiKey", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ApiKey == nil { - m.ApiKey = &v1.ApiKey{} - } - if err := m.ApiKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateApiKeyRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateApiKeyRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateApiKeyRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v1.ApiKeySpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateApiKeyResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateApiKeyResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateApiKeyResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field KeyId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.KeyId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Token = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateApiKeyRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateApiKeyRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateApiKeyRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field KeyId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.KeyId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v1.ApiKeySpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateApiKeyResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateApiKeyResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateApiKeyResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteApiKeyRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteApiKeyRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteApiKeyRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field KeyId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.KeyId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteApiKeyResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteApiKeyResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteApiKeyResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidateAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidateAccountAuditLogSinkRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidateAccountAuditLogSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v15.AuditLogSinkSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidateAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidateAccountAuditLogSinkResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidateAccountAuditLogSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateAccountAuditLogSinkRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateAccountAuditLogSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v15.AuditLogSinkSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateAccountAuditLogSinkResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateAccountAuditLogSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetAccountAuditLogSinkRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetAccountAuditLogSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetAccountAuditLogSinkResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetAccountAuditLogSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Sink", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Sink == nil { - m.Sink = &v15.AuditLogSink{} - } - if err := m.Sink.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetAccountAuditLogSinksRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetAccountAuditLogSinksRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetAccountAuditLogSinksRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetAccountAuditLogSinksResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetAccountAuditLogSinksResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetAccountAuditLogSinksResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Sinks", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Sinks = append(m.Sinks, &v15.AuditLogSink{}) - if err := m.Sinks[len(m.Sinks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateAccountAuditLogSinkRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateAccountAuditLogSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v15.AuditLogSinkSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateAccountAuditLogSinkResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateAccountAuditLogSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteAccountAuditLogSinkRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteAccountAuditLogSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteAccountAuditLogSinkResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteAccountAuditLogSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetAuditLogsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetAuditLogsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetAuditLogsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StartTimeInclusive", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.StartTimeInclusive == nil { - m.StartTimeInclusive = &types.Timestamp{} - } - if err := m.StartTimeInclusive.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EndTimeExclusive", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.EndTimeExclusive == nil { - m.EndTimeExclusive = &types.Timestamp{} - } - if err := m.EndTimeExclusive.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetAuditLogsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetAuditLogsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetAuditLogsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Logs", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Logs = append(m.Logs, &v16.LogRecord{}) - if err := m.Logs[len(m.Logs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetUsageRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetUsageRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetUsageRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StartTimeInclusive", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.StartTimeInclusive == nil { - m.StartTimeInclusive = &types.Timestamp{} - } - if err := m.StartTimeInclusive.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EndTimeExclusive", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.EndTimeExclusive == nil { - m.EndTimeExclusive = &types.Timestamp{} - } - if err := m.EndTimeExclusive.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetUsageResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetUsageResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetUsageResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Summaries", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Summaries = append(m.Summaries, &v17.Summary{}) - if err := m.Summaries[len(m.Summaries)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetAccountRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetAccountRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetAccountResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetAccountResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Account", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Account == nil { - m.Account = &v15.Account{} - } - if err := m.Account.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateNamespaceExportSinkRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateNamespaceExportSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v12.ExportSinkSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateNamespaceExportSinkResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateNamespaceExportSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetNamespaceExportSinkRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespaceExportSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetNamespaceExportSinkResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespaceExportSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Sink", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Sink == nil { - m.Sink = &v12.ExportSink{} - } - if err := m.Sink.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetNamespaceExportSinksRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetNamespaceExportSinksRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespaceExportSinksRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetNamespaceExportSinksResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetNamespaceExportSinksResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespaceExportSinksResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Sinks", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Sinks = append(m.Sinks, &v12.ExportSink{}) - if err := m.Sinks[len(m.Sinks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateNamespaceExportSinkRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateNamespaceExportSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v12.ExportSinkSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateNamespaceExportSinkResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateNamespaceExportSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteNamespaceExportSinkRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteNamespaceExportSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteNamespaceExportSinkResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteNamespaceExportSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidateNamespaceExportSinkRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidateNamespaceExportSinkRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidateNamespaceExportSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v12.ExportSinkSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidateNamespaceExportSinkResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidateNamespaceExportSinkResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidateNamespaceExportSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StartMigrationRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StartMigrationRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StartMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v12.MigrationSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StartMigrationResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StartMigrationResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StartMigrationResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MigrationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.MigrationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetMigrationRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetMigrationRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MigrationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.MigrationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetMigrationResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetMigrationResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetMigrationResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Migration", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Migration == nil { - m.Migration = &v12.Migration{} - } - if err := m.Migration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetMigrationsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetMigrationsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetMigrationsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetMigrationsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetMigrationsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetMigrationsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Migrations", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Migrations = append(m.Migrations, &v12.Migration{}) - if err := m.Migrations[len(m.Migrations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *HandoverNamespaceRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: HandoverNamespaceRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: HandoverNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MigrationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.MigrationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ToReplicaId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ToReplicaId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *HandoverNamespaceResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: HandoverNamespaceResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: HandoverNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ConfirmMigrationRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ConfirmMigrationRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ConfirmMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MigrationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.MigrationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ConfirmMigrationResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ConfirmMigrationResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ConfirmMigrationResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AbortMigrationRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AbortMigrationRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AbortMigrationRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MigrationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.MigrationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AbortMigrationResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AbortMigrationResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AbortMigrationResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateConnectivityRuleRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateConnectivityRuleRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateConnectivityRuleRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v18.ConnectivityRuleSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateConnectivityRuleResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateConnectivityRuleResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateConnectivityRuleResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectivityRuleId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ConnectivityRuleId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetConnectivityRuleRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetConnectivityRuleRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetConnectivityRuleRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectivityRuleId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ConnectivityRuleId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetConnectivityRuleResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetConnectivityRuleResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetConnectivityRuleResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectivityRule", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ConnectivityRule == nil { - m.ConnectivityRule = &v18.ConnectivityRule{} - } - if err := m.ConnectivityRule.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetConnectivityRulesRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetConnectivityRulesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetConnectivityRulesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetConnectivityRulesResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetConnectivityRulesResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetConnectivityRulesResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectivityRules", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ConnectivityRules = append(m.ConnectivityRules, &v18.ConnectivityRule{}) - if err := m.ConnectivityRules[len(m.ConnectivityRules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteConnectivityRuleRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteConnectivityRuleRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteConnectivityRuleRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectivityRuleId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ConnectivityRuleId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteConnectivityRuleResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteConnectivityRuleResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteConnectivityRuleResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetProjectsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetProjectsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetProjectsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetProjectsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetProjectsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetProjectsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Projects", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Projects = append(m.Projects, &v19.Project{}) - if err := m.Projects[len(m.Projects)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetProjectRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetProjectRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetProjectRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ProjectId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetProjectResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetProjectResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetProjectResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Project == nil { - m.Project = &v19.Project{} - } - if err := m.Project.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateProjectRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateProjectRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateProjectRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v19.ProjectSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateProjectResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateProjectResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateProjectResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ProjectId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateProjectRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateProjectRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateProjectRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ProjectId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v19.ProjectSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateProjectResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateProjectResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateProjectResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteProjectRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteProjectRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteProjectRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ProjectId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteProjectResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteProjectResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteProjectResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateNamespaceTagsRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateNamespaceTagsRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateNamespaceTagsRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TagsToUpsert", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.TagsToUpsert == nil { - m.TagsToUpsert = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthRequestResponse - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthRequestResponse - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthRequestResponse - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthRequestResponse - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.TagsToUpsert[mapkey] = mapvalue - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TagsToRemove", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TagsToRemove = append(m.TagsToRemove, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateNamespaceTagsResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateNamespaceTagsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateNamespaceTagsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ResendUserInviteRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ResendUserInviteRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ResendUserInviteRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.UserId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ResendUserInviteResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ResendUserInviteResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ResendUserInviteResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetTagKeysRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetTagKeysRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetTagKeysRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Prefix", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Prefix = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetTagKeysResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetTagKeysResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetTagKeysResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TagKeys", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TagKeys = append(m.TagKeys, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipRequestResponse(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthRequestResponse - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupRequestResponse - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthRequestResponse - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthRequestResponse = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowRequestResponse = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupRequestResponse = fmt.Errorf("proto: unexpected end of group") -) diff --git a/protogen/api/cloud/cloudservice/v1/service.pb.go b/protogen/api/cloud/cloudservice/v1/service.pb.go index 54217757..c4ffc9d9 100644 --- a/protogen/api/cloud/cloudservice/v1/service.pb.go +++ b/protogen/api/cloud/cloudservice/v1/service.pb.go @@ -1,3246 +1,1587 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: temporal/api/cloud/cloudservice/v1/service.proto package cloudservice import ( - context "context" - fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/golang/protobuf/proto" + _ "github.com/temporalio/saas-proto/protogen/temporal/authz/v1" _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -func init() { - proto.RegisterFile("temporal/api/cloud/cloudservice/v1/service.proto", fileDescriptor_9201a2f120d8d47c) -} - -var fileDescriptor_9201a2f120d8d47c = []byte{ - // 2588 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x5b, 0x5b, 0x8c, 0x1c, 0x47, - 0x15, 0xdd, 0xf2, 0x07, 0x8f, 0x62, 0xe3, 0x47, 0x79, 0xb3, 0xf6, 0xfa, 0x31, 0x71, 0x3a, 0xb6, - 0x63, 0x4f, 0x3c, 0xd3, 0x5e, 0xbf, 0xd6, 0x3b, 0x6b, 0xc7, 0x9e, 0x5d, 0xdb, 0x4b, 0xc8, 0xcb, - 0xda, 0xb5, 0xfd, 0xc1, 0xcf, 0xaa, 0x3d, 0x53, 0x99, 0x34, 0xbb, 0x3b, 0x3d, 0x74, 0xf7, 0xac, - 0xb2, 0x1a, 0x59, 0x42, 0xfc, 0xf2, 0x83, 0x88, 0x11, 0x02, 0xc4, 0x4b, 0x3c, 0x94, 0x04, 0x21, - 0x81, 0x14, 0x09, 0xf1, 0x92, 0x50, 0x04, 0x21, 0x42, 0x08, 0x2c, 0x82, 0x20, 0x20, 0xa4, 0xc4, - 0x6b, 0x3e, 0x10, 0x08, 0x29, 0x1f, 0x08, 0x7e, 0x51, 0x57, 0xdd, 0xee, 0xe9, 0x57, 0xf5, 0xd6, - 0xed, 0xe5, 0x27, 0x3b, 0x19, 0xd7, 0xb9, 0x7d, 0x4e, 0xdd, 0x5b, 0x75, 0xef, 0xad, 0xae, 0xa1, - 0x27, 0x7d, 0xbe, 0xda, 0x73, 0x5c, 0x6b, 0xc5, 0xb4, 0x7a, 0xb6, 0xd9, 0x5a, 0x71, 0xfa, 0x6d, - 0xf9, 0x5f, 0x8f, 0xbb, 0x6b, 0x76, 0x8b, 0x9b, 0x6b, 0x93, 0x26, 0x7c, 0xac, 0xf7, 0x5c, 0xc7, - 0x77, 0x98, 0x11, 0x22, 0xea, 0x56, 0xcf, 0xae, 0x8b, 0xb1, 0xf5, 0x38, 0xa2, 0xbe, 0x36, 0xb9, - 0x6f, 0x5a, 0xc3, 0xaa, 0xcb, 0x3f, 0xd9, 0xe7, 0x9e, 0xbf, 0xe4, 0x72, 0xaf, 0xe7, 0x74, 0x3d, - 0x30, 0xbf, 0xef, 0x40, 0xc7, 0x71, 0x3a, 0x2b, 0x5c, 0x00, 0xad, 0x6e, 0xd7, 0xf1, 0x2d, 0xdf, - 0x76, 0xba, 0x9e, 0xfc, 0xd7, 0x53, 0x6f, 0x78, 0x74, 0x74, 0x2e, 0x30, 0xb4, 0x28, 0x0d, 0xb1, - 0xcf, 0x10, 0xfa, 0xa1, 0x79, 0xee, 0xdf, 0xf4, 0xb8, 0xeb, 0xb1, 0xd3, 0xf5, 0xcd, 0xb9, 0xd5, - 0xc3, 0xd1, 0x0b, 0xf2, 0xf9, 0xfb, 0xce, 0xe0, 0x40, 0x92, 0xac, 0x31, 0xf6, 0xe9, 0xb7, 0xff, - 0xf6, 0xf2, 0xb6, 0xed, 0x6c, 0x14, 0xd4, 0xf5, 0x05, 0x81, 0xcf, 0x11, 0xfa, 0x41, 0x18, 0xca, - 0x4e, 0x21, 0xec, 0x86, 0x5c, 0x4e, 0xa3, 0x30, 0x40, 0xa5, 0x22, 0xa8, 0xec, 0x65, 0xe3, 0x71, - 0x2a, 0xe6, 0x20, 0xf8, 0xb3, 0x64, 0xb7, 0xef, 0xb0, 0xbb, 0x84, 0xd2, 0x39, 0x97, 0x5b, 0x3e, - 0x17, 0xbc, 0xce, 0xea, 0x3c, 0x63, 0x38, 0x3e, 0xa4, 0x76, 0x0e, 0x0b, 0x03, 0x76, 0x7b, 0x04, - 0xbb, 0x5d, 0x46, 0x62, 0xa2, 0x1a, 0xa4, 0xca, 0xbe, 0x4a, 0x28, 0xbd, 0xd9, 0x6b, 0xa3, 0x68, - 0x0d, 0xc7, 0xa3, 0x68, 0xc5, 0x61, 0x40, 0xeb, 0x51, 0x41, 0x6b, 0xbf, 0xa1, 0x98, 0xb4, 0x80, - 0xe0, 0x97, 0x09, 0xa5, 0x57, 0xf8, 0x0a, 0xc7, 0x10, 0x1c, 0x8e, 0x47, 0x11, 0x8c, 0xc3, 0x92, - 0x5e, 0xad, 0xaa, 0xbc, 0xfa, 0x1e, 0xa1, 0xe3, 0x8b, 0x32, 0x12, 0x9e, 0xb3, 0x56, 0xb9, 0xd7, - 0xb3, 0x5a, 0xbc, 0xd9, 0x6a, 0x71, 0xcf, 0x63, 0x4d, 0x9d, 0x47, 0xe6, 0x63, 0x43, 0xd6, 0xb3, - 0x5b, 0x31, 0x01, 0x0a, 0x2e, 0x09, 0x05, 0xd3, 0xc6, 0x19, 0x50, 0xd0, 0x0d, 0xc7, 0x79, 0xe6, - 0x20, 0xfa, 0x7c, 0x27, 0x2d, 0xcc, 0xb4, 0x84, 0x95, 0xc0, 0x01, 0x3f, 0x27, 0x74, 0xd7, 0x3c, - 0xf7, 0x9b, 0xde, 0x7a, 0xb7, 0xf5, 0x7c, 0x8f, 0xbb, 0x62, 0x27, 0x60, 0x17, 0x34, 0xd7, 0x48, - 0x12, 0x16, 0x0a, 0xbb, 0x58, 0x12, 0x0d, 0x9a, 0xea, 0x42, 0xd3, 0x31, 0x76, 0x14, 0x34, 0x39, - 0xe1, 0x08, 0xcf, 0x1c, 0x58, 0x01, 0x64, 0x29, 0xfa, 0x46, 0x78, 0xe9, 0x15, 0x42, 0x77, 0xc8, - 0x45, 0x11, 0xcd, 0x12, 0x6b, 0xe8, 0xaf, 0xa4, 0x08, 0x14, 0xd2, 0x9f, 0x29, 0x85, 0x05, 0xf2, - 0x07, 0x04, 0xf9, 0x71, 0x63, 0x57, 0xc6, 0x21, 0xc1, 0x6c, 0x7f, 0x8d, 0xd0, 0x87, 0xe6, 0xb9, - 0x1f, 0xc1, 0x3c, 0x76, 0x5e, 0x73, 0xae, 0x86, 0x90, 0x90, 0xe6, 0x74, 0x09, 0x24, 0x90, 0x9c, - 0x10, 0x24, 0x77, 0xb3, 0x2c, 0x49, 0xf6, 0x2a, 0xa1, 0x3b, 0xe2, 0xa0, 0xa7, 0xae, 0x78, 0x7a, - 0x93, 0x99, 0x02, 0xa1, 0x26, 0x33, 0x83, 0x05, 0x9e, 0x07, 0x05, 0xcf, 0x3d, 0xec, 0xe1, 0xec, - 0x64, 0xda, 0x6d, 0x2f, 0x70, 0xfc, 0x68, 0x1c, 0xca, 0xa6, 0xb0, 0x0f, 0x0b, 0x59, 0x9e, 0xc7, - 0x03, 0x81, 0xe2, 0x11, 0x41, 0xf1, 0x11, 0x76, 0xb0, 0x70, 0x01, 0xb2, 0xd7, 0x09, 0xdd, 0x21, - 0x77, 0x48, 0x64, 0x8c, 0xa6, 0x40, 0xa8, 0x69, 0xcd, 0x60, 0x81, 0xf3, 0x31, 0xc1, 0xd9, 0x30, - 0x8a, 0x39, 0x07, 0xf1, 0xfa, 0x5f, 0x42, 0xf7, 0x2f, 0xf0, 0xe0, 0xbb, 0xb9, 0xbe, 0xe7, 0x3b, - 0xab, 0x8b, 0xdc, 0x72, 0x5b, 0x2f, 0x36, 0x7d, 0xdf, 0xb5, 0x6f, 0xf7, 0x7d, 0xce, 0xae, 0xe9, - 0xd0, 0x28, 0x30, 0x10, 0xca, 0x99, 0xdf, 0xb2, 0x1d, 0x90, 0x36, 0x2f, 0xa4, 0x35, 0x8d, 0x0b, - 0xc5, 0xfb, 0xa1, 0x2b, 0x4c, 0xd5, 0x5a, 0xc2, 0x56, 0xcd, 0x13, 0xc6, 0x6a, 0x56, 0x68, 0x2d, - 0x50, 0xfe, 0x03, 0x42, 0x77, 0xc8, 0x8c, 0x81, 0x74, 0x58, 0x0a, 0x84, 0x72, 0x58, 0x06, 0x9b, - 0x0c, 0xb2, 0xea, 0x26, 0x41, 0xf6, 0x57, 0x42, 0xf7, 0x5c, 0xb3, 0xec, 0x15, 0x67, 0x2d, 0x96, - 0x30, 0x16, 0x78, 0x27, 0xd8, 0xd1, 0xb5, 0x92, 0x8d, 0x02, 0x1c, 0x6a, 0x98, 0xdb, 0x92, 0x0d, - 0xd0, 0x72, 0x5e, 0x68, 0x39, 0x65, 0xd4, 0x8a, 0x3d, 0xf4, 0x02, 0x98, 0xa9, 0xb9, 0x02, 0x1e, - 0xb8, 0xe4, 0x2d, 0x42, 0x59, 0xb3, 0xdd, 0x4e, 0x2b, 0xd3, 0xca, 0x36, 0x59, 0x5c, 0x28, 0xea, - 0xc9, 0xb2, 0x70, 0xd0, 0x73, 0x5a, 0xe8, 0xa9, 0x19, 0xc7, 0x8a, 0xf5, 0x58, 0xed, 0x76, 0x4c, - 0xca, 0x1f, 0x08, 0x7d, 0x38, 0xe3, 0x6c, 0xa1, 0xe6, 0x72, 0xa9, 0x38, 0x89, 0x0b, 0x6a, 0x6e, - 0xc1, 0x02, 0x68, 0x3a, 0x27, 0x34, 0x9d, 0xac, 0xd6, 0x37, 0x5b, 0x45, 0x1d, 0x99, 0x95, 0xe5, - 0x87, 0x3b, 0xec, 0x65, 0x42, 0xe9, 0x3c, 0xf7, 0xa5, 0x35, 0x4f, 0xaf, 0x9a, 0x1b, 0x8e, 0x47, - 0x55, 0x73, 0x71, 0x18, 0xb0, 0x1e, 0x17, 0xac, 0x77, 0xb2, 0xed, 0xc0, 0x1a, 0xe8, 0xb1, 0x2f, - 0x12, 0xfa, 0xe1, 0x68, 0x38, 0x3b, 0x83, 0xb2, 0x1e, 0x72, 0x3a, 0x8b, 0x44, 0x01, 0xa5, 0x47, - 0x04, 0xa5, 0x09, 0xb6, 0x27, 0x49, 0x69, 0x38, 0x63, 0xdf, 0x97, 0xe5, 0xd7, 0x73, 0xfc, 0xa5, - 0xbe, 0x77, 0xb5, 0xdb, 0xee, 0x39, 0x76, 0xd7, 0xf7, 0xb4, 0xcb, 0xaf, 0x24, 0x0c, 0x5b, 0x7e, - 0xa5, 0xd1, 0x8a, 0x56, 0xa7, 0x1b, 0x0c, 0x33, 0x79, 0x44, 0xee, 0x27, 0x84, 0xee, 0x4c, 0xa3, - 0xd9, 0x4c, 0x99, 0x67, 0x86, 0x84, 0x2f, 0x94, 0x03, 0x03, 0xdf, 0x13, 0x82, 0xef, 0x51, 0x76, - 0x38, 0x9f, 0xaf, 0x39, 0x08, 0x3f, 0x8a, 0x62, 0xf1, 0x47, 0x84, 0xee, 0x86, 0xda, 0x2d, 0x21, - 0xe0, 0x49, 0x44, 0xd1, 0x97, 0xa7, 0xe1, 0x52, 0x69, 0xbc, 0xa2, 0x59, 0x4a, 0xc9, 0x08, 0x76, - 0x8d, 0x5f, 0x11, 0xba, 0x1b, 0x72, 0x3a, 0x9e, 0x7b, 0x0e, 0x10, 0xc5, 0x3d, 0x17, 0x0f, 0xdc, - 0x4d, 0xc1, 0xfd, 0xb8, 0xa1, 0xe5, 0x82, 0x40, 0xc9, 0x2f, 0x08, 0xdd, 0x0d, 0x5b, 0x10, 0x5e, - 0x49, 0x0e, 0x10, 0xa5, 0x24, 0x17, 0x9f, 0x0c, 0xa6, 0xaa, 0x5e, 0x30, 0x7d, 0x5d, 0x96, 0xf3, - 0x41, 0x83, 0x36, 0xef, 0x3a, 0xfd, 0x9e, 0x7e, 0x39, 0x3f, 0x84, 0x60, 0xcb, 0xf9, 0x38, 0x12, - 0x48, 0xef, 0x13, 0xa4, 0xc7, 0x18, 0x8b, 0xb5, 0xb1, 0xb5, 0x8e, 0x24, 0x04, 0x35, 0x72, 0x84, - 0xd2, 0xae, 0x91, 0x23, 0x04, 0xb6, 0x46, 0x8e, 0x01, 0x15, 0x35, 0x72, 0x8c, 0x9f, 0x39, 0x10, - 0x7f, 0xc5, 0x6c, 0xbe, 0x1a, 0xf5, 0x71, 0x43, 0xb6, 0x0d, 0xdc, 0x89, 0x48, 0x82, 0xf0, 0x4c, - 0x29, 0x6c, 0xb2, 0xf5, 0x30, 0x72, 0xe6, 0x34, 0x08, 0xe0, 0x61, 0x3d, 0x8f, 0xe4, 0x9a, 0x02, - 0x95, 0xa8, 0xe7, 0xb3, 0x5c, 0xd3, 0xf5, 0x7c, 0xfe, 0xfc, 0x26, 0xab, 0x5a, 0x24, 0xed, 0x14, - 0xa8, 0x44, 0x55, 0xab, 0x0c, 0x8b, 0xea, 0x26, 0x61, 0xf1, 0x1f, 0x42, 0xf7, 0x2f, 0xc6, 0xc2, - 0x2a, 0x7d, 0x12, 0x73, 0x0d, 0x71, 0x8c, 0x92, 0x67, 0x00, 0xd5, 0x83, 0x14, 0xda, 0x01, 0x5d, - 0xd7, 0x84, 0xae, 0xcb, 0xc6, 0xcc, 0xe6, 0x67, 0x32, 0x59, 0xb9, 0xb1, 0xa3, 0x99, 0x5f, 0xca, - 0x7a, 0x37, 0x7a, 0xde, 0xb3, 0x7c, 0xf5, 0x36, 0x77, 0xb5, 0xeb, 0xdd, 0x14, 0x0e, 0x5b, 0xef, - 0x66, 0xe0, 0xa0, 0xee, 0xa4, 0x50, 0x57, 0x35, 0x8e, 0x14, 0x7a, 0xcd, 0x5c, 0x15, 0x28, 0x2f, - 0x2c, 0x76, 0x17, 0xf8, 0xaa, 0xb3, 0xc6, 0xd3, 0x52, 0x2e, 0xeb, 0xb5, 0x7d, 0x39, 0x50, 0x54, - 0xb1, 0xab, 0xb0, 0x90, 0x2c, 0x76, 0x8d, 0x27, 0x8a, 0x05, 0xb9, 0xc2, 0x48, 0x4d, 0xea, 0x02, - 0xf7, 0xec, 0x8e, 0x6f, 0x77, 0xd2, 0xac, 0xa7, 0x97, 0xc3, 0x72, 0x80, 0xa8, 0x1c, 0x96, 0x8b, - 0x07, 0x41, 0x35, 0x21, 0xe8, 0x71, 0xa6, 0xe7, 0x21, 0xf6, 0x33, 0x42, 0xc7, 0xe4, 0x2e, 0x08, - 0xe7, 0xfd, 0xcd, 0x56, 0xcb, 0xe9, 0x77, 0x7d, 0x86, 0x28, 0x69, 0x92, 0xc8, 0x50, 0xc9, 0xe5, - 0xf2, 0x06, 0x40, 0x8a, 0x21, 0xa4, 0x1c, 0x30, 0xc2, 0xfa, 0x19, 0x70, 0x35, 0x4b, 0x8e, 0x13, - 0xe1, 0xf5, 0xa6, 0x2c, 0xa1, 0x53, 0xe4, 0x75, 0x6b, 0xca, 0x7c, 0xe6, 0x17, 0x4b, 0xa2, 0x81, - 0xf6, 0x19, 0x41, 0xbb, 0xce, 0x4e, 0x28, 0x68, 0x9b, 0x03, 0xf8, 0x66, 0x09, 0xbe, 0x11, 0x1b, - 0xdd, 0xeb, 0x84, 0xb2, 0x8c, 0x4d, 0x8f, 0x95, 0xe3, 0xe2, 0xa1, 0xd6, 0x7b, 0x1e, 0x5c, 0xd1, - 0xc2, 0xa4, 0xb5, 0xb0, 0xdf, 0x13, 0x3a, 0x26, 0x33, 0x53, 0x99, 0xf8, 0xc9, 0x43, 0xa2, 0xe2, - 0x27, 0xdf, 0x00, 0x90, 0x9f, 0x12, 0xe4, 0x27, 0x0d, 0x94, 0x23, 0x82, 0xa0, 0xba, 0xbb, 0x8d, - 0x1e, 0x5a, 0x4c, 0x4f, 0x4a, 0x3a, 0xf3, 0x3c, 0xad, 0x99, 0x31, 0x0a, 0xad, 0x84, 0x62, 0x9f, - 0xf9, 0xff, 0x18, 0x03, 0xe1, 0x37, 0x85, 0xf0, 0xe7, 0x8d, 0x8f, 0x15, 0xe7, 0x20, 0xad, 0xf9, - 0x88, 0xa5, 0xa4, 0xdf, 0x11, 0x3a, 0x26, 0xd3, 0x79, 0x19, 0x5f, 0xe7, 0x21, 0x51, 0xbe, 0xce, - 0x37, 0x90, 0x5c, 0x74, 0x55, 0xdc, 0xa2, 0xbb, 0x2b, 0x8f, 0x2c, 0x9a, 0x3d, 0xfb, 0x69, 0xbe, - 0xae, 0x7f, 0x64, 0x01, 0xe3, 0xb1, 0x47, 0x16, 0x11, 0x2c, 0xf9, 0xe2, 0x8e, 0xed, 0x00, 0xce, - 0x56, 0xcf, 0xae, 0x2d, 0x07, 0x3c, 0xbe, 0x24, 0xcf, 0x2c, 0xe4, 0x78, 0xed, 0x33, 0x0b, 0x39, - 0x1c, 0x7b, 0x66, 0x11, 0xa2, 0x80, 0xd3, 0x21, 0xc1, 0x69, 0x1f, 0xdb, 0x9b, 0xe2, 0x64, 0x0e, - 0x96, 0xf9, 0xba, 0x98, 0xb3, 0xaf, 0x10, 0x3a, 0x2a, 0xb7, 0x6d, 0xe0, 0x37, 0xa5, 0xbf, 0xd1, - 0x27, 0x29, 0x9e, 0xc7, 0x03, 0x93, 0x3d, 0x8f, 0x91, 0x9e, 0xb9, 0x20, 0x4a, 0xbf, 0x43, 0xe8, - 0xa8, 0xdc, 0x16, 0x30, 0xfc, 0xe2, 0x08, 0x14, 0xbf, 0x24, 0x10, 0xf8, 0x3d, 0x26, 0xf8, 0x1d, - 0x34, 0x94, 0xb3, 0x18, 0x10, 0xfd, 0x26, 0xa1, 0xa3, 0x32, 0xa6, 0x31, 0x44, 0xe3, 0x08, 0x14, - 0xd1, 0x24, 0x30, 0xe9, 0xee, 0xaa, 0xda, 0xdd, 0xdf, 0x92, 0x2d, 0x64, 0xb3, 0xdf, 0xb6, 0xfd, - 0x67, 0x9c, 0x8e, 0xa7, 0xdd, 0x42, 0x46, 0x08, 0x6c, 0x0b, 0x19, 0x03, 0x26, 0x4f, 0x47, 0xd8, - 0x44, 0xc8, 0x52, 0x2e, 0x61, 0xd3, 0x0a, 0x46, 0xd6, 0x56, 0x02, 0x56, 0xf7, 0x09, 0xdd, 0x7f, - 0xcb, 0x5a, 0xb1, 0x85, 0x33, 0xe4, 0x3f, 0x87, 0x76, 0x16, 0xed, 0xee, 0xb2, 0x5e, 0x9f, 0x50, - 0x60, 0x00, 0xd5, 0x27, 0x14, 0xda, 0x01, 0x4d, 0x93, 0x42, 0xd3, 0x13, 0xc6, 0x51, 0x95, 0xa6, - 0x9a, 0x67, 0x77, 0x97, 0x6b, 0x6b, 0x60, 0x2a, 0x08, 0x98, 0xb7, 0x09, 0x9d, 0x80, 0xe5, 0x90, - 0xa3, 0xf0, 0x0a, 0x62, 0x35, 0xa9, 0xf5, 0x5d, 0xdd, 0xa2, 0x15, 0x50, 0x77, 0x5c, 0xa8, 0x7b, - 0xcc, 0xa8, 0x14, 0xaa, 0x13, 0xeb, 0xf5, 0xb7, 0x84, 0x8e, 0x07, 0x5e, 0xcf, 0x91, 0xd4, 0xd4, - 0x8d, 0x18, 0xb5, 0x9e, 0xd9, 0xad, 0x98, 0x50, 0x94, 0xd4, 0x0a, 0x31, 0x32, 0xb7, 0xde, 0x61, - 0xbf, 0x26, 0x74, 0x4f, 0xbe, 0x45, 0x8f, 0x6d, 0x81, 0x8e, 0x87, 0x7a, 0x11, 0xa3, 0xb4, 0x01, - 0x9a, 0x8e, 0x0a, 0x4d, 0x87, 0xd8, 0x26, 0x0e, 0x62, 0xef, 0x12, 0x3a, 0x01, 0x5b, 0x5c, 0xd9, - 0x98, 0x53, 0xc2, 0x51, 0x31, 0x57, 0x60, 0x05, 0x24, 0x9d, 0x15, 0x92, 0x4c, 0xa3, 0xba, 0x99, - 0x9b, 0xbc, 0x1e, 0x6f, 0xd5, 0x85, 0xaf, 0x82, 0xf8, 0xfb, 0x13, 0xa1, 0x13, 0xb0, 0x37, 0x96, - 0x55, 0xa8, 0x84, 0xa3, 0x14, 0x16, 0x58, 0x49, 0x06, 0x62, 0x55, 0x33, 0x10, 0xa3, 0x9b, 0x5b, - 0x56, 0x87, 0x23, 0x6e, 0x6e, 0x59, 0x1d, 0x8e, 0xbf, 0xb9, 0x25, 0x40, 0xca, 0x9b, 0x5b, 0x01, - 0x01, 0x78, 0x3d, 0x14, 0xd6, 0x8c, 0x67, 0x71, 0x51, 0x8c, 0xae, 0xb5, 0x52, 0xf5, 0x61, 0xfa, - 0xf5, 0x10, 0x4c, 0x9d, 0xb8, 0x93, 0x91, 0x08, 0x2d, 0x76, 0x1e, 0x1d, 0x8d, 0xa8, 0x43, 0xdc, - 0x14, 0x32, 0x79, 0x27, 0xc3, 0x48, 0xd1, 0x0b, 0xe2, 0xf3, 0xdd, 0x68, 0xd7, 0x8f, 0xca, 0xfd, - 0xab, 0x2f, 0xf5, 0x1c, 0xd7, 0xc7, 0xee, 0xfa, 0x39, 0xf0, 0x12, 0xbb, 0x7e, 0xae, 0x15, 0xc5, - 0x0a, 0x54, 0xf4, 0x1d, 0x5c, 0x20, 0x87, 0x19, 0xe0, 0x2f, 0x32, 0x03, 0xe4, 0xc9, 0x6b, 0x62, - 0xaf, 0x66, 0x64, 0xb5, 0xcd, 0x6e, 0xc5, 0x04, 0x08, 0x9b, 0x16, 0xc2, 0x4e, 0xb3, 0x49, 0x7d, - 0x61, 0xe1, 0x22, 0xfc, 0xa3, 0xcc, 0x06, 0x39, 0xd6, 0xf5, 0xb3, 0x41, 0x1e, 0x18, 0x9b, 0x0d, - 0xf2, 0x6d, 0x80, 0xbe, 0x53, 0x42, 0xdf, 0x09, 0x86, 0x70, 0x1c, 0xfb, 0x67, 0x94, 0x19, 0x4a, - 0xc7, 0xa5, 0x12, 0x5e, 0x22, 0x33, 0x14, 0xb9, 0xaf, 0x29, 0xe4, 0xcd, 0x18, 0xe7, 0x30, 0xee, - 0x4b, 0x66, 0x89, 0x07, 0x51, 0x96, 0x28, 0xad, 0x56, 0x09, 0x2f, 0x91, 0x25, 0x34, 0x82, 0xb5, - 0x5a, 0x22, 0x58, 0xff, 0x15, 0xab, 0xa2, 0xf3, 0x74, 0xa2, 0xaa, 0xe8, 0x02, 0xa5, 0xf3, 0x5b, - 0xb6, 0x03, 0x5a, 0x2f, 0x0a, 0xad, 0x53, 0xc6, 0x29, 0x6d, 0xad, 0x89, 0x8a, 0xfa, 0xdb, 0x84, - 0x6e, 0x5f, 0xf4, 0x2d, 0xd7, 0x7f, 0xd6, 0xee, 0xc0, 0xe5, 0x47, 0xad, 0x4d, 0x3c, 0x89, 0x09, - 0x55, 0x35, 0xca, 0x40, 0x15, 0x37, 0x07, 0x57, 0xc3, 0x11, 0xf1, 0x9b, 0x83, 0x11, 0x4c, 0xff, - 0x55, 0xe3, 0x10, 0x82, 0x7d, 0xd5, 0x18, 0x47, 0x2a, 0x6e, 0x0e, 0x0e, 0x49, 0xb2, 0xef, 0xca, - 0x36, 0x71, 0x38, 0x8f, 0x53, 0xd8, 0xc7, 0x60, 0xdb, 0xc4, 0xec, 0x1c, 0xc2, 0x9b, 0x30, 0x76, - 0x28, 0x43, 0xcf, 0x1c, 0x44, 0x9f, 0x45, 0x53, 0xfb, 0x26, 0xa1, 0xbb, 0x3e, 0x6a, 0x75, 0xdb, - 0x89, 0xab, 0x4a, 0x7a, 0xa7, 0xc6, 0x19, 0x18, 0xea, 0xd4, 0x38, 0x07, 0x9d, 0x3c, 0xc0, 0x32, - 0x8e, 0x6f, 0x46, 0xde, 0x7c, 0x11, 0x6c, 0x04, 0x81, 0xf1, 0x63, 0x42, 0xb7, 0x37, 0x6f, 0x3b, - 0xe8, 0x00, 0x4e, 0x62, 0x50, 0x01, 0x9c, 0x86, 0x2a, 0xfa, 0x59, 0x35, 0x7f, 0x2b, 0x30, 0x10, - 0x90, 0x7f, 0x83, 0xd0, 0x9d, 0x73, 0x4e, 0xf7, 0x05, 0xdb, 0x5d, 0x1d, 0xd2, 0xd7, 0x7b, 0x6f, - 0x9b, 0x42, 0xa1, 0xee, 0x92, 0x64, 0xc1, 0x8a, 0xcb, 0x5c, 0x6a, 0x09, 0x2d, 0x69, 0x02, 0x5e, - 0x04, 0x8d, 0xcb, 0xca, 0x68, 0xce, 0xe9, 0x76, 0x79, 0xcb, 0xb7, 0xd7, 0x6c, 0x7f, 0x7d, 0xa1, - 0xbf, 0xc2, 0xf5, 0x8a, 0x97, 0x7c, 0x2c, 0xaa, 0x78, 0x51, 0x99, 0x00, 0x59, 0x87, 0x85, 0xac, - 0x8a, 0x11, 0x9e, 0x9e, 0xb4, 0x62, 0x03, 0x6b, 0x6e, 0x7f, 0x45, 0x5e, 0x4e, 0xbe, 0x27, 0x5f, - 0x68, 0x65, 0x44, 0xe8, 0xbe, 0x41, 0x50, 0x29, 0xb8, 0x54, 0x1a, 0x9f, 0xbc, 0x32, 0xc8, 0x4e, - 0x2a, 0xe9, 0x9b, 0x83, 0xf8, 0x77, 0x4b, 0xc1, 0x77, 0x62, 0x95, 0xff, 0x94, 0xd0, 0xb1, 0x1c, - 0xcb, 0x1e, 0x2b, 0xcb, 0xc9, 0x43, 0x9d, 0x57, 0xe7, 0x1b, 0x50, 0x1c, 0x69, 0x65, 0x55, 0xb1, - 0x3f, 0x13, 0x3a, 0x2e, 0xb3, 0x7d, 0xb9, 0xc8, 0xca, 0xc7, 0xa2, 0x22, 0x4b, 0x65, 0x22, 0xe9, - 0x9a, 0x2a, 0xde, 0x35, 0x5f, 0x20, 0xf4, 0x23, 0xf3, 0xdc, 0xbf, 0xee, 0x3a, 0x9f, 0xe0, 0x2d, - 0xdf, 0x63, 0xba, 0x6d, 0x5d, 0x08, 0x08, 0x55, 0x4c, 0xa1, 0x71, 0x8a, 0xb3, 0xf7, 0x5e, 0xc8, - 0xe4, 0x1b, 0xb2, 0x4d, 0x05, 0x80, 0x76, 0x9b, 0x0a, 0xe3, 0xb1, 0x6d, 0x6a, 0x04, 0x4b, 0xae, - 0x55, 0x76, 0x20, 0x45, 0xcb, 0x1c, 0xc0, 0xa7, 0xe8, 0xe6, 0x91, 0x5c, 0xf4, 0x21, 0x4d, 0xc4, - 0x51, 0x7a, 0x8a, 0xe9, 0x74, 0x09, 0xa4, 0xe2, 0x14, 0x3e, 0x24, 0x1b, 0x6c, 0x27, 0xdf, 0x8b, - 0xfa, 0x6a, 0x14, 0xc5, 0x04, 0xa4, 0x44, 0x5f, 0x9d, 0xa6, 0xf8, 0xb8, 0xa0, 0xf8, 0xa8, 0x51, - 0x38, 0x9f, 0x01, 0xdf, 0xd7, 0x08, 0x7d, 0x48, 0x46, 0x3b, 0x8a, 0x6f, 0x02, 0x82, 0xe2, 0x9b, - 0x42, 0x26, 0xfd, 0x5f, 0x2d, 0xf6, 0xff, 0x0f, 0x09, 0xdd, 0xb9, 0xc0, 0x3d, 0xde, 0x15, 0xf7, - 0x34, 0x9e, 0xea, 0xae, 0xd9, 0x3e, 0xd7, 0x4b, 0x9c, 0x69, 0x14, 0x2a, 0x71, 0x66, 0xc1, 0x05, - 0x57, 0x90, 0xe2, 0x3f, 0x38, 0x72, 0x05, 0x30, 0x98, 0xe6, 0xdf, 0x0c, 0x2f, 0x31, 0x86, 0x15, - 0xd0, 0x0d, 0xab, 0xe3, 0xa1, 0x2e, 0x31, 0xc6, 0x81, 0x65, 0x2e, 0x31, 0x26, 0xf1, 0x8a, 0xf2, - 0x4b, 0x75, 0x6d, 0x47, 0x98, 0xa8, 0xf9, 0x56, 0x47, 0x44, 0xf9, 0xe7, 0xe5, 0x66, 0x71, 0xc3, - 0xea, 0xa0, 0xde, 0x1f, 0xc2, 0x78, 0xec, 0x66, 0x11, 0xc1, 0x80, 0xf3, 0x5e, 0xc1, 0x99, 0xb1, - 0x9d, 0xc0, 0x39, 0x60, 0x65, 0x2e, 0xf3, 0x75, 0x6f, 0xf6, 0xdf, 0xe4, 0xde, 0xfd, 0xca, 0xc8, - 0x3b, 0xf7, 0x2b, 0x23, 0xef, 0xdf, 0xaf, 0x90, 0x4f, 0x6d, 0x54, 0xc8, 0x2b, 0x1b, 0x15, 0xf2, - 0xd6, 0x46, 0x85, 0xdc, 0xdb, 0xa8, 0x90, 0xf7, 0x36, 0x2a, 0xe4, 0xef, 0x1b, 0x95, 0x91, 0xf7, - 0x37, 0x2a, 0xe4, 0xb3, 0x0f, 0x2a, 0x23, 0xf7, 0x1e, 0x54, 0x46, 0xde, 0x79, 0x50, 0x19, 0xa1, - 0x47, 0x6c, 0x47, 0x83, 0xca, 0xec, 0x28, 0xbc, 0x83, 0xbd, 0xee, 0x3a, 0xbe, 0x73, 0x9d, 0x7c, - 0xfc, 0x6c, 0x27, 0x06, 0xb3, 0x1d, 0xf5, 0x2f, 0x52, 0x67, 0xe2, 0xff, 0xff, 0xda, 0xb6, 0xc3, - 0x37, 0x00, 0x64, 0x3b, 0xf5, 0x66, 0xcf, 0xae, 0x8b, 0x9f, 0x9d, 0xd6, 0xe3, 0x3f, 0x3e, 0xad, - 0xdf, 0x9a, 0xfc, 0xc7, 0xb6, 0x63, 0xc3, 0x61, 0x8d, 0x46, 0xb3, 0x67, 0x37, 0x1a, 0x62, 0x08, - 0xfc, 0x81, 0x91, 0x8d, 0xc6, 0xad, 0xc9, 0xdb, 0x1f, 0x10, 0x3f, 0x61, 0x3d, 0xfd, 0xbf, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x2e, 0xaf, 0x2a, 0xa3, 0x73, 0x3b, 0x00, 0x00, -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConnInterface - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 - -// CloudServiceClient is the client API for CloudService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type CloudServiceClient interface { - // Gets all known users - GetUsers(ctx context.Context, in *GetUsersRequest, opts ...grpc.CallOption) (*GetUsersResponse, error) - // Get a user - GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) - // Create a user - CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error) - // Update a user - UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error) - // Delete a user - DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error) - // Set a user's access to a namespace - SetUserNamespaceAccess(ctx context.Context, in *SetUserNamespaceAccessRequest, opts ...grpc.CallOption) (*SetUserNamespaceAccessResponse, error) - // Get the latest information on an async operation - GetAsyncOperation(ctx context.Context, in *GetAsyncOperationRequest, opts ...grpc.CallOption) (*GetAsyncOperationResponse, error) - // Create a new namespace - CreateNamespace(ctx context.Context, in *CreateNamespaceRequest, opts ...grpc.CallOption) (*CreateNamespaceResponse, error) - // Get all namespaces - GetNamespaces(ctx context.Context, in *GetNamespacesRequest, opts ...grpc.CallOption) (*GetNamespacesResponse, error) - // Get all namespace ids - // temporal:ui - GetNamespaceIDs(ctx context.Context, in *GetNamespaceIDsRequest, opts ...grpc.CallOption) (*GetNamespaceIDsResponse, error) - // Get a namespace - GetNamespace(ctx context.Context, in *GetNamespaceRequest, opts ...grpc.CallOption) (*GetNamespaceResponse, error) - // Update a namespace - UpdateNamespace(ctx context.Context, in *UpdateNamespaceRequest, opts ...grpc.CallOption) (*UpdateNamespaceResponse, error) - // Rename an existing customer search attribute - RenameCustomSearchAttribute(ctx context.Context, in *RenameCustomSearchAttributeRequest, opts ...grpc.CallOption) (*RenameCustomSearchAttributeResponse, error) - // Delete a namespace - DeleteNamespace(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*DeleteNamespaceResponse, error) - // Failover a multi-region namespace - FailoverNamespaceRegion(ctx context.Context, in *FailoverNamespaceRegionRequest, opts ...grpc.CallOption) (*FailoverNamespaceRegionResponse, error) - // Add a new region to a namespace - AddNamespaceRegion(ctx context.Context, in *AddNamespaceRegionRequest, opts ...grpc.CallOption) (*AddNamespaceRegionResponse, error) - // Delete a region from a namespace - DeleteNamespaceRegion(ctx context.Context, in *DeleteNamespaceRegionRequest, opts ...grpc.CallOption) (*DeleteNamespaceRegionResponse, error) - // Get all regions - GetRegions(ctx context.Context, in *GetRegionsRequest, opts ...grpc.CallOption) (*GetRegionsResponse, error) - // Get a region - GetRegion(ctx context.Context, in *GetRegionRequest, opts ...grpc.CallOption) (*GetRegionResponse, error) - // Gets nexus endpoints - GetNexusEndpoints(ctx context.Context, in *GetNexusEndpointsRequest, opts ...grpc.CallOption) (*GetNexusEndpointsResponse, error) - // Get a nexus endpoint - GetNexusEndpoint(ctx context.Context, in *GetNexusEndpointRequest, opts ...grpc.CallOption) (*GetNexusEndpointResponse, error) - // Create a nexus endpoint - CreateNexusEndpoint(ctx context.Context, in *CreateNexusEndpointRequest, opts ...grpc.CallOption) (*CreateNexusEndpointResponse, error) - // Update a nexus endpoint - UpdateNexusEndpoint(ctx context.Context, in *UpdateNexusEndpointRequest, opts ...grpc.CallOption) (*UpdateNexusEndpointResponse, error) - // Delete a nexus endpoint - DeleteNexusEndpoint(ctx context.Context, in *DeleteNexusEndpointRequest, opts ...grpc.CallOption) (*DeleteNexusEndpointResponse, error) - // Get all user groups - GetUserGroups(ctx context.Context, in *GetUserGroupsRequest, opts ...grpc.CallOption) (*GetUserGroupsResponse, error) - // Get a user group - GetUserGroup(ctx context.Context, in *GetUserGroupRequest, opts ...grpc.CallOption) (*GetUserGroupResponse, error) - // Create new a user group - CreateUserGroup(ctx context.Context, in *CreateUserGroupRequest, opts ...grpc.CallOption) (*CreateUserGroupResponse, error) - // Update a user group - UpdateUserGroup(ctx context.Context, in *UpdateUserGroupRequest, opts ...grpc.CallOption) (*UpdateUserGroupResponse, error) - // Delete a user group - DeleteUserGroup(ctx context.Context, in *DeleteUserGroupRequest, opts ...grpc.CallOption) (*DeleteUserGroupResponse, error) - // Set a user group's access to a namespace - SetUserGroupNamespaceAccess(ctx context.Context, in *SetUserGroupNamespaceAccessRequest, opts ...grpc.CallOption) (*SetUserGroupNamespaceAccessResponse, error) - // Add a member to the group, can only be used with Cloud group types. - AddUserGroupMember(ctx context.Context, in *AddUserGroupMemberRequest, opts ...grpc.CallOption) (*AddUserGroupMemberResponse, error) - // Remove a member from the group, can only be used with Cloud group types. - RemoveUserGroupMember(ctx context.Context, in *RemoveUserGroupMemberRequest, opts ...grpc.CallOption) (*RemoveUserGroupMemberResponse, error) - GetUserGroupMembers(ctx context.Context, in *GetUserGroupMembersRequest, opts ...grpc.CallOption) (*GetUserGroupMembersResponse, error) - // Create a service account. - CreateServiceAccount(ctx context.Context, in *CreateServiceAccountRequest, opts ...grpc.CallOption) (*CreateServiceAccountResponse, error) - // Get a service account. - GetServiceAccount(ctx context.Context, in *GetServiceAccountRequest, opts ...grpc.CallOption) (*GetServiceAccountResponse, error) - // Get service accounts. - GetServiceAccounts(ctx context.Context, in *GetServiceAccountsRequest, opts ...grpc.CallOption) (*GetServiceAccountsResponse, error) - // Update a service account. - UpdateServiceAccount(ctx context.Context, in *UpdateServiceAccountRequest, opts ...grpc.CallOption) (*UpdateServiceAccountResponse, error) - // Set a service account's access to a namespace. - SetServiceAccountNamespaceAccess(ctx context.Context, in *SetServiceAccountNamespaceAccessRequest, opts ...grpc.CallOption) (*SetServiceAccountNamespaceAccessResponse, error) - // Delete a service account. - DeleteServiceAccount(ctx context.Context, in *DeleteServiceAccountRequest, opts ...grpc.CallOption) (*DeleteServiceAccountResponse, error) - // Get all known API keys - GetApiKeys(ctx context.Context, in *GetApiKeysRequest, opts ...grpc.CallOption) (*GetApiKeysResponse, error) - // Get an API key - GetApiKey(ctx context.Context, in *GetApiKeyRequest, opts ...grpc.CallOption) (*GetApiKeyResponse, error) - // Create an API key - CreateApiKey(ctx context.Context, in *CreateApiKeyRequest, opts ...grpc.CallOption) (*CreateApiKeyResponse, error) - // Update an API key - UpdateApiKey(ctx context.Context, in *UpdateApiKeyRequest, opts ...grpc.CallOption) (*UpdateApiKeyResponse, error) - // Delete an API key - DeleteApiKey(ctx context.Context, in *DeleteApiKeyRequest, opts ...grpc.CallOption) (*DeleteApiKeyResponse, error) - // Get audit logs - // temporal:dev - GetAuditLogs(ctx context.Context, in *GetAuditLogsRequest, opts ...grpc.CallOption) (*GetAuditLogsResponse, error) - // Validate customer audit log sink is accessible from Temporal's workflow by delivering an empty file to the specified sink. - // The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs. - ValidateAccountAuditLogSink(ctx context.Context, in *ValidateAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*ValidateAccountAuditLogSinkResponse, error) - // Create an audit log sink - // temporal:dev - CreateAccountAuditLogSink(ctx context.Context, in *CreateAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*CreateAccountAuditLogSinkResponse, error) - // Get an audit log sink - // temporal:dev - GetAccountAuditLogSink(ctx context.Context, in *GetAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*GetAccountAuditLogSinkResponse, error) - // Get audit log sinks - // temporal:dev - GetAccountAuditLogSinks(ctx context.Context, in *GetAccountAuditLogSinksRequest, opts ...grpc.CallOption) (*GetAccountAuditLogSinksResponse, error) - // Update an audit log sink - // temporal:dev - UpdateAccountAuditLogSink(ctx context.Context, in *UpdateAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*UpdateAccountAuditLogSinkResponse, error) - // Delete an audit log sink - // temporal:dev - DeleteAccountAuditLogSink(ctx context.Context, in *DeleteAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*DeleteAccountAuditLogSinkResponse, error) - // Get usage - GetUsage(ctx context.Context, in *GetUsageRequest, opts ...grpc.CallOption) (*GetUsageResponse, error) - // Get account information - GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*GetAccountResponse, error) - // Update account information - UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...grpc.CallOption) (*UpdateAccountResponse, error) - // Create an export sink - CreateNamespaceExportSink(ctx context.Context, in *CreateNamespaceExportSinkRequest, opts ...grpc.CallOption) (*CreateNamespaceExportSinkResponse, error) - // Get an export sink - GetNamespaceExportSink(ctx context.Context, in *GetNamespaceExportSinkRequest, opts ...grpc.CallOption) (*GetNamespaceExportSinkResponse, error) - // Get export sinks - GetNamespaceExportSinks(ctx context.Context, in *GetNamespaceExportSinksRequest, opts ...grpc.CallOption) (*GetNamespaceExportSinksResponse, error) - // Update an export sink - UpdateNamespaceExportSink(ctx context.Context, in *UpdateNamespaceExportSinkRequest, opts ...grpc.CallOption) (*UpdateNamespaceExportSinkResponse, error) - // Delete an export sink - DeleteNamespaceExportSink(ctx context.Context, in *DeleteNamespaceExportSinkRequest, opts ...grpc.CallOption) (*DeleteNamespaceExportSinkResponse, error) - // Validates an export sink configuration by delivering an empty test file to the specified sink. - // This operation verifies that the sink is correctly configured, accessible, and ready for data export. - ValidateNamespaceExportSink(ctx context.Context, in *ValidateNamespaceExportSinkRequest, opts ...grpc.CallOption) (*ValidateNamespaceExportSinkResponse, error) - // Starts a namespace migration - // temporal:dev - StartMigration(ctx context.Context, in *StartMigrationRequest, opts ...grpc.CallOption) (*StartMigrationResponse, error) - // Get namespace migrations for an account - // temporal:dev - GetMigrations(ctx context.Context, in *GetMigrationsRequest, opts ...grpc.CallOption) (*GetMigrationsResponse, error) - // Get a namespace migration - // temporal:dev - GetMigration(ctx context.Context, in *GetMigrationRequest, opts ...grpc.CallOption) (*GetMigrationResponse, error) - // Handover the namespace during a migration, which switches the active and passive replicas - // temporal:dev - HandoverNamespace(ctx context.Context, in *HandoverNamespaceRequest, opts ...grpc.CallOption) (*HandoverNamespaceResponse, error) - // Abort a namespace migration - // temporal:dev - AbortMigration(ctx context.Context, in *AbortMigrationRequest, opts ...grpc.CallOption) (*AbortMigrationResponse, error) - // Confirm a namespace migration, which completes the migration - // temporal:dev - ConfirmMigration(ctx context.Context, in *ConfirmMigrationRequest, opts ...grpc.CallOption) (*ConfirmMigrationResponse, error) - // Creates a connectivity rule - CreateConnectivityRule(ctx context.Context, in *CreateConnectivityRuleRequest, opts ...grpc.CallOption) (*CreateConnectivityRuleResponse, error) - // Gets a connectivity rule by id - GetConnectivityRule(ctx context.Context, in *GetConnectivityRuleRequest, opts ...grpc.CallOption) (*GetConnectivityRuleResponse, error) - // Lists connectivity rules by account - GetConnectivityRules(ctx context.Context, in *GetConnectivityRulesRequest, opts ...grpc.CallOption) (*GetConnectivityRulesResponse, error) - // Deletes a connectivity rule - DeleteConnectivityRule(ctx context.Context, in *DeleteConnectivityRuleRequest, opts ...grpc.CallOption) (*DeleteConnectivityRuleResponse, error) - // Get all projects - // temporal:dev - GetProjects(ctx context.Context, in *GetProjectsRequest, opts ...grpc.CallOption) (*GetProjectsResponse, error) - // Get a projects - // temporal:dev - GetProject(ctx context.Context, in *GetProjectRequest, opts ...grpc.CallOption) (*GetProjectResponse, error) - // Create new a projects - // temporal:dev - CreateProject(ctx context.Context, in *CreateProjectRequest, opts ...grpc.CallOption) (*CreateProjectResponse, error) - // Update a projects - // temporal:dev - UpdateProject(ctx context.Context, in *UpdateProjectRequest, opts ...grpc.CallOption) (*UpdateProjectResponse, error) - // Delete a projects - // temporal:dev - DeleteProject(ctx context.Context, in *DeleteProjectRequest, opts ...grpc.CallOption) (*DeleteProjectResponse, error) - // Resend a user invite - // temporal:ui - ResendUserInvite(ctx context.Context, in *ResendUserInviteRequest, opts ...grpc.CallOption) (*ResendUserInviteResponse, error) - // Updates tags for a namespace - UpdateNamespaceTags(ctx context.Context, in *UpdateNamespaceTagsRequest, opts ...grpc.CallOption) (*UpdateNamespaceTagsResponse, error) - // Get tag keys - // temporal:ui - GetTagKeys(ctx context.Context, in *GetTagKeysRequest, opts ...grpc.CallOption) (*GetTagKeysResponse, error) -} - -type cloudServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewCloudServiceClient(cc grpc.ClientConnInterface) CloudServiceClient { - return &cloudServiceClient{cc} -} - -func (c *cloudServiceClient) GetUsers(ctx context.Context, in *GetUsersRequest, opts ...grpc.CallOption) (*GetUsersResponse, error) { - out := new(GetUsersResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetUsers", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) { - out := new(GetUserResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetUser", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error) { - out := new(CreateUserResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/CreateUser", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error) { - out := new(UpdateUserResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateUser", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error) { - out := new(DeleteUserResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteUser", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) SetUserNamespaceAccess(ctx context.Context, in *SetUserNamespaceAccessRequest, opts ...grpc.CallOption) (*SetUserNamespaceAccessResponse, error) { - out := new(SetUserNamespaceAccessResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/SetUserNamespaceAccess", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetAsyncOperation(ctx context.Context, in *GetAsyncOperationRequest, opts ...grpc.CallOption) (*GetAsyncOperationResponse, error) { - out := new(GetAsyncOperationResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetAsyncOperation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) CreateNamespace(ctx context.Context, in *CreateNamespaceRequest, opts ...grpc.CallOption) (*CreateNamespaceResponse, error) { - out := new(CreateNamespaceResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/CreateNamespace", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetNamespaces(ctx context.Context, in *GetNamespacesRequest, opts ...grpc.CallOption) (*GetNamespacesResponse, error) { - out := new(GetNamespacesResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaces", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetNamespaceIDs(ctx context.Context, in *GetNamespaceIDsRequest, opts ...grpc.CallOption) (*GetNamespaceIDsResponse, error) { - out := new(GetNamespaceIDsResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaceIDs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetNamespace(ctx context.Context, in *GetNamespaceRequest, opts ...grpc.CallOption) (*GetNamespaceResponse, error) { - out := new(GetNamespaceResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespace", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) UpdateNamespace(ctx context.Context, in *UpdateNamespaceRequest, opts ...grpc.CallOption) (*UpdateNamespaceResponse, error) { - out := new(UpdateNamespaceResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateNamespace", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) RenameCustomSearchAttribute(ctx context.Context, in *RenameCustomSearchAttributeRequest, opts ...grpc.CallOption) (*RenameCustomSearchAttributeResponse, error) { - out := new(RenameCustomSearchAttributeResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/RenameCustomSearchAttribute", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) DeleteNamespace(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*DeleteNamespaceResponse, error) { - out := new(DeleteNamespaceResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteNamespace", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) FailoverNamespaceRegion(ctx context.Context, in *FailoverNamespaceRegionRequest, opts ...grpc.CallOption) (*FailoverNamespaceRegionResponse, error) { - out := new(FailoverNamespaceRegionResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/FailoverNamespaceRegion", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) AddNamespaceRegion(ctx context.Context, in *AddNamespaceRegionRequest, opts ...grpc.CallOption) (*AddNamespaceRegionResponse, error) { - out := new(AddNamespaceRegionResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/AddNamespaceRegion", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) DeleteNamespaceRegion(ctx context.Context, in *DeleteNamespaceRegionRequest, opts ...grpc.CallOption) (*DeleteNamespaceRegionResponse, error) { - out := new(DeleteNamespaceRegionResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteNamespaceRegion", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetRegions(ctx context.Context, in *GetRegionsRequest, opts ...grpc.CallOption) (*GetRegionsResponse, error) { - out := new(GetRegionsResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetRegions", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetRegion(ctx context.Context, in *GetRegionRequest, opts ...grpc.CallOption) (*GetRegionResponse, error) { - out := new(GetRegionResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetRegion", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetNexusEndpoints(ctx context.Context, in *GetNexusEndpointsRequest, opts ...grpc.CallOption) (*GetNexusEndpointsResponse, error) { - out := new(GetNexusEndpointsResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetNexusEndpoints", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetNexusEndpoint(ctx context.Context, in *GetNexusEndpointRequest, opts ...grpc.CallOption) (*GetNexusEndpointResponse, error) { - out := new(GetNexusEndpointResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetNexusEndpoint", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) CreateNexusEndpoint(ctx context.Context, in *CreateNexusEndpointRequest, opts ...grpc.CallOption) (*CreateNexusEndpointResponse, error) { - out := new(CreateNexusEndpointResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/CreateNexusEndpoint", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) UpdateNexusEndpoint(ctx context.Context, in *UpdateNexusEndpointRequest, opts ...grpc.CallOption) (*UpdateNexusEndpointResponse, error) { - out := new(UpdateNexusEndpointResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateNexusEndpoint", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) DeleteNexusEndpoint(ctx context.Context, in *DeleteNexusEndpointRequest, opts ...grpc.CallOption) (*DeleteNexusEndpointResponse, error) { - out := new(DeleteNexusEndpointResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteNexusEndpoint", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetUserGroups(ctx context.Context, in *GetUserGroupsRequest, opts ...grpc.CallOption) (*GetUserGroupsResponse, error) { - out := new(GetUserGroupsResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetUserGroups", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetUserGroup(ctx context.Context, in *GetUserGroupRequest, opts ...grpc.CallOption) (*GetUserGroupResponse, error) { - out := new(GetUserGroupResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetUserGroup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) CreateUserGroup(ctx context.Context, in *CreateUserGroupRequest, opts ...grpc.CallOption) (*CreateUserGroupResponse, error) { - out := new(CreateUserGroupResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/CreateUserGroup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) UpdateUserGroup(ctx context.Context, in *UpdateUserGroupRequest, opts ...grpc.CallOption) (*UpdateUserGroupResponse, error) { - out := new(UpdateUserGroupResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateUserGroup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) DeleteUserGroup(ctx context.Context, in *DeleteUserGroupRequest, opts ...grpc.CallOption) (*DeleteUserGroupResponse, error) { - out := new(DeleteUserGroupResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteUserGroup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) SetUserGroupNamespaceAccess(ctx context.Context, in *SetUserGroupNamespaceAccessRequest, opts ...grpc.CallOption) (*SetUserGroupNamespaceAccessResponse, error) { - out := new(SetUserGroupNamespaceAccessResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/SetUserGroupNamespaceAccess", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) AddUserGroupMember(ctx context.Context, in *AddUserGroupMemberRequest, opts ...grpc.CallOption) (*AddUserGroupMemberResponse, error) { - out := new(AddUserGroupMemberResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/AddUserGroupMember", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) RemoveUserGroupMember(ctx context.Context, in *RemoveUserGroupMemberRequest, opts ...grpc.CallOption) (*RemoveUserGroupMemberResponse, error) { - out := new(RemoveUserGroupMemberResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/RemoveUserGroupMember", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetUserGroupMembers(ctx context.Context, in *GetUserGroupMembersRequest, opts ...grpc.CallOption) (*GetUserGroupMembersResponse, error) { - out := new(GetUserGroupMembersResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetUserGroupMembers", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) CreateServiceAccount(ctx context.Context, in *CreateServiceAccountRequest, opts ...grpc.CallOption) (*CreateServiceAccountResponse, error) { - out := new(CreateServiceAccountResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/CreateServiceAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetServiceAccount(ctx context.Context, in *GetServiceAccountRequest, opts ...grpc.CallOption) (*GetServiceAccountResponse, error) { - out := new(GetServiceAccountResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetServiceAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetServiceAccounts(ctx context.Context, in *GetServiceAccountsRequest, opts ...grpc.CallOption) (*GetServiceAccountsResponse, error) { - out := new(GetServiceAccountsResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetServiceAccounts", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) UpdateServiceAccount(ctx context.Context, in *UpdateServiceAccountRequest, opts ...grpc.CallOption) (*UpdateServiceAccountResponse, error) { - out := new(UpdateServiceAccountResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateServiceAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) SetServiceAccountNamespaceAccess(ctx context.Context, in *SetServiceAccountNamespaceAccessRequest, opts ...grpc.CallOption) (*SetServiceAccountNamespaceAccessResponse, error) { - out := new(SetServiceAccountNamespaceAccessResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/SetServiceAccountNamespaceAccess", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) DeleteServiceAccount(ctx context.Context, in *DeleteServiceAccountRequest, opts ...grpc.CallOption) (*DeleteServiceAccountResponse, error) { - out := new(DeleteServiceAccountResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteServiceAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetApiKeys(ctx context.Context, in *GetApiKeysRequest, opts ...grpc.CallOption) (*GetApiKeysResponse, error) { - out := new(GetApiKeysResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetApiKeys", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetApiKey(ctx context.Context, in *GetApiKeyRequest, opts ...grpc.CallOption) (*GetApiKeyResponse, error) { - out := new(GetApiKeyResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetApiKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) CreateApiKey(ctx context.Context, in *CreateApiKeyRequest, opts ...grpc.CallOption) (*CreateApiKeyResponse, error) { - out := new(CreateApiKeyResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/CreateApiKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) UpdateApiKey(ctx context.Context, in *UpdateApiKeyRequest, opts ...grpc.CallOption) (*UpdateApiKeyResponse, error) { - out := new(UpdateApiKeyResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateApiKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) DeleteApiKey(ctx context.Context, in *DeleteApiKeyRequest, opts ...grpc.CallOption) (*DeleteApiKeyResponse, error) { - out := new(DeleteApiKeyResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteApiKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetAuditLogs(ctx context.Context, in *GetAuditLogsRequest, opts ...grpc.CallOption) (*GetAuditLogsResponse, error) { - out := new(GetAuditLogsResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetAuditLogs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) ValidateAccountAuditLogSink(ctx context.Context, in *ValidateAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*ValidateAccountAuditLogSinkResponse, error) { - out := new(ValidateAccountAuditLogSinkResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/ValidateAccountAuditLogSink", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) CreateAccountAuditLogSink(ctx context.Context, in *CreateAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*CreateAccountAuditLogSinkResponse, error) { - out := new(CreateAccountAuditLogSinkResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/CreateAccountAuditLogSink", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetAccountAuditLogSink(ctx context.Context, in *GetAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*GetAccountAuditLogSinkResponse, error) { - out := new(GetAccountAuditLogSinkResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetAccountAuditLogSink", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetAccountAuditLogSinks(ctx context.Context, in *GetAccountAuditLogSinksRequest, opts ...grpc.CallOption) (*GetAccountAuditLogSinksResponse, error) { - out := new(GetAccountAuditLogSinksResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetAccountAuditLogSinks", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) UpdateAccountAuditLogSink(ctx context.Context, in *UpdateAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*UpdateAccountAuditLogSinkResponse, error) { - out := new(UpdateAccountAuditLogSinkResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateAccountAuditLogSink", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) DeleteAccountAuditLogSink(ctx context.Context, in *DeleteAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*DeleteAccountAuditLogSinkResponse, error) { - out := new(DeleteAccountAuditLogSinkResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteAccountAuditLogSink", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetUsage(ctx context.Context, in *GetUsageRequest, opts ...grpc.CallOption) (*GetUsageResponse, error) { - out := new(GetUsageResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetUsage", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*GetAccountResponse, error) { - out := new(GetAccountResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...grpc.CallOption) (*UpdateAccountResponse, error) { - out := new(UpdateAccountResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) CreateNamespaceExportSink(ctx context.Context, in *CreateNamespaceExportSinkRequest, opts ...grpc.CallOption) (*CreateNamespaceExportSinkResponse, error) { - out := new(CreateNamespaceExportSinkResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/CreateNamespaceExportSink", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetNamespaceExportSink(ctx context.Context, in *GetNamespaceExportSinkRequest, opts ...grpc.CallOption) (*GetNamespaceExportSinkResponse, error) { - out := new(GetNamespaceExportSinkResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaceExportSink", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetNamespaceExportSinks(ctx context.Context, in *GetNamespaceExportSinksRequest, opts ...grpc.CallOption) (*GetNamespaceExportSinksResponse, error) { - out := new(GetNamespaceExportSinksResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaceExportSinks", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) UpdateNamespaceExportSink(ctx context.Context, in *UpdateNamespaceExportSinkRequest, opts ...grpc.CallOption) (*UpdateNamespaceExportSinkResponse, error) { - out := new(UpdateNamespaceExportSinkResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateNamespaceExportSink", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) DeleteNamespaceExportSink(ctx context.Context, in *DeleteNamespaceExportSinkRequest, opts ...grpc.CallOption) (*DeleteNamespaceExportSinkResponse, error) { - out := new(DeleteNamespaceExportSinkResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteNamespaceExportSink", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) ValidateNamespaceExportSink(ctx context.Context, in *ValidateNamespaceExportSinkRequest, opts ...grpc.CallOption) (*ValidateNamespaceExportSinkResponse, error) { - out := new(ValidateNamespaceExportSinkResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/ValidateNamespaceExportSink", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) StartMigration(ctx context.Context, in *StartMigrationRequest, opts ...grpc.CallOption) (*StartMigrationResponse, error) { - out := new(StartMigrationResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/StartMigration", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetMigrations(ctx context.Context, in *GetMigrationsRequest, opts ...grpc.CallOption) (*GetMigrationsResponse, error) { - out := new(GetMigrationsResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetMigrations", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetMigration(ctx context.Context, in *GetMigrationRequest, opts ...grpc.CallOption) (*GetMigrationResponse, error) { - out := new(GetMigrationResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetMigration", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) HandoverNamespace(ctx context.Context, in *HandoverNamespaceRequest, opts ...grpc.CallOption) (*HandoverNamespaceResponse, error) { - out := new(HandoverNamespaceResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/HandoverNamespace", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) AbortMigration(ctx context.Context, in *AbortMigrationRequest, opts ...grpc.CallOption) (*AbortMigrationResponse, error) { - out := new(AbortMigrationResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/AbortMigration", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) ConfirmMigration(ctx context.Context, in *ConfirmMigrationRequest, opts ...grpc.CallOption) (*ConfirmMigrationResponse, error) { - out := new(ConfirmMigrationResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/ConfirmMigration", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) CreateConnectivityRule(ctx context.Context, in *CreateConnectivityRuleRequest, opts ...grpc.CallOption) (*CreateConnectivityRuleResponse, error) { - out := new(CreateConnectivityRuleResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/CreateConnectivityRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetConnectivityRule(ctx context.Context, in *GetConnectivityRuleRequest, opts ...grpc.CallOption) (*GetConnectivityRuleResponse, error) { - out := new(GetConnectivityRuleResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetConnectivityRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetConnectivityRules(ctx context.Context, in *GetConnectivityRulesRequest, opts ...grpc.CallOption) (*GetConnectivityRulesResponse, error) { - out := new(GetConnectivityRulesResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetConnectivityRules", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) DeleteConnectivityRule(ctx context.Context, in *DeleteConnectivityRuleRequest, opts ...grpc.CallOption) (*DeleteConnectivityRuleResponse, error) { - out := new(DeleteConnectivityRuleResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteConnectivityRule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetProjects(ctx context.Context, in *GetProjectsRequest, opts ...grpc.CallOption) (*GetProjectsResponse, error) { - out := new(GetProjectsResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetProjects", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetProject(ctx context.Context, in *GetProjectRequest, opts ...grpc.CallOption) (*GetProjectResponse, error) { - out := new(GetProjectResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetProject", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) CreateProject(ctx context.Context, in *CreateProjectRequest, opts ...grpc.CallOption) (*CreateProjectResponse, error) { - out := new(CreateProjectResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/CreateProject", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) UpdateProject(ctx context.Context, in *UpdateProjectRequest, opts ...grpc.CallOption) (*UpdateProjectResponse, error) { - out := new(UpdateProjectResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateProject", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) DeleteProject(ctx context.Context, in *DeleteProjectRequest, opts ...grpc.CallOption) (*DeleteProjectResponse, error) { - out := new(DeleteProjectResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteProject", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) ResendUserInvite(ctx context.Context, in *ResendUserInviteRequest, opts ...grpc.CallOption) (*ResendUserInviteResponse, error) { - out := new(ResendUserInviteResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/ResendUserInvite", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) UpdateNamespaceTags(ctx context.Context, in *UpdateNamespaceTagsRequest, opts ...grpc.CallOption) (*UpdateNamespaceTagsResponse, error) { - out := new(UpdateNamespaceTagsResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateNamespaceTags", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *cloudServiceClient) GetTagKeys(ctx context.Context, in *GetTagKeysRequest, opts ...grpc.CallOption) (*GetTagKeysResponse, error) { - out := new(GetTagKeysResponse) - err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetTagKeys", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// CloudServiceServer is the server API for CloudService service. -type CloudServiceServer interface { - // Gets all known users - GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error) - // Get a user - GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) - // Create a user - CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error) - // Update a user - UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error) - // Delete a user - DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error) - // Set a user's access to a namespace - SetUserNamespaceAccess(context.Context, *SetUserNamespaceAccessRequest) (*SetUserNamespaceAccessResponse, error) - // Get the latest information on an async operation - GetAsyncOperation(context.Context, *GetAsyncOperationRequest) (*GetAsyncOperationResponse, error) - // Create a new namespace - CreateNamespace(context.Context, *CreateNamespaceRequest) (*CreateNamespaceResponse, error) - // Get all namespaces - GetNamespaces(context.Context, *GetNamespacesRequest) (*GetNamespacesResponse, error) - // Get all namespace ids - // temporal:ui - GetNamespaceIDs(context.Context, *GetNamespaceIDsRequest) (*GetNamespaceIDsResponse, error) - // Get a namespace - GetNamespace(context.Context, *GetNamespaceRequest) (*GetNamespaceResponse, error) - // Update a namespace - UpdateNamespace(context.Context, *UpdateNamespaceRequest) (*UpdateNamespaceResponse, error) - // Rename an existing customer search attribute - RenameCustomSearchAttribute(context.Context, *RenameCustomSearchAttributeRequest) (*RenameCustomSearchAttributeResponse, error) - // Delete a namespace - DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*DeleteNamespaceResponse, error) - // Failover a multi-region namespace - FailoverNamespaceRegion(context.Context, *FailoverNamespaceRegionRequest) (*FailoverNamespaceRegionResponse, error) - // Add a new region to a namespace - AddNamespaceRegion(context.Context, *AddNamespaceRegionRequest) (*AddNamespaceRegionResponse, error) - // Delete a region from a namespace - DeleteNamespaceRegion(context.Context, *DeleteNamespaceRegionRequest) (*DeleteNamespaceRegionResponse, error) - // Get all regions - GetRegions(context.Context, *GetRegionsRequest) (*GetRegionsResponse, error) - // Get a region - GetRegion(context.Context, *GetRegionRequest) (*GetRegionResponse, error) - // Gets nexus endpoints - GetNexusEndpoints(context.Context, *GetNexusEndpointsRequest) (*GetNexusEndpointsResponse, error) - // Get a nexus endpoint - GetNexusEndpoint(context.Context, *GetNexusEndpointRequest) (*GetNexusEndpointResponse, error) - // Create a nexus endpoint - CreateNexusEndpoint(context.Context, *CreateNexusEndpointRequest) (*CreateNexusEndpointResponse, error) - // Update a nexus endpoint - UpdateNexusEndpoint(context.Context, *UpdateNexusEndpointRequest) (*UpdateNexusEndpointResponse, error) - // Delete a nexus endpoint - DeleteNexusEndpoint(context.Context, *DeleteNexusEndpointRequest) (*DeleteNexusEndpointResponse, error) - // Get all user groups - GetUserGroups(context.Context, *GetUserGroupsRequest) (*GetUserGroupsResponse, error) - // Get a user group - GetUserGroup(context.Context, *GetUserGroupRequest) (*GetUserGroupResponse, error) - // Create new a user group - CreateUserGroup(context.Context, *CreateUserGroupRequest) (*CreateUserGroupResponse, error) - // Update a user group - UpdateUserGroup(context.Context, *UpdateUserGroupRequest) (*UpdateUserGroupResponse, error) - // Delete a user group - DeleteUserGroup(context.Context, *DeleteUserGroupRequest) (*DeleteUserGroupResponse, error) - // Set a user group's access to a namespace - SetUserGroupNamespaceAccess(context.Context, *SetUserGroupNamespaceAccessRequest) (*SetUserGroupNamespaceAccessResponse, error) - // Add a member to the group, can only be used with Cloud group types. - AddUserGroupMember(context.Context, *AddUserGroupMemberRequest) (*AddUserGroupMemberResponse, error) - // Remove a member from the group, can only be used with Cloud group types. - RemoveUserGroupMember(context.Context, *RemoveUserGroupMemberRequest) (*RemoveUserGroupMemberResponse, error) - GetUserGroupMembers(context.Context, *GetUserGroupMembersRequest) (*GetUserGroupMembersResponse, error) - // Create a service account. - CreateServiceAccount(context.Context, *CreateServiceAccountRequest) (*CreateServiceAccountResponse, error) - // Get a service account. - GetServiceAccount(context.Context, *GetServiceAccountRequest) (*GetServiceAccountResponse, error) - // Get service accounts. - GetServiceAccounts(context.Context, *GetServiceAccountsRequest) (*GetServiceAccountsResponse, error) - // Update a service account. - UpdateServiceAccount(context.Context, *UpdateServiceAccountRequest) (*UpdateServiceAccountResponse, error) - // Set a service account's access to a namespace. - SetServiceAccountNamespaceAccess(context.Context, *SetServiceAccountNamespaceAccessRequest) (*SetServiceAccountNamespaceAccessResponse, error) - // Delete a service account. - DeleteServiceAccount(context.Context, *DeleteServiceAccountRequest) (*DeleteServiceAccountResponse, error) - // Get all known API keys - GetApiKeys(context.Context, *GetApiKeysRequest) (*GetApiKeysResponse, error) - // Get an API key - GetApiKey(context.Context, *GetApiKeyRequest) (*GetApiKeyResponse, error) - // Create an API key - CreateApiKey(context.Context, *CreateApiKeyRequest) (*CreateApiKeyResponse, error) - // Update an API key - UpdateApiKey(context.Context, *UpdateApiKeyRequest) (*UpdateApiKeyResponse, error) - // Delete an API key - DeleteApiKey(context.Context, *DeleteApiKeyRequest) (*DeleteApiKeyResponse, error) - // Get audit logs - // temporal:dev - GetAuditLogs(context.Context, *GetAuditLogsRequest) (*GetAuditLogsResponse, error) - // Validate customer audit log sink is accessible from Temporal's workflow by delivering an empty file to the specified sink. - // The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs. - ValidateAccountAuditLogSink(context.Context, *ValidateAccountAuditLogSinkRequest) (*ValidateAccountAuditLogSinkResponse, error) - // Create an audit log sink - // temporal:dev - CreateAccountAuditLogSink(context.Context, *CreateAccountAuditLogSinkRequest) (*CreateAccountAuditLogSinkResponse, error) - // Get an audit log sink - // temporal:dev - GetAccountAuditLogSink(context.Context, *GetAccountAuditLogSinkRequest) (*GetAccountAuditLogSinkResponse, error) - // Get audit log sinks - // temporal:dev - GetAccountAuditLogSinks(context.Context, *GetAccountAuditLogSinksRequest) (*GetAccountAuditLogSinksResponse, error) - // Update an audit log sink - // temporal:dev - UpdateAccountAuditLogSink(context.Context, *UpdateAccountAuditLogSinkRequest) (*UpdateAccountAuditLogSinkResponse, error) - // Delete an audit log sink - // temporal:dev - DeleteAccountAuditLogSink(context.Context, *DeleteAccountAuditLogSinkRequest) (*DeleteAccountAuditLogSinkResponse, error) - // Get usage - GetUsage(context.Context, *GetUsageRequest) (*GetUsageResponse, error) - // Get account information - GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error) - // Update account information - UpdateAccount(context.Context, *UpdateAccountRequest) (*UpdateAccountResponse, error) - // Create an export sink - CreateNamespaceExportSink(context.Context, *CreateNamespaceExportSinkRequest) (*CreateNamespaceExportSinkResponse, error) - // Get an export sink - GetNamespaceExportSink(context.Context, *GetNamespaceExportSinkRequest) (*GetNamespaceExportSinkResponse, error) - // Get export sinks - GetNamespaceExportSinks(context.Context, *GetNamespaceExportSinksRequest) (*GetNamespaceExportSinksResponse, error) - // Update an export sink - UpdateNamespaceExportSink(context.Context, *UpdateNamespaceExportSinkRequest) (*UpdateNamespaceExportSinkResponse, error) - // Delete an export sink - DeleteNamespaceExportSink(context.Context, *DeleteNamespaceExportSinkRequest) (*DeleteNamespaceExportSinkResponse, error) - // Validates an export sink configuration by delivering an empty test file to the specified sink. - // This operation verifies that the sink is correctly configured, accessible, and ready for data export. - ValidateNamespaceExportSink(context.Context, *ValidateNamespaceExportSinkRequest) (*ValidateNamespaceExportSinkResponse, error) - // Starts a namespace migration - // temporal:dev - StartMigration(context.Context, *StartMigrationRequest) (*StartMigrationResponse, error) - // Get namespace migrations for an account - // temporal:dev - GetMigrations(context.Context, *GetMigrationsRequest) (*GetMigrationsResponse, error) - // Get a namespace migration - // temporal:dev - GetMigration(context.Context, *GetMigrationRequest) (*GetMigrationResponse, error) - // Handover the namespace during a migration, which switches the active and passive replicas - // temporal:dev - HandoverNamespace(context.Context, *HandoverNamespaceRequest) (*HandoverNamespaceResponse, error) - // Abort a namespace migration - // temporal:dev - AbortMigration(context.Context, *AbortMigrationRequest) (*AbortMigrationResponse, error) - // Confirm a namespace migration, which completes the migration - // temporal:dev - ConfirmMigration(context.Context, *ConfirmMigrationRequest) (*ConfirmMigrationResponse, error) - // Creates a connectivity rule - CreateConnectivityRule(context.Context, *CreateConnectivityRuleRequest) (*CreateConnectivityRuleResponse, error) - // Gets a connectivity rule by id - GetConnectivityRule(context.Context, *GetConnectivityRuleRequest) (*GetConnectivityRuleResponse, error) - // Lists connectivity rules by account - GetConnectivityRules(context.Context, *GetConnectivityRulesRequest) (*GetConnectivityRulesResponse, error) - // Deletes a connectivity rule - DeleteConnectivityRule(context.Context, *DeleteConnectivityRuleRequest) (*DeleteConnectivityRuleResponse, error) - // Get all projects - // temporal:dev - GetProjects(context.Context, *GetProjectsRequest) (*GetProjectsResponse, error) - // Get a projects - // temporal:dev - GetProject(context.Context, *GetProjectRequest) (*GetProjectResponse, error) - // Create new a projects - // temporal:dev - CreateProject(context.Context, *CreateProjectRequest) (*CreateProjectResponse, error) - // Update a projects - // temporal:dev - UpdateProject(context.Context, *UpdateProjectRequest) (*UpdateProjectResponse, error) - // Delete a projects - // temporal:dev - DeleteProject(context.Context, *DeleteProjectRequest) (*DeleteProjectResponse, error) - // Resend a user invite - // temporal:ui - ResendUserInvite(context.Context, *ResendUserInviteRequest) (*ResendUserInviteResponse, error) - // Updates tags for a namespace - UpdateNamespaceTags(context.Context, *UpdateNamespaceTagsRequest) (*UpdateNamespaceTagsResponse, error) - // Get tag keys - // temporal:ui - GetTagKeys(context.Context, *GetTagKeysRequest) (*GetTagKeysResponse, error) -} - -// UnimplementedCloudServiceServer can be embedded to have forward compatible implementations. -type UnimplementedCloudServiceServer struct { -} - -func (*UnimplementedCloudServiceServer) GetUsers(ctx context.Context, req *GetUsersRequest) (*GetUsersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUsers not implemented") -} -func (*UnimplementedCloudServiceServer) GetUser(ctx context.Context, req *GetUserRequest) (*GetUserResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUser not implemented") -} -func (*UnimplementedCloudServiceServer) CreateUser(ctx context.Context, req *CreateUserRequest) (*CreateUserResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateUser not implemented") -} -func (*UnimplementedCloudServiceServer) UpdateUser(ctx context.Context, req *UpdateUserRequest) (*UpdateUserResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateUser not implemented") -} -func (*UnimplementedCloudServiceServer) DeleteUser(ctx context.Context, req *DeleteUserRequest) (*DeleteUserResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteUser not implemented") -} -func (*UnimplementedCloudServiceServer) SetUserNamespaceAccess(ctx context.Context, req *SetUserNamespaceAccessRequest) (*SetUserNamespaceAccessResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetUserNamespaceAccess not implemented") -} -func (*UnimplementedCloudServiceServer) GetAsyncOperation(ctx context.Context, req *GetAsyncOperationRequest) (*GetAsyncOperationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAsyncOperation not implemented") -} -func (*UnimplementedCloudServiceServer) CreateNamespace(ctx context.Context, req *CreateNamespaceRequest) (*CreateNamespaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateNamespace not implemented") -} -func (*UnimplementedCloudServiceServer) GetNamespaces(ctx context.Context, req *GetNamespacesRequest) (*GetNamespacesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNamespaces not implemented") -} -func (*UnimplementedCloudServiceServer) GetNamespaceIDs(ctx context.Context, req *GetNamespaceIDsRequest) (*GetNamespaceIDsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNamespaceIDs not implemented") -} -func (*UnimplementedCloudServiceServer) GetNamespace(ctx context.Context, req *GetNamespaceRequest) (*GetNamespaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNamespace not implemented") -} -func (*UnimplementedCloudServiceServer) UpdateNamespace(ctx context.Context, req *UpdateNamespaceRequest) (*UpdateNamespaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateNamespace not implemented") -} -func (*UnimplementedCloudServiceServer) RenameCustomSearchAttribute(ctx context.Context, req *RenameCustomSearchAttributeRequest) (*RenameCustomSearchAttributeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RenameCustomSearchAttribute not implemented") -} -func (*UnimplementedCloudServiceServer) DeleteNamespace(ctx context.Context, req *DeleteNamespaceRequest) (*DeleteNamespaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteNamespace not implemented") -} -func (*UnimplementedCloudServiceServer) FailoverNamespaceRegion(ctx context.Context, req *FailoverNamespaceRegionRequest) (*FailoverNamespaceRegionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FailoverNamespaceRegion not implemented") -} -func (*UnimplementedCloudServiceServer) AddNamespaceRegion(ctx context.Context, req *AddNamespaceRegionRequest) (*AddNamespaceRegionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddNamespaceRegion not implemented") -} -func (*UnimplementedCloudServiceServer) DeleteNamespaceRegion(ctx context.Context, req *DeleteNamespaceRegionRequest) (*DeleteNamespaceRegionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteNamespaceRegion not implemented") -} -func (*UnimplementedCloudServiceServer) GetRegions(ctx context.Context, req *GetRegionsRequest) (*GetRegionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRegions not implemented") -} -func (*UnimplementedCloudServiceServer) GetRegion(ctx context.Context, req *GetRegionRequest) (*GetRegionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRegion not implemented") -} -func (*UnimplementedCloudServiceServer) GetNexusEndpoints(ctx context.Context, req *GetNexusEndpointsRequest) (*GetNexusEndpointsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNexusEndpoints not implemented") -} -func (*UnimplementedCloudServiceServer) GetNexusEndpoint(ctx context.Context, req *GetNexusEndpointRequest) (*GetNexusEndpointResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNexusEndpoint not implemented") -} -func (*UnimplementedCloudServiceServer) CreateNexusEndpoint(ctx context.Context, req *CreateNexusEndpointRequest) (*CreateNexusEndpointResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateNexusEndpoint not implemented") -} -func (*UnimplementedCloudServiceServer) UpdateNexusEndpoint(ctx context.Context, req *UpdateNexusEndpointRequest) (*UpdateNexusEndpointResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateNexusEndpoint not implemented") -} -func (*UnimplementedCloudServiceServer) DeleteNexusEndpoint(ctx context.Context, req *DeleteNexusEndpointRequest) (*DeleteNexusEndpointResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteNexusEndpoint not implemented") -} -func (*UnimplementedCloudServiceServer) GetUserGroups(ctx context.Context, req *GetUserGroupsRequest) (*GetUserGroupsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUserGroups not implemented") -} -func (*UnimplementedCloudServiceServer) GetUserGroup(ctx context.Context, req *GetUserGroupRequest) (*GetUserGroupResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUserGroup not implemented") -} -func (*UnimplementedCloudServiceServer) CreateUserGroup(ctx context.Context, req *CreateUserGroupRequest) (*CreateUserGroupResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateUserGroup not implemented") -} -func (*UnimplementedCloudServiceServer) UpdateUserGroup(ctx context.Context, req *UpdateUserGroupRequest) (*UpdateUserGroupResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateUserGroup not implemented") -} -func (*UnimplementedCloudServiceServer) DeleteUserGroup(ctx context.Context, req *DeleteUserGroupRequest) (*DeleteUserGroupResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteUserGroup not implemented") -} -func (*UnimplementedCloudServiceServer) SetUserGroupNamespaceAccess(ctx context.Context, req *SetUserGroupNamespaceAccessRequest) (*SetUserGroupNamespaceAccessResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetUserGroupNamespaceAccess not implemented") -} -func (*UnimplementedCloudServiceServer) AddUserGroupMember(ctx context.Context, req *AddUserGroupMemberRequest) (*AddUserGroupMemberResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddUserGroupMember not implemented") -} -func (*UnimplementedCloudServiceServer) RemoveUserGroupMember(ctx context.Context, req *RemoveUserGroupMemberRequest) (*RemoveUserGroupMemberResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveUserGroupMember not implemented") -} -func (*UnimplementedCloudServiceServer) GetUserGroupMembers(ctx context.Context, req *GetUserGroupMembersRequest) (*GetUserGroupMembersResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUserGroupMembers not implemented") -} -func (*UnimplementedCloudServiceServer) CreateServiceAccount(ctx context.Context, req *CreateServiceAccountRequest) (*CreateServiceAccountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateServiceAccount not implemented") -} -func (*UnimplementedCloudServiceServer) GetServiceAccount(ctx context.Context, req *GetServiceAccountRequest) (*GetServiceAccountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetServiceAccount not implemented") -} -func (*UnimplementedCloudServiceServer) GetServiceAccounts(ctx context.Context, req *GetServiceAccountsRequest) (*GetServiceAccountsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetServiceAccounts not implemented") -} -func (*UnimplementedCloudServiceServer) UpdateServiceAccount(ctx context.Context, req *UpdateServiceAccountRequest) (*UpdateServiceAccountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateServiceAccount not implemented") -} -func (*UnimplementedCloudServiceServer) SetServiceAccountNamespaceAccess(ctx context.Context, req *SetServiceAccountNamespaceAccessRequest) (*SetServiceAccountNamespaceAccessResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetServiceAccountNamespaceAccess not implemented") -} -func (*UnimplementedCloudServiceServer) DeleteServiceAccount(ctx context.Context, req *DeleteServiceAccountRequest) (*DeleteServiceAccountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteServiceAccount not implemented") -} -func (*UnimplementedCloudServiceServer) GetApiKeys(ctx context.Context, req *GetApiKeysRequest) (*GetApiKeysResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetApiKeys not implemented") -} -func (*UnimplementedCloudServiceServer) GetApiKey(ctx context.Context, req *GetApiKeyRequest) (*GetApiKeyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetApiKey not implemented") -} -func (*UnimplementedCloudServiceServer) CreateApiKey(ctx context.Context, req *CreateApiKeyRequest) (*CreateApiKeyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateApiKey not implemented") -} -func (*UnimplementedCloudServiceServer) UpdateApiKey(ctx context.Context, req *UpdateApiKeyRequest) (*UpdateApiKeyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateApiKey not implemented") -} -func (*UnimplementedCloudServiceServer) DeleteApiKey(ctx context.Context, req *DeleteApiKeyRequest) (*DeleteApiKeyResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteApiKey not implemented") -} -func (*UnimplementedCloudServiceServer) GetAuditLogs(ctx context.Context, req *GetAuditLogsRequest) (*GetAuditLogsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAuditLogs not implemented") -} -func (*UnimplementedCloudServiceServer) ValidateAccountAuditLogSink(ctx context.Context, req *ValidateAccountAuditLogSinkRequest) (*ValidateAccountAuditLogSinkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ValidateAccountAuditLogSink not implemented") -} -func (*UnimplementedCloudServiceServer) CreateAccountAuditLogSink(ctx context.Context, req *CreateAccountAuditLogSinkRequest) (*CreateAccountAuditLogSinkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateAccountAuditLogSink not implemented") -} -func (*UnimplementedCloudServiceServer) GetAccountAuditLogSink(ctx context.Context, req *GetAccountAuditLogSinkRequest) (*GetAccountAuditLogSinkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccountAuditLogSink not implemented") -} -func (*UnimplementedCloudServiceServer) GetAccountAuditLogSinks(ctx context.Context, req *GetAccountAuditLogSinksRequest) (*GetAccountAuditLogSinksResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccountAuditLogSinks not implemented") -} -func (*UnimplementedCloudServiceServer) UpdateAccountAuditLogSink(ctx context.Context, req *UpdateAccountAuditLogSinkRequest) (*UpdateAccountAuditLogSinkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateAccountAuditLogSink not implemented") -} -func (*UnimplementedCloudServiceServer) DeleteAccountAuditLogSink(ctx context.Context, req *DeleteAccountAuditLogSinkRequest) (*DeleteAccountAuditLogSinkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteAccountAuditLogSink not implemented") -} -func (*UnimplementedCloudServiceServer) GetUsage(ctx context.Context, req *GetUsageRequest) (*GetUsageResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetUsage not implemented") -} -func (*UnimplementedCloudServiceServer) GetAccount(ctx context.Context, req *GetAccountRequest) (*GetAccountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccount not implemented") -} -func (*UnimplementedCloudServiceServer) UpdateAccount(ctx context.Context, req *UpdateAccountRequest) (*UpdateAccountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateAccount not implemented") -} -func (*UnimplementedCloudServiceServer) CreateNamespaceExportSink(ctx context.Context, req *CreateNamespaceExportSinkRequest) (*CreateNamespaceExportSinkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateNamespaceExportSink not implemented") -} -func (*UnimplementedCloudServiceServer) GetNamespaceExportSink(ctx context.Context, req *GetNamespaceExportSinkRequest) (*GetNamespaceExportSinkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNamespaceExportSink not implemented") -} -func (*UnimplementedCloudServiceServer) GetNamespaceExportSinks(ctx context.Context, req *GetNamespaceExportSinksRequest) (*GetNamespaceExportSinksResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNamespaceExportSinks not implemented") -} -func (*UnimplementedCloudServiceServer) UpdateNamespaceExportSink(ctx context.Context, req *UpdateNamespaceExportSinkRequest) (*UpdateNamespaceExportSinkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateNamespaceExportSink not implemented") -} -func (*UnimplementedCloudServiceServer) DeleteNamespaceExportSink(ctx context.Context, req *DeleteNamespaceExportSinkRequest) (*DeleteNamespaceExportSinkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteNamespaceExportSink not implemented") -} -func (*UnimplementedCloudServiceServer) ValidateNamespaceExportSink(ctx context.Context, req *ValidateNamespaceExportSinkRequest) (*ValidateNamespaceExportSinkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ValidateNamespaceExportSink not implemented") -} -func (*UnimplementedCloudServiceServer) StartMigration(ctx context.Context, req *StartMigrationRequest) (*StartMigrationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method StartMigration not implemented") -} -func (*UnimplementedCloudServiceServer) GetMigrations(ctx context.Context, req *GetMigrationsRequest) (*GetMigrationsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetMigrations not implemented") -} -func (*UnimplementedCloudServiceServer) GetMigration(ctx context.Context, req *GetMigrationRequest) (*GetMigrationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetMigration not implemented") -} -func (*UnimplementedCloudServiceServer) HandoverNamespace(ctx context.Context, req *HandoverNamespaceRequest) (*HandoverNamespaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method HandoverNamespace not implemented") -} -func (*UnimplementedCloudServiceServer) AbortMigration(ctx context.Context, req *AbortMigrationRequest) (*AbortMigrationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AbortMigration not implemented") -} -func (*UnimplementedCloudServiceServer) ConfirmMigration(ctx context.Context, req *ConfirmMigrationRequest) (*ConfirmMigrationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ConfirmMigration not implemented") -} -func (*UnimplementedCloudServiceServer) CreateConnectivityRule(ctx context.Context, req *CreateConnectivityRuleRequest) (*CreateConnectivityRuleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateConnectivityRule not implemented") -} -func (*UnimplementedCloudServiceServer) GetConnectivityRule(ctx context.Context, req *GetConnectivityRuleRequest) (*GetConnectivityRuleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetConnectivityRule not implemented") -} -func (*UnimplementedCloudServiceServer) GetConnectivityRules(ctx context.Context, req *GetConnectivityRulesRequest) (*GetConnectivityRulesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetConnectivityRules not implemented") -} -func (*UnimplementedCloudServiceServer) DeleteConnectivityRule(ctx context.Context, req *DeleteConnectivityRuleRequest) (*DeleteConnectivityRuleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteConnectivityRule not implemented") -} -func (*UnimplementedCloudServiceServer) GetProjects(ctx context.Context, req *GetProjectsRequest) (*GetProjectsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetProjects not implemented") -} -func (*UnimplementedCloudServiceServer) GetProject(ctx context.Context, req *GetProjectRequest) (*GetProjectResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetProject not implemented") -} -func (*UnimplementedCloudServiceServer) CreateProject(ctx context.Context, req *CreateProjectRequest) (*CreateProjectResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateProject not implemented") -} -func (*UnimplementedCloudServiceServer) UpdateProject(ctx context.Context, req *UpdateProjectRequest) (*UpdateProjectResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateProject not implemented") -} -func (*UnimplementedCloudServiceServer) DeleteProject(ctx context.Context, req *DeleteProjectRequest) (*DeleteProjectResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteProject not implemented") -} -func (*UnimplementedCloudServiceServer) ResendUserInvite(ctx context.Context, req *ResendUserInviteRequest) (*ResendUserInviteResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ResendUserInvite not implemented") -} -func (*UnimplementedCloudServiceServer) UpdateNamespaceTags(ctx context.Context, req *UpdateNamespaceTagsRequest) (*UpdateNamespaceTagsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateNamespaceTags not implemented") -} -func (*UnimplementedCloudServiceServer) GetTagKeys(ctx context.Context, req *GetTagKeysRequest) (*GetTagKeysResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTagKeys not implemented") -} - -func RegisterCloudServiceServer(s *grpc.Server, srv CloudServiceServer) { - s.RegisterService(&_CloudService_serviceDesc, srv) -} - -func _CloudService_GetUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUsersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetUsers(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetUsers", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetUsers(ctx, req.(*GetUsersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUserRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetUser(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetUser", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetUser(ctx, req.(*GetUserRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_CreateUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateUserRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).CreateUser(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/CreateUser", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).CreateUser(ctx, req.(*CreateUserRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_UpdateUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateUserRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).UpdateUser(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateUser", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).UpdateUser(ctx, req.(*UpdateUserRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_DeleteUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteUserRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).DeleteUser(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteUser", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).DeleteUser(ctx, req.(*DeleteUserRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_SetUserNamespaceAccess_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetUserNamespaceAccessRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).SetUserNamespaceAccess(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/SetUserNamespaceAccess", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).SetUserNamespaceAccess(ctx, req.(*SetUserNamespaceAccessRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetAsyncOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAsyncOperationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetAsyncOperation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetAsyncOperation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetAsyncOperation(ctx, req.(*GetAsyncOperationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_CreateNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateNamespaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).CreateNamespace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/CreateNamespace", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).CreateNamespace(ctx, req.(*CreateNamespaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetNamespaces_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNamespacesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetNamespaces(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaces", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetNamespaces(ctx, req.(*GetNamespacesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetNamespaceIDs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNamespaceIDsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetNamespaceIDs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaceIDs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetNamespaceIDs(ctx, req.(*GetNamespaceIDsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNamespaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetNamespace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespace", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetNamespace(ctx, req.(*GetNamespaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_UpdateNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateNamespaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).UpdateNamespace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateNamespace", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).UpdateNamespace(ctx, req.(*UpdateNamespaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_RenameCustomSearchAttribute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RenameCustomSearchAttributeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).RenameCustomSearchAttribute(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/RenameCustomSearchAttribute", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).RenameCustomSearchAttribute(ctx, req.(*RenameCustomSearchAttributeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_DeleteNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteNamespaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).DeleteNamespace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteNamespace", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).DeleteNamespace(ctx, req.(*DeleteNamespaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_FailoverNamespaceRegion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FailoverNamespaceRegionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).FailoverNamespaceRegion(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/FailoverNamespaceRegion", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).FailoverNamespaceRegion(ctx, req.(*FailoverNamespaceRegionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_AddNamespaceRegion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddNamespaceRegionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).AddNamespaceRegion(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/AddNamespaceRegion", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).AddNamespaceRegion(ctx, req.(*AddNamespaceRegionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_DeleteNamespaceRegion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteNamespaceRegionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).DeleteNamespaceRegion(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteNamespaceRegion", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).DeleteNamespaceRegion(ctx, req.(*DeleteNamespaceRegionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetRegions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetRegions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetRegions", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetRegions(ctx, req.(*GetRegionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetRegion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRegionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetRegion(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetRegion", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetRegion(ctx, req.(*GetRegionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetNexusEndpoints_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNexusEndpointsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetNexusEndpoints(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetNexusEndpoints", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetNexusEndpoints(ctx, req.(*GetNexusEndpointsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetNexusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNexusEndpointRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetNexusEndpoint(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetNexusEndpoint", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetNexusEndpoint(ctx, req.(*GetNexusEndpointRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_CreateNexusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateNexusEndpointRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).CreateNexusEndpoint(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/CreateNexusEndpoint", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).CreateNexusEndpoint(ctx, req.(*CreateNexusEndpointRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_UpdateNexusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateNexusEndpointRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).UpdateNexusEndpoint(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateNexusEndpoint", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).UpdateNexusEndpoint(ctx, req.(*UpdateNexusEndpointRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_DeleteNexusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteNexusEndpointRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).DeleteNexusEndpoint(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteNexusEndpoint", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).DeleteNexusEndpoint(ctx, req.(*DeleteNexusEndpointRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetUserGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUserGroupsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetUserGroups(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetUserGroups", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetUserGroups(ctx, req.(*GetUserGroupsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetUserGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUserGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetUserGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetUserGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetUserGroup(ctx, req.(*GetUserGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_CreateUserGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateUserGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).CreateUserGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/CreateUserGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).CreateUserGroup(ctx, req.(*CreateUserGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_UpdateUserGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateUserGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).UpdateUserGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateUserGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).UpdateUserGroup(ctx, req.(*UpdateUserGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_DeleteUserGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteUserGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).DeleteUserGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteUserGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).DeleteUserGroup(ctx, req.(*DeleteUserGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_SetUserGroupNamespaceAccess_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetUserGroupNamespaceAccessRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).SetUserGroupNamespaceAccess(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/SetUserGroupNamespaceAccess", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).SetUserGroupNamespaceAccess(ctx, req.(*SetUserGroupNamespaceAccessRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_AddUserGroupMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddUserGroupMemberRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).AddUserGroupMember(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/AddUserGroupMember", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).AddUserGroupMember(ctx, req.(*AddUserGroupMemberRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_RemoveUserGroupMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveUserGroupMemberRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).RemoveUserGroupMember(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/RemoveUserGroupMember", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).RemoveUserGroupMember(ctx, req.(*RemoveUserGroupMemberRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetUserGroupMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUserGroupMembersRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetUserGroupMembers(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetUserGroupMembers", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetUserGroupMembers(ctx, req.(*GetUserGroupMembersRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_CreateServiceAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateServiceAccountRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).CreateServiceAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/CreateServiceAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).CreateServiceAccount(ctx, req.(*CreateServiceAccountRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetServiceAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetServiceAccountRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetServiceAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetServiceAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetServiceAccount(ctx, req.(*GetServiceAccountRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetServiceAccounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetServiceAccountsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetServiceAccounts(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetServiceAccounts", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetServiceAccounts(ctx, req.(*GetServiceAccountsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_UpdateServiceAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateServiceAccountRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).UpdateServiceAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateServiceAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).UpdateServiceAccount(ctx, req.(*UpdateServiceAccountRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_SetServiceAccountNamespaceAccess_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetServiceAccountNamespaceAccessRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).SetServiceAccountNamespaceAccess(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/SetServiceAccountNamespaceAccess", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).SetServiceAccountNamespaceAccess(ctx, req.(*SetServiceAccountNamespaceAccessRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_DeleteServiceAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteServiceAccountRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).DeleteServiceAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteServiceAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).DeleteServiceAccount(ctx, req.(*DeleteServiceAccountRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetApiKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetApiKeysRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetApiKeys(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetApiKeys", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetApiKeys(ctx, req.(*GetApiKeysRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetApiKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetApiKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetApiKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetApiKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetApiKey(ctx, req.(*GetApiKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_CreateApiKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateApiKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).CreateApiKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/CreateApiKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).CreateApiKey(ctx, req.(*CreateApiKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_UpdateApiKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateApiKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).UpdateApiKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateApiKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).UpdateApiKey(ctx, req.(*UpdateApiKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_DeleteApiKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteApiKeyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).DeleteApiKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteApiKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).DeleteApiKey(ctx, req.(*DeleteApiKeyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetAuditLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAuditLogsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetAuditLogs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetAuditLogs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetAuditLogs(ctx, req.(*GetAuditLogsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_ValidateAccountAuditLogSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ValidateAccountAuditLogSinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).ValidateAccountAuditLogSink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/ValidateAccountAuditLogSink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).ValidateAccountAuditLogSink(ctx, req.(*ValidateAccountAuditLogSinkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_CreateAccountAuditLogSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateAccountAuditLogSinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).CreateAccountAuditLogSink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/CreateAccountAuditLogSink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).CreateAccountAuditLogSink(ctx, req.(*CreateAccountAuditLogSinkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetAccountAuditLogSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAccountAuditLogSinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetAccountAuditLogSink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetAccountAuditLogSink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetAccountAuditLogSink(ctx, req.(*GetAccountAuditLogSinkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetAccountAuditLogSinks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAccountAuditLogSinksRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetAccountAuditLogSinks(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetAccountAuditLogSinks", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetAccountAuditLogSinks(ctx, req.(*GetAccountAuditLogSinksRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_UpdateAccountAuditLogSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateAccountAuditLogSinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).UpdateAccountAuditLogSink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateAccountAuditLogSink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).UpdateAccountAuditLogSink(ctx, req.(*UpdateAccountAuditLogSinkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_DeleteAccountAuditLogSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteAccountAuditLogSinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).DeleteAccountAuditLogSink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteAccountAuditLogSink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).DeleteAccountAuditLogSink(ctx, req.(*DeleteAccountAuditLogSinkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetUsage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetUsageRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetUsage(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetUsage", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetUsage(ctx, req.(*GetUsageRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAccountRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetAccount(ctx, req.(*GetAccountRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_UpdateAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateAccountRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).UpdateAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).UpdateAccount(ctx, req.(*UpdateAccountRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_CreateNamespaceExportSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateNamespaceExportSinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).CreateNamespaceExportSink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/CreateNamespaceExportSink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).CreateNamespaceExportSink(ctx, req.(*CreateNamespaceExportSinkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetNamespaceExportSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNamespaceExportSinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetNamespaceExportSink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaceExportSink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetNamespaceExportSink(ctx, req.(*GetNamespaceExportSinkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetNamespaceExportSinks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNamespaceExportSinksRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetNamespaceExportSinks(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaceExportSinks", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetNamespaceExportSinks(ctx, req.(*GetNamespaceExportSinksRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_UpdateNamespaceExportSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateNamespaceExportSinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).UpdateNamespaceExportSink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateNamespaceExportSink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).UpdateNamespaceExportSink(ctx, req.(*UpdateNamespaceExportSinkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_DeleteNamespaceExportSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteNamespaceExportSinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).DeleteNamespaceExportSink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteNamespaceExportSink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).DeleteNamespaceExportSink(ctx, req.(*DeleteNamespaceExportSinkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_ValidateNamespaceExportSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ValidateNamespaceExportSinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).ValidateNamespaceExportSink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/ValidateNamespaceExportSink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).ValidateNamespaceExportSink(ctx, req.(*ValidateNamespaceExportSinkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_StartMigration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StartMigrationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).StartMigration(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/StartMigration", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).StartMigration(ctx, req.(*StartMigrationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetMigrations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetMigrationsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetMigrations(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetMigrations", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetMigrations(ctx, req.(*GetMigrationsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetMigration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetMigrationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetMigration(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetMigration", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetMigration(ctx, req.(*GetMigrationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_HandoverNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(HandoverNamespaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).HandoverNamespace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/HandoverNamespace", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).HandoverNamespace(ctx, req.(*HandoverNamespaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_AbortMigration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AbortMigrationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).AbortMigration(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/AbortMigration", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).AbortMigration(ctx, req.(*AbortMigrationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_ConfirmMigration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ConfirmMigrationRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).ConfirmMigration(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/ConfirmMigration", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).ConfirmMigration(ctx, req.(*ConfirmMigrationRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_CreateConnectivityRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateConnectivityRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).CreateConnectivityRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/CreateConnectivityRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).CreateConnectivityRule(ctx, req.(*CreateConnectivityRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetConnectivityRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetConnectivityRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetConnectivityRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetConnectivityRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetConnectivityRule(ctx, req.(*GetConnectivityRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetConnectivityRules_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetConnectivityRulesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetConnectivityRules(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetConnectivityRules", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetConnectivityRules(ctx, req.(*GetConnectivityRulesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_DeleteConnectivityRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteConnectivityRuleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).DeleteConnectivityRule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteConnectivityRule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).DeleteConnectivityRule(ctx, req.(*DeleteConnectivityRuleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetProjects_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetProjectsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetProjects(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetProjects", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetProjects(ctx, req.(*GetProjectsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetProjectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetProject(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetProject", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetProject(ctx, req.(*GetProjectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_CreateProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateProjectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).CreateProject(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/CreateProject", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).CreateProject(ctx, req.(*CreateProjectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_UpdateProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateProjectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).UpdateProject(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateProject", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).UpdateProject(ctx, req.(*UpdateProjectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_DeleteProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteProjectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).DeleteProject(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteProject", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).DeleteProject(ctx, req.(*DeleteProjectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_ResendUserInvite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ResendUserInviteRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).ResendUserInvite(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/ResendUserInvite", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).ResendUserInvite(ctx, req.(*ResendUserInviteRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_UpdateNamespaceTags_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateNamespaceTagsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).UpdateNamespaceTags(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateNamespaceTags", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).UpdateNamespaceTags(ctx, req.(*UpdateNamespaceTagsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CloudService_GetTagKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTagKeysRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CloudServiceServer).GetTagKeys(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetTagKeys", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CloudServiceServer).GetTagKeys(ctx, req.(*GetTagKeysRequest)) - } - return interceptor(ctx, in, info, handler) -} +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -var _CloudService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "temporal.api.cloud.cloudservice.v1.CloudService", - HandlerType: (*CloudServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetUsers", - Handler: _CloudService_GetUsers_Handler, - }, - { - MethodName: "GetUser", - Handler: _CloudService_GetUser_Handler, - }, - { - MethodName: "CreateUser", - Handler: _CloudService_CreateUser_Handler, - }, - { - MethodName: "UpdateUser", - Handler: _CloudService_UpdateUser_Handler, - }, - { - MethodName: "DeleteUser", - Handler: _CloudService_DeleteUser_Handler, - }, - { - MethodName: "SetUserNamespaceAccess", - Handler: _CloudService_SetUserNamespaceAccess_Handler, - }, - { - MethodName: "GetAsyncOperation", - Handler: _CloudService_GetAsyncOperation_Handler, - }, - { - MethodName: "CreateNamespace", - Handler: _CloudService_CreateNamespace_Handler, - }, - { - MethodName: "GetNamespaces", - Handler: _CloudService_GetNamespaces_Handler, - }, - { - MethodName: "GetNamespaceIDs", - Handler: _CloudService_GetNamespaceIDs_Handler, - }, - { - MethodName: "GetNamespace", - Handler: _CloudService_GetNamespace_Handler, - }, - { - MethodName: "UpdateNamespace", - Handler: _CloudService_UpdateNamespace_Handler, - }, - { - MethodName: "RenameCustomSearchAttribute", - Handler: _CloudService_RenameCustomSearchAttribute_Handler, - }, - { - MethodName: "DeleteNamespace", - Handler: _CloudService_DeleteNamespace_Handler, - }, - { - MethodName: "FailoverNamespaceRegion", - Handler: _CloudService_FailoverNamespaceRegion_Handler, - }, - { - MethodName: "AddNamespaceRegion", - Handler: _CloudService_AddNamespaceRegion_Handler, - }, - { - MethodName: "DeleteNamespaceRegion", - Handler: _CloudService_DeleteNamespaceRegion_Handler, - }, - { - MethodName: "GetRegions", - Handler: _CloudService_GetRegions_Handler, - }, - { - MethodName: "GetRegion", - Handler: _CloudService_GetRegion_Handler, - }, - { - MethodName: "GetNexusEndpoints", - Handler: _CloudService_GetNexusEndpoints_Handler, - }, - { - MethodName: "GetNexusEndpoint", - Handler: _CloudService_GetNexusEndpoint_Handler, - }, - { - MethodName: "CreateNexusEndpoint", - Handler: _CloudService_CreateNexusEndpoint_Handler, - }, - { - MethodName: "UpdateNexusEndpoint", - Handler: _CloudService_UpdateNexusEndpoint_Handler, - }, - { - MethodName: "DeleteNexusEndpoint", - Handler: _CloudService_DeleteNexusEndpoint_Handler, - }, - { - MethodName: "GetUserGroups", - Handler: _CloudService_GetUserGroups_Handler, - }, - { - MethodName: "GetUserGroup", - Handler: _CloudService_GetUserGroup_Handler, - }, - { - MethodName: "CreateUserGroup", - Handler: _CloudService_CreateUserGroup_Handler, - }, - { - MethodName: "UpdateUserGroup", - Handler: _CloudService_UpdateUserGroup_Handler, - }, - { - MethodName: "DeleteUserGroup", - Handler: _CloudService_DeleteUserGroup_Handler, - }, - { - MethodName: "SetUserGroupNamespaceAccess", - Handler: _CloudService_SetUserGroupNamespaceAccess_Handler, - }, - { - MethodName: "AddUserGroupMember", - Handler: _CloudService_AddUserGroupMember_Handler, - }, - { - MethodName: "RemoveUserGroupMember", - Handler: _CloudService_RemoveUserGroupMember_Handler, - }, - { - MethodName: "GetUserGroupMembers", - Handler: _CloudService_GetUserGroupMembers_Handler, - }, - { - MethodName: "CreateServiceAccount", - Handler: _CloudService_CreateServiceAccount_Handler, - }, - { - MethodName: "GetServiceAccount", - Handler: _CloudService_GetServiceAccount_Handler, - }, - { - MethodName: "GetServiceAccounts", - Handler: _CloudService_GetServiceAccounts_Handler, - }, - { - MethodName: "UpdateServiceAccount", - Handler: _CloudService_UpdateServiceAccount_Handler, - }, - { - MethodName: "SetServiceAccountNamespaceAccess", - Handler: _CloudService_SetServiceAccountNamespaceAccess_Handler, - }, - { - MethodName: "DeleteServiceAccount", - Handler: _CloudService_DeleteServiceAccount_Handler, - }, - { - MethodName: "GetApiKeys", - Handler: _CloudService_GetApiKeys_Handler, - }, - { - MethodName: "GetApiKey", - Handler: _CloudService_GetApiKey_Handler, - }, - { - MethodName: "CreateApiKey", - Handler: _CloudService_CreateApiKey_Handler, - }, - { - MethodName: "UpdateApiKey", - Handler: _CloudService_UpdateApiKey_Handler, - }, - { - MethodName: "DeleteApiKey", - Handler: _CloudService_DeleteApiKey_Handler, - }, - { - MethodName: "GetAuditLogs", - Handler: _CloudService_GetAuditLogs_Handler, - }, - { - MethodName: "ValidateAccountAuditLogSink", - Handler: _CloudService_ValidateAccountAuditLogSink_Handler, - }, - { - MethodName: "CreateAccountAuditLogSink", - Handler: _CloudService_CreateAccountAuditLogSink_Handler, - }, - { - MethodName: "GetAccountAuditLogSink", - Handler: _CloudService_GetAccountAuditLogSink_Handler, - }, - { - MethodName: "GetAccountAuditLogSinks", - Handler: _CloudService_GetAccountAuditLogSinks_Handler, - }, - { - MethodName: "UpdateAccountAuditLogSink", - Handler: _CloudService_UpdateAccountAuditLogSink_Handler, - }, - { - MethodName: "DeleteAccountAuditLogSink", - Handler: _CloudService_DeleteAccountAuditLogSink_Handler, - }, - { - MethodName: "GetUsage", - Handler: _CloudService_GetUsage_Handler, - }, - { - MethodName: "GetAccount", - Handler: _CloudService_GetAccount_Handler, - }, - { - MethodName: "UpdateAccount", - Handler: _CloudService_UpdateAccount_Handler, - }, - { - MethodName: "CreateNamespaceExportSink", - Handler: _CloudService_CreateNamespaceExportSink_Handler, - }, - { - MethodName: "GetNamespaceExportSink", - Handler: _CloudService_GetNamespaceExportSink_Handler, - }, - { - MethodName: "GetNamespaceExportSinks", - Handler: _CloudService_GetNamespaceExportSinks_Handler, - }, - { - MethodName: "UpdateNamespaceExportSink", - Handler: _CloudService_UpdateNamespaceExportSink_Handler, - }, - { - MethodName: "DeleteNamespaceExportSink", - Handler: _CloudService_DeleteNamespaceExportSink_Handler, - }, - { - MethodName: "ValidateNamespaceExportSink", - Handler: _CloudService_ValidateNamespaceExportSink_Handler, - }, - { - MethodName: "StartMigration", - Handler: _CloudService_StartMigration_Handler, - }, - { - MethodName: "GetMigrations", - Handler: _CloudService_GetMigrations_Handler, - }, - { - MethodName: "GetMigration", - Handler: _CloudService_GetMigration_Handler, - }, - { - MethodName: "HandoverNamespace", - Handler: _CloudService_HandoverNamespace_Handler, - }, - { - MethodName: "AbortMigration", - Handler: _CloudService_AbortMigration_Handler, - }, - { - MethodName: "ConfirmMigration", - Handler: _CloudService_ConfirmMigration_Handler, - }, - { - MethodName: "CreateConnectivityRule", - Handler: _CloudService_CreateConnectivityRule_Handler, - }, - { - MethodName: "GetConnectivityRule", - Handler: _CloudService_GetConnectivityRule_Handler, - }, - { - MethodName: "GetConnectivityRules", - Handler: _CloudService_GetConnectivityRules_Handler, - }, - { - MethodName: "DeleteConnectivityRule", - Handler: _CloudService_DeleteConnectivityRule_Handler, - }, - { - MethodName: "GetProjects", - Handler: _CloudService_GetProjects_Handler, - }, - { - MethodName: "GetProject", - Handler: _CloudService_GetProject_Handler, - }, - { - MethodName: "CreateProject", - Handler: _CloudService_CreateProject_Handler, - }, - { - MethodName: "UpdateProject", - Handler: _CloudService_UpdateProject_Handler, - }, - { - MethodName: "DeleteProject", - Handler: _CloudService_DeleteProject_Handler, - }, - { - MethodName: "ResendUserInvite", - Handler: _CloudService_ResendUserInvite_Handler, - }, - { - MethodName: "UpdateNamespaceTags", - Handler: _CloudService_UpdateNamespaceTags_Handler, - }, - { - MethodName: "GetTagKeys", - Handler: _CloudService_GetTagKeys_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "temporal/api/cloud/cloudservice/v1/service.proto", +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +var File_temporal_api_cloud_cloudservice_v1_service_proto protoreflect.FileDescriptor + +var file_temporal_api_cloud_cloudservice_v1_service_proto_rawDesc = []byte{ + 0x0a, 0x30, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x22, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x39, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x2d, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x7a, 0x2f, + 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xee, + 0x8c, 0x01, 0x0a, 0x0c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x12, 0xb4, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x3d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3e, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, + 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, + 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x2d, 0x69, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x8b, 0x01, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x55, + 0x73, 0x65, 0x72, 0x73, 0x12, 0x33, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, + 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x14, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0e, 0x12, 0x0c, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, + 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x92, 0x01, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, + 0x72, 0x12, 0x32, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, + 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x18, 0x12, 0x16, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, + 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0x94, 0x01, 0x0a, 0x0a, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x35, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x36, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x17, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x11, + 0x3a, 0x01, 0x2a, 0x22, 0x0c, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x75, 0x73, 0x65, 0x72, + 0x73, 0x12, 0x9e, 0x01, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, + 0x12, 0x35, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x3a, 0x01, 0x2a, 0x22, 0x16, 0x2f, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x7d, 0x12, 0x9b, 0x01, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, + 0x72, 0x12, 0x35, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x1e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x2a, 0x16, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, + 0x12, 0xf3, 0x01, 0x0a, 0x16, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x41, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x42, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x52, 0xc2, 0x94, 0x1b, 0x0f, 0x12, 0x0d, 0x08, 0x03, 0x12, 0x09, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x3a, 0x01, 0x2a, + 0x22, 0x34, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, + 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x2f, + 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0xca, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x73, + 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x47, 0x65, 0x74, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x38, 0xc2, 0x94, 0x1b, 0x06, 0x12, + 0x04, 0x08, 0x01, 0x18, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, + 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x7d, 0x12, 0xbe, 0x01, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x3a, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x32, 0xc2, 0x94, 0x1b, 0x12, 0x12, 0x10, 0x08, 0x02, 0x12, 0x0a, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x3a, 0x01, + 0x2a, 0x22, 0x11, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x73, 0x12, 0x9f, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x38, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x39, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x19, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x13, 0x12, 0x11, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0xa9, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x44, 0x73, 0x12, 0x3a, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x44, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x3a, 0x69, + 0x64, 0x73, 0x12, 0xbb, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x12, 0x37, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x38, 0xc2, 0x94, 0x1b, 0x0f, 0x12, 0x0d, 0x08, 0x03, + 0x12, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x1f, 0x12, 0x1d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, + 0x12, 0xc7, 0x01, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x12, 0x3a, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x3b, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3b, 0xc2, + 0x94, 0x1b, 0x0f, 0x12, 0x0d, 0x08, 0x03, 0x12, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x3a, 0x01, 0x2a, 0x22, 0x1d, 0x2f, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x12, 0x8a, 0x02, 0x0a, 0x1b, 0x52, + 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x53, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x46, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x53, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x47, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x75, + 0x73, 0x74, 0x6f, 0x6d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5a, 0xc2, 0x94, 0x1b, + 0x0f, 0x12, 0x0d, 0x08, 0x03, 0x12, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x41, 0x3a, 0x01, 0x2a, 0x22, 0x3c, 0x2f, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x2d, + 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x2d, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x2d, 0x61, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0xc4, 0x01, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x3a, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x38, 0xc2, 0x94, 0x1b, 0x0f, 0x12, 0x0d, 0x08, 0x03, 0x12, 0x09, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x2a, + 0x1d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x12, 0xf2, + 0x01, 0x0a, 0x17, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x42, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x43, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x4e, 0x88, 0x02, 0x01, 0xc2, 0x94, 0x1b, 0x0f, 0x12, 0x0d, 0x08, 0x03, + 0x12, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x32, 0x3a, 0x01, 0x2a, 0x22, 0x2d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x7d, 0x2f, 0x66, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x2d, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x12, 0xde, 0x01, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x3d, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x41, 0x64, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3e, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, + 0x64, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x49, 0x88, 0x02, 0x01, 0xc2, 0x94, + 0x1b, 0x0f, 0x12, 0x0d, 0x08, 0x03, 0x12, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x3a, 0x01, 0x2a, 0x22, 0x28, 0x2f, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x61, 0x64, 0x64, 0x2d, 0x72, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x12, 0xea, 0x01, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x40, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x41, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x4c, 0x88, 0x02, 0x01, 0xc2, 0x94, 0x1b, 0x0f, 0x12, 0x0d, 0x08, 0x03, + 0x12, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x30, 0x2a, 0x2e, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, + 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x7d, 0x12, 0x93, 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x35, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x16, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x10, 0x12, 0x0e, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, + 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x99, 0x01, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x52, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x7d, 0x12, 0xb0, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x78, 0x75, 0x73, + 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x3c, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x4e, 0x65, 0x78, 0x75, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x4e, 0x65, 0x78, 0x75, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x12, 0x16, + 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x65, 0x78, 0x75, 0x73, 0x2f, 0x65, 0x6e, 0x64, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0xd0, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4e, 0x65, + 0x78, 0x75, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x3b, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x78, 0x75, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x4e, 0x65, 0x78, 0x75, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x41, 0xc2, 0x94, 0x1b, 0x11, 0x12, 0x0f, 0x08, 0x04, + 0x12, 0x0b, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x26, 0x12, 0x24, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x65, 0x78, 0x75, + 0x73, 0x2f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x65, 0x6e, 0x64, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xcf, 0x01, 0x0a, 0x13, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x4e, 0x65, 0x78, 0x75, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x12, 0x3e, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x65, 0x78, + 0x75, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x3f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x65, 0x78, + 0x75, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x37, 0xc2, 0x94, 0x1b, 0x12, 0x12, 0x10, 0x08, 0x02, 0x12, 0x0a, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, + 0x3a, 0x01, 0x2a, 0x22, 0x16, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x65, 0x78, 0x75, + 0x73, 0x2f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0xdc, 0x01, 0x0a, 0x13, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x65, 0x78, 0x75, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x12, 0x3e, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, + 0x65, 0x78, 0x75, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x3f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, + 0x65, 0x78, 0x75, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x44, 0xc2, 0x94, 0x1b, 0x11, 0x12, 0x0f, 0x08, 0x04, 0x12, 0x0b, + 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x29, 0x3a, 0x01, 0x2a, 0x22, 0x24, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x65, 0x78, + 0x75, 0x73, 0x2f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x65, 0x6e, + 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xd9, 0x01, 0x0a, 0x13, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x65, 0x78, 0x75, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x12, 0x3e, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x65, + 0x78, 0x75, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x3f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x65, + 0x78, 0x75, 0x73, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x41, 0xc2, 0x94, 0x1b, 0x11, 0x12, 0x0f, 0x08, 0x04, 0x12, 0x0b, 0x65, + 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, + 0x2a, 0x24, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x65, 0x78, 0x75, 0x73, 0x2f, 0x65, + 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xa0, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x55, 0x73, + 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x38, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1a, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x12, 0x12, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x75, 0x73, + 0x65, 0x72, 0x2d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0xa8, 0x01, 0x0a, 0x0c, 0x47, 0x65, + 0x74, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x37, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x75, 0x73, + 0x65, 0x72, 0x2d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x7b, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xa9, 0x01, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, + 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x3a, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x3a, 0x01, 0x2a, 0x22, 0x12, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, + 0x12, 0xb4, 0x01, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x12, 0x3a, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x3b, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x3a, 0x01, 0x2a, 0x22, 0x1d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x7b, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xb1, 0x01, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x3a, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x2a, 0x1d, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, + 0x2f, 0x7b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0x89, 0x02, 0x0a, 0x1b, + 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x46, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x47, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x59, 0xc2, 0x94, + 0x1b, 0x0f, 0x12, 0x0d, 0x08, 0x03, 0x12, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x40, 0x3a, 0x01, 0x2a, 0x22, 0x3b, 0x2f, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2d, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x7b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x7d, + 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0xc5, 0x01, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x55, + 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x3d, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3e, 0x2e, + 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, + 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x3a, 0x01, 0x2a, 0x22, 0x25, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x7b, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, + 0xd4, 0x01, 0x0a, 0x15, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, + 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x40, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, + 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x41, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x3a, 0x01, 0x2a, 0x22, 0x2b, 0x2f, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x7b, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x2d, + 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0xc5, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x55, 0x73, + 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x3e, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3f, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, 0x25, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, + 0x75, 0x73, 0x65, 0x72, 0x2d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x7b, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x9f, + 0x02, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x83, 0x01, 0xc2, 0x94, 0x1b, + 0x5d, 0x12, 0x2a, 0x08, 0x03, 0x12, 0x26, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x29, 0x08, + 0x02, 0x12, 0x25, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, + 0x73, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x04, 0x08, 0x01, 0x18, 0x01, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x1c, 0x3a, 0x01, 0x2a, 0x22, 0x17, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, + 0x12, 0xc6, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3c, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x34, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x12, 0x2c, 0x2f, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2d, 0x61, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xb4, 0x01, 0x0a, 0x12, 0x47, 0x65, + 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, + 0x12, 0x3d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x3e, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, + 0x12, 0xd2, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3f, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x31, 0x3a, 0x01, 0x2a, 0x22, 0x2c, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, + 0x2f, 0x7b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xa7, 0x02, 0x0a, 0x20, 0x53, 0x65, 0x74, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x4b, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x53, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x4c, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x68, 0xc2, 0x94, 0x1b, 0x0f, 0x12, 0x0d, 0x08, 0x03, 0x12, + 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4f, + 0x3a, 0x01, 0x2a, 0x22, 0x4a, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x7d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2d, 0x61, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, + 0xcf, 0x01, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x2e, 0x2a, 0x2c, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, + 0x7d, 0x12, 0x94, 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x73, + 0x12, 0x35, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x17, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x11, 0x12, 0x0f, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, + 0x61, 0x70, 0x69, 0x2d, 0x6b, 0x65, 0x79, 0x73, 0x12, 0x9a, 0x01, 0x0a, 0x09, 0x47, 0x65, 0x74, + 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x12, 0x34, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, + 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x12, 0x18, 0x2f, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2d, 0x6b, 0x65, 0x79, 0x73, 0x2f, 0x7b, 0x6b, 0x65, + 0x79, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0x9d, 0x01, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x12, 0x37, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x38, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, 0x65, + 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x14, 0x3a, 0x01, 0x2a, 0x22, 0x0f, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x70, 0x69, + 0x2d, 0x6b, 0x65, 0x79, 0x73, 0x12, 0xa6, 0x01, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x12, 0x37, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x38, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, 0x65, + 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x1d, 0x3a, 0x01, 0x2a, 0x22, 0x18, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x70, 0x69, + 0x2d, 0x6b, 0x65, 0x79, 0x73, 0x2f, 0x7b, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xa3, + 0x01, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x12, + 0x37, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, 0x65, + 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x2a, 0x18, 0x2f, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2d, 0x6b, 0x65, 0x79, 0x73, 0x2f, 0x7b, 0x6b, 0x65, 0x79, + 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xa4, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x41, 0x75, 0x64, 0x69, + 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x37, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x75, + 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, + 0x12, 0x19, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2d, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0xe1, 0x01, 0x0a, 0x1b, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, + 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, 0x12, 0x46, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x47, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, + 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x2b, 0x3a, 0x01, 0x2a, 0x22, 0x26, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2d, 0x6c, 0x6f, + 0x67, 0x2d, 0x73, 0x69, 0x6e, 0x6b, 0x2d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x12, + 0xd3, 0x01, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, 0x12, 0x44, 0x2e, + 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x45, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, + 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x23, 0x3a, 0x01, 0x2a, 0x22, 0x1e, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2d, 0x6c, 0x6f, 0x67, 0x2d, + 0x73, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0xce, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, + 0x12, 0x41, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x42, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, + 0x25, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2f, + 0x61, 0x75, 0x64, 0x69, 0x74, 0x2d, 0x6c, 0x6f, 0x67, 0x2d, 0x73, 0x69, 0x6e, 0x6b, 0x73, 0x2f, + 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xca, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, + 0x6b, 0x73, 0x12, 0x42, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x43, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, + 0x6e, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2d, 0x6c, 0x6f, 0x67, 0x2d, 0x73, 0x69, + 0x6e, 0x6b, 0x73, 0x12, 0xdf, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, + 0x6b, 0x12, 0x44, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x45, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, + 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x35, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x3a, 0x01, 0x2a, 0x22, 0x2a, 0x2f, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2d, + 0x6c, 0x6f, 0x67, 0x2d, 0x73, 0x69, 0x6e, 0x6b, 0x73, 0x2f, 0x7b, 0x73, 0x70, 0x65, 0x63, 0x2e, + 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xd7, 0x01, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, + 0x69, 0x6e, 0x6b, 0x12, 0x44, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, + 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x45, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x64, 0x69, + 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x2a, 0x25, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2d, 0x6c, + 0x6f, 0x67, 0x2d, 0x73, 0x69, 0x6e, 0x6b, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, + 0x8b, 0x01, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x33, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x34, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x14, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0e, 0x12, + 0x0c, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x12, 0x93, 0x01, + 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x35, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x10, 0x12, 0x0e, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x9f, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x38, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x39, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x19, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x13, 0x3a, 0x01, 0x2a, 0x22, 0x0e, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0xf2, 0x01, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, + 0x69, 0x6e, 0x6b, 0x12, 0x44, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x69, + 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x45, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, + 0x70, 0x6f, 0x72, 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x48, 0xc2, 0x94, 0x1b, 0x0f, 0x12, 0x0d, 0x08, 0x03, 0x12, 0x09, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x3a, 0x01, 0x2a, 0x22, 0x2a, + 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x65, 0x78, + 0x70, 0x6f, 0x72, 0x74, 0x2d, 0x73, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0xed, 0x01, 0x0a, 0x16, 0x47, + 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x72, + 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x12, 0x41, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x69, 0x6e, + 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x42, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, + 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4c, 0xc2, 0x94, + 0x1b, 0x0f, 0x12, 0x0d, 0x08, 0x03, 0x12, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x12, 0x31, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x2d, 0x73, 0x69, + 0x6e, 0x6b, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xe9, 0x01, 0x0a, 0x17, 0x47, + 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x72, + 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x42, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x69, + 0x6e, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x43, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x70, 0x6f, + 0x72, 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x45, 0xc2, 0x94, 0x1b, 0x0f, 0x12, 0x0d, 0x08, 0x03, 0x12, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x12, 0x2a, 0x2f, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, + 0x2d, 0x73, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0xfe, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, + 0x53, 0x69, 0x6e, 0x6b, 0x12, 0x44, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, + 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x45, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, + 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x54, 0xc2, 0x94, 0x1b, 0x0f, 0x12, 0x0d, 0x08, 0x03, 0x12, 0x09, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x3a, 0x01, 0x2a, 0x22, + 0x36, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x65, + 0x78, 0x70, 0x6f, 0x72, 0x74, 0x2d, 0x73, 0x69, 0x6e, 0x6b, 0x73, 0x2f, 0x7b, 0x73, 0x70, 0x65, + 0x63, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xf6, 0x01, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x72, + 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x12, 0x44, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, + 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x45, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x4c, 0xc2, 0x94, 0x1b, 0x0f, 0x12, 0x0d, 0x08, 0x03, 0x12, 0x09, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x2a, 0x31, 0x2f, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, + 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x65, 0x78, 0x70, + 0x6f, 0x72, 0x74, 0x2d, 0x73, 0x69, 0x6e, 0x6b, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, + 0x12, 0x80, 0x02, 0x0a, 0x1b, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x69, 0x6e, 0x6b, + 0x12, 0x46, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x69, 0x6e, + 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x47, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, + 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, + 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x50, 0xc2, 0x94, 0x1b, 0x0f, 0x12, 0x0d, 0x08, 0x03, 0x12, 0x09, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x3a, 0x01, 0x2a, 0x22, + 0x32, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x65, + 0x78, 0x70, 0x6f, 0x72, 0x74, 0x2d, 0x73, 0x69, 0x6e, 0x6b, 0x2d, 0x76, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x65, 0x12, 0xa5, 0x01, 0x0a, 0x0e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4d, 0x69, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x3a, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4d, 0x69, 0x67, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x3a, 0x01, 0x2a, 0x22, 0x11, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x9f, 0x01, 0x0a, 0x0d, + 0x47, 0x65, 0x74, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x2e, + 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x19, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x12, 0x11, 0x2f, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0xab, 0x01, + 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6d, 0x69, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xc6, 0x01, 0x0a, 0x11, + 0x48, 0x61, 0x6e, 0x64, 0x6f, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x12, 0x3c, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x61, 0x6e, 0x64, 0x6f, 0x76, 0x65, 0x72, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x3d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x61, 0x6e, 0x64, 0x6f, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x3a, 0x01, 0x2a, 0x22, 0x29, 0x2f, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6d, 0x69, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x68, 0x61, 0x6e, 0x64, + 0x6f, 0x76, 0x65, 0x72, 0x12, 0xba, 0x01, 0x0a, 0x0e, 0x41, 0x62, 0x6f, 0x72, 0x74, 0x4d, 0x69, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x62, 0x6f, + 0x72, 0x74, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x62, 0x6f, 0x72, 0x74, 0x4d, 0x69, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x3a, 0x01, 0x2a, 0x22, 0x26, 0x2f, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6d, 0x69, + 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x61, 0x62, 0x6f, 0x72, + 0x74, 0x12, 0xc2, 0x01, 0x0a, 0x10, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x4d, 0x69, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x72, 0x6d, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, + 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x3a, 0x01, 0x2a, 0x22, 0x28, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, + 0x7b, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x12, 0xdb, 0x01, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, + 0x65, 0x12, 0x41, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x42, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3a, 0xc2, 0x94, 0x1b, 0x12, 0x12, 0x10, + 0x08, 0x02, 0x12, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x3a, 0x01, 0x2a, 0x22, 0x19, 0x2f, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2d, 0x72, + 0x75, 0x6c, 0x65, 0x73, 0x12, 0xee, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x3e, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3f, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x56, 0xc2, + 0x94, 0x1b, 0x1a, 0x12, 0x18, 0x08, 0x05, 0x12, 0x14, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2d, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x7b, + 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x75, 0x6c, + 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xbc, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x3f, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x40, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x12, 0x19, 0x2f, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2d, 0x72, + 0x75, 0x6c, 0x65, 0x73, 0x12, 0xf7, 0x01, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x12, + 0x41, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x42, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x56, 0xc2, 0x94, 0x1b, 0x1a, 0x12, 0x18, 0x08, 0x05, + 0x12, 0x14, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x72, + 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x2a, 0x30, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x2d, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x2f, 0x7b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0x97, + 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x36, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x17, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x11, 0x12, 0x0f, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0xb5, 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, + 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x35, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x38, 0xc2, 0x94, 0x1b, 0x10, 0x12, 0x0e, 0x08, 0x02, + 0x12, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x1e, 0x12, 0x1c, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x7d, + 0x12, 0xa0, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x12, 0x38, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x3a, + 0x01, 0x2a, 0x22, 0x0f, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x73, 0x12, 0xc1, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x38, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x39, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3b, 0xc2, 0x94, 0x1b, 0x10, + 0x12, 0x0e, 0x08, 0x02, 0x12, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x3a, 0x01, 0x2a, 0x22, 0x1c, 0x2f, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xbe, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x38, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x38, + 0xc2, 0x94, 0x1b, 0x10, 0x12, 0x0e, 0x08, 0x02, 0x12, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x2a, 0x1c, 0x2f, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xed, 0x01, 0x0a, 0x14, 0x53, 0x65, 0x74, + 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x12, 0x3f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x52, 0xc2, 0x94, 0x1b, 0x10, 0x12, 0x0e, 0x08, 0x02, 0x12, 0x0a, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, + 0x3a, 0x01, 0x2a, 0x22, 0x33, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, + 0x7d, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x7d, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x83, 0x02, 0x0a, 0x19, 0x53, 0x65, 0x74, + 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x44, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x55, + 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x45, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x53, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x59, 0xc2, 0x94, 0x1b, 0x10, 0x12, 0x0e, 0x08, 0x02, 0x12, 0x0a, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x3a, + 0x01, 0x2a, 0x22, 0x3a, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x7d, + 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x7b, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0xa1, + 0x02, 0x0a, 0x1e, 0x53, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x12, 0x49, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x4a, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x53, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x68, 0xc2, 0x94, 0x1b, 0x10, 0x12, 0x0e, + 0x08, 0x02, 0x12, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x4e, 0x3a, 0x01, 0x2a, 0x22, 0x49, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2d, 0x61, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x61, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x12, 0xb7, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, + 0x72, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x3b, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, + 0x65, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x6e, 0x64, + 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x3a, 0x01, 0x2a, 0x22, 0x1d, 0x2f, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x75, 0x73, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x12, 0xdf, 0x01, 0x0a, + 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x54, 0x61, 0x67, 0x73, 0x12, 0x3e, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x47, 0xc2, 0x94, 0x1b, 0x0f, 0x12, 0x0d, 0x08, 0x03, 0x12, + 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, + 0x3a, 0x01, 0x2a, 0x22, 0x29, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x7d, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2d, 0x74, 0x61, 0x67, 0x73, 0x12, 0x95, + 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x35, 0x2e, + 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, + 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x18, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x12, 0x12, 0x10, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x74, 0x61, 0x67, + 0x73, 0x2f, 0x6b, 0x65, 0x79, 0x73, 0x12, 0xa4, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x43, 0x75, + 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x39, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x75, 0x73, + 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x2d, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0xbc, 0x01, + 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x12, + 0x38, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, + 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, 0xc2, 0x94, 0x1b, 0x0d, 0x12, 0x0b, 0x08, 0x06, 0x12, 0x07, + 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x2d, 0x72, 0x6f, 0x6c, + 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xad, 0x01, 0x0a, + 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, + 0x65, 0x12, 0x3b, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x75, 0x73, + 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, + 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x18, 0x3a, 0x01, 0x2a, 0x22, 0x13, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, + 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x2d, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0xc8, 0x01, 0x0a, + 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, + 0x65, 0x12, 0x3b, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x75, 0x73, + 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, + 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39, 0xc2, 0x94, + 0x1b, 0x0d, 0x12, 0x0b, 0x08, 0x06, 0x12, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x3a, 0x01, 0x2a, 0x22, 0x1d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x2d, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x2f, 0x7b, 0x72, + 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xc5, 0x01, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x3b, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, + 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, 0xc2, 0x94, 0x1b, 0x0d, 0x12, 0x0b, 0x08, + 0x06, 0x12, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, + 0x2a, 0x1d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x2d, + 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x12, + 0xb9, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, + 0x67, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x3e, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, + 0x3a, 0x01, 0x2a, 0x22, 0x16, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x69, 0x6c, 0x6c, + 0x69, 0x6e, 0x67, 0x2d, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, 0xc1, 0x01, 0x0a, 0x10, + 0x47, 0x65, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, + 0x12, 0x3b, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, + 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, + 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x70, + 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x2c, 0x12, 0x2a, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x69, 0x6c, 0x6c, + 0x69, 0x6e, 0x67, 0x2d, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2f, 0x7b, 0x62, 0x69, 0x6c, + 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x12, + 0xed, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x43, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x61, + 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x44, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0xc2, 0x94, 0x1b, 0x0f, 0x12, 0x0d, 0x08, + 0x03, 0x12, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x7d, 0x2f, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x2d, 0x69, 0x6e, 0x66, 0x6f, 0x1a, + 0x0f, 0xca, 0x94, 0x1b, 0x0b, 0x0a, 0x09, 0x73, 0x61, 0x61, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x3a, + 0x42, 0x9a, 0x02, 0x0a, 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x6f, 0x2e, + 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0xa2, 0x02, 0x04, 0x54, 0x41, 0x43, 0x43, 0xaa, 0x02, 0x22, 0x54, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x41, 0x70, 0x69, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x43, + 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, + 0x22, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x43, 0x6c, + 0x6f, 0x75, 0x64, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x2e, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x5c, 0x41, + 0x70, 0x69, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x26, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x3a, + 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, + 0x75, 0x64, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var file_temporal_api_cloud_cloudservice_v1_service_proto_goTypes = []interface{}{ + (*GetCurrentIdentityRequest)(nil), // 0: temporal.api.cloud.cloudservice.v1.GetCurrentIdentityRequest + (*GetUsersRequest)(nil), // 1: temporal.api.cloud.cloudservice.v1.GetUsersRequest + (*GetUserRequest)(nil), // 2: temporal.api.cloud.cloudservice.v1.GetUserRequest + (*CreateUserRequest)(nil), // 3: temporal.api.cloud.cloudservice.v1.CreateUserRequest + (*UpdateUserRequest)(nil), // 4: temporal.api.cloud.cloudservice.v1.UpdateUserRequest + (*DeleteUserRequest)(nil), // 5: temporal.api.cloud.cloudservice.v1.DeleteUserRequest + (*SetUserNamespaceAccessRequest)(nil), // 6: temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessRequest + (*GetAsyncOperationRequest)(nil), // 7: temporal.api.cloud.cloudservice.v1.GetAsyncOperationRequest + (*CreateNamespaceRequest)(nil), // 8: temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest + (*GetNamespacesRequest)(nil), // 9: temporal.api.cloud.cloudservice.v1.GetNamespacesRequest + (*GetNamespaceIDsRequest)(nil), // 10: temporal.api.cloud.cloudservice.v1.GetNamespaceIDsRequest + (*GetNamespaceRequest)(nil), // 11: temporal.api.cloud.cloudservice.v1.GetNamespaceRequest + (*UpdateNamespaceRequest)(nil), // 12: temporal.api.cloud.cloudservice.v1.UpdateNamespaceRequest + (*RenameCustomSearchAttributeRequest)(nil), // 13: temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest + (*DeleteNamespaceRequest)(nil), // 14: temporal.api.cloud.cloudservice.v1.DeleteNamespaceRequest + (*FailoverNamespaceRegionRequest)(nil), // 15: temporal.api.cloud.cloudservice.v1.FailoverNamespaceRegionRequest + (*AddNamespaceRegionRequest)(nil), // 16: temporal.api.cloud.cloudservice.v1.AddNamespaceRegionRequest + (*DeleteNamespaceRegionRequest)(nil), // 17: temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionRequest + (*GetRegionsRequest)(nil), // 18: temporal.api.cloud.cloudservice.v1.GetRegionsRequest + (*GetRegionRequest)(nil), // 19: temporal.api.cloud.cloudservice.v1.GetRegionRequest + (*GetNexusEndpointsRequest)(nil), // 20: temporal.api.cloud.cloudservice.v1.GetNexusEndpointsRequest + (*GetNexusEndpointRequest)(nil), // 21: temporal.api.cloud.cloudservice.v1.GetNexusEndpointRequest + (*CreateNexusEndpointRequest)(nil), // 22: temporal.api.cloud.cloudservice.v1.CreateNexusEndpointRequest + (*UpdateNexusEndpointRequest)(nil), // 23: temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest + (*DeleteNexusEndpointRequest)(nil), // 24: temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointRequest + (*GetUserGroupsRequest)(nil), // 25: temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest + (*GetUserGroupRequest)(nil), // 26: temporal.api.cloud.cloudservice.v1.GetUserGroupRequest + (*CreateUserGroupRequest)(nil), // 27: temporal.api.cloud.cloudservice.v1.CreateUserGroupRequest + (*UpdateUserGroupRequest)(nil), // 28: temporal.api.cloud.cloudservice.v1.UpdateUserGroupRequest + (*DeleteUserGroupRequest)(nil), // 29: temporal.api.cloud.cloudservice.v1.DeleteUserGroupRequest + (*SetUserGroupNamespaceAccessRequest)(nil), // 30: temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessRequest + (*AddUserGroupMemberRequest)(nil), // 31: temporal.api.cloud.cloudservice.v1.AddUserGroupMemberRequest + (*RemoveUserGroupMemberRequest)(nil), // 32: temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberRequest + (*GetUserGroupMembersRequest)(nil), // 33: temporal.api.cloud.cloudservice.v1.GetUserGroupMembersRequest + (*CreateServiceAccountRequest)(nil), // 34: temporal.api.cloud.cloudservice.v1.CreateServiceAccountRequest + (*GetServiceAccountRequest)(nil), // 35: temporal.api.cloud.cloudservice.v1.GetServiceAccountRequest + (*GetServiceAccountsRequest)(nil), // 36: temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest + (*UpdateServiceAccountRequest)(nil), // 37: temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest + (*SetServiceAccountNamespaceAccessRequest)(nil), // 38: temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest + (*DeleteServiceAccountRequest)(nil), // 39: temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest + (*GetApiKeysRequest)(nil), // 40: temporal.api.cloud.cloudservice.v1.GetApiKeysRequest + (*GetApiKeyRequest)(nil), // 41: temporal.api.cloud.cloudservice.v1.GetApiKeyRequest + (*CreateApiKeyRequest)(nil), // 42: temporal.api.cloud.cloudservice.v1.CreateApiKeyRequest + (*UpdateApiKeyRequest)(nil), // 43: temporal.api.cloud.cloudservice.v1.UpdateApiKeyRequest + (*DeleteApiKeyRequest)(nil), // 44: temporal.api.cloud.cloudservice.v1.DeleteApiKeyRequest + (*GetAuditLogsRequest)(nil), // 45: temporal.api.cloud.cloudservice.v1.GetAuditLogsRequest + (*ValidateAccountAuditLogSinkRequest)(nil), // 46: temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest + (*CreateAccountAuditLogSinkRequest)(nil), // 47: temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkRequest + (*GetAccountAuditLogSinkRequest)(nil), // 48: temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkRequest + (*GetAccountAuditLogSinksRequest)(nil), // 49: temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinksRequest + (*UpdateAccountAuditLogSinkRequest)(nil), // 50: temporal.api.cloud.cloudservice.v1.UpdateAccountAuditLogSinkRequest + (*DeleteAccountAuditLogSinkRequest)(nil), // 51: temporal.api.cloud.cloudservice.v1.DeleteAccountAuditLogSinkRequest + (*GetUsageRequest)(nil), // 52: temporal.api.cloud.cloudservice.v1.GetUsageRequest + (*GetAccountRequest)(nil), // 53: temporal.api.cloud.cloudservice.v1.GetAccountRequest + (*UpdateAccountRequest)(nil), // 54: temporal.api.cloud.cloudservice.v1.UpdateAccountRequest + (*CreateNamespaceExportSinkRequest)(nil), // 55: temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkRequest + (*GetNamespaceExportSinkRequest)(nil), // 56: temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkRequest + (*GetNamespaceExportSinksRequest)(nil), // 57: temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksRequest + (*UpdateNamespaceExportSinkRequest)(nil), // 58: temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkRequest + (*DeleteNamespaceExportSinkRequest)(nil), // 59: temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkRequest + (*ValidateNamespaceExportSinkRequest)(nil), // 60: temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkRequest + (*StartMigrationRequest)(nil), // 61: temporal.api.cloud.cloudservice.v1.StartMigrationRequest + (*GetMigrationsRequest)(nil), // 62: temporal.api.cloud.cloudservice.v1.GetMigrationsRequest + (*GetMigrationRequest)(nil), // 63: temporal.api.cloud.cloudservice.v1.GetMigrationRequest + (*HandoverNamespaceRequest)(nil), // 64: temporal.api.cloud.cloudservice.v1.HandoverNamespaceRequest + (*AbortMigrationRequest)(nil), // 65: temporal.api.cloud.cloudservice.v1.AbortMigrationRequest + (*ConfirmMigrationRequest)(nil), // 66: temporal.api.cloud.cloudservice.v1.ConfirmMigrationRequest + (*CreateConnectivityRuleRequest)(nil), // 67: temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleRequest + (*GetConnectivityRuleRequest)(nil), // 68: temporal.api.cloud.cloudservice.v1.GetConnectivityRuleRequest + (*GetConnectivityRulesRequest)(nil), // 69: temporal.api.cloud.cloudservice.v1.GetConnectivityRulesRequest + (*DeleteConnectivityRuleRequest)(nil), // 70: temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleRequest + (*GetProjectsRequest)(nil), // 71: temporal.api.cloud.cloudservice.v1.GetProjectsRequest + (*GetProjectRequest)(nil), // 72: temporal.api.cloud.cloudservice.v1.GetProjectRequest + (*CreateProjectRequest)(nil), // 73: temporal.api.cloud.cloudservice.v1.CreateProjectRequest + (*UpdateProjectRequest)(nil), // 74: temporal.api.cloud.cloudservice.v1.UpdateProjectRequest + (*DeleteProjectRequest)(nil), // 75: temporal.api.cloud.cloudservice.v1.DeleteProjectRequest + (*SetUserProjectAccessRequest)(nil), // 76: temporal.api.cloud.cloudservice.v1.SetUserProjectAccessRequest + (*SetUserGroupProjectAccessRequest)(nil), // 77: temporal.api.cloud.cloudservice.v1.SetUserGroupProjectAccessRequest + (*SetServiceAccountProjectAccessRequest)(nil), // 78: temporal.api.cloud.cloudservice.v1.SetServiceAccountProjectAccessRequest + (*ResendUserInviteRequest)(nil), // 79: temporal.api.cloud.cloudservice.v1.ResendUserInviteRequest + (*UpdateNamespaceTagsRequest)(nil), // 80: temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest + (*GetTagKeysRequest)(nil), // 81: temporal.api.cloud.cloudservice.v1.GetTagKeysRequest + (*GetCustomRolesRequest)(nil), // 82: temporal.api.cloud.cloudservice.v1.GetCustomRolesRequest + (*GetCustomRoleRequest)(nil), // 83: temporal.api.cloud.cloudservice.v1.GetCustomRoleRequest + (*CreateCustomRoleRequest)(nil), // 84: temporal.api.cloud.cloudservice.v1.CreateCustomRoleRequest + (*UpdateCustomRoleRequest)(nil), // 85: temporal.api.cloud.cloudservice.v1.UpdateCustomRoleRequest + (*DeleteCustomRoleRequest)(nil), // 86: temporal.api.cloud.cloudservice.v1.DeleteCustomRoleRequest + (*CreateBillingReportRequest)(nil), // 87: temporal.api.cloud.cloudservice.v1.CreateBillingReportRequest + (*GetBillingReportRequest)(nil), // 88: temporal.api.cloud.cloudservice.v1.GetBillingReportRequest + (*GetNamespaceCapacityInfoRequest)(nil), // 89: temporal.api.cloud.cloudservice.v1.GetNamespaceCapacityInfoRequest + (*GetCurrentIdentityResponse)(nil), // 90: temporal.api.cloud.cloudservice.v1.GetCurrentIdentityResponse + (*GetUsersResponse)(nil), // 91: temporal.api.cloud.cloudservice.v1.GetUsersResponse + (*GetUserResponse)(nil), // 92: temporal.api.cloud.cloudservice.v1.GetUserResponse + (*CreateUserResponse)(nil), // 93: temporal.api.cloud.cloudservice.v1.CreateUserResponse + (*UpdateUserResponse)(nil), // 94: temporal.api.cloud.cloudservice.v1.UpdateUserResponse + (*DeleteUserResponse)(nil), // 95: temporal.api.cloud.cloudservice.v1.DeleteUserResponse + (*SetUserNamespaceAccessResponse)(nil), // 96: temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessResponse + (*GetAsyncOperationResponse)(nil), // 97: temporal.api.cloud.cloudservice.v1.GetAsyncOperationResponse + (*CreateNamespaceResponse)(nil), // 98: temporal.api.cloud.cloudservice.v1.CreateNamespaceResponse + (*GetNamespacesResponse)(nil), // 99: temporal.api.cloud.cloudservice.v1.GetNamespacesResponse + (*GetNamespaceIDsResponse)(nil), // 100: temporal.api.cloud.cloudservice.v1.GetNamespaceIDsResponse + (*GetNamespaceResponse)(nil), // 101: temporal.api.cloud.cloudservice.v1.GetNamespaceResponse + (*UpdateNamespaceResponse)(nil), // 102: temporal.api.cloud.cloudservice.v1.UpdateNamespaceResponse + (*RenameCustomSearchAttributeResponse)(nil), // 103: temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeResponse + (*DeleteNamespaceResponse)(nil), // 104: temporal.api.cloud.cloudservice.v1.DeleteNamespaceResponse + (*FailoverNamespaceRegionResponse)(nil), // 105: temporal.api.cloud.cloudservice.v1.FailoverNamespaceRegionResponse + (*AddNamespaceRegionResponse)(nil), // 106: temporal.api.cloud.cloudservice.v1.AddNamespaceRegionResponse + (*DeleteNamespaceRegionResponse)(nil), // 107: temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionResponse + (*GetRegionsResponse)(nil), // 108: temporal.api.cloud.cloudservice.v1.GetRegionsResponse + (*GetRegionResponse)(nil), // 109: temporal.api.cloud.cloudservice.v1.GetRegionResponse + (*GetNexusEndpointsResponse)(nil), // 110: temporal.api.cloud.cloudservice.v1.GetNexusEndpointsResponse + (*GetNexusEndpointResponse)(nil), // 111: temporal.api.cloud.cloudservice.v1.GetNexusEndpointResponse + (*CreateNexusEndpointResponse)(nil), // 112: temporal.api.cloud.cloudservice.v1.CreateNexusEndpointResponse + (*UpdateNexusEndpointResponse)(nil), // 113: temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointResponse + (*DeleteNexusEndpointResponse)(nil), // 114: temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointResponse + (*GetUserGroupsResponse)(nil), // 115: temporal.api.cloud.cloudservice.v1.GetUserGroupsResponse + (*GetUserGroupResponse)(nil), // 116: temporal.api.cloud.cloudservice.v1.GetUserGroupResponse + (*CreateUserGroupResponse)(nil), // 117: temporal.api.cloud.cloudservice.v1.CreateUserGroupResponse + (*UpdateUserGroupResponse)(nil), // 118: temporal.api.cloud.cloudservice.v1.UpdateUserGroupResponse + (*DeleteUserGroupResponse)(nil), // 119: temporal.api.cloud.cloudservice.v1.DeleteUserGroupResponse + (*SetUserGroupNamespaceAccessResponse)(nil), // 120: temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessResponse + (*AddUserGroupMemberResponse)(nil), // 121: temporal.api.cloud.cloudservice.v1.AddUserGroupMemberResponse + (*RemoveUserGroupMemberResponse)(nil), // 122: temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberResponse + (*GetUserGroupMembersResponse)(nil), // 123: temporal.api.cloud.cloudservice.v1.GetUserGroupMembersResponse + (*CreateServiceAccountResponse)(nil), // 124: temporal.api.cloud.cloudservice.v1.CreateServiceAccountResponse + (*GetServiceAccountResponse)(nil), // 125: temporal.api.cloud.cloudservice.v1.GetServiceAccountResponse + (*GetServiceAccountsResponse)(nil), // 126: temporal.api.cloud.cloudservice.v1.GetServiceAccountsResponse + (*UpdateServiceAccountResponse)(nil), // 127: temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse + (*SetServiceAccountNamespaceAccessResponse)(nil), // 128: temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse + (*DeleteServiceAccountResponse)(nil), // 129: temporal.api.cloud.cloudservice.v1.DeleteServiceAccountResponse + (*GetApiKeysResponse)(nil), // 130: temporal.api.cloud.cloudservice.v1.GetApiKeysResponse + (*GetApiKeyResponse)(nil), // 131: temporal.api.cloud.cloudservice.v1.GetApiKeyResponse + (*CreateApiKeyResponse)(nil), // 132: temporal.api.cloud.cloudservice.v1.CreateApiKeyResponse + (*UpdateApiKeyResponse)(nil), // 133: temporal.api.cloud.cloudservice.v1.UpdateApiKeyResponse + (*DeleteApiKeyResponse)(nil), // 134: temporal.api.cloud.cloudservice.v1.DeleteApiKeyResponse + (*GetAuditLogsResponse)(nil), // 135: temporal.api.cloud.cloudservice.v1.GetAuditLogsResponse + (*ValidateAccountAuditLogSinkResponse)(nil), // 136: temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse + (*CreateAccountAuditLogSinkResponse)(nil), // 137: temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkResponse + (*GetAccountAuditLogSinkResponse)(nil), // 138: temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkResponse + (*GetAccountAuditLogSinksResponse)(nil), // 139: temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinksResponse + (*UpdateAccountAuditLogSinkResponse)(nil), // 140: temporal.api.cloud.cloudservice.v1.UpdateAccountAuditLogSinkResponse + (*DeleteAccountAuditLogSinkResponse)(nil), // 141: temporal.api.cloud.cloudservice.v1.DeleteAccountAuditLogSinkResponse + (*GetUsageResponse)(nil), // 142: temporal.api.cloud.cloudservice.v1.GetUsageResponse + (*GetAccountResponse)(nil), // 143: temporal.api.cloud.cloudservice.v1.GetAccountResponse + (*UpdateAccountResponse)(nil), // 144: temporal.api.cloud.cloudservice.v1.UpdateAccountResponse + (*CreateNamespaceExportSinkResponse)(nil), // 145: temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkResponse + (*GetNamespaceExportSinkResponse)(nil), // 146: temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkResponse + (*GetNamespaceExportSinksResponse)(nil), // 147: temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksResponse + (*UpdateNamespaceExportSinkResponse)(nil), // 148: temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkResponse + (*DeleteNamespaceExportSinkResponse)(nil), // 149: temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkResponse + (*ValidateNamespaceExportSinkResponse)(nil), // 150: temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkResponse + (*StartMigrationResponse)(nil), // 151: temporal.api.cloud.cloudservice.v1.StartMigrationResponse + (*GetMigrationsResponse)(nil), // 152: temporal.api.cloud.cloudservice.v1.GetMigrationsResponse + (*GetMigrationResponse)(nil), // 153: temporal.api.cloud.cloudservice.v1.GetMigrationResponse + (*HandoverNamespaceResponse)(nil), // 154: temporal.api.cloud.cloudservice.v1.HandoverNamespaceResponse + (*AbortMigrationResponse)(nil), // 155: temporal.api.cloud.cloudservice.v1.AbortMigrationResponse + (*ConfirmMigrationResponse)(nil), // 156: temporal.api.cloud.cloudservice.v1.ConfirmMigrationResponse + (*CreateConnectivityRuleResponse)(nil), // 157: temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleResponse + (*GetConnectivityRuleResponse)(nil), // 158: temporal.api.cloud.cloudservice.v1.GetConnectivityRuleResponse + (*GetConnectivityRulesResponse)(nil), // 159: temporal.api.cloud.cloudservice.v1.GetConnectivityRulesResponse + (*DeleteConnectivityRuleResponse)(nil), // 160: temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse + (*GetProjectsResponse)(nil), // 161: temporal.api.cloud.cloudservice.v1.GetProjectsResponse + (*GetProjectResponse)(nil), // 162: temporal.api.cloud.cloudservice.v1.GetProjectResponse + (*CreateProjectResponse)(nil), // 163: temporal.api.cloud.cloudservice.v1.CreateProjectResponse + (*UpdateProjectResponse)(nil), // 164: temporal.api.cloud.cloudservice.v1.UpdateProjectResponse + (*DeleteProjectResponse)(nil), // 165: temporal.api.cloud.cloudservice.v1.DeleteProjectResponse + (*SetUserProjectAccessResponse)(nil), // 166: temporal.api.cloud.cloudservice.v1.SetUserProjectAccessResponse + (*SetUserGroupProjectAccessResponse)(nil), // 167: temporal.api.cloud.cloudservice.v1.SetUserGroupProjectAccessResponse + (*SetServiceAccountProjectAccessResponse)(nil), // 168: temporal.api.cloud.cloudservice.v1.SetServiceAccountProjectAccessResponse + (*ResendUserInviteResponse)(nil), // 169: temporal.api.cloud.cloudservice.v1.ResendUserInviteResponse + (*UpdateNamespaceTagsResponse)(nil), // 170: temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsResponse + (*GetTagKeysResponse)(nil), // 171: temporal.api.cloud.cloudservice.v1.GetTagKeysResponse + (*GetCustomRolesResponse)(nil), // 172: temporal.api.cloud.cloudservice.v1.GetCustomRolesResponse + (*GetCustomRoleResponse)(nil), // 173: temporal.api.cloud.cloudservice.v1.GetCustomRoleResponse + (*CreateCustomRoleResponse)(nil), // 174: temporal.api.cloud.cloudservice.v1.CreateCustomRoleResponse + (*UpdateCustomRoleResponse)(nil), // 175: temporal.api.cloud.cloudservice.v1.UpdateCustomRoleResponse + (*DeleteCustomRoleResponse)(nil), // 176: temporal.api.cloud.cloudservice.v1.DeleteCustomRoleResponse + (*CreateBillingReportResponse)(nil), // 177: temporal.api.cloud.cloudservice.v1.CreateBillingReportResponse + (*GetBillingReportResponse)(nil), // 178: temporal.api.cloud.cloudservice.v1.GetBillingReportResponse + (*GetNamespaceCapacityInfoResponse)(nil), // 179: temporal.api.cloud.cloudservice.v1.GetNamespaceCapacityInfoResponse +} +var file_temporal_api_cloud_cloudservice_v1_service_proto_depIdxs = []int32{ + 0, // 0: temporal.api.cloud.cloudservice.v1.CloudService.GetCurrentIdentity:input_type -> temporal.api.cloud.cloudservice.v1.GetCurrentIdentityRequest + 1, // 1: temporal.api.cloud.cloudservice.v1.CloudService.GetUsers:input_type -> temporal.api.cloud.cloudservice.v1.GetUsersRequest + 2, // 2: temporal.api.cloud.cloudservice.v1.CloudService.GetUser:input_type -> temporal.api.cloud.cloudservice.v1.GetUserRequest + 3, // 3: temporal.api.cloud.cloudservice.v1.CloudService.CreateUser:input_type -> temporal.api.cloud.cloudservice.v1.CreateUserRequest + 4, // 4: temporal.api.cloud.cloudservice.v1.CloudService.UpdateUser:input_type -> temporal.api.cloud.cloudservice.v1.UpdateUserRequest + 5, // 5: temporal.api.cloud.cloudservice.v1.CloudService.DeleteUser:input_type -> temporal.api.cloud.cloudservice.v1.DeleteUserRequest + 6, // 6: temporal.api.cloud.cloudservice.v1.CloudService.SetUserNamespaceAccess:input_type -> temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessRequest + 7, // 7: temporal.api.cloud.cloudservice.v1.CloudService.GetAsyncOperation:input_type -> temporal.api.cloud.cloudservice.v1.GetAsyncOperationRequest + 8, // 8: temporal.api.cloud.cloudservice.v1.CloudService.CreateNamespace:input_type -> temporal.api.cloud.cloudservice.v1.CreateNamespaceRequest + 9, // 9: temporal.api.cloud.cloudservice.v1.CloudService.GetNamespaces:input_type -> temporal.api.cloud.cloudservice.v1.GetNamespacesRequest + 10, // 10: temporal.api.cloud.cloudservice.v1.CloudService.GetNamespaceIDs:input_type -> temporal.api.cloud.cloudservice.v1.GetNamespaceIDsRequest + 11, // 11: temporal.api.cloud.cloudservice.v1.CloudService.GetNamespace:input_type -> temporal.api.cloud.cloudservice.v1.GetNamespaceRequest + 12, // 12: temporal.api.cloud.cloudservice.v1.CloudService.UpdateNamespace:input_type -> temporal.api.cloud.cloudservice.v1.UpdateNamespaceRequest + 13, // 13: temporal.api.cloud.cloudservice.v1.CloudService.RenameCustomSearchAttribute:input_type -> temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest + 14, // 14: temporal.api.cloud.cloudservice.v1.CloudService.DeleteNamespace:input_type -> temporal.api.cloud.cloudservice.v1.DeleteNamespaceRequest + 15, // 15: temporal.api.cloud.cloudservice.v1.CloudService.FailoverNamespaceRegion:input_type -> temporal.api.cloud.cloudservice.v1.FailoverNamespaceRegionRequest + 16, // 16: temporal.api.cloud.cloudservice.v1.CloudService.AddNamespaceRegion:input_type -> temporal.api.cloud.cloudservice.v1.AddNamespaceRegionRequest + 17, // 17: temporal.api.cloud.cloudservice.v1.CloudService.DeleteNamespaceRegion:input_type -> temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionRequest + 18, // 18: temporal.api.cloud.cloudservice.v1.CloudService.GetRegions:input_type -> temporal.api.cloud.cloudservice.v1.GetRegionsRequest + 19, // 19: temporal.api.cloud.cloudservice.v1.CloudService.GetRegion:input_type -> temporal.api.cloud.cloudservice.v1.GetRegionRequest + 20, // 20: temporal.api.cloud.cloudservice.v1.CloudService.GetNexusEndpoints:input_type -> temporal.api.cloud.cloudservice.v1.GetNexusEndpointsRequest + 21, // 21: temporal.api.cloud.cloudservice.v1.CloudService.GetNexusEndpoint:input_type -> temporal.api.cloud.cloudservice.v1.GetNexusEndpointRequest + 22, // 22: temporal.api.cloud.cloudservice.v1.CloudService.CreateNexusEndpoint:input_type -> temporal.api.cloud.cloudservice.v1.CreateNexusEndpointRequest + 23, // 23: temporal.api.cloud.cloudservice.v1.CloudService.UpdateNexusEndpoint:input_type -> temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest + 24, // 24: temporal.api.cloud.cloudservice.v1.CloudService.DeleteNexusEndpoint:input_type -> temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointRequest + 25, // 25: temporal.api.cloud.cloudservice.v1.CloudService.GetUserGroups:input_type -> temporal.api.cloud.cloudservice.v1.GetUserGroupsRequest + 26, // 26: temporal.api.cloud.cloudservice.v1.CloudService.GetUserGroup:input_type -> temporal.api.cloud.cloudservice.v1.GetUserGroupRequest + 27, // 27: temporal.api.cloud.cloudservice.v1.CloudService.CreateUserGroup:input_type -> temporal.api.cloud.cloudservice.v1.CreateUserGroupRequest + 28, // 28: temporal.api.cloud.cloudservice.v1.CloudService.UpdateUserGroup:input_type -> temporal.api.cloud.cloudservice.v1.UpdateUserGroupRequest + 29, // 29: temporal.api.cloud.cloudservice.v1.CloudService.DeleteUserGroup:input_type -> temporal.api.cloud.cloudservice.v1.DeleteUserGroupRequest + 30, // 30: temporal.api.cloud.cloudservice.v1.CloudService.SetUserGroupNamespaceAccess:input_type -> temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessRequest + 31, // 31: temporal.api.cloud.cloudservice.v1.CloudService.AddUserGroupMember:input_type -> temporal.api.cloud.cloudservice.v1.AddUserGroupMemberRequest + 32, // 32: temporal.api.cloud.cloudservice.v1.CloudService.RemoveUserGroupMember:input_type -> temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberRequest + 33, // 33: temporal.api.cloud.cloudservice.v1.CloudService.GetUserGroupMembers:input_type -> temporal.api.cloud.cloudservice.v1.GetUserGroupMembersRequest + 34, // 34: temporal.api.cloud.cloudservice.v1.CloudService.CreateServiceAccount:input_type -> temporal.api.cloud.cloudservice.v1.CreateServiceAccountRequest + 35, // 35: temporal.api.cloud.cloudservice.v1.CloudService.GetServiceAccount:input_type -> temporal.api.cloud.cloudservice.v1.GetServiceAccountRequest + 36, // 36: temporal.api.cloud.cloudservice.v1.CloudService.GetServiceAccounts:input_type -> temporal.api.cloud.cloudservice.v1.GetServiceAccountsRequest + 37, // 37: temporal.api.cloud.cloudservice.v1.CloudService.UpdateServiceAccount:input_type -> temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest + 38, // 38: temporal.api.cloud.cloudservice.v1.CloudService.SetServiceAccountNamespaceAccess:input_type -> temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest + 39, // 39: temporal.api.cloud.cloudservice.v1.CloudService.DeleteServiceAccount:input_type -> temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest + 40, // 40: temporal.api.cloud.cloudservice.v1.CloudService.GetApiKeys:input_type -> temporal.api.cloud.cloudservice.v1.GetApiKeysRequest + 41, // 41: temporal.api.cloud.cloudservice.v1.CloudService.GetApiKey:input_type -> temporal.api.cloud.cloudservice.v1.GetApiKeyRequest + 42, // 42: temporal.api.cloud.cloudservice.v1.CloudService.CreateApiKey:input_type -> temporal.api.cloud.cloudservice.v1.CreateApiKeyRequest + 43, // 43: temporal.api.cloud.cloudservice.v1.CloudService.UpdateApiKey:input_type -> temporal.api.cloud.cloudservice.v1.UpdateApiKeyRequest + 44, // 44: temporal.api.cloud.cloudservice.v1.CloudService.DeleteApiKey:input_type -> temporal.api.cloud.cloudservice.v1.DeleteApiKeyRequest + 45, // 45: temporal.api.cloud.cloudservice.v1.CloudService.GetAuditLogs:input_type -> temporal.api.cloud.cloudservice.v1.GetAuditLogsRequest + 46, // 46: temporal.api.cloud.cloudservice.v1.CloudService.ValidateAccountAuditLogSink:input_type -> temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest + 47, // 47: temporal.api.cloud.cloudservice.v1.CloudService.CreateAccountAuditLogSink:input_type -> temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkRequest + 48, // 48: temporal.api.cloud.cloudservice.v1.CloudService.GetAccountAuditLogSink:input_type -> temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkRequest + 49, // 49: temporal.api.cloud.cloudservice.v1.CloudService.GetAccountAuditLogSinks:input_type -> temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinksRequest + 50, // 50: temporal.api.cloud.cloudservice.v1.CloudService.UpdateAccountAuditLogSink:input_type -> temporal.api.cloud.cloudservice.v1.UpdateAccountAuditLogSinkRequest + 51, // 51: temporal.api.cloud.cloudservice.v1.CloudService.DeleteAccountAuditLogSink:input_type -> temporal.api.cloud.cloudservice.v1.DeleteAccountAuditLogSinkRequest + 52, // 52: temporal.api.cloud.cloudservice.v1.CloudService.GetUsage:input_type -> temporal.api.cloud.cloudservice.v1.GetUsageRequest + 53, // 53: temporal.api.cloud.cloudservice.v1.CloudService.GetAccount:input_type -> temporal.api.cloud.cloudservice.v1.GetAccountRequest + 54, // 54: temporal.api.cloud.cloudservice.v1.CloudService.UpdateAccount:input_type -> temporal.api.cloud.cloudservice.v1.UpdateAccountRequest + 55, // 55: temporal.api.cloud.cloudservice.v1.CloudService.CreateNamespaceExportSink:input_type -> temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkRequest + 56, // 56: temporal.api.cloud.cloudservice.v1.CloudService.GetNamespaceExportSink:input_type -> temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkRequest + 57, // 57: temporal.api.cloud.cloudservice.v1.CloudService.GetNamespaceExportSinks:input_type -> temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksRequest + 58, // 58: temporal.api.cloud.cloudservice.v1.CloudService.UpdateNamespaceExportSink:input_type -> temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkRequest + 59, // 59: temporal.api.cloud.cloudservice.v1.CloudService.DeleteNamespaceExportSink:input_type -> temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkRequest + 60, // 60: temporal.api.cloud.cloudservice.v1.CloudService.ValidateNamespaceExportSink:input_type -> temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkRequest + 61, // 61: temporal.api.cloud.cloudservice.v1.CloudService.StartMigration:input_type -> temporal.api.cloud.cloudservice.v1.StartMigrationRequest + 62, // 62: temporal.api.cloud.cloudservice.v1.CloudService.GetMigrations:input_type -> temporal.api.cloud.cloudservice.v1.GetMigrationsRequest + 63, // 63: temporal.api.cloud.cloudservice.v1.CloudService.GetMigration:input_type -> temporal.api.cloud.cloudservice.v1.GetMigrationRequest + 64, // 64: temporal.api.cloud.cloudservice.v1.CloudService.HandoverNamespace:input_type -> temporal.api.cloud.cloudservice.v1.HandoverNamespaceRequest + 65, // 65: temporal.api.cloud.cloudservice.v1.CloudService.AbortMigration:input_type -> temporal.api.cloud.cloudservice.v1.AbortMigrationRequest + 66, // 66: temporal.api.cloud.cloudservice.v1.CloudService.ConfirmMigration:input_type -> temporal.api.cloud.cloudservice.v1.ConfirmMigrationRequest + 67, // 67: temporal.api.cloud.cloudservice.v1.CloudService.CreateConnectivityRule:input_type -> temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleRequest + 68, // 68: temporal.api.cloud.cloudservice.v1.CloudService.GetConnectivityRule:input_type -> temporal.api.cloud.cloudservice.v1.GetConnectivityRuleRequest + 69, // 69: temporal.api.cloud.cloudservice.v1.CloudService.GetConnectivityRules:input_type -> temporal.api.cloud.cloudservice.v1.GetConnectivityRulesRequest + 70, // 70: temporal.api.cloud.cloudservice.v1.CloudService.DeleteConnectivityRule:input_type -> temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleRequest + 71, // 71: temporal.api.cloud.cloudservice.v1.CloudService.GetProjects:input_type -> temporal.api.cloud.cloudservice.v1.GetProjectsRequest + 72, // 72: temporal.api.cloud.cloudservice.v1.CloudService.GetProject:input_type -> temporal.api.cloud.cloudservice.v1.GetProjectRequest + 73, // 73: temporal.api.cloud.cloudservice.v1.CloudService.CreateProject:input_type -> temporal.api.cloud.cloudservice.v1.CreateProjectRequest + 74, // 74: temporal.api.cloud.cloudservice.v1.CloudService.UpdateProject:input_type -> temporal.api.cloud.cloudservice.v1.UpdateProjectRequest + 75, // 75: temporal.api.cloud.cloudservice.v1.CloudService.DeleteProject:input_type -> temporal.api.cloud.cloudservice.v1.DeleteProjectRequest + 76, // 76: temporal.api.cloud.cloudservice.v1.CloudService.SetUserProjectAccess:input_type -> temporal.api.cloud.cloudservice.v1.SetUserProjectAccessRequest + 77, // 77: temporal.api.cloud.cloudservice.v1.CloudService.SetUserGroupProjectAccess:input_type -> temporal.api.cloud.cloudservice.v1.SetUserGroupProjectAccessRequest + 78, // 78: temporal.api.cloud.cloudservice.v1.CloudService.SetServiceAccountProjectAccess:input_type -> temporal.api.cloud.cloudservice.v1.SetServiceAccountProjectAccessRequest + 79, // 79: temporal.api.cloud.cloudservice.v1.CloudService.ResendUserInvite:input_type -> temporal.api.cloud.cloudservice.v1.ResendUserInviteRequest + 80, // 80: temporal.api.cloud.cloudservice.v1.CloudService.UpdateNamespaceTags:input_type -> temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsRequest + 81, // 81: temporal.api.cloud.cloudservice.v1.CloudService.GetTagKeys:input_type -> temporal.api.cloud.cloudservice.v1.GetTagKeysRequest + 82, // 82: temporal.api.cloud.cloudservice.v1.CloudService.GetCustomRoles:input_type -> temporal.api.cloud.cloudservice.v1.GetCustomRolesRequest + 83, // 83: temporal.api.cloud.cloudservice.v1.CloudService.GetCustomRole:input_type -> temporal.api.cloud.cloudservice.v1.GetCustomRoleRequest + 84, // 84: temporal.api.cloud.cloudservice.v1.CloudService.CreateCustomRole:input_type -> temporal.api.cloud.cloudservice.v1.CreateCustomRoleRequest + 85, // 85: temporal.api.cloud.cloudservice.v1.CloudService.UpdateCustomRole:input_type -> temporal.api.cloud.cloudservice.v1.UpdateCustomRoleRequest + 86, // 86: temporal.api.cloud.cloudservice.v1.CloudService.DeleteCustomRole:input_type -> temporal.api.cloud.cloudservice.v1.DeleteCustomRoleRequest + 87, // 87: temporal.api.cloud.cloudservice.v1.CloudService.CreateBillingReport:input_type -> temporal.api.cloud.cloudservice.v1.CreateBillingReportRequest + 88, // 88: temporal.api.cloud.cloudservice.v1.CloudService.GetBillingReport:input_type -> temporal.api.cloud.cloudservice.v1.GetBillingReportRequest + 89, // 89: temporal.api.cloud.cloudservice.v1.CloudService.GetNamespaceCapacityInfo:input_type -> temporal.api.cloud.cloudservice.v1.GetNamespaceCapacityInfoRequest + 90, // 90: temporal.api.cloud.cloudservice.v1.CloudService.GetCurrentIdentity:output_type -> temporal.api.cloud.cloudservice.v1.GetCurrentIdentityResponse + 91, // 91: temporal.api.cloud.cloudservice.v1.CloudService.GetUsers:output_type -> temporal.api.cloud.cloudservice.v1.GetUsersResponse + 92, // 92: temporal.api.cloud.cloudservice.v1.CloudService.GetUser:output_type -> temporal.api.cloud.cloudservice.v1.GetUserResponse + 93, // 93: temporal.api.cloud.cloudservice.v1.CloudService.CreateUser:output_type -> temporal.api.cloud.cloudservice.v1.CreateUserResponse + 94, // 94: temporal.api.cloud.cloudservice.v1.CloudService.UpdateUser:output_type -> temporal.api.cloud.cloudservice.v1.UpdateUserResponse + 95, // 95: temporal.api.cloud.cloudservice.v1.CloudService.DeleteUser:output_type -> temporal.api.cloud.cloudservice.v1.DeleteUserResponse + 96, // 96: temporal.api.cloud.cloudservice.v1.CloudService.SetUserNamespaceAccess:output_type -> temporal.api.cloud.cloudservice.v1.SetUserNamespaceAccessResponse + 97, // 97: temporal.api.cloud.cloudservice.v1.CloudService.GetAsyncOperation:output_type -> temporal.api.cloud.cloudservice.v1.GetAsyncOperationResponse + 98, // 98: temporal.api.cloud.cloudservice.v1.CloudService.CreateNamespace:output_type -> temporal.api.cloud.cloudservice.v1.CreateNamespaceResponse + 99, // 99: temporal.api.cloud.cloudservice.v1.CloudService.GetNamespaces:output_type -> temporal.api.cloud.cloudservice.v1.GetNamespacesResponse + 100, // 100: temporal.api.cloud.cloudservice.v1.CloudService.GetNamespaceIDs:output_type -> temporal.api.cloud.cloudservice.v1.GetNamespaceIDsResponse + 101, // 101: temporal.api.cloud.cloudservice.v1.CloudService.GetNamespace:output_type -> temporal.api.cloud.cloudservice.v1.GetNamespaceResponse + 102, // 102: temporal.api.cloud.cloudservice.v1.CloudService.UpdateNamespace:output_type -> temporal.api.cloud.cloudservice.v1.UpdateNamespaceResponse + 103, // 103: temporal.api.cloud.cloudservice.v1.CloudService.RenameCustomSearchAttribute:output_type -> temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeResponse + 104, // 104: temporal.api.cloud.cloudservice.v1.CloudService.DeleteNamespace:output_type -> temporal.api.cloud.cloudservice.v1.DeleteNamespaceResponse + 105, // 105: temporal.api.cloud.cloudservice.v1.CloudService.FailoverNamespaceRegion:output_type -> temporal.api.cloud.cloudservice.v1.FailoverNamespaceRegionResponse + 106, // 106: temporal.api.cloud.cloudservice.v1.CloudService.AddNamespaceRegion:output_type -> temporal.api.cloud.cloudservice.v1.AddNamespaceRegionResponse + 107, // 107: temporal.api.cloud.cloudservice.v1.CloudService.DeleteNamespaceRegion:output_type -> temporal.api.cloud.cloudservice.v1.DeleteNamespaceRegionResponse + 108, // 108: temporal.api.cloud.cloudservice.v1.CloudService.GetRegions:output_type -> temporal.api.cloud.cloudservice.v1.GetRegionsResponse + 109, // 109: temporal.api.cloud.cloudservice.v1.CloudService.GetRegion:output_type -> temporal.api.cloud.cloudservice.v1.GetRegionResponse + 110, // 110: temporal.api.cloud.cloudservice.v1.CloudService.GetNexusEndpoints:output_type -> temporal.api.cloud.cloudservice.v1.GetNexusEndpointsResponse + 111, // 111: temporal.api.cloud.cloudservice.v1.CloudService.GetNexusEndpoint:output_type -> temporal.api.cloud.cloudservice.v1.GetNexusEndpointResponse + 112, // 112: temporal.api.cloud.cloudservice.v1.CloudService.CreateNexusEndpoint:output_type -> temporal.api.cloud.cloudservice.v1.CreateNexusEndpointResponse + 113, // 113: temporal.api.cloud.cloudservice.v1.CloudService.UpdateNexusEndpoint:output_type -> temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointResponse + 114, // 114: temporal.api.cloud.cloudservice.v1.CloudService.DeleteNexusEndpoint:output_type -> temporal.api.cloud.cloudservice.v1.DeleteNexusEndpointResponse + 115, // 115: temporal.api.cloud.cloudservice.v1.CloudService.GetUserGroups:output_type -> temporal.api.cloud.cloudservice.v1.GetUserGroupsResponse + 116, // 116: temporal.api.cloud.cloudservice.v1.CloudService.GetUserGroup:output_type -> temporal.api.cloud.cloudservice.v1.GetUserGroupResponse + 117, // 117: temporal.api.cloud.cloudservice.v1.CloudService.CreateUserGroup:output_type -> temporal.api.cloud.cloudservice.v1.CreateUserGroupResponse + 118, // 118: temporal.api.cloud.cloudservice.v1.CloudService.UpdateUserGroup:output_type -> temporal.api.cloud.cloudservice.v1.UpdateUserGroupResponse + 119, // 119: temporal.api.cloud.cloudservice.v1.CloudService.DeleteUserGroup:output_type -> temporal.api.cloud.cloudservice.v1.DeleteUserGroupResponse + 120, // 120: temporal.api.cloud.cloudservice.v1.CloudService.SetUserGroupNamespaceAccess:output_type -> temporal.api.cloud.cloudservice.v1.SetUserGroupNamespaceAccessResponse + 121, // 121: temporal.api.cloud.cloudservice.v1.CloudService.AddUserGroupMember:output_type -> temporal.api.cloud.cloudservice.v1.AddUserGroupMemberResponse + 122, // 122: temporal.api.cloud.cloudservice.v1.CloudService.RemoveUserGroupMember:output_type -> temporal.api.cloud.cloudservice.v1.RemoveUserGroupMemberResponse + 123, // 123: temporal.api.cloud.cloudservice.v1.CloudService.GetUserGroupMembers:output_type -> temporal.api.cloud.cloudservice.v1.GetUserGroupMembersResponse + 124, // 124: temporal.api.cloud.cloudservice.v1.CloudService.CreateServiceAccount:output_type -> temporal.api.cloud.cloudservice.v1.CreateServiceAccountResponse + 125, // 125: temporal.api.cloud.cloudservice.v1.CloudService.GetServiceAccount:output_type -> temporal.api.cloud.cloudservice.v1.GetServiceAccountResponse + 126, // 126: temporal.api.cloud.cloudservice.v1.CloudService.GetServiceAccounts:output_type -> temporal.api.cloud.cloudservice.v1.GetServiceAccountsResponse + 127, // 127: temporal.api.cloud.cloudservice.v1.CloudService.UpdateServiceAccount:output_type -> temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse + 128, // 128: temporal.api.cloud.cloudservice.v1.CloudService.SetServiceAccountNamespaceAccess:output_type -> temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse + 129, // 129: temporal.api.cloud.cloudservice.v1.CloudService.DeleteServiceAccount:output_type -> temporal.api.cloud.cloudservice.v1.DeleteServiceAccountResponse + 130, // 130: temporal.api.cloud.cloudservice.v1.CloudService.GetApiKeys:output_type -> temporal.api.cloud.cloudservice.v1.GetApiKeysResponse + 131, // 131: temporal.api.cloud.cloudservice.v1.CloudService.GetApiKey:output_type -> temporal.api.cloud.cloudservice.v1.GetApiKeyResponse + 132, // 132: temporal.api.cloud.cloudservice.v1.CloudService.CreateApiKey:output_type -> temporal.api.cloud.cloudservice.v1.CreateApiKeyResponse + 133, // 133: temporal.api.cloud.cloudservice.v1.CloudService.UpdateApiKey:output_type -> temporal.api.cloud.cloudservice.v1.UpdateApiKeyResponse + 134, // 134: temporal.api.cloud.cloudservice.v1.CloudService.DeleteApiKey:output_type -> temporal.api.cloud.cloudservice.v1.DeleteApiKeyResponse + 135, // 135: temporal.api.cloud.cloudservice.v1.CloudService.GetAuditLogs:output_type -> temporal.api.cloud.cloudservice.v1.GetAuditLogsResponse + 136, // 136: temporal.api.cloud.cloudservice.v1.CloudService.ValidateAccountAuditLogSink:output_type -> temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse + 137, // 137: temporal.api.cloud.cloudservice.v1.CloudService.CreateAccountAuditLogSink:output_type -> temporal.api.cloud.cloudservice.v1.CreateAccountAuditLogSinkResponse + 138, // 138: temporal.api.cloud.cloudservice.v1.CloudService.GetAccountAuditLogSink:output_type -> temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinkResponse + 139, // 139: temporal.api.cloud.cloudservice.v1.CloudService.GetAccountAuditLogSinks:output_type -> temporal.api.cloud.cloudservice.v1.GetAccountAuditLogSinksResponse + 140, // 140: temporal.api.cloud.cloudservice.v1.CloudService.UpdateAccountAuditLogSink:output_type -> temporal.api.cloud.cloudservice.v1.UpdateAccountAuditLogSinkResponse + 141, // 141: temporal.api.cloud.cloudservice.v1.CloudService.DeleteAccountAuditLogSink:output_type -> temporal.api.cloud.cloudservice.v1.DeleteAccountAuditLogSinkResponse + 142, // 142: temporal.api.cloud.cloudservice.v1.CloudService.GetUsage:output_type -> temporal.api.cloud.cloudservice.v1.GetUsageResponse + 143, // 143: temporal.api.cloud.cloudservice.v1.CloudService.GetAccount:output_type -> temporal.api.cloud.cloudservice.v1.GetAccountResponse + 144, // 144: temporal.api.cloud.cloudservice.v1.CloudService.UpdateAccount:output_type -> temporal.api.cloud.cloudservice.v1.UpdateAccountResponse + 145, // 145: temporal.api.cloud.cloudservice.v1.CloudService.CreateNamespaceExportSink:output_type -> temporal.api.cloud.cloudservice.v1.CreateNamespaceExportSinkResponse + 146, // 146: temporal.api.cloud.cloudservice.v1.CloudService.GetNamespaceExportSink:output_type -> temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinkResponse + 147, // 147: temporal.api.cloud.cloudservice.v1.CloudService.GetNamespaceExportSinks:output_type -> temporal.api.cloud.cloudservice.v1.GetNamespaceExportSinksResponse + 148, // 148: temporal.api.cloud.cloudservice.v1.CloudService.UpdateNamespaceExportSink:output_type -> temporal.api.cloud.cloudservice.v1.UpdateNamespaceExportSinkResponse + 149, // 149: temporal.api.cloud.cloudservice.v1.CloudService.DeleteNamespaceExportSink:output_type -> temporal.api.cloud.cloudservice.v1.DeleteNamespaceExportSinkResponse + 150, // 150: temporal.api.cloud.cloudservice.v1.CloudService.ValidateNamespaceExportSink:output_type -> temporal.api.cloud.cloudservice.v1.ValidateNamespaceExportSinkResponse + 151, // 151: temporal.api.cloud.cloudservice.v1.CloudService.StartMigration:output_type -> temporal.api.cloud.cloudservice.v1.StartMigrationResponse + 152, // 152: temporal.api.cloud.cloudservice.v1.CloudService.GetMigrations:output_type -> temporal.api.cloud.cloudservice.v1.GetMigrationsResponse + 153, // 153: temporal.api.cloud.cloudservice.v1.CloudService.GetMigration:output_type -> temporal.api.cloud.cloudservice.v1.GetMigrationResponse + 154, // 154: temporal.api.cloud.cloudservice.v1.CloudService.HandoverNamespace:output_type -> temporal.api.cloud.cloudservice.v1.HandoverNamespaceResponse + 155, // 155: temporal.api.cloud.cloudservice.v1.CloudService.AbortMigration:output_type -> temporal.api.cloud.cloudservice.v1.AbortMigrationResponse + 156, // 156: temporal.api.cloud.cloudservice.v1.CloudService.ConfirmMigration:output_type -> temporal.api.cloud.cloudservice.v1.ConfirmMigrationResponse + 157, // 157: temporal.api.cloud.cloudservice.v1.CloudService.CreateConnectivityRule:output_type -> temporal.api.cloud.cloudservice.v1.CreateConnectivityRuleResponse + 158, // 158: temporal.api.cloud.cloudservice.v1.CloudService.GetConnectivityRule:output_type -> temporal.api.cloud.cloudservice.v1.GetConnectivityRuleResponse + 159, // 159: temporal.api.cloud.cloudservice.v1.CloudService.GetConnectivityRules:output_type -> temporal.api.cloud.cloudservice.v1.GetConnectivityRulesResponse + 160, // 160: temporal.api.cloud.cloudservice.v1.CloudService.DeleteConnectivityRule:output_type -> temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse + 161, // 161: temporal.api.cloud.cloudservice.v1.CloudService.GetProjects:output_type -> temporal.api.cloud.cloudservice.v1.GetProjectsResponse + 162, // 162: temporal.api.cloud.cloudservice.v1.CloudService.GetProject:output_type -> temporal.api.cloud.cloudservice.v1.GetProjectResponse + 163, // 163: temporal.api.cloud.cloudservice.v1.CloudService.CreateProject:output_type -> temporal.api.cloud.cloudservice.v1.CreateProjectResponse + 164, // 164: temporal.api.cloud.cloudservice.v1.CloudService.UpdateProject:output_type -> temporal.api.cloud.cloudservice.v1.UpdateProjectResponse + 165, // 165: temporal.api.cloud.cloudservice.v1.CloudService.DeleteProject:output_type -> temporal.api.cloud.cloudservice.v1.DeleteProjectResponse + 166, // 166: temporal.api.cloud.cloudservice.v1.CloudService.SetUserProjectAccess:output_type -> temporal.api.cloud.cloudservice.v1.SetUserProjectAccessResponse + 167, // 167: temporal.api.cloud.cloudservice.v1.CloudService.SetUserGroupProjectAccess:output_type -> temporal.api.cloud.cloudservice.v1.SetUserGroupProjectAccessResponse + 168, // 168: temporal.api.cloud.cloudservice.v1.CloudService.SetServiceAccountProjectAccess:output_type -> temporal.api.cloud.cloudservice.v1.SetServiceAccountProjectAccessResponse + 169, // 169: temporal.api.cloud.cloudservice.v1.CloudService.ResendUserInvite:output_type -> temporal.api.cloud.cloudservice.v1.ResendUserInviteResponse + 170, // 170: temporal.api.cloud.cloudservice.v1.CloudService.UpdateNamespaceTags:output_type -> temporal.api.cloud.cloudservice.v1.UpdateNamespaceTagsResponse + 171, // 171: temporal.api.cloud.cloudservice.v1.CloudService.GetTagKeys:output_type -> temporal.api.cloud.cloudservice.v1.GetTagKeysResponse + 172, // 172: temporal.api.cloud.cloudservice.v1.CloudService.GetCustomRoles:output_type -> temporal.api.cloud.cloudservice.v1.GetCustomRolesResponse + 173, // 173: temporal.api.cloud.cloudservice.v1.CloudService.GetCustomRole:output_type -> temporal.api.cloud.cloudservice.v1.GetCustomRoleResponse + 174, // 174: temporal.api.cloud.cloudservice.v1.CloudService.CreateCustomRole:output_type -> temporal.api.cloud.cloudservice.v1.CreateCustomRoleResponse + 175, // 175: temporal.api.cloud.cloudservice.v1.CloudService.UpdateCustomRole:output_type -> temporal.api.cloud.cloudservice.v1.UpdateCustomRoleResponse + 176, // 176: temporal.api.cloud.cloudservice.v1.CloudService.DeleteCustomRole:output_type -> temporal.api.cloud.cloudservice.v1.DeleteCustomRoleResponse + 177, // 177: temporal.api.cloud.cloudservice.v1.CloudService.CreateBillingReport:output_type -> temporal.api.cloud.cloudservice.v1.CreateBillingReportResponse + 178, // 178: temporal.api.cloud.cloudservice.v1.CloudService.GetBillingReport:output_type -> temporal.api.cloud.cloudservice.v1.GetBillingReportResponse + 179, // 179: temporal.api.cloud.cloudservice.v1.CloudService.GetNamespaceCapacityInfo:output_type -> temporal.api.cloud.cloudservice.v1.GetNamespaceCapacityInfoResponse + 90, // [90:180] is the sub-list for method output_type + 0, // [0:90] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_temporal_api_cloud_cloudservice_v1_service_proto_init() } +func file_temporal_api_cloud_cloudservice_v1_service_proto_init() { + if File_temporal_api_cloud_cloudservice_v1_service_proto != nil { + return + } + file_temporal_api_cloud_cloudservice_v1_request_response_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_temporal_api_cloud_cloudservice_v1_service_proto_rawDesc, + NumEnums: 0, + NumMessages: 0, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_temporal_api_cloud_cloudservice_v1_service_proto_goTypes, + DependencyIndexes: file_temporal_api_cloud_cloudservice_v1_service_proto_depIdxs, + }.Build() + File_temporal_api_cloud_cloudservice_v1_service_proto = out.File + file_temporal_api_cloud_cloudservice_v1_service_proto_rawDesc = nil + file_temporal_api_cloud_cloudservice_v1_service_proto_goTypes = nil + file_temporal_api_cloud_cloudservice_v1_service_proto_depIdxs = nil } diff --git a/protogen/api/cloud/cloudservice/v1/service_authz.pb.go b/protogen/api/cloud/cloudservice/v1/service_authz.pb.go new file mode 100644 index 00000000..ffc69309 --- /dev/null +++ b/protogen/api/cloud/cloudservice/v1/service_authz.pb.go @@ -0,0 +1,744 @@ +// Code generated by protoc-gen-go-codegen. DO NOT EDIT. + +package cloudservice + +import ( + authz "github.com/temporalio/saas-proto/authz" + runtime "github.com/temporalio/saas-proto/authz/runtime" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" +) + +// _CloudService_SetUserNamespaceAccess_ExtractResourceID extracts resource IDs from SetUserNamespaceAccessRequest using generated code. +func _CloudService_SetUserNamespaceAccess_ExtractResourceID(req *SetUserNamespaceAccessRequest, template string) (string, error) { + switch template { + case "namespace": + return req.Namespace, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_GetAsyncOperation_ExtractResourceID extracts resource IDs from GetAsyncOperationRequest using generated code. +func _CloudService_GetAsyncOperation_ExtractResourceID(req *GetAsyncOperationRequest, template string) (string, error) { + switch template { + case "": + return "", nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_CreateNamespace_ExtractResourceID extracts resource IDs from CreateNamespaceRequest using generated code. +func _CloudService_CreateNamespace_ExtractResourceID(req *CreateNamespaceRequest, template string) (string, error) { + switch template { + case "project_id": + return req.ProjectId, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_GetNamespace_ExtractResourceID extracts resource IDs from GetNamespaceRequest using generated code. +func _CloudService_GetNamespace_ExtractResourceID(req *GetNamespaceRequest, template string) (string, error) { + switch template { + case "namespace": + return req.Namespace, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_UpdateNamespace_ExtractResourceID extracts resource IDs from UpdateNamespaceRequest using generated code. +func _CloudService_UpdateNamespace_ExtractResourceID(req *UpdateNamespaceRequest, template string) (string, error) { + switch template { + case "namespace": + return req.Namespace, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_RenameCustomSearchAttribute_ExtractResourceID extracts resource IDs from RenameCustomSearchAttributeRequest using generated code. +func _CloudService_RenameCustomSearchAttribute_ExtractResourceID(req *RenameCustomSearchAttributeRequest, template string) (string, error) { + switch template { + case "namespace": + return req.Namespace, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_DeleteNamespace_ExtractResourceID extracts resource IDs from DeleteNamespaceRequest using generated code. +func _CloudService_DeleteNamespace_ExtractResourceID(req *DeleteNamespaceRequest, template string) (string, error) { + switch template { + case "namespace": + return req.Namespace, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_FailoverNamespaceRegion_ExtractResourceID extracts resource IDs from FailoverNamespaceRegionRequest using generated code. +func _CloudService_FailoverNamespaceRegion_ExtractResourceID(req *FailoverNamespaceRegionRequest, template string) (string, error) { + switch template { + case "namespace": + return req.Namespace, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_AddNamespaceRegion_ExtractResourceID extracts resource IDs from AddNamespaceRegionRequest using generated code. +func _CloudService_AddNamespaceRegion_ExtractResourceID(req *AddNamespaceRegionRequest, template string) (string, error) { + switch template { + case "namespace": + return req.Namespace, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_DeleteNamespaceRegion_ExtractResourceID extracts resource IDs from DeleteNamespaceRegionRequest using generated code. +func _CloudService_DeleteNamespaceRegion_ExtractResourceID(req *DeleteNamespaceRegionRequest, template string) (string, error) { + switch template { + case "namespace": + return req.Namespace, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_GetNexusEndpoint_ExtractResourceID extracts resource IDs from GetNexusEndpointRequest using generated code. +func _CloudService_GetNexusEndpoint_ExtractResourceID(req *GetNexusEndpointRequest, template string) (string, error) { + switch template { + case "endpoint_id": + return req.EndpointId, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_CreateNexusEndpoint_ExtractResourceID extracts resource IDs from CreateNexusEndpointRequest using generated code. +func _CloudService_CreateNexusEndpoint_ExtractResourceID(req *CreateNexusEndpointRequest, template string) (string, error) { + switch template { + case "project_id": + return req.ProjectId, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_UpdateNexusEndpoint_ExtractResourceID extracts resource IDs from UpdateNexusEndpointRequest using generated code. +func _CloudService_UpdateNexusEndpoint_ExtractResourceID(req *UpdateNexusEndpointRequest, template string) (string, error) { + switch template { + case "endpoint_id": + return req.EndpointId, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_DeleteNexusEndpoint_ExtractResourceID extracts resource IDs from DeleteNexusEndpointRequest using generated code. +func _CloudService_DeleteNexusEndpoint_ExtractResourceID(req *DeleteNexusEndpointRequest, template string) (string, error) { + switch template { + case "endpoint_id": + return req.EndpointId, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_SetUserGroupNamespaceAccess_ExtractResourceID extracts resource IDs from SetUserGroupNamespaceAccessRequest using generated code. +func _CloudService_SetUserGroupNamespaceAccess_ExtractResourceID(req *SetUserGroupNamespaceAccessRequest, template string) (string, error) { + switch template { + case "namespace": + return req.Namespace, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_CreateServiceAccount_ExtractResourceID extracts resource IDs from CreateServiceAccountRequest using generated code. +func _CloudService_CreateServiceAccount_ExtractResourceID(req *CreateServiceAccountRequest, template string) (string, error) { + switch template { + case "": + return "", nil + case "spec.namespace_scoped_access.namespace": + if req.Spec == nil { + return "", nil + } + if req.Spec.NamespaceScopedAccess == nil { + return "", nil + } + return req.Spec.NamespaceScopedAccess.Namespace, nil + case "spec.project_scoped_access.project_id": + if req.Spec == nil { + return "", nil + } + if req.Spec.ProjectScopedAccess == nil { + return "", nil + } + return req.Spec.ProjectScopedAccess.ProjectId, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_SetServiceAccountNamespaceAccess_ExtractResourceID extracts resource IDs from SetServiceAccountNamespaceAccessRequest using generated code. +func _CloudService_SetServiceAccountNamespaceAccess_ExtractResourceID(req *SetServiceAccountNamespaceAccessRequest, template string) (string, error) { + switch template { + case "namespace": + return req.Namespace, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_CreateNamespaceExportSink_ExtractResourceID extracts resource IDs from CreateNamespaceExportSinkRequest using generated code. +func _CloudService_CreateNamespaceExportSink_ExtractResourceID(req *CreateNamespaceExportSinkRequest, template string) (string, error) { + switch template { + case "namespace": + return req.Namespace, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_GetNamespaceExportSink_ExtractResourceID extracts resource IDs from GetNamespaceExportSinkRequest using generated code. +func _CloudService_GetNamespaceExportSink_ExtractResourceID(req *GetNamespaceExportSinkRequest, template string) (string, error) { + switch template { + case "namespace": + return req.Namespace, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_GetNamespaceExportSinks_ExtractResourceID extracts resource IDs from GetNamespaceExportSinksRequest using generated code. +func _CloudService_GetNamespaceExportSinks_ExtractResourceID(req *GetNamespaceExportSinksRequest, template string) (string, error) { + switch template { + case "namespace": + return req.Namespace, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_UpdateNamespaceExportSink_ExtractResourceID extracts resource IDs from UpdateNamespaceExportSinkRequest using generated code. +func _CloudService_UpdateNamespaceExportSink_ExtractResourceID(req *UpdateNamespaceExportSinkRequest, template string) (string, error) { + switch template { + case "namespace": + return req.Namespace, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_DeleteNamespaceExportSink_ExtractResourceID extracts resource IDs from DeleteNamespaceExportSinkRequest using generated code. +func _CloudService_DeleteNamespaceExportSink_ExtractResourceID(req *DeleteNamespaceExportSinkRequest, template string) (string, error) { + switch template { + case "namespace": + return req.Namespace, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_ValidateNamespaceExportSink_ExtractResourceID extracts resource IDs from ValidateNamespaceExportSinkRequest using generated code. +func _CloudService_ValidateNamespaceExportSink_ExtractResourceID(req *ValidateNamespaceExportSinkRequest, template string) (string, error) { + switch template { + case "namespace": + return req.Namespace, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_CreateConnectivityRule_ExtractResourceID extracts resource IDs from CreateConnectivityRuleRequest using generated code. +func _CloudService_CreateConnectivityRule_ExtractResourceID(req *CreateConnectivityRuleRequest, template string) (string, error) { + switch template { + case "project_id": + return req.ProjectId, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_GetConnectivityRule_ExtractResourceID extracts resource IDs from GetConnectivityRuleRequest using generated code. +func _CloudService_GetConnectivityRule_ExtractResourceID(req *GetConnectivityRuleRequest, template string) (string, error) { + switch template { + case "connectivity_rule_id": + return req.ConnectivityRuleId, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_DeleteConnectivityRule_ExtractResourceID extracts resource IDs from DeleteConnectivityRuleRequest using generated code. +func _CloudService_DeleteConnectivityRule_ExtractResourceID(req *DeleteConnectivityRuleRequest, template string) (string, error) { + switch template { + case "connectivity_rule_id": + return req.ConnectivityRuleId, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_GetProject_ExtractResourceID extracts resource IDs from GetProjectRequest using generated code. +func _CloudService_GetProject_ExtractResourceID(req *GetProjectRequest, template string) (string, error) { + switch template { + case "project_id": + return req.ProjectId, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_UpdateProject_ExtractResourceID extracts resource IDs from UpdateProjectRequest using generated code. +func _CloudService_UpdateProject_ExtractResourceID(req *UpdateProjectRequest, template string) (string, error) { + switch template { + case "project_id": + return req.ProjectId, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_DeleteProject_ExtractResourceID extracts resource IDs from DeleteProjectRequest using generated code. +func _CloudService_DeleteProject_ExtractResourceID(req *DeleteProjectRequest, template string) (string, error) { + switch template { + case "project_id": + return req.ProjectId, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_SetUserProjectAccess_ExtractResourceID extracts resource IDs from SetUserProjectAccessRequest using generated code. +func _CloudService_SetUserProjectAccess_ExtractResourceID(req *SetUserProjectAccessRequest, template string) (string, error) { + switch template { + case "project_id": + return req.ProjectId, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_SetUserGroupProjectAccess_ExtractResourceID extracts resource IDs from SetUserGroupProjectAccessRequest using generated code. +func _CloudService_SetUserGroupProjectAccess_ExtractResourceID(req *SetUserGroupProjectAccessRequest, template string) (string, error) { + switch template { + case "project_id": + return req.ProjectId, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_SetServiceAccountProjectAccess_ExtractResourceID extracts resource IDs from SetServiceAccountProjectAccessRequest using generated code. +func _CloudService_SetServiceAccountProjectAccess_ExtractResourceID(req *SetServiceAccountProjectAccessRequest, template string) (string, error) { + switch template { + case "project_id": + return req.ProjectId, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_UpdateNamespaceTags_ExtractResourceID extracts resource IDs from UpdateNamespaceTagsRequest using generated code. +func _CloudService_UpdateNamespaceTags_ExtractResourceID(req *UpdateNamespaceTagsRequest, template string) (string, error) { + switch template { + case "namespace": + return req.Namespace, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_GetCustomRole_ExtractResourceID extracts resource IDs from GetCustomRoleRequest using generated code. +func _CloudService_GetCustomRole_ExtractResourceID(req *GetCustomRoleRequest, template string) (string, error) { + switch template { + case "role_id": + return req.RoleId, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_UpdateCustomRole_ExtractResourceID extracts resource IDs from UpdateCustomRoleRequest using generated code. +func _CloudService_UpdateCustomRole_ExtractResourceID(req *UpdateCustomRoleRequest, template string) (string, error) { + switch template { + case "role_id": + return req.RoleId, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_DeleteCustomRole_ExtractResourceID extracts resource IDs from DeleteCustomRoleRequest using generated code. +func _CloudService_DeleteCustomRole_ExtractResourceID(req *DeleteCustomRoleRequest, template string) (string, error) { + switch template { + case "role_id": + return req.RoleId, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +// _CloudService_GetNamespaceCapacityInfo_ExtractResourceID extracts resource IDs from GetNamespaceCapacityInfoRequest using generated code. +func _CloudService_GetNamespaceCapacityInfo_ExtractResourceID(req *GetNamespaceCapacityInfoRequest, template string) (string, error) { + switch template { + case "namespace": + return req.Namespace, nil + default: + return "", status.Errorf(codes.Internal, "unknown template: %s", template) + } +} + +func RegisterCloudServiceAuthzInfo(r authz.ServiceRegistrar) { + r.RegisterAuthzInfoService(CloudServiceAuthzInfoDesc) +} + +func getServiceDesc_CloudService() protoreflect.ServiceDescriptor { + return File_temporal_api_cloud_cloudservice_v1_service_proto.Services().ByName("CloudService") +} + +var CloudServiceAuthzInfoDesc = authz.AuthzInfoServiceDesc{ + ServiceName: "temporal.api.cloud.cloudservice.v1.CloudService", + Methods: []authz.MethodAuthzDesc{ + { + MethodName: "SetUserNamespaceAccess", + Handler: runtime.MakeAuthzHandler[*SetUserNamespaceAccessRequest]( + getServiceDesc_CloudService, + "SetUserNamespaceAccess", + "saas-api:SetUserNamespaceAccess", + _CloudService_SetUserNamespaceAccess_ExtractResourceID, + ), + }, + { + MethodName: "GetAsyncOperation", + Handler: runtime.MakeAuthzHandler[*GetAsyncOperationRequest]( + getServiceDesc_CloudService, + "GetAsyncOperation", + "saas-api:GetAsyncOperation", + _CloudService_GetAsyncOperation_ExtractResourceID, + ), + }, + { + MethodName: "CreateNamespace", + Handler: runtime.MakeAuthzHandler[*CreateNamespaceRequest]( + getServiceDesc_CloudService, + "CreateNamespace", + "saas-api:CreateNamespace", + _CloudService_CreateNamespace_ExtractResourceID, + ), + }, + { + MethodName: "GetNamespace", + Handler: runtime.MakeAuthzHandler[*GetNamespaceRequest]( + getServiceDesc_CloudService, + "GetNamespace", + "saas-api:GetNamespace", + _CloudService_GetNamespace_ExtractResourceID, + ), + }, + { + MethodName: "UpdateNamespace", + Handler: runtime.MakeAuthzHandler[*UpdateNamespaceRequest]( + getServiceDesc_CloudService, + "UpdateNamespace", + "saas-api:UpdateNamespace", + _CloudService_UpdateNamespace_ExtractResourceID, + ), + }, + { + MethodName: "RenameCustomSearchAttribute", + Handler: runtime.MakeAuthzHandler[*RenameCustomSearchAttributeRequest]( + getServiceDesc_CloudService, + "RenameCustomSearchAttribute", + "saas-api:RenameCustomSearchAttribute", + _CloudService_RenameCustomSearchAttribute_ExtractResourceID, + ), + }, + { + MethodName: "DeleteNamespace", + Handler: runtime.MakeAuthzHandler[*DeleteNamespaceRequest]( + getServiceDesc_CloudService, + "DeleteNamespace", + "saas-api:DeleteNamespace", + _CloudService_DeleteNamespace_ExtractResourceID, + ), + }, + { + MethodName: "FailoverNamespaceRegion", + Handler: runtime.MakeAuthzHandler[*FailoverNamespaceRegionRequest]( + getServiceDesc_CloudService, + "FailoverNamespaceRegion", + "saas-api:FailoverNamespaceRegion", + _CloudService_FailoverNamespaceRegion_ExtractResourceID, + ), + }, + { + MethodName: "AddNamespaceRegion", + Handler: runtime.MakeAuthzHandler[*AddNamespaceRegionRequest]( + getServiceDesc_CloudService, + "AddNamespaceRegion", + "saas-api:AddNamespaceRegion", + _CloudService_AddNamespaceRegion_ExtractResourceID, + ), + }, + { + MethodName: "DeleteNamespaceRegion", + Handler: runtime.MakeAuthzHandler[*DeleteNamespaceRegionRequest]( + getServiceDesc_CloudService, + "DeleteNamespaceRegion", + "saas-api:DeleteNamespaceRegion", + _CloudService_DeleteNamespaceRegion_ExtractResourceID, + ), + }, + { + MethodName: "GetNexusEndpoint", + Handler: runtime.MakeAuthzHandler[*GetNexusEndpointRequest]( + getServiceDesc_CloudService, + "GetNexusEndpoint", + "saas-api:GetNexusEndpoint", + _CloudService_GetNexusEndpoint_ExtractResourceID, + ), + }, + { + MethodName: "CreateNexusEndpoint", + Handler: runtime.MakeAuthzHandler[*CreateNexusEndpointRequest]( + getServiceDesc_CloudService, + "CreateNexusEndpoint", + "saas-api:CreateNexusEndpoint", + _CloudService_CreateNexusEndpoint_ExtractResourceID, + ), + }, + { + MethodName: "UpdateNexusEndpoint", + Handler: runtime.MakeAuthzHandler[*UpdateNexusEndpointRequest]( + getServiceDesc_CloudService, + "UpdateNexusEndpoint", + "saas-api:UpdateNexusEndpoint", + _CloudService_UpdateNexusEndpoint_ExtractResourceID, + ), + }, + { + MethodName: "DeleteNexusEndpoint", + Handler: runtime.MakeAuthzHandler[*DeleteNexusEndpointRequest]( + getServiceDesc_CloudService, + "DeleteNexusEndpoint", + "saas-api:DeleteNexusEndpoint", + _CloudService_DeleteNexusEndpoint_ExtractResourceID, + ), + }, + { + MethodName: "SetUserGroupNamespaceAccess", + Handler: runtime.MakeAuthzHandler[*SetUserGroupNamespaceAccessRequest]( + getServiceDesc_CloudService, + "SetUserGroupNamespaceAccess", + "saas-api:SetUserGroupNamespaceAccess", + _CloudService_SetUserGroupNamespaceAccess_ExtractResourceID, + ), + }, + { + MethodName: "CreateServiceAccount", + Handler: runtime.MakeAuthzHandler[*CreateServiceAccountRequest]( + getServiceDesc_CloudService, + "CreateServiceAccount", + "saas-api:CreateServiceAccount", + _CloudService_CreateServiceAccount_ExtractResourceID, + ), + }, + { + MethodName: "SetServiceAccountNamespaceAccess", + Handler: runtime.MakeAuthzHandler[*SetServiceAccountNamespaceAccessRequest]( + getServiceDesc_CloudService, + "SetServiceAccountNamespaceAccess", + "saas-api:SetServiceAccountNamespaceAccess", + _CloudService_SetServiceAccountNamespaceAccess_ExtractResourceID, + ), + }, + { + MethodName: "CreateNamespaceExportSink", + Handler: runtime.MakeAuthzHandler[*CreateNamespaceExportSinkRequest]( + getServiceDesc_CloudService, + "CreateNamespaceExportSink", + "saas-api:CreateNamespaceExportSink", + _CloudService_CreateNamespaceExportSink_ExtractResourceID, + ), + }, + { + MethodName: "GetNamespaceExportSink", + Handler: runtime.MakeAuthzHandler[*GetNamespaceExportSinkRequest]( + getServiceDesc_CloudService, + "GetNamespaceExportSink", + "saas-api:GetNamespaceExportSink", + _CloudService_GetNamespaceExportSink_ExtractResourceID, + ), + }, + { + MethodName: "GetNamespaceExportSinks", + Handler: runtime.MakeAuthzHandler[*GetNamespaceExportSinksRequest]( + getServiceDesc_CloudService, + "GetNamespaceExportSinks", + "saas-api:GetNamespaceExportSinks", + _CloudService_GetNamespaceExportSinks_ExtractResourceID, + ), + }, + { + MethodName: "UpdateNamespaceExportSink", + Handler: runtime.MakeAuthzHandler[*UpdateNamespaceExportSinkRequest]( + getServiceDesc_CloudService, + "UpdateNamespaceExportSink", + "saas-api:UpdateNamespaceExportSink", + _CloudService_UpdateNamespaceExportSink_ExtractResourceID, + ), + }, + { + MethodName: "DeleteNamespaceExportSink", + Handler: runtime.MakeAuthzHandler[*DeleteNamespaceExportSinkRequest]( + getServiceDesc_CloudService, + "DeleteNamespaceExportSink", + "saas-api:DeleteNamespaceExportSink", + _CloudService_DeleteNamespaceExportSink_ExtractResourceID, + ), + }, + { + MethodName: "ValidateNamespaceExportSink", + Handler: runtime.MakeAuthzHandler[*ValidateNamespaceExportSinkRequest]( + getServiceDesc_CloudService, + "ValidateNamespaceExportSink", + "saas-api:ValidateNamespaceExportSink", + _CloudService_ValidateNamespaceExportSink_ExtractResourceID, + ), + }, + { + MethodName: "CreateConnectivityRule", + Handler: runtime.MakeAuthzHandler[*CreateConnectivityRuleRequest]( + getServiceDesc_CloudService, + "CreateConnectivityRule", + "saas-api:CreateConnectivityRule", + _CloudService_CreateConnectivityRule_ExtractResourceID, + ), + }, + { + MethodName: "GetConnectivityRule", + Handler: runtime.MakeAuthzHandler[*GetConnectivityRuleRequest]( + getServiceDesc_CloudService, + "GetConnectivityRule", + "saas-api:GetConnectivityRule", + _CloudService_GetConnectivityRule_ExtractResourceID, + ), + }, + { + MethodName: "DeleteConnectivityRule", + Handler: runtime.MakeAuthzHandler[*DeleteConnectivityRuleRequest]( + getServiceDesc_CloudService, + "DeleteConnectivityRule", + "saas-api:DeleteConnectivityRule", + _CloudService_DeleteConnectivityRule_ExtractResourceID, + ), + }, + { + MethodName: "GetProject", + Handler: runtime.MakeAuthzHandler[*GetProjectRequest]( + getServiceDesc_CloudService, + "GetProject", + "saas-api:GetProject", + _CloudService_GetProject_ExtractResourceID, + ), + }, + { + MethodName: "UpdateProject", + Handler: runtime.MakeAuthzHandler[*UpdateProjectRequest]( + getServiceDesc_CloudService, + "UpdateProject", + "saas-api:UpdateProject", + _CloudService_UpdateProject_ExtractResourceID, + ), + }, + { + MethodName: "DeleteProject", + Handler: runtime.MakeAuthzHandler[*DeleteProjectRequest]( + getServiceDesc_CloudService, + "DeleteProject", + "saas-api:DeleteProject", + _CloudService_DeleteProject_ExtractResourceID, + ), + }, + { + MethodName: "SetUserProjectAccess", + Handler: runtime.MakeAuthzHandler[*SetUserProjectAccessRequest]( + getServiceDesc_CloudService, + "SetUserProjectAccess", + "saas-api:SetUserProjectAccess", + _CloudService_SetUserProjectAccess_ExtractResourceID, + ), + }, + { + MethodName: "SetUserGroupProjectAccess", + Handler: runtime.MakeAuthzHandler[*SetUserGroupProjectAccessRequest]( + getServiceDesc_CloudService, + "SetUserGroupProjectAccess", + "saas-api:SetUserGroupProjectAccess", + _CloudService_SetUserGroupProjectAccess_ExtractResourceID, + ), + }, + { + MethodName: "SetServiceAccountProjectAccess", + Handler: runtime.MakeAuthzHandler[*SetServiceAccountProjectAccessRequest]( + getServiceDesc_CloudService, + "SetServiceAccountProjectAccess", + "saas-api:SetServiceAccountProjectAccess", + _CloudService_SetServiceAccountProjectAccess_ExtractResourceID, + ), + }, + { + MethodName: "UpdateNamespaceTags", + Handler: runtime.MakeAuthzHandler[*UpdateNamespaceTagsRequest]( + getServiceDesc_CloudService, + "UpdateNamespaceTags", + "saas-api:UpdateNamespaceTags", + _CloudService_UpdateNamespaceTags_ExtractResourceID, + ), + }, + { + MethodName: "GetCustomRole", + Handler: runtime.MakeAuthzHandler[*GetCustomRoleRequest]( + getServiceDesc_CloudService, + "GetCustomRole", + "saas-api:GetCustomRole", + _CloudService_GetCustomRole_ExtractResourceID, + ), + }, + { + MethodName: "UpdateCustomRole", + Handler: runtime.MakeAuthzHandler[*UpdateCustomRoleRequest]( + getServiceDesc_CloudService, + "UpdateCustomRole", + "saas-api:UpdateCustomRole", + _CloudService_UpdateCustomRole_ExtractResourceID, + ), + }, + { + MethodName: "DeleteCustomRole", + Handler: runtime.MakeAuthzHandler[*DeleteCustomRoleRequest]( + getServiceDesc_CloudService, + "DeleteCustomRole", + "saas-api:DeleteCustomRole", + _CloudService_DeleteCustomRole_ExtractResourceID, + ), + }, + { + MethodName: "GetNamespaceCapacityInfo", + Handler: runtime.MakeAuthzHandler[*GetNamespaceCapacityInfoRequest]( + getServiceDesc_CloudService, + "GetNamespaceCapacityInfo", + "saas-api:GetNamespaceCapacityInfo", + _CloudService_GetNamespaceCapacityInfo_ExtractResourceID, + ), + }, + }, +} diff --git a/protogen/api/cloud/cloudservice/v1/service_grpc.pb.go b/protogen/api/cloud/cloudservice/v1/service_grpc.pb.go new file mode 100644 index 00000000..36404e19 --- /dev/null +++ b/protogen/api/cloud/cloudservice/v1/service_grpc.pb.go @@ -0,0 +1,3562 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc (unknown) +// source: temporal/api/cloud/cloudservice/v1/service.proto + +package cloudservice + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// CloudServiceClient is the client API for CloudService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type CloudServiceClient interface { + // Get information about the current authenticated user or service account principal + // temporal:dev + GetCurrentIdentity(ctx context.Context, in *GetCurrentIdentityRequest, opts ...grpc.CallOption) (*GetCurrentIdentityResponse, error) + // Gets all known users + GetUsers(ctx context.Context, in *GetUsersRequest, opts ...grpc.CallOption) (*GetUsersResponse, error) + // Get a user + GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) + // Create a user + CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error) + // Update a user + UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error) + // Delete a user + DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error) + // Set a user's access to a namespace + SetUserNamespaceAccess(ctx context.Context, in *SetUserNamespaceAccessRequest, opts ...grpc.CallOption) (*SetUserNamespaceAccessResponse, error) + // Get the latest information on an async operation + GetAsyncOperation(ctx context.Context, in *GetAsyncOperationRequest, opts ...grpc.CallOption) (*GetAsyncOperationResponse, error) + // Create a new namespace + CreateNamespace(ctx context.Context, in *CreateNamespaceRequest, opts ...grpc.CallOption) (*CreateNamespaceResponse, error) + // Get all namespaces + GetNamespaces(ctx context.Context, in *GetNamespacesRequest, opts ...grpc.CallOption) (*GetNamespacesResponse, error) + // Get all namespace ids + // temporal:ui + GetNamespaceIDs(ctx context.Context, in *GetNamespaceIDsRequest, opts ...grpc.CallOption) (*GetNamespaceIDsResponse, error) + // Get a namespace + GetNamespace(ctx context.Context, in *GetNamespaceRequest, opts ...grpc.CallOption) (*GetNamespaceResponse, error) + // Update a namespace + UpdateNamespace(ctx context.Context, in *UpdateNamespaceRequest, opts ...grpc.CallOption) (*UpdateNamespaceResponse, error) + // Rename an existing customer search attribute + RenameCustomSearchAttribute(ctx context.Context, in *RenameCustomSearchAttributeRequest, opts ...grpc.CallOption) (*RenameCustomSearchAttributeResponse, error) + // Delete a namespace + DeleteNamespace(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*DeleteNamespaceResponse, error) + // Deprecated: Do not use. + // Failover a multi-region namespace + // Deprecated: Use the UpdateNamespace() to set the `preferred_primary_replica_name` on the replica in the high availability spec instead. + FailoverNamespaceRegion(ctx context.Context, in *FailoverNamespaceRegionRequest, opts ...grpc.CallOption) (*FailoverNamespaceRegionResponse, error) + // Deprecated: Do not use. + // Add a new region to a namespace + // Deprecated: Use the UpdateNamespace() to add new replica in the namespace spec instead. + AddNamespaceRegion(ctx context.Context, in *AddNamespaceRegionRequest, opts ...grpc.CallOption) (*AddNamespaceRegionResponse, error) + // Deprecated: Do not use. + // Delete a region from a namespace + // Deprecated: Use the UpdateNamespace() to delete a replica in the namespace spec instead. + DeleteNamespaceRegion(ctx context.Context, in *DeleteNamespaceRegionRequest, opts ...grpc.CallOption) (*DeleteNamespaceRegionResponse, error) + // Get all regions + GetRegions(ctx context.Context, in *GetRegionsRequest, opts ...grpc.CallOption) (*GetRegionsResponse, error) + // Get a region + GetRegion(ctx context.Context, in *GetRegionRequest, opts ...grpc.CallOption) (*GetRegionResponse, error) + // Gets nexus endpoints + GetNexusEndpoints(ctx context.Context, in *GetNexusEndpointsRequest, opts ...grpc.CallOption) (*GetNexusEndpointsResponse, error) + // Get a nexus endpoint + GetNexusEndpoint(ctx context.Context, in *GetNexusEndpointRequest, opts ...grpc.CallOption) (*GetNexusEndpointResponse, error) + // Create a nexus endpoint + CreateNexusEndpoint(ctx context.Context, in *CreateNexusEndpointRequest, opts ...grpc.CallOption) (*CreateNexusEndpointResponse, error) + // Update a nexus endpoint + UpdateNexusEndpoint(ctx context.Context, in *UpdateNexusEndpointRequest, opts ...grpc.CallOption) (*UpdateNexusEndpointResponse, error) + // Delete a nexus endpoint + DeleteNexusEndpoint(ctx context.Context, in *DeleteNexusEndpointRequest, opts ...grpc.CallOption) (*DeleteNexusEndpointResponse, error) + // Get all user groups + GetUserGroups(ctx context.Context, in *GetUserGroupsRequest, opts ...grpc.CallOption) (*GetUserGroupsResponse, error) + // Get a user group + GetUserGroup(ctx context.Context, in *GetUserGroupRequest, opts ...grpc.CallOption) (*GetUserGroupResponse, error) + // Create new a user group + CreateUserGroup(ctx context.Context, in *CreateUserGroupRequest, opts ...grpc.CallOption) (*CreateUserGroupResponse, error) + // Update a user group + UpdateUserGroup(ctx context.Context, in *UpdateUserGroupRequest, opts ...grpc.CallOption) (*UpdateUserGroupResponse, error) + // Delete a user group + DeleteUserGroup(ctx context.Context, in *DeleteUserGroupRequest, opts ...grpc.CallOption) (*DeleteUserGroupResponse, error) + // Set a user group's access to a namespace + SetUserGroupNamespaceAccess(ctx context.Context, in *SetUserGroupNamespaceAccessRequest, opts ...grpc.CallOption) (*SetUserGroupNamespaceAccessResponse, error) + // Add a member to the group, can only be used with Cloud group types. + AddUserGroupMember(ctx context.Context, in *AddUserGroupMemberRequest, opts ...grpc.CallOption) (*AddUserGroupMemberResponse, error) + // Remove a member from the group, can only be used with Cloud group types. + RemoveUserGroupMember(ctx context.Context, in *RemoveUserGroupMemberRequest, opts ...grpc.CallOption) (*RemoveUserGroupMemberResponse, error) + GetUserGroupMembers(ctx context.Context, in *GetUserGroupMembersRequest, opts ...grpc.CallOption) (*GetUserGroupMembersResponse, error) + // Create a service account. + CreateServiceAccount(ctx context.Context, in *CreateServiceAccountRequest, opts ...grpc.CallOption) (*CreateServiceAccountResponse, error) + // Get a service account. + GetServiceAccount(ctx context.Context, in *GetServiceAccountRequest, opts ...grpc.CallOption) (*GetServiceAccountResponse, error) + // Get service accounts. + GetServiceAccounts(ctx context.Context, in *GetServiceAccountsRequest, opts ...grpc.CallOption) (*GetServiceAccountsResponse, error) + // Update a service account. + UpdateServiceAccount(ctx context.Context, in *UpdateServiceAccountRequest, opts ...grpc.CallOption) (*UpdateServiceAccountResponse, error) + // Set a service account's access to a namespace. + SetServiceAccountNamespaceAccess(ctx context.Context, in *SetServiceAccountNamespaceAccessRequest, opts ...grpc.CallOption) (*SetServiceAccountNamespaceAccessResponse, error) + // Delete a service account. + DeleteServiceAccount(ctx context.Context, in *DeleteServiceAccountRequest, opts ...grpc.CallOption) (*DeleteServiceAccountResponse, error) + // Get all known API keys + GetApiKeys(ctx context.Context, in *GetApiKeysRequest, opts ...grpc.CallOption) (*GetApiKeysResponse, error) + // Get an API key + GetApiKey(ctx context.Context, in *GetApiKeyRequest, opts ...grpc.CallOption) (*GetApiKeyResponse, error) + // Create an API key + CreateApiKey(ctx context.Context, in *CreateApiKeyRequest, opts ...grpc.CallOption) (*CreateApiKeyResponse, error) + // Update an API key + UpdateApiKey(ctx context.Context, in *UpdateApiKeyRequest, opts ...grpc.CallOption) (*UpdateApiKeyResponse, error) + // Delete an API key + DeleteApiKey(ctx context.Context, in *DeleteApiKeyRequest, opts ...grpc.CallOption) (*DeleteApiKeyResponse, error) + // Get audit logs + GetAuditLogs(ctx context.Context, in *GetAuditLogsRequest, opts ...grpc.CallOption) (*GetAuditLogsResponse, error) + // Validate customer audit log sink is accessible from Temporal's workflow by delivering an empty file to the specified sink. + // The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs. + ValidateAccountAuditLogSink(ctx context.Context, in *ValidateAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*ValidateAccountAuditLogSinkResponse, error) + // Create an audit log sink + CreateAccountAuditLogSink(ctx context.Context, in *CreateAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*CreateAccountAuditLogSinkResponse, error) + // Get an audit log sink + GetAccountAuditLogSink(ctx context.Context, in *GetAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*GetAccountAuditLogSinkResponse, error) + // Get audit log sinks + GetAccountAuditLogSinks(ctx context.Context, in *GetAccountAuditLogSinksRequest, opts ...grpc.CallOption) (*GetAccountAuditLogSinksResponse, error) + // Update an audit log sink + UpdateAccountAuditLogSink(ctx context.Context, in *UpdateAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*UpdateAccountAuditLogSinkResponse, error) + // Delete an audit log sink + DeleteAccountAuditLogSink(ctx context.Context, in *DeleteAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*DeleteAccountAuditLogSinkResponse, error) + // Get usage + GetUsage(ctx context.Context, in *GetUsageRequest, opts ...grpc.CallOption) (*GetUsageResponse, error) + // Get account information + GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*GetAccountResponse, error) + // Update account information + UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...grpc.CallOption) (*UpdateAccountResponse, error) + // Create an export sink + CreateNamespaceExportSink(ctx context.Context, in *CreateNamespaceExportSinkRequest, opts ...grpc.CallOption) (*CreateNamespaceExportSinkResponse, error) + // Get an export sink + GetNamespaceExportSink(ctx context.Context, in *GetNamespaceExportSinkRequest, opts ...grpc.CallOption) (*GetNamespaceExportSinkResponse, error) + // Get export sinks + GetNamespaceExportSinks(ctx context.Context, in *GetNamespaceExportSinksRequest, opts ...grpc.CallOption) (*GetNamespaceExportSinksResponse, error) + // Update an export sink + UpdateNamespaceExportSink(ctx context.Context, in *UpdateNamespaceExportSinkRequest, opts ...grpc.CallOption) (*UpdateNamespaceExportSinkResponse, error) + // Delete an export sink + DeleteNamespaceExportSink(ctx context.Context, in *DeleteNamespaceExportSinkRequest, opts ...grpc.CallOption) (*DeleteNamespaceExportSinkResponse, error) + // Validates an export sink configuration by delivering an empty test file to the specified sink. + // This operation verifies that the sink is correctly configured, accessible, and ready for data export. + ValidateNamespaceExportSink(ctx context.Context, in *ValidateNamespaceExportSinkRequest, opts ...grpc.CallOption) (*ValidateNamespaceExportSinkResponse, error) + // Starts a namespace migration + // temporal:dev + StartMigration(ctx context.Context, in *StartMigrationRequest, opts ...grpc.CallOption) (*StartMigrationResponse, error) + // Get namespace migrations for an account + // temporal:dev + GetMigrations(ctx context.Context, in *GetMigrationsRequest, opts ...grpc.CallOption) (*GetMigrationsResponse, error) + // Get a namespace migration + // temporal:dev + GetMigration(ctx context.Context, in *GetMigrationRequest, opts ...grpc.CallOption) (*GetMigrationResponse, error) + // Handover the namespace during a migration, which switches the active and passive replicas + // temporal:dev + HandoverNamespace(ctx context.Context, in *HandoverNamespaceRequest, opts ...grpc.CallOption) (*HandoverNamespaceResponse, error) + // Abort a namespace migration + // temporal:dev + AbortMigration(ctx context.Context, in *AbortMigrationRequest, opts ...grpc.CallOption) (*AbortMigrationResponse, error) + // Confirm a namespace migration, which completes the migration + // temporal:dev + ConfirmMigration(ctx context.Context, in *ConfirmMigrationRequest, opts ...grpc.CallOption) (*ConfirmMigrationResponse, error) + // Creates a connectivity rule + CreateConnectivityRule(ctx context.Context, in *CreateConnectivityRuleRequest, opts ...grpc.CallOption) (*CreateConnectivityRuleResponse, error) + // Gets a connectivity rule by id + GetConnectivityRule(ctx context.Context, in *GetConnectivityRuleRequest, opts ...grpc.CallOption) (*GetConnectivityRuleResponse, error) + // Lists connectivity rules by account + GetConnectivityRules(ctx context.Context, in *GetConnectivityRulesRequest, opts ...grpc.CallOption) (*GetConnectivityRulesResponse, error) + // Deletes a connectivity rule + DeleteConnectivityRule(ctx context.Context, in *DeleteConnectivityRuleRequest, opts ...grpc.CallOption) (*DeleteConnectivityRuleResponse, error) + // Get all projects + // temporal:dev + GetProjects(ctx context.Context, in *GetProjectsRequest, opts ...grpc.CallOption) (*GetProjectsResponse, error) + // Get a projects + // temporal:dev + GetProject(ctx context.Context, in *GetProjectRequest, opts ...grpc.CallOption) (*GetProjectResponse, error) + // Create new a projects + // temporal:dev + CreateProject(ctx context.Context, in *CreateProjectRequest, opts ...grpc.CallOption) (*CreateProjectResponse, error) + // Update a projects + // temporal:dev + UpdateProject(ctx context.Context, in *UpdateProjectRequest, opts ...grpc.CallOption) (*UpdateProjectResponse, error) + // Delete a projects + // temporal:dev + DeleteProject(ctx context.Context, in *DeleteProjectRequest, opts ...grpc.CallOption) (*DeleteProjectResponse, error) + // Set a user's access to a project + // temporal:dev + SetUserProjectAccess(ctx context.Context, in *SetUserProjectAccessRequest, opts ...grpc.CallOption) (*SetUserProjectAccessResponse, error) + // Set a user group's access to a project + // temporal:dev + SetUserGroupProjectAccess(ctx context.Context, in *SetUserGroupProjectAccessRequest, opts ...grpc.CallOption) (*SetUserGroupProjectAccessResponse, error) + // Set a service account's access to a project. + // temporal:dev + SetServiceAccountProjectAccess(ctx context.Context, in *SetServiceAccountProjectAccessRequest, opts ...grpc.CallOption) (*SetServiceAccountProjectAccessResponse, error) + // Resend a user invite + // temporal:ui + ResendUserInvite(ctx context.Context, in *ResendUserInviteRequest, opts ...grpc.CallOption) (*ResendUserInviteResponse, error) + // Updates tags for a namespace + UpdateNamespaceTags(ctx context.Context, in *UpdateNamespaceTagsRequest, opts ...grpc.CallOption) (*UpdateNamespaceTagsResponse, error) + // Get tag keys + // temporal:ui + GetTagKeys(ctx context.Context, in *GetTagKeysRequest, opts ...grpc.CallOption) (*GetTagKeysResponse, error) + // Get custom roles + // temporal:dev + GetCustomRoles(ctx context.Context, in *GetCustomRolesRequest, opts ...grpc.CallOption) (*GetCustomRolesResponse, error) + // Get a custom role + // temporal:dev + GetCustomRole(ctx context.Context, in *GetCustomRoleRequest, opts ...grpc.CallOption) (*GetCustomRoleResponse, error) + // Create a custom role + // temporal:dev + CreateCustomRole(ctx context.Context, in *CreateCustomRoleRequest, opts ...grpc.CallOption) (*CreateCustomRoleResponse, error) + // Update a custom role + // temporal:dev + UpdateCustomRole(ctx context.Context, in *UpdateCustomRoleRequest, opts ...grpc.CallOption) (*UpdateCustomRoleResponse, error) + // Delete a custom role + // temporal:dev + DeleteCustomRole(ctx context.Context, in *DeleteCustomRoleRequest, opts ...grpc.CallOption) (*DeleteCustomRoleResponse, error) + // Create a billing report + // temporal:dev + CreateBillingReport(ctx context.Context, in *CreateBillingReportRequest, opts ...grpc.CallOption) (*CreateBillingReportResponse, error) + // Get a billing report + // temporal:dev + GetBillingReport(ctx context.Context, in *GetBillingReportRequest, opts ...grpc.CallOption) (*GetBillingReportResponse, error) + // GetNamespaceCapacityInfo returns capacity information for a namespace. + // This includes provisioned capacity options, on-demand limits, and 7 + // day historical APS statistics useful for capacity planning. + // temporal:dev + GetNamespaceCapacityInfo(ctx context.Context, in *GetNamespaceCapacityInfoRequest, opts ...grpc.CallOption) (*GetNamespaceCapacityInfoResponse, error) +} + +type cloudServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewCloudServiceClient(cc grpc.ClientConnInterface) CloudServiceClient { + return &cloudServiceClient{cc} +} + +func (c *cloudServiceClient) GetCurrentIdentity(ctx context.Context, in *GetCurrentIdentityRequest, opts ...grpc.CallOption) (*GetCurrentIdentityResponse, error) { + out := new(GetCurrentIdentityResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetCurrentIdentity", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetUsers(ctx context.Context, in *GetUsersRequest, opts ...grpc.CallOption) (*GetUsersResponse, error) { + out := new(GetUsersResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetUsers", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) { + out := new(GetUserResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetUser", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error) { + out := new(CreateUserResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/CreateUser", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error) { + out := new(UpdateUserResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateUser", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error) { + out := new(DeleteUserResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteUser", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) SetUserNamespaceAccess(ctx context.Context, in *SetUserNamespaceAccessRequest, opts ...grpc.CallOption) (*SetUserNamespaceAccessResponse, error) { + out := new(SetUserNamespaceAccessResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/SetUserNamespaceAccess", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetAsyncOperation(ctx context.Context, in *GetAsyncOperationRequest, opts ...grpc.CallOption) (*GetAsyncOperationResponse, error) { + out := new(GetAsyncOperationResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetAsyncOperation", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) CreateNamespace(ctx context.Context, in *CreateNamespaceRequest, opts ...grpc.CallOption) (*CreateNamespaceResponse, error) { + out := new(CreateNamespaceResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/CreateNamespace", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetNamespaces(ctx context.Context, in *GetNamespacesRequest, opts ...grpc.CallOption) (*GetNamespacesResponse, error) { + out := new(GetNamespacesResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaces", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetNamespaceIDs(ctx context.Context, in *GetNamespaceIDsRequest, opts ...grpc.CallOption) (*GetNamespaceIDsResponse, error) { + out := new(GetNamespaceIDsResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaceIDs", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetNamespace(ctx context.Context, in *GetNamespaceRequest, opts ...grpc.CallOption) (*GetNamespaceResponse, error) { + out := new(GetNamespaceResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespace", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) UpdateNamespace(ctx context.Context, in *UpdateNamespaceRequest, opts ...grpc.CallOption) (*UpdateNamespaceResponse, error) { + out := new(UpdateNamespaceResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateNamespace", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) RenameCustomSearchAttribute(ctx context.Context, in *RenameCustomSearchAttributeRequest, opts ...grpc.CallOption) (*RenameCustomSearchAttributeResponse, error) { + out := new(RenameCustomSearchAttributeResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/RenameCustomSearchAttribute", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) DeleteNamespace(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*DeleteNamespaceResponse, error) { + out := new(DeleteNamespaceResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteNamespace", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// Deprecated: Do not use. +func (c *cloudServiceClient) FailoverNamespaceRegion(ctx context.Context, in *FailoverNamespaceRegionRequest, opts ...grpc.CallOption) (*FailoverNamespaceRegionResponse, error) { + out := new(FailoverNamespaceRegionResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/FailoverNamespaceRegion", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// Deprecated: Do not use. +func (c *cloudServiceClient) AddNamespaceRegion(ctx context.Context, in *AddNamespaceRegionRequest, opts ...grpc.CallOption) (*AddNamespaceRegionResponse, error) { + out := new(AddNamespaceRegionResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/AddNamespaceRegion", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// Deprecated: Do not use. +func (c *cloudServiceClient) DeleteNamespaceRegion(ctx context.Context, in *DeleteNamespaceRegionRequest, opts ...grpc.CallOption) (*DeleteNamespaceRegionResponse, error) { + out := new(DeleteNamespaceRegionResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteNamespaceRegion", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetRegions(ctx context.Context, in *GetRegionsRequest, opts ...grpc.CallOption) (*GetRegionsResponse, error) { + out := new(GetRegionsResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetRegions", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetRegion(ctx context.Context, in *GetRegionRequest, opts ...grpc.CallOption) (*GetRegionResponse, error) { + out := new(GetRegionResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetRegion", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetNexusEndpoints(ctx context.Context, in *GetNexusEndpointsRequest, opts ...grpc.CallOption) (*GetNexusEndpointsResponse, error) { + out := new(GetNexusEndpointsResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetNexusEndpoints", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetNexusEndpoint(ctx context.Context, in *GetNexusEndpointRequest, opts ...grpc.CallOption) (*GetNexusEndpointResponse, error) { + out := new(GetNexusEndpointResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetNexusEndpoint", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) CreateNexusEndpoint(ctx context.Context, in *CreateNexusEndpointRequest, opts ...grpc.CallOption) (*CreateNexusEndpointResponse, error) { + out := new(CreateNexusEndpointResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/CreateNexusEndpoint", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) UpdateNexusEndpoint(ctx context.Context, in *UpdateNexusEndpointRequest, opts ...grpc.CallOption) (*UpdateNexusEndpointResponse, error) { + out := new(UpdateNexusEndpointResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateNexusEndpoint", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) DeleteNexusEndpoint(ctx context.Context, in *DeleteNexusEndpointRequest, opts ...grpc.CallOption) (*DeleteNexusEndpointResponse, error) { + out := new(DeleteNexusEndpointResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteNexusEndpoint", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetUserGroups(ctx context.Context, in *GetUserGroupsRequest, opts ...grpc.CallOption) (*GetUserGroupsResponse, error) { + out := new(GetUserGroupsResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetUserGroups", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetUserGroup(ctx context.Context, in *GetUserGroupRequest, opts ...grpc.CallOption) (*GetUserGroupResponse, error) { + out := new(GetUserGroupResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetUserGroup", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) CreateUserGroup(ctx context.Context, in *CreateUserGroupRequest, opts ...grpc.CallOption) (*CreateUserGroupResponse, error) { + out := new(CreateUserGroupResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/CreateUserGroup", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) UpdateUserGroup(ctx context.Context, in *UpdateUserGroupRequest, opts ...grpc.CallOption) (*UpdateUserGroupResponse, error) { + out := new(UpdateUserGroupResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateUserGroup", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) DeleteUserGroup(ctx context.Context, in *DeleteUserGroupRequest, opts ...grpc.CallOption) (*DeleteUserGroupResponse, error) { + out := new(DeleteUserGroupResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteUserGroup", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) SetUserGroupNamespaceAccess(ctx context.Context, in *SetUserGroupNamespaceAccessRequest, opts ...grpc.CallOption) (*SetUserGroupNamespaceAccessResponse, error) { + out := new(SetUserGroupNamespaceAccessResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/SetUserGroupNamespaceAccess", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) AddUserGroupMember(ctx context.Context, in *AddUserGroupMemberRequest, opts ...grpc.CallOption) (*AddUserGroupMemberResponse, error) { + out := new(AddUserGroupMemberResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/AddUserGroupMember", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) RemoveUserGroupMember(ctx context.Context, in *RemoveUserGroupMemberRequest, opts ...grpc.CallOption) (*RemoveUserGroupMemberResponse, error) { + out := new(RemoveUserGroupMemberResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/RemoveUserGroupMember", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetUserGroupMembers(ctx context.Context, in *GetUserGroupMembersRequest, opts ...grpc.CallOption) (*GetUserGroupMembersResponse, error) { + out := new(GetUserGroupMembersResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetUserGroupMembers", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) CreateServiceAccount(ctx context.Context, in *CreateServiceAccountRequest, opts ...grpc.CallOption) (*CreateServiceAccountResponse, error) { + out := new(CreateServiceAccountResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/CreateServiceAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetServiceAccount(ctx context.Context, in *GetServiceAccountRequest, opts ...grpc.CallOption) (*GetServiceAccountResponse, error) { + out := new(GetServiceAccountResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetServiceAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetServiceAccounts(ctx context.Context, in *GetServiceAccountsRequest, opts ...grpc.CallOption) (*GetServiceAccountsResponse, error) { + out := new(GetServiceAccountsResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetServiceAccounts", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) UpdateServiceAccount(ctx context.Context, in *UpdateServiceAccountRequest, opts ...grpc.CallOption) (*UpdateServiceAccountResponse, error) { + out := new(UpdateServiceAccountResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateServiceAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) SetServiceAccountNamespaceAccess(ctx context.Context, in *SetServiceAccountNamespaceAccessRequest, opts ...grpc.CallOption) (*SetServiceAccountNamespaceAccessResponse, error) { + out := new(SetServiceAccountNamespaceAccessResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/SetServiceAccountNamespaceAccess", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) DeleteServiceAccount(ctx context.Context, in *DeleteServiceAccountRequest, opts ...grpc.CallOption) (*DeleteServiceAccountResponse, error) { + out := new(DeleteServiceAccountResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteServiceAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetApiKeys(ctx context.Context, in *GetApiKeysRequest, opts ...grpc.CallOption) (*GetApiKeysResponse, error) { + out := new(GetApiKeysResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetApiKeys", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetApiKey(ctx context.Context, in *GetApiKeyRequest, opts ...grpc.CallOption) (*GetApiKeyResponse, error) { + out := new(GetApiKeyResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetApiKey", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) CreateApiKey(ctx context.Context, in *CreateApiKeyRequest, opts ...grpc.CallOption) (*CreateApiKeyResponse, error) { + out := new(CreateApiKeyResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/CreateApiKey", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) UpdateApiKey(ctx context.Context, in *UpdateApiKeyRequest, opts ...grpc.CallOption) (*UpdateApiKeyResponse, error) { + out := new(UpdateApiKeyResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateApiKey", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) DeleteApiKey(ctx context.Context, in *DeleteApiKeyRequest, opts ...grpc.CallOption) (*DeleteApiKeyResponse, error) { + out := new(DeleteApiKeyResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteApiKey", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetAuditLogs(ctx context.Context, in *GetAuditLogsRequest, opts ...grpc.CallOption) (*GetAuditLogsResponse, error) { + out := new(GetAuditLogsResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetAuditLogs", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) ValidateAccountAuditLogSink(ctx context.Context, in *ValidateAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*ValidateAccountAuditLogSinkResponse, error) { + out := new(ValidateAccountAuditLogSinkResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/ValidateAccountAuditLogSink", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) CreateAccountAuditLogSink(ctx context.Context, in *CreateAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*CreateAccountAuditLogSinkResponse, error) { + out := new(CreateAccountAuditLogSinkResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/CreateAccountAuditLogSink", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetAccountAuditLogSink(ctx context.Context, in *GetAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*GetAccountAuditLogSinkResponse, error) { + out := new(GetAccountAuditLogSinkResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetAccountAuditLogSink", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetAccountAuditLogSinks(ctx context.Context, in *GetAccountAuditLogSinksRequest, opts ...grpc.CallOption) (*GetAccountAuditLogSinksResponse, error) { + out := new(GetAccountAuditLogSinksResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetAccountAuditLogSinks", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) UpdateAccountAuditLogSink(ctx context.Context, in *UpdateAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*UpdateAccountAuditLogSinkResponse, error) { + out := new(UpdateAccountAuditLogSinkResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateAccountAuditLogSink", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) DeleteAccountAuditLogSink(ctx context.Context, in *DeleteAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*DeleteAccountAuditLogSinkResponse, error) { + out := new(DeleteAccountAuditLogSinkResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteAccountAuditLogSink", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetUsage(ctx context.Context, in *GetUsageRequest, opts ...grpc.CallOption) (*GetUsageResponse, error) { + out := new(GetUsageResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetUsage", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*GetAccountResponse, error) { + out := new(GetAccountResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...grpc.CallOption) (*UpdateAccountResponse, error) { + out := new(UpdateAccountResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) CreateNamespaceExportSink(ctx context.Context, in *CreateNamespaceExportSinkRequest, opts ...grpc.CallOption) (*CreateNamespaceExportSinkResponse, error) { + out := new(CreateNamespaceExportSinkResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/CreateNamespaceExportSink", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetNamespaceExportSink(ctx context.Context, in *GetNamespaceExportSinkRequest, opts ...grpc.CallOption) (*GetNamespaceExportSinkResponse, error) { + out := new(GetNamespaceExportSinkResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaceExportSink", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetNamespaceExportSinks(ctx context.Context, in *GetNamespaceExportSinksRequest, opts ...grpc.CallOption) (*GetNamespaceExportSinksResponse, error) { + out := new(GetNamespaceExportSinksResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaceExportSinks", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) UpdateNamespaceExportSink(ctx context.Context, in *UpdateNamespaceExportSinkRequest, opts ...grpc.CallOption) (*UpdateNamespaceExportSinkResponse, error) { + out := new(UpdateNamespaceExportSinkResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateNamespaceExportSink", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) DeleteNamespaceExportSink(ctx context.Context, in *DeleteNamespaceExportSinkRequest, opts ...grpc.CallOption) (*DeleteNamespaceExportSinkResponse, error) { + out := new(DeleteNamespaceExportSinkResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteNamespaceExportSink", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) ValidateNamespaceExportSink(ctx context.Context, in *ValidateNamespaceExportSinkRequest, opts ...grpc.CallOption) (*ValidateNamespaceExportSinkResponse, error) { + out := new(ValidateNamespaceExportSinkResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/ValidateNamespaceExportSink", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) StartMigration(ctx context.Context, in *StartMigrationRequest, opts ...grpc.CallOption) (*StartMigrationResponse, error) { + out := new(StartMigrationResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/StartMigration", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetMigrations(ctx context.Context, in *GetMigrationsRequest, opts ...grpc.CallOption) (*GetMigrationsResponse, error) { + out := new(GetMigrationsResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetMigrations", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetMigration(ctx context.Context, in *GetMigrationRequest, opts ...grpc.CallOption) (*GetMigrationResponse, error) { + out := new(GetMigrationResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetMigration", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) HandoverNamespace(ctx context.Context, in *HandoverNamespaceRequest, opts ...grpc.CallOption) (*HandoverNamespaceResponse, error) { + out := new(HandoverNamespaceResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/HandoverNamespace", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) AbortMigration(ctx context.Context, in *AbortMigrationRequest, opts ...grpc.CallOption) (*AbortMigrationResponse, error) { + out := new(AbortMigrationResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/AbortMigration", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) ConfirmMigration(ctx context.Context, in *ConfirmMigrationRequest, opts ...grpc.CallOption) (*ConfirmMigrationResponse, error) { + out := new(ConfirmMigrationResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/ConfirmMigration", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) CreateConnectivityRule(ctx context.Context, in *CreateConnectivityRuleRequest, opts ...grpc.CallOption) (*CreateConnectivityRuleResponse, error) { + out := new(CreateConnectivityRuleResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/CreateConnectivityRule", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetConnectivityRule(ctx context.Context, in *GetConnectivityRuleRequest, opts ...grpc.CallOption) (*GetConnectivityRuleResponse, error) { + out := new(GetConnectivityRuleResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetConnectivityRule", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetConnectivityRules(ctx context.Context, in *GetConnectivityRulesRequest, opts ...grpc.CallOption) (*GetConnectivityRulesResponse, error) { + out := new(GetConnectivityRulesResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetConnectivityRules", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) DeleteConnectivityRule(ctx context.Context, in *DeleteConnectivityRuleRequest, opts ...grpc.CallOption) (*DeleteConnectivityRuleResponse, error) { + out := new(DeleteConnectivityRuleResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteConnectivityRule", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetProjects(ctx context.Context, in *GetProjectsRequest, opts ...grpc.CallOption) (*GetProjectsResponse, error) { + out := new(GetProjectsResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetProjects", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetProject(ctx context.Context, in *GetProjectRequest, opts ...grpc.CallOption) (*GetProjectResponse, error) { + out := new(GetProjectResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetProject", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) CreateProject(ctx context.Context, in *CreateProjectRequest, opts ...grpc.CallOption) (*CreateProjectResponse, error) { + out := new(CreateProjectResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/CreateProject", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) UpdateProject(ctx context.Context, in *UpdateProjectRequest, opts ...grpc.CallOption) (*UpdateProjectResponse, error) { + out := new(UpdateProjectResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateProject", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) DeleteProject(ctx context.Context, in *DeleteProjectRequest, opts ...grpc.CallOption) (*DeleteProjectResponse, error) { + out := new(DeleteProjectResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteProject", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) SetUserProjectAccess(ctx context.Context, in *SetUserProjectAccessRequest, opts ...grpc.CallOption) (*SetUserProjectAccessResponse, error) { + out := new(SetUserProjectAccessResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/SetUserProjectAccess", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) SetUserGroupProjectAccess(ctx context.Context, in *SetUserGroupProjectAccessRequest, opts ...grpc.CallOption) (*SetUserGroupProjectAccessResponse, error) { + out := new(SetUserGroupProjectAccessResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/SetUserGroupProjectAccess", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) SetServiceAccountProjectAccess(ctx context.Context, in *SetServiceAccountProjectAccessRequest, opts ...grpc.CallOption) (*SetServiceAccountProjectAccessResponse, error) { + out := new(SetServiceAccountProjectAccessResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/SetServiceAccountProjectAccess", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) ResendUserInvite(ctx context.Context, in *ResendUserInviteRequest, opts ...grpc.CallOption) (*ResendUserInviteResponse, error) { + out := new(ResendUserInviteResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/ResendUserInvite", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) UpdateNamespaceTags(ctx context.Context, in *UpdateNamespaceTagsRequest, opts ...grpc.CallOption) (*UpdateNamespaceTagsResponse, error) { + out := new(UpdateNamespaceTagsResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateNamespaceTags", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetTagKeys(ctx context.Context, in *GetTagKeysRequest, opts ...grpc.CallOption) (*GetTagKeysResponse, error) { + out := new(GetTagKeysResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetTagKeys", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetCustomRoles(ctx context.Context, in *GetCustomRolesRequest, opts ...grpc.CallOption) (*GetCustomRolesResponse, error) { + out := new(GetCustomRolesResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetCustomRoles", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetCustomRole(ctx context.Context, in *GetCustomRoleRequest, opts ...grpc.CallOption) (*GetCustomRoleResponse, error) { + out := new(GetCustomRoleResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetCustomRole", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) CreateCustomRole(ctx context.Context, in *CreateCustomRoleRequest, opts ...grpc.CallOption) (*CreateCustomRoleResponse, error) { + out := new(CreateCustomRoleResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/CreateCustomRole", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) UpdateCustomRole(ctx context.Context, in *UpdateCustomRoleRequest, opts ...grpc.CallOption) (*UpdateCustomRoleResponse, error) { + out := new(UpdateCustomRoleResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateCustomRole", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) DeleteCustomRole(ctx context.Context, in *DeleteCustomRoleRequest, opts ...grpc.CallOption) (*DeleteCustomRoleResponse, error) { + out := new(DeleteCustomRoleResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteCustomRole", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) CreateBillingReport(ctx context.Context, in *CreateBillingReportRequest, opts ...grpc.CallOption) (*CreateBillingReportResponse, error) { + out := new(CreateBillingReportResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/CreateBillingReport", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetBillingReport(ctx context.Context, in *GetBillingReportRequest, opts ...grpc.CallOption) (*GetBillingReportResponse, error) { + out := new(GetBillingReportResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetBillingReport", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cloudServiceClient) GetNamespaceCapacityInfo(ctx context.Context, in *GetNamespaceCapacityInfoRequest, opts ...grpc.CallOption) (*GetNamespaceCapacityInfoResponse, error) { + out := new(GetNamespaceCapacityInfoResponse) + err := c.cc.Invoke(ctx, "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaceCapacityInfo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// CloudServiceServer is the server API for CloudService service. +// All implementations must embed UnimplementedCloudServiceServer +// for forward compatibility +type CloudServiceServer interface { + // Get information about the current authenticated user or service account principal + // temporal:dev + GetCurrentIdentity(context.Context, *GetCurrentIdentityRequest) (*GetCurrentIdentityResponse, error) + // Gets all known users + GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error) + // Get a user + GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) + // Create a user + CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error) + // Update a user + UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error) + // Delete a user + DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error) + // Set a user's access to a namespace + SetUserNamespaceAccess(context.Context, *SetUserNamespaceAccessRequest) (*SetUserNamespaceAccessResponse, error) + // Get the latest information on an async operation + GetAsyncOperation(context.Context, *GetAsyncOperationRequest) (*GetAsyncOperationResponse, error) + // Create a new namespace + CreateNamespace(context.Context, *CreateNamespaceRequest) (*CreateNamespaceResponse, error) + // Get all namespaces + GetNamespaces(context.Context, *GetNamespacesRequest) (*GetNamespacesResponse, error) + // Get all namespace ids + // temporal:ui + GetNamespaceIDs(context.Context, *GetNamespaceIDsRequest) (*GetNamespaceIDsResponse, error) + // Get a namespace + GetNamespace(context.Context, *GetNamespaceRequest) (*GetNamespaceResponse, error) + // Update a namespace + UpdateNamespace(context.Context, *UpdateNamespaceRequest) (*UpdateNamespaceResponse, error) + // Rename an existing customer search attribute + RenameCustomSearchAttribute(context.Context, *RenameCustomSearchAttributeRequest) (*RenameCustomSearchAttributeResponse, error) + // Delete a namespace + DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*DeleteNamespaceResponse, error) + // Deprecated: Do not use. + // Failover a multi-region namespace + // Deprecated: Use the UpdateNamespace() to set the `preferred_primary_replica_name` on the replica in the high availability spec instead. + FailoverNamespaceRegion(context.Context, *FailoverNamespaceRegionRequest) (*FailoverNamespaceRegionResponse, error) + // Deprecated: Do not use. + // Add a new region to a namespace + // Deprecated: Use the UpdateNamespace() to add new replica in the namespace spec instead. + AddNamespaceRegion(context.Context, *AddNamespaceRegionRequest) (*AddNamespaceRegionResponse, error) + // Deprecated: Do not use. + // Delete a region from a namespace + // Deprecated: Use the UpdateNamespace() to delete a replica in the namespace spec instead. + DeleteNamespaceRegion(context.Context, *DeleteNamespaceRegionRequest) (*DeleteNamespaceRegionResponse, error) + // Get all regions + GetRegions(context.Context, *GetRegionsRequest) (*GetRegionsResponse, error) + // Get a region + GetRegion(context.Context, *GetRegionRequest) (*GetRegionResponse, error) + // Gets nexus endpoints + GetNexusEndpoints(context.Context, *GetNexusEndpointsRequest) (*GetNexusEndpointsResponse, error) + // Get a nexus endpoint + GetNexusEndpoint(context.Context, *GetNexusEndpointRequest) (*GetNexusEndpointResponse, error) + // Create a nexus endpoint + CreateNexusEndpoint(context.Context, *CreateNexusEndpointRequest) (*CreateNexusEndpointResponse, error) + // Update a nexus endpoint + UpdateNexusEndpoint(context.Context, *UpdateNexusEndpointRequest) (*UpdateNexusEndpointResponse, error) + // Delete a nexus endpoint + DeleteNexusEndpoint(context.Context, *DeleteNexusEndpointRequest) (*DeleteNexusEndpointResponse, error) + // Get all user groups + GetUserGroups(context.Context, *GetUserGroupsRequest) (*GetUserGroupsResponse, error) + // Get a user group + GetUserGroup(context.Context, *GetUserGroupRequest) (*GetUserGroupResponse, error) + // Create new a user group + CreateUserGroup(context.Context, *CreateUserGroupRequest) (*CreateUserGroupResponse, error) + // Update a user group + UpdateUserGroup(context.Context, *UpdateUserGroupRequest) (*UpdateUserGroupResponse, error) + // Delete a user group + DeleteUserGroup(context.Context, *DeleteUserGroupRequest) (*DeleteUserGroupResponse, error) + // Set a user group's access to a namespace + SetUserGroupNamespaceAccess(context.Context, *SetUserGroupNamespaceAccessRequest) (*SetUserGroupNamespaceAccessResponse, error) + // Add a member to the group, can only be used with Cloud group types. + AddUserGroupMember(context.Context, *AddUserGroupMemberRequest) (*AddUserGroupMemberResponse, error) + // Remove a member from the group, can only be used with Cloud group types. + RemoveUserGroupMember(context.Context, *RemoveUserGroupMemberRequest) (*RemoveUserGroupMemberResponse, error) + GetUserGroupMembers(context.Context, *GetUserGroupMembersRequest) (*GetUserGroupMembersResponse, error) + // Create a service account. + CreateServiceAccount(context.Context, *CreateServiceAccountRequest) (*CreateServiceAccountResponse, error) + // Get a service account. + GetServiceAccount(context.Context, *GetServiceAccountRequest) (*GetServiceAccountResponse, error) + // Get service accounts. + GetServiceAccounts(context.Context, *GetServiceAccountsRequest) (*GetServiceAccountsResponse, error) + // Update a service account. + UpdateServiceAccount(context.Context, *UpdateServiceAccountRequest) (*UpdateServiceAccountResponse, error) + // Set a service account's access to a namespace. + SetServiceAccountNamespaceAccess(context.Context, *SetServiceAccountNamespaceAccessRequest) (*SetServiceAccountNamespaceAccessResponse, error) + // Delete a service account. + DeleteServiceAccount(context.Context, *DeleteServiceAccountRequest) (*DeleteServiceAccountResponse, error) + // Get all known API keys + GetApiKeys(context.Context, *GetApiKeysRequest) (*GetApiKeysResponse, error) + // Get an API key + GetApiKey(context.Context, *GetApiKeyRequest) (*GetApiKeyResponse, error) + // Create an API key + CreateApiKey(context.Context, *CreateApiKeyRequest) (*CreateApiKeyResponse, error) + // Update an API key + UpdateApiKey(context.Context, *UpdateApiKeyRequest) (*UpdateApiKeyResponse, error) + // Delete an API key + DeleteApiKey(context.Context, *DeleteApiKeyRequest) (*DeleteApiKeyResponse, error) + // Get audit logs + GetAuditLogs(context.Context, *GetAuditLogsRequest) (*GetAuditLogsResponse, error) + // Validate customer audit log sink is accessible from Temporal's workflow by delivering an empty file to the specified sink. + // The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs. + ValidateAccountAuditLogSink(context.Context, *ValidateAccountAuditLogSinkRequest) (*ValidateAccountAuditLogSinkResponse, error) + // Create an audit log sink + CreateAccountAuditLogSink(context.Context, *CreateAccountAuditLogSinkRequest) (*CreateAccountAuditLogSinkResponse, error) + // Get an audit log sink + GetAccountAuditLogSink(context.Context, *GetAccountAuditLogSinkRequest) (*GetAccountAuditLogSinkResponse, error) + // Get audit log sinks + GetAccountAuditLogSinks(context.Context, *GetAccountAuditLogSinksRequest) (*GetAccountAuditLogSinksResponse, error) + // Update an audit log sink + UpdateAccountAuditLogSink(context.Context, *UpdateAccountAuditLogSinkRequest) (*UpdateAccountAuditLogSinkResponse, error) + // Delete an audit log sink + DeleteAccountAuditLogSink(context.Context, *DeleteAccountAuditLogSinkRequest) (*DeleteAccountAuditLogSinkResponse, error) + // Get usage + GetUsage(context.Context, *GetUsageRequest) (*GetUsageResponse, error) + // Get account information + GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error) + // Update account information + UpdateAccount(context.Context, *UpdateAccountRequest) (*UpdateAccountResponse, error) + // Create an export sink + CreateNamespaceExportSink(context.Context, *CreateNamespaceExportSinkRequest) (*CreateNamespaceExportSinkResponse, error) + // Get an export sink + GetNamespaceExportSink(context.Context, *GetNamespaceExportSinkRequest) (*GetNamespaceExportSinkResponse, error) + // Get export sinks + GetNamespaceExportSinks(context.Context, *GetNamespaceExportSinksRequest) (*GetNamespaceExportSinksResponse, error) + // Update an export sink + UpdateNamespaceExportSink(context.Context, *UpdateNamespaceExportSinkRequest) (*UpdateNamespaceExportSinkResponse, error) + // Delete an export sink + DeleteNamespaceExportSink(context.Context, *DeleteNamespaceExportSinkRequest) (*DeleteNamespaceExportSinkResponse, error) + // Validates an export sink configuration by delivering an empty test file to the specified sink. + // This operation verifies that the sink is correctly configured, accessible, and ready for data export. + ValidateNamespaceExportSink(context.Context, *ValidateNamespaceExportSinkRequest) (*ValidateNamespaceExportSinkResponse, error) + // Starts a namespace migration + // temporal:dev + StartMigration(context.Context, *StartMigrationRequest) (*StartMigrationResponse, error) + // Get namespace migrations for an account + // temporal:dev + GetMigrations(context.Context, *GetMigrationsRequest) (*GetMigrationsResponse, error) + // Get a namespace migration + // temporal:dev + GetMigration(context.Context, *GetMigrationRequest) (*GetMigrationResponse, error) + // Handover the namespace during a migration, which switches the active and passive replicas + // temporal:dev + HandoverNamespace(context.Context, *HandoverNamespaceRequest) (*HandoverNamespaceResponse, error) + // Abort a namespace migration + // temporal:dev + AbortMigration(context.Context, *AbortMigrationRequest) (*AbortMigrationResponse, error) + // Confirm a namespace migration, which completes the migration + // temporal:dev + ConfirmMigration(context.Context, *ConfirmMigrationRequest) (*ConfirmMigrationResponse, error) + // Creates a connectivity rule + CreateConnectivityRule(context.Context, *CreateConnectivityRuleRequest) (*CreateConnectivityRuleResponse, error) + // Gets a connectivity rule by id + GetConnectivityRule(context.Context, *GetConnectivityRuleRequest) (*GetConnectivityRuleResponse, error) + // Lists connectivity rules by account + GetConnectivityRules(context.Context, *GetConnectivityRulesRequest) (*GetConnectivityRulesResponse, error) + // Deletes a connectivity rule + DeleteConnectivityRule(context.Context, *DeleteConnectivityRuleRequest) (*DeleteConnectivityRuleResponse, error) + // Get all projects + // temporal:dev + GetProjects(context.Context, *GetProjectsRequest) (*GetProjectsResponse, error) + // Get a projects + // temporal:dev + GetProject(context.Context, *GetProjectRequest) (*GetProjectResponse, error) + // Create new a projects + // temporal:dev + CreateProject(context.Context, *CreateProjectRequest) (*CreateProjectResponse, error) + // Update a projects + // temporal:dev + UpdateProject(context.Context, *UpdateProjectRequest) (*UpdateProjectResponse, error) + // Delete a projects + // temporal:dev + DeleteProject(context.Context, *DeleteProjectRequest) (*DeleteProjectResponse, error) + // Set a user's access to a project + // temporal:dev + SetUserProjectAccess(context.Context, *SetUserProjectAccessRequest) (*SetUserProjectAccessResponse, error) + // Set a user group's access to a project + // temporal:dev + SetUserGroupProjectAccess(context.Context, *SetUserGroupProjectAccessRequest) (*SetUserGroupProjectAccessResponse, error) + // Set a service account's access to a project. + // temporal:dev + SetServiceAccountProjectAccess(context.Context, *SetServiceAccountProjectAccessRequest) (*SetServiceAccountProjectAccessResponse, error) + // Resend a user invite + // temporal:ui + ResendUserInvite(context.Context, *ResendUserInviteRequest) (*ResendUserInviteResponse, error) + // Updates tags for a namespace + UpdateNamespaceTags(context.Context, *UpdateNamespaceTagsRequest) (*UpdateNamespaceTagsResponse, error) + // Get tag keys + // temporal:ui + GetTagKeys(context.Context, *GetTagKeysRequest) (*GetTagKeysResponse, error) + // Get custom roles + // temporal:dev + GetCustomRoles(context.Context, *GetCustomRolesRequest) (*GetCustomRolesResponse, error) + // Get a custom role + // temporal:dev + GetCustomRole(context.Context, *GetCustomRoleRequest) (*GetCustomRoleResponse, error) + // Create a custom role + // temporal:dev + CreateCustomRole(context.Context, *CreateCustomRoleRequest) (*CreateCustomRoleResponse, error) + // Update a custom role + // temporal:dev + UpdateCustomRole(context.Context, *UpdateCustomRoleRequest) (*UpdateCustomRoleResponse, error) + // Delete a custom role + // temporal:dev + DeleteCustomRole(context.Context, *DeleteCustomRoleRequest) (*DeleteCustomRoleResponse, error) + // Create a billing report + // temporal:dev + CreateBillingReport(context.Context, *CreateBillingReportRequest) (*CreateBillingReportResponse, error) + // Get a billing report + // temporal:dev + GetBillingReport(context.Context, *GetBillingReportRequest) (*GetBillingReportResponse, error) + // GetNamespaceCapacityInfo returns capacity information for a namespace. + // This includes provisioned capacity options, on-demand limits, and 7 + // day historical APS statistics useful for capacity planning. + // temporal:dev + GetNamespaceCapacityInfo(context.Context, *GetNamespaceCapacityInfoRequest) (*GetNamespaceCapacityInfoResponse, error) + mustEmbedUnimplementedCloudServiceServer() +} + +// UnimplementedCloudServiceServer must be embedded to have forward compatible implementations. +type UnimplementedCloudServiceServer struct { +} + +func (UnimplementedCloudServiceServer) GetCurrentIdentity(context.Context, *GetCurrentIdentityRequest) (*GetCurrentIdentityResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetCurrentIdentity not implemented") +} +func (UnimplementedCloudServiceServer) GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetUsers not implemented") +} +func (UnimplementedCloudServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetUser not implemented") +} +func (UnimplementedCloudServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateUser not implemented") +} +func (UnimplementedCloudServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateUser not implemented") +} +func (UnimplementedCloudServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteUser not implemented") +} +func (UnimplementedCloudServiceServer) SetUserNamespaceAccess(context.Context, *SetUserNamespaceAccessRequest) (*SetUserNamespaceAccessResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetUserNamespaceAccess not implemented") +} +func (UnimplementedCloudServiceServer) GetAsyncOperation(context.Context, *GetAsyncOperationRequest) (*GetAsyncOperationResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAsyncOperation not implemented") +} +func (UnimplementedCloudServiceServer) CreateNamespace(context.Context, *CreateNamespaceRequest) (*CreateNamespaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateNamespace not implemented") +} +func (UnimplementedCloudServiceServer) GetNamespaces(context.Context, *GetNamespacesRequest) (*GetNamespacesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNamespaces not implemented") +} +func (UnimplementedCloudServiceServer) GetNamespaceIDs(context.Context, *GetNamespaceIDsRequest) (*GetNamespaceIDsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNamespaceIDs not implemented") +} +func (UnimplementedCloudServiceServer) GetNamespace(context.Context, *GetNamespaceRequest) (*GetNamespaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNamespace not implemented") +} +func (UnimplementedCloudServiceServer) UpdateNamespace(context.Context, *UpdateNamespaceRequest) (*UpdateNamespaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateNamespace not implemented") +} +func (UnimplementedCloudServiceServer) RenameCustomSearchAttribute(context.Context, *RenameCustomSearchAttributeRequest) (*RenameCustomSearchAttributeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RenameCustomSearchAttribute not implemented") +} +func (UnimplementedCloudServiceServer) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*DeleteNamespaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteNamespace not implemented") +} +func (UnimplementedCloudServiceServer) FailoverNamespaceRegion(context.Context, *FailoverNamespaceRegionRequest) (*FailoverNamespaceRegionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FailoverNamespaceRegion not implemented") +} +func (UnimplementedCloudServiceServer) AddNamespaceRegion(context.Context, *AddNamespaceRegionRequest) (*AddNamespaceRegionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddNamespaceRegion not implemented") +} +func (UnimplementedCloudServiceServer) DeleteNamespaceRegion(context.Context, *DeleteNamespaceRegionRequest) (*DeleteNamespaceRegionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteNamespaceRegion not implemented") +} +func (UnimplementedCloudServiceServer) GetRegions(context.Context, *GetRegionsRequest) (*GetRegionsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetRegions not implemented") +} +func (UnimplementedCloudServiceServer) GetRegion(context.Context, *GetRegionRequest) (*GetRegionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetRegion not implemented") +} +func (UnimplementedCloudServiceServer) GetNexusEndpoints(context.Context, *GetNexusEndpointsRequest) (*GetNexusEndpointsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNexusEndpoints not implemented") +} +func (UnimplementedCloudServiceServer) GetNexusEndpoint(context.Context, *GetNexusEndpointRequest) (*GetNexusEndpointResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNexusEndpoint not implemented") +} +func (UnimplementedCloudServiceServer) CreateNexusEndpoint(context.Context, *CreateNexusEndpointRequest) (*CreateNexusEndpointResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateNexusEndpoint not implemented") +} +func (UnimplementedCloudServiceServer) UpdateNexusEndpoint(context.Context, *UpdateNexusEndpointRequest) (*UpdateNexusEndpointResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateNexusEndpoint not implemented") +} +func (UnimplementedCloudServiceServer) DeleteNexusEndpoint(context.Context, *DeleteNexusEndpointRequest) (*DeleteNexusEndpointResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteNexusEndpoint not implemented") +} +func (UnimplementedCloudServiceServer) GetUserGroups(context.Context, *GetUserGroupsRequest) (*GetUserGroupsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetUserGroups not implemented") +} +func (UnimplementedCloudServiceServer) GetUserGroup(context.Context, *GetUserGroupRequest) (*GetUserGroupResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetUserGroup not implemented") +} +func (UnimplementedCloudServiceServer) CreateUserGroup(context.Context, *CreateUserGroupRequest) (*CreateUserGroupResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateUserGroup not implemented") +} +func (UnimplementedCloudServiceServer) UpdateUserGroup(context.Context, *UpdateUserGroupRequest) (*UpdateUserGroupResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateUserGroup not implemented") +} +func (UnimplementedCloudServiceServer) DeleteUserGroup(context.Context, *DeleteUserGroupRequest) (*DeleteUserGroupResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteUserGroup not implemented") +} +func (UnimplementedCloudServiceServer) SetUserGroupNamespaceAccess(context.Context, *SetUserGroupNamespaceAccessRequest) (*SetUserGroupNamespaceAccessResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetUserGroupNamespaceAccess not implemented") +} +func (UnimplementedCloudServiceServer) AddUserGroupMember(context.Context, *AddUserGroupMemberRequest) (*AddUserGroupMemberResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddUserGroupMember not implemented") +} +func (UnimplementedCloudServiceServer) RemoveUserGroupMember(context.Context, *RemoveUserGroupMemberRequest) (*RemoveUserGroupMemberResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveUserGroupMember not implemented") +} +func (UnimplementedCloudServiceServer) GetUserGroupMembers(context.Context, *GetUserGroupMembersRequest) (*GetUserGroupMembersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetUserGroupMembers not implemented") +} +func (UnimplementedCloudServiceServer) CreateServiceAccount(context.Context, *CreateServiceAccountRequest) (*CreateServiceAccountResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateServiceAccount not implemented") +} +func (UnimplementedCloudServiceServer) GetServiceAccount(context.Context, *GetServiceAccountRequest) (*GetServiceAccountResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetServiceAccount not implemented") +} +func (UnimplementedCloudServiceServer) GetServiceAccounts(context.Context, *GetServiceAccountsRequest) (*GetServiceAccountsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetServiceAccounts not implemented") +} +func (UnimplementedCloudServiceServer) UpdateServiceAccount(context.Context, *UpdateServiceAccountRequest) (*UpdateServiceAccountResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateServiceAccount not implemented") +} +func (UnimplementedCloudServiceServer) SetServiceAccountNamespaceAccess(context.Context, *SetServiceAccountNamespaceAccessRequest) (*SetServiceAccountNamespaceAccessResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetServiceAccountNamespaceAccess not implemented") +} +func (UnimplementedCloudServiceServer) DeleteServiceAccount(context.Context, *DeleteServiceAccountRequest) (*DeleteServiceAccountResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteServiceAccount not implemented") +} +func (UnimplementedCloudServiceServer) GetApiKeys(context.Context, *GetApiKeysRequest) (*GetApiKeysResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetApiKeys not implemented") +} +func (UnimplementedCloudServiceServer) GetApiKey(context.Context, *GetApiKeyRequest) (*GetApiKeyResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetApiKey not implemented") +} +func (UnimplementedCloudServiceServer) CreateApiKey(context.Context, *CreateApiKeyRequest) (*CreateApiKeyResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateApiKey not implemented") +} +func (UnimplementedCloudServiceServer) UpdateApiKey(context.Context, *UpdateApiKeyRequest) (*UpdateApiKeyResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateApiKey not implemented") +} +func (UnimplementedCloudServiceServer) DeleteApiKey(context.Context, *DeleteApiKeyRequest) (*DeleteApiKeyResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteApiKey not implemented") +} +func (UnimplementedCloudServiceServer) GetAuditLogs(context.Context, *GetAuditLogsRequest) (*GetAuditLogsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAuditLogs not implemented") +} +func (UnimplementedCloudServiceServer) ValidateAccountAuditLogSink(context.Context, *ValidateAccountAuditLogSinkRequest) (*ValidateAccountAuditLogSinkResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ValidateAccountAuditLogSink not implemented") +} +func (UnimplementedCloudServiceServer) CreateAccountAuditLogSink(context.Context, *CreateAccountAuditLogSinkRequest) (*CreateAccountAuditLogSinkResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateAccountAuditLogSink not implemented") +} +func (UnimplementedCloudServiceServer) GetAccountAuditLogSink(context.Context, *GetAccountAuditLogSinkRequest) (*GetAccountAuditLogSinkResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAccountAuditLogSink not implemented") +} +func (UnimplementedCloudServiceServer) GetAccountAuditLogSinks(context.Context, *GetAccountAuditLogSinksRequest) (*GetAccountAuditLogSinksResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAccountAuditLogSinks not implemented") +} +func (UnimplementedCloudServiceServer) UpdateAccountAuditLogSink(context.Context, *UpdateAccountAuditLogSinkRequest) (*UpdateAccountAuditLogSinkResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateAccountAuditLogSink not implemented") +} +func (UnimplementedCloudServiceServer) DeleteAccountAuditLogSink(context.Context, *DeleteAccountAuditLogSinkRequest) (*DeleteAccountAuditLogSinkResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteAccountAuditLogSink not implemented") +} +func (UnimplementedCloudServiceServer) GetUsage(context.Context, *GetUsageRequest) (*GetUsageResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetUsage not implemented") +} +func (UnimplementedCloudServiceServer) GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAccount not implemented") +} +func (UnimplementedCloudServiceServer) UpdateAccount(context.Context, *UpdateAccountRequest) (*UpdateAccountResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateAccount not implemented") +} +func (UnimplementedCloudServiceServer) CreateNamespaceExportSink(context.Context, *CreateNamespaceExportSinkRequest) (*CreateNamespaceExportSinkResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateNamespaceExportSink not implemented") +} +func (UnimplementedCloudServiceServer) GetNamespaceExportSink(context.Context, *GetNamespaceExportSinkRequest) (*GetNamespaceExportSinkResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNamespaceExportSink not implemented") +} +func (UnimplementedCloudServiceServer) GetNamespaceExportSinks(context.Context, *GetNamespaceExportSinksRequest) (*GetNamespaceExportSinksResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNamespaceExportSinks not implemented") +} +func (UnimplementedCloudServiceServer) UpdateNamespaceExportSink(context.Context, *UpdateNamespaceExportSinkRequest) (*UpdateNamespaceExportSinkResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateNamespaceExportSink not implemented") +} +func (UnimplementedCloudServiceServer) DeleteNamespaceExportSink(context.Context, *DeleteNamespaceExportSinkRequest) (*DeleteNamespaceExportSinkResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteNamespaceExportSink not implemented") +} +func (UnimplementedCloudServiceServer) ValidateNamespaceExportSink(context.Context, *ValidateNamespaceExportSinkRequest) (*ValidateNamespaceExportSinkResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ValidateNamespaceExportSink not implemented") +} +func (UnimplementedCloudServiceServer) StartMigration(context.Context, *StartMigrationRequest) (*StartMigrationResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StartMigration not implemented") +} +func (UnimplementedCloudServiceServer) GetMigrations(context.Context, *GetMigrationsRequest) (*GetMigrationsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMigrations not implemented") +} +func (UnimplementedCloudServiceServer) GetMigration(context.Context, *GetMigrationRequest) (*GetMigrationResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMigration not implemented") +} +func (UnimplementedCloudServiceServer) HandoverNamespace(context.Context, *HandoverNamespaceRequest) (*HandoverNamespaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method HandoverNamespace not implemented") +} +func (UnimplementedCloudServiceServer) AbortMigration(context.Context, *AbortMigrationRequest) (*AbortMigrationResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AbortMigration not implemented") +} +func (UnimplementedCloudServiceServer) ConfirmMigration(context.Context, *ConfirmMigrationRequest) (*ConfirmMigrationResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ConfirmMigration not implemented") +} +func (UnimplementedCloudServiceServer) CreateConnectivityRule(context.Context, *CreateConnectivityRuleRequest) (*CreateConnectivityRuleResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateConnectivityRule not implemented") +} +func (UnimplementedCloudServiceServer) GetConnectivityRule(context.Context, *GetConnectivityRuleRequest) (*GetConnectivityRuleResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetConnectivityRule not implemented") +} +func (UnimplementedCloudServiceServer) GetConnectivityRules(context.Context, *GetConnectivityRulesRequest) (*GetConnectivityRulesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetConnectivityRules not implemented") +} +func (UnimplementedCloudServiceServer) DeleteConnectivityRule(context.Context, *DeleteConnectivityRuleRequest) (*DeleteConnectivityRuleResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteConnectivityRule not implemented") +} +func (UnimplementedCloudServiceServer) GetProjects(context.Context, *GetProjectsRequest) (*GetProjectsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetProjects not implemented") +} +func (UnimplementedCloudServiceServer) GetProject(context.Context, *GetProjectRequest) (*GetProjectResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetProject not implemented") +} +func (UnimplementedCloudServiceServer) CreateProject(context.Context, *CreateProjectRequest) (*CreateProjectResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateProject not implemented") +} +func (UnimplementedCloudServiceServer) UpdateProject(context.Context, *UpdateProjectRequest) (*UpdateProjectResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateProject not implemented") +} +func (UnimplementedCloudServiceServer) DeleteProject(context.Context, *DeleteProjectRequest) (*DeleteProjectResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteProject not implemented") +} +func (UnimplementedCloudServiceServer) SetUserProjectAccess(context.Context, *SetUserProjectAccessRequest) (*SetUserProjectAccessResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetUserProjectAccess not implemented") +} +func (UnimplementedCloudServiceServer) SetUserGroupProjectAccess(context.Context, *SetUserGroupProjectAccessRequest) (*SetUserGroupProjectAccessResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetUserGroupProjectAccess not implemented") +} +func (UnimplementedCloudServiceServer) SetServiceAccountProjectAccess(context.Context, *SetServiceAccountProjectAccessRequest) (*SetServiceAccountProjectAccessResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetServiceAccountProjectAccess not implemented") +} +func (UnimplementedCloudServiceServer) ResendUserInvite(context.Context, *ResendUserInviteRequest) (*ResendUserInviteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ResendUserInvite not implemented") +} +func (UnimplementedCloudServiceServer) UpdateNamespaceTags(context.Context, *UpdateNamespaceTagsRequest) (*UpdateNamespaceTagsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateNamespaceTags not implemented") +} +func (UnimplementedCloudServiceServer) GetTagKeys(context.Context, *GetTagKeysRequest) (*GetTagKeysResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTagKeys not implemented") +} +func (UnimplementedCloudServiceServer) GetCustomRoles(context.Context, *GetCustomRolesRequest) (*GetCustomRolesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetCustomRoles not implemented") +} +func (UnimplementedCloudServiceServer) GetCustomRole(context.Context, *GetCustomRoleRequest) (*GetCustomRoleResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetCustomRole not implemented") +} +func (UnimplementedCloudServiceServer) CreateCustomRole(context.Context, *CreateCustomRoleRequest) (*CreateCustomRoleResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateCustomRole not implemented") +} +func (UnimplementedCloudServiceServer) UpdateCustomRole(context.Context, *UpdateCustomRoleRequest) (*UpdateCustomRoleResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateCustomRole not implemented") +} +func (UnimplementedCloudServiceServer) DeleteCustomRole(context.Context, *DeleteCustomRoleRequest) (*DeleteCustomRoleResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteCustomRole not implemented") +} +func (UnimplementedCloudServiceServer) CreateBillingReport(context.Context, *CreateBillingReportRequest) (*CreateBillingReportResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateBillingReport not implemented") +} +func (UnimplementedCloudServiceServer) GetBillingReport(context.Context, *GetBillingReportRequest) (*GetBillingReportResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBillingReport not implemented") +} +func (UnimplementedCloudServiceServer) GetNamespaceCapacityInfo(context.Context, *GetNamespaceCapacityInfoRequest) (*GetNamespaceCapacityInfoResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNamespaceCapacityInfo not implemented") +} +func (UnimplementedCloudServiceServer) mustEmbedUnimplementedCloudServiceServer() {} + +// UnsafeCloudServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to CloudServiceServer will +// result in compilation errors. +type UnsafeCloudServiceServer interface { + mustEmbedUnimplementedCloudServiceServer() +} + +func RegisterCloudServiceServer(s grpc.ServiceRegistrar, srv CloudServiceServer) { + s.RegisterService(&CloudService_ServiceDesc, srv) +} + +func _CloudService_GetCurrentIdentity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCurrentIdentityRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetCurrentIdentity(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetCurrentIdentity", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetCurrentIdentity(ctx, req.(*GetCurrentIdentityRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetUsersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetUsers(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetUsers", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetUsers(ctx, req.(*GetUsersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetUserRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetUser(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetUser", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetUser(ctx, req.(*GetUserRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_CreateUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateUserRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).CreateUser(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/CreateUser", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).CreateUser(ctx, req.(*CreateUserRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_UpdateUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateUserRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).UpdateUser(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateUser", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).UpdateUser(ctx, req.(*UpdateUserRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_DeleteUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteUserRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).DeleteUser(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteUser", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).DeleteUser(ctx, req.(*DeleteUserRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_SetUserNamespaceAccess_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetUserNamespaceAccessRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).SetUserNamespaceAccess(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/SetUserNamespaceAccess", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).SetUserNamespaceAccess(ctx, req.(*SetUserNamespaceAccessRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetAsyncOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAsyncOperationRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetAsyncOperation(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetAsyncOperation", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetAsyncOperation(ctx, req.(*GetAsyncOperationRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_CreateNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateNamespaceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).CreateNamespace(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/CreateNamespace", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).CreateNamespace(ctx, req.(*CreateNamespaceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetNamespaces_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetNamespacesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetNamespaces(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaces", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetNamespaces(ctx, req.(*GetNamespacesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetNamespaceIDs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetNamespaceIDsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetNamespaceIDs(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaceIDs", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetNamespaceIDs(ctx, req.(*GetNamespaceIDsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetNamespaceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetNamespace(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespace", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetNamespace(ctx, req.(*GetNamespaceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_UpdateNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateNamespaceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).UpdateNamespace(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateNamespace", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).UpdateNamespace(ctx, req.(*UpdateNamespaceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_RenameCustomSearchAttribute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RenameCustomSearchAttributeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).RenameCustomSearchAttribute(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/RenameCustomSearchAttribute", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).RenameCustomSearchAttribute(ctx, req.(*RenameCustomSearchAttributeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_DeleteNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteNamespaceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).DeleteNamespace(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteNamespace", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).DeleteNamespace(ctx, req.(*DeleteNamespaceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_FailoverNamespaceRegion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FailoverNamespaceRegionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).FailoverNamespaceRegion(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/FailoverNamespaceRegion", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).FailoverNamespaceRegion(ctx, req.(*FailoverNamespaceRegionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_AddNamespaceRegion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddNamespaceRegionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).AddNamespaceRegion(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/AddNamespaceRegion", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).AddNamespaceRegion(ctx, req.(*AddNamespaceRegionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_DeleteNamespaceRegion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteNamespaceRegionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).DeleteNamespaceRegion(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteNamespaceRegion", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).DeleteNamespaceRegion(ctx, req.(*DeleteNamespaceRegionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetRegions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetRegionsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetRegions(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetRegions", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetRegions(ctx, req.(*GetRegionsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetRegion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetRegionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetRegion(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetRegion", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetRegion(ctx, req.(*GetRegionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetNexusEndpoints_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetNexusEndpointsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetNexusEndpoints(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetNexusEndpoints", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetNexusEndpoints(ctx, req.(*GetNexusEndpointsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetNexusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetNexusEndpointRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetNexusEndpoint(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetNexusEndpoint", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetNexusEndpoint(ctx, req.(*GetNexusEndpointRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_CreateNexusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateNexusEndpointRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).CreateNexusEndpoint(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/CreateNexusEndpoint", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).CreateNexusEndpoint(ctx, req.(*CreateNexusEndpointRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_UpdateNexusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateNexusEndpointRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).UpdateNexusEndpoint(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateNexusEndpoint", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).UpdateNexusEndpoint(ctx, req.(*UpdateNexusEndpointRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_DeleteNexusEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteNexusEndpointRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).DeleteNexusEndpoint(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteNexusEndpoint", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).DeleteNexusEndpoint(ctx, req.(*DeleteNexusEndpointRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetUserGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetUserGroupsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetUserGroups(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetUserGroups", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetUserGroups(ctx, req.(*GetUserGroupsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetUserGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetUserGroupRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetUserGroup(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetUserGroup", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetUserGroup(ctx, req.(*GetUserGroupRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_CreateUserGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateUserGroupRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).CreateUserGroup(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/CreateUserGroup", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).CreateUserGroup(ctx, req.(*CreateUserGroupRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_UpdateUserGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateUserGroupRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).UpdateUserGroup(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateUserGroup", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).UpdateUserGroup(ctx, req.(*UpdateUserGroupRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_DeleteUserGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteUserGroupRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).DeleteUserGroup(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteUserGroup", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).DeleteUserGroup(ctx, req.(*DeleteUserGroupRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_SetUserGroupNamespaceAccess_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetUserGroupNamespaceAccessRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).SetUserGroupNamespaceAccess(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/SetUserGroupNamespaceAccess", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).SetUserGroupNamespaceAccess(ctx, req.(*SetUserGroupNamespaceAccessRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_AddUserGroupMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddUserGroupMemberRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).AddUserGroupMember(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/AddUserGroupMember", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).AddUserGroupMember(ctx, req.(*AddUserGroupMemberRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_RemoveUserGroupMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RemoveUserGroupMemberRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).RemoveUserGroupMember(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/RemoveUserGroupMember", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).RemoveUserGroupMember(ctx, req.(*RemoveUserGroupMemberRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetUserGroupMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetUserGroupMembersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetUserGroupMembers(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetUserGroupMembers", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetUserGroupMembers(ctx, req.(*GetUserGroupMembersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_CreateServiceAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateServiceAccountRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).CreateServiceAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/CreateServiceAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).CreateServiceAccount(ctx, req.(*CreateServiceAccountRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetServiceAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetServiceAccountRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetServiceAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetServiceAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetServiceAccount(ctx, req.(*GetServiceAccountRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetServiceAccounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetServiceAccountsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetServiceAccounts(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetServiceAccounts", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetServiceAccounts(ctx, req.(*GetServiceAccountsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_UpdateServiceAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateServiceAccountRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).UpdateServiceAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateServiceAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).UpdateServiceAccount(ctx, req.(*UpdateServiceAccountRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_SetServiceAccountNamespaceAccess_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetServiceAccountNamespaceAccessRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).SetServiceAccountNamespaceAccess(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/SetServiceAccountNamespaceAccess", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).SetServiceAccountNamespaceAccess(ctx, req.(*SetServiceAccountNamespaceAccessRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_DeleteServiceAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteServiceAccountRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).DeleteServiceAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteServiceAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).DeleteServiceAccount(ctx, req.(*DeleteServiceAccountRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetApiKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetApiKeysRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetApiKeys(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetApiKeys", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetApiKeys(ctx, req.(*GetApiKeysRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetApiKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetApiKeyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetApiKey(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetApiKey", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetApiKey(ctx, req.(*GetApiKeyRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_CreateApiKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateApiKeyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).CreateApiKey(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/CreateApiKey", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).CreateApiKey(ctx, req.(*CreateApiKeyRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_UpdateApiKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateApiKeyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).UpdateApiKey(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateApiKey", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).UpdateApiKey(ctx, req.(*UpdateApiKeyRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_DeleteApiKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteApiKeyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).DeleteApiKey(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteApiKey", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).DeleteApiKey(ctx, req.(*DeleteApiKeyRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetAuditLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAuditLogsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetAuditLogs(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetAuditLogs", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetAuditLogs(ctx, req.(*GetAuditLogsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_ValidateAccountAuditLogSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ValidateAccountAuditLogSinkRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).ValidateAccountAuditLogSink(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/ValidateAccountAuditLogSink", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).ValidateAccountAuditLogSink(ctx, req.(*ValidateAccountAuditLogSinkRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_CreateAccountAuditLogSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateAccountAuditLogSinkRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).CreateAccountAuditLogSink(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/CreateAccountAuditLogSink", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).CreateAccountAuditLogSink(ctx, req.(*CreateAccountAuditLogSinkRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetAccountAuditLogSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAccountAuditLogSinkRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetAccountAuditLogSink(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetAccountAuditLogSink", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetAccountAuditLogSink(ctx, req.(*GetAccountAuditLogSinkRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetAccountAuditLogSinks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAccountAuditLogSinksRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetAccountAuditLogSinks(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetAccountAuditLogSinks", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetAccountAuditLogSinks(ctx, req.(*GetAccountAuditLogSinksRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_UpdateAccountAuditLogSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateAccountAuditLogSinkRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).UpdateAccountAuditLogSink(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateAccountAuditLogSink", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).UpdateAccountAuditLogSink(ctx, req.(*UpdateAccountAuditLogSinkRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_DeleteAccountAuditLogSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteAccountAuditLogSinkRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).DeleteAccountAuditLogSink(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteAccountAuditLogSink", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).DeleteAccountAuditLogSink(ctx, req.(*DeleteAccountAuditLogSinkRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetUsage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetUsageRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetUsage(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetUsage", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetUsage(ctx, req.(*GetUsageRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAccountRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetAccount(ctx, req.(*GetAccountRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_UpdateAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateAccountRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).UpdateAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).UpdateAccount(ctx, req.(*UpdateAccountRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_CreateNamespaceExportSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateNamespaceExportSinkRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).CreateNamespaceExportSink(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/CreateNamespaceExportSink", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).CreateNamespaceExportSink(ctx, req.(*CreateNamespaceExportSinkRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetNamespaceExportSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetNamespaceExportSinkRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetNamespaceExportSink(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaceExportSink", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetNamespaceExportSink(ctx, req.(*GetNamespaceExportSinkRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetNamespaceExportSinks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetNamespaceExportSinksRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetNamespaceExportSinks(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaceExportSinks", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetNamespaceExportSinks(ctx, req.(*GetNamespaceExportSinksRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_UpdateNamespaceExportSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateNamespaceExportSinkRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).UpdateNamespaceExportSink(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateNamespaceExportSink", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).UpdateNamespaceExportSink(ctx, req.(*UpdateNamespaceExportSinkRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_DeleteNamespaceExportSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteNamespaceExportSinkRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).DeleteNamespaceExportSink(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteNamespaceExportSink", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).DeleteNamespaceExportSink(ctx, req.(*DeleteNamespaceExportSinkRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_ValidateNamespaceExportSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ValidateNamespaceExportSinkRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).ValidateNamespaceExportSink(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/ValidateNamespaceExportSink", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).ValidateNamespaceExportSink(ctx, req.(*ValidateNamespaceExportSinkRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_StartMigration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StartMigrationRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).StartMigration(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/StartMigration", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).StartMigration(ctx, req.(*StartMigrationRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetMigrations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetMigrationsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetMigrations(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetMigrations", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetMigrations(ctx, req.(*GetMigrationsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetMigration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetMigrationRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetMigration(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetMigration", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetMigration(ctx, req.(*GetMigrationRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_HandoverNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(HandoverNamespaceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).HandoverNamespace(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/HandoverNamespace", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).HandoverNamespace(ctx, req.(*HandoverNamespaceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_AbortMigration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AbortMigrationRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).AbortMigration(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/AbortMigration", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).AbortMigration(ctx, req.(*AbortMigrationRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_ConfirmMigration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ConfirmMigrationRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).ConfirmMigration(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/ConfirmMigration", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).ConfirmMigration(ctx, req.(*ConfirmMigrationRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_CreateConnectivityRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateConnectivityRuleRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).CreateConnectivityRule(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/CreateConnectivityRule", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).CreateConnectivityRule(ctx, req.(*CreateConnectivityRuleRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetConnectivityRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetConnectivityRuleRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetConnectivityRule(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetConnectivityRule", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetConnectivityRule(ctx, req.(*GetConnectivityRuleRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetConnectivityRules_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetConnectivityRulesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetConnectivityRules(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetConnectivityRules", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetConnectivityRules(ctx, req.(*GetConnectivityRulesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_DeleteConnectivityRule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteConnectivityRuleRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).DeleteConnectivityRule(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteConnectivityRule", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).DeleteConnectivityRule(ctx, req.(*DeleteConnectivityRuleRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetProjects_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetProjectsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetProjects(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetProjects", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetProjects(ctx, req.(*GetProjectsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetProjectRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetProject(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetProject", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetProject(ctx, req.(*GetProjectRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_CreateProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateProjectRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).CreateProject(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/CreateProject", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).CreateProject(ctx, req.(*CreateProjectRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_UpdateProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateProjectRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).UpdateProject(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateProject", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).UpdateProject(ctx, req.(*UpdateProjectRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_DeleteProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteProjectRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).DeleteProject(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteProject", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).DeleteProject(ctx, req.(*DeleteProjectRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_SetUserProjectAccess_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetUserProjectAccessRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).SetUserProjectAccess(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/SetUserProjectAccess", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).SetUserProjectAccess(ctx, req.(*SetUserProjectAccessRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_SetUserGroupProjectAccess_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetUserGroupProjectAccessRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).SetUserGroupProjectAccess(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/SetUserGroupProjectAccess", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).SetUserGroupProjectAccess(ctx, req.(*SetUserGroupProjectAccessRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_SetServiceAccountProjectAccess_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetServiceAccountProjectAccessRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).SetServiceAccountProjectAccess(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/SetServiceAccountProjectAccess", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).SetServiceAccountProjectAccess(ctx, req.(*SetServiceAccountProjectAccessRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_ResendUserInvite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ResendUserInviteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).ResendUserInvite(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/ResendUserInvite", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).ResendUserInvite(ctx, req.(*ResendUserInviteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_UpdateNamespaceTags_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateNamespaceTagsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).UpdateNamespaceTags(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateNamespaceTags", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).UpdateNamespaceTags(ctx, req.(*UpdateNamespaceTagsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetTagKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetTagKeysRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetTagKeys(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetTagKeys", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetTagKeys(ctx, req.(*GetTagKeysRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetCustomRoles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCustomRolesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetCustomRoles(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetCustomRoles", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetCustomRoles(ctx, req.(*GetCustomRolesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetCustomRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCustomRoleRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetCustomRole(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetCustomRole", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetCustomRole(ctx, req.(*GetCustomRoleRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_CreateCustomRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateCustomRoleRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).CreateCustomRole(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/CreateCustomRole", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).CreateCustomRole(ctx, req.(*CreateCustomRoleRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_UpdateCustomRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateCustomRoleRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).UpdateCustomRole(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/UpdateCustomRole", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).UpdateCustomRole(ctx, req.(*UpdateCustomRoleRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_DeleteCustomRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteCustomRoleRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).DeleteCustomRole(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/DeleteCustomRole", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).DeleteCustomRole(ctx, req.(*DeleteCustomRoleRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_CreateBillingReport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateBillingReportRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).CreateBillingReport(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/CreateBillingReport", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).CreateBillingReport(ctx, req.(*CreateBillingReportRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetBillingReport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetBillingReportRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetBillingReport(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetBillingReport", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetBillingReport(ctx, req.(*GetBillingReportRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CloudService_GetNamespaceCapacityInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetNamespaceCapacityInfoRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CloudServiceServer).GetNamespaceCapacityInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/temporal.api.cloud.cloudservice.v1.CloudService/GetNamespaceCapacityInfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CloudServiceServer).GetNamespaceCapacityInfo(ctx, req.(*GetNamespaceCapacityInfoRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// CloudService_ServiceDesc is the grpc.ServiceDesc for CloudService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var CloudService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "temporal.api.cloud.cloudservice.v1.CloudService", + HandlerType: (*CloudServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetCurrentIdentity", + Handler: _CloudService_GetCurrentIdentity_Handler, + }, + { + MethodName: "GetUsers", + Handler: _CloudService_GetUsers_Handler, + }, + { + MethodName: "GetUser", + Handler: _CloudService_GetUser_Handler, + }, + { + MethodName: "CreateUser", + Handler: _CloudService_CreateUser_Handler, + }, + { + MethodName: "UpdateUser", + Handler: _CloudService_UpdateUser_Handler, + }, + { + MethodName: "DeleteUser", + Handler: _CloudService_DeleteUser_Handler, + }, + { + MethodName: "SetUserNamespaceAccess", + Handler: _CloudService_SetUserNamespaceAccess_Handler, + }, + { + MethodName: "GetAsyncOperation", + Handler: _CloudService_GetAsyncOperation_Handler, + }, + { + MethodName: "CreateNamespace", + Handler: _CloudService_CreateNamespace_Handler, + }, + { + MethodName: "GetNamespaces", + Handler: _CloudService_GetNamespaces_Handler, + }, + { + MethodName: "GetNamespaceIDs", + Handler: _CloudService_GetNamespaceIDs_Handler, + }, + { + MethodName: "GetNamespace", + Handler: _CloudService_GetNamespace_Handler, + }, + { + MethodName: "UpdateNamespace", + Handler: _CloudService_UpdateNamespace_Handler, + }, + { + MethodName: "RenameCustomSearchAttribute", + Handler: _CloudService_RenameCustomSearchAttribute_Handler, + }, + { + MethodName: "DeleteNamespace", + Handler: _CloudService_DeleteNamespace_Handler, + }, + { + MethodName: "FailoverNamespaceRegion", + Handler: _CloudService_FailoverNamespaceRegion_Handler, + }, + { + MethodName: "AddNamespaceRegion", + Handler: _CloudService_AddNamespaceRegion_Handler, + }, + { + MethodName: "DeleteNamespaceRegion", + Handler: _CloudService_DeleteNamespaceRegion_Handler, + }, + { + MethodName: "GetRegions", + Handler: _CloudService_GetRegions_Handler, + }, + { + MethodName: "GetRegion", + Handler: _CloudService_GetRegion_Handler, + }, + { + MethodName: "GetNexusEndpoints", + Handler: _CloudService_GetNexusEndpoints_Handler, + }, + { + MethodName: "GetNexusEndpoint", + Handler: _CloudService_GetNexusEndpoint_Handler, + }, + { + MethodName: "CreateNexusEndpoint", + Handler: _CloudService_CreateNexusEndpoint_Handler, + }, + { + MethodName: "UpdateNexusEndpoint", + Handler: _CloudService_UpdateNexusEndpoint_Handler, + }, + { + MethodName: "DeleteNexusEndpoint", + Handler: _CloudService_DeleteNexusEndpoint_Handler, + }, + { + MethodName: "GetUserGroups", + Handler: _CloudService_GetUserGroups_Handler, + }, + { + MethodName: "GetUserGroup", + Handler: _CloudService_GetUserGroup_Handler, + }, + { + MethodName: "CreateUserGroup", + Handler: _CloudService_CreateUserGroup_Handler, + }, + { + MethodName: "UpdateUserGroup", + Handler: _CloudService_UpdateUserGroup_Handler, + }, + { + MethodName: "DeleteUserGroup", + Handler: _CloudService_DeleteUserGroup_Handler, + }, + { + MethodName: "SetUserGroupNamespaceAccess", + Handler: _CloudService_SetUserGroupNamespaceAccess_Handler, + }, + { + MethodName: "AddUserGroupMember", + Handler: _CloudService_AddUserGroupMember_Handler, + }, + { + MethodName: "RemoveUserGroupMember", + Handler: _CloudService_RemoveUserGroupMember_Handler, + }, + { + MethodName: "GetUserGroupMembers", + Handler: _CloudService_GetUserGroupMembers_Handler, + }, + { + MethodName: "CreateServiceAccount", + Handler: _CloudService_CreateServiceAccount_Handler, + }, + { + MethodName: "GetServiceAccount", + Handler: _CloudService_GetServiceAccount_Handler, + }, + { + MethodName: "GetServiceAccounts", + Handler: _CloudService_GetServiceAccounts_Handler, + }, + { + MethodName: "UpdateServiceAccount", + Handler: _CloudService_UpdateServiceAccount_Handler, + }, + { + MethodName: "SetServiceAccountNamespaceAccess", + Handler: _CloudService_SetServiceAccountNamespaceAccess_Handler, + }, + { + MethodName: "DeleteServiceAccount", + Handler: _CloudService_DeleteServiceAccount_Handler, + }, + { + MethodName: "GetApiKeys", + Handler: _CloudService_GetApiKeys_Handler, + }, + { + MethodName: "GetApiKey", + Handler: _CloudService_GetApiKey_Handler, + }, + { + MethodName: "CreateApiKey", + Handler: _CloudService_CreateApiKey_Handler, + }, + { + MethodName: "UpdateApiKey", + Handler: _CloudService_UpdateApiKey_Handler, + }, + { + MethodName: "DeleteApiKey", + Handler: _CloudService_DeleteApiKey_Handler, + }, + { + MethodName: "GetAuditLogs", + Handler: _CloudService_GetAuditLogs_Handler, + }, + { + MethodName: "ValidateAccountAuditLogSink", + Handler: _CloudService_ValidateAccountAuditLogSink_Handler, + }, + { + MethodName: "CreateAccountAuditLogSink", + Handler: _CloudService_CreateAccountAuditLogSink_Handler, + }, + { + MethodName: "GetAccountAuditLogSink", + Handler: _CloudService_GetAccountAuditLogSink_Handler, + }, + { + MethodName: "GetAccountAuditLogSinks", + Handler: _CloudService_GetAccountAuditLogSinks_Handler, + }, + { + MethodName: "UpdateAccountAuditLogSink", + Handler: _CloudService_UpdateAccountAuditLogSink_Handler, + }, + { + MethodName: "DeleteAccountAuditLogSink", + Handler: _CloudService_DeleteAccountAuditLogSink_Handler, + }, + { + MethodName: "GetUsage", + Handler: _CloudService_GetUsage_Handler, + }, + { + MethodName: "GetAccount", + Handler: _CloudService_GetAccount_Handler, + }, + { + MethodName: "UpdateAccount", + Handler: _CloudService_UpdateAccount_Handler, + }, + { + MethodName: "CreateNamespaceExportSink", + Handler: _CloudService_CreateNamespaceExportSink_Handler, + }, + { + MethodName: "GetNamespaceExportSink", + Handler: _CloudService_GetNamespaceExportSink_Handler, + }, + { + MethodName: "GetNamespaceExportSinks", + Handler: _CloudService_GetNamespaceExportSinks_Handler, + }, + { + MethodName: "UpdateNamespaceExportSink", + Handler: _CloudService_UpdateNamespaceExportSink_Handler, + }, + { + MethodName: "DeleteNamespaceExportSink", + Handler: _CloudService_DeleteNamespaceExportSink_Handler, + }, + { + MethodName: "ValidateNamespaceExportSink", + Handler: _CloudService_ValidateNamespaceExportSink_Handler, + }, + { + MethodName: "StartMigration", + Handler: _CloudService_StartMigration_Handler, + }, + { + MethodName: "GetMigrations", + Handler: _CloudService_GetMigrations_Handler, + }, + { + MethodName: "GetMigration", + Handler: _CloudService_GetMigration_Handler, + }, + { + MethodName: "HandoverNamespace", + Handler: _CloudService_HandoverNamespace_Handler, + }, + { + MethodName: "AbortMigration", + Handler: _CloudService_AbortMigration_Handler, + }, + { + MethodName: "ConfirmMigration", + Handler: _CloudService_ConfirmMigration_Handler, + }, + { + MethodName: "CreateConnectivityRule", + Handler: _CloudService_CreateConnectivityRule_Handler, + }, + { + MethodName: "GetConnectivityRule", + Handler: _CloudService_GetConnectivityRule_Handler, + }, + { + MethodName: "GetConnectivityRules", + Handler: _CloudService_GetConnectivityRules_Handler, + }, + { + MethodName: "DeleteConnectivityRule", + Handler: _CloudService_DeleteConnectivityRule_Handler, + }, + { + MethodName: "GetProjects", + Handler: _CloudService_GetProjects_Handler, + }, + { + MethodName: "GetProject", + Handler: _CloudService_GetProject_Handler, + }, + { + MethodName: "CreateProject", + Handler: _CloudService_CreateProject_Handler, + }, + { + MethodName: "UpdateProject", + Handler: _CloudService_UpdateProject_Handler, + }, + { + MethodName: "DeleteProject", + Handler: _CloudService_DeleteProject_Handler, + }, + { + MethodName: "SetUserProjectAccess", + Handler: _CloudService_SetUserProjectAccess_Handler, + }, + { + MethodName: "SetUserGroupProjectAccess", + Handler: _CloudService_SetUserGroupProjectAccess_Handler, + }, + { + MethodName: "SetServiceAccountProjectAccess", + Handler: _CloudService_SetServiceAccountProjectAccess_Handler, + }, + { + MethodName: "ResendUserInvite", + Handler: _CloudService_ResendUserInvite_Handler, + }, + { + MethodName: "UpdateNamespaceTags", + Handler: _CloudService_UpdateNamespaceTags_Handler, + }, + { + MethodName: "GetTagKeys", + Handler: _CloudService_GetTagKeys_Handler, + }, + { + MethodName: "GetCustomRoles", + Handler: _CloudService_GetCustomRoles_Handler, + }, + { + MethodName: "GetCustomRole", + Handler: _CloudService_GetCustomRole_Handler, + }, + { + MethodName: "CreateCustomRole", + Handler: _CloudService_CreateCustomRole_Handler, + }, + { + MethodName: "UpdateCustomRole", + Handler: _CloudService_UpdateCustomRole_Handler, + }, + { + MethodName: "DeleteCustomRole", + Handler: _CloudService_DeleteCustomRole_Handler, + }, + { + MethodName: "CreateBillingReport", + Handler: _CloudService_CreateBillingReport_Handler, + }, + { + MethodName: "GetBillingReport", + Handler: _CloudService_GetBillingReport_Handler, + }, + { + MethodName: "GetNamespaceCapacityInfo", + Handler: _CloudService_GetNamespaceCapacityInfo_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "temporal/api/cloud/cloudservice/v1/service.proto", +} diff --git a/protogen/api/cloud/connectivityrule/v1/message.pb.go b/protogen/api/cloud/connectivityrule/v1/message.pb.go index c1d267ea..87dd1c3b 100644 --- a/protogen/api/cloud/connectivityrule/v1/message.pb.go +++ b/protogen/api/cloud/connectivityrule/v1/message.pb.go @@ -1,176 +1,181 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: temporal/api/cloud/connectivityrule/v1/message.proto package connectivityrule import ( - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - types "github.com/gogo/protobuf/types" + proto "github.com/golang/protobuf/proto" v1 "github.com/temporalio/tcld/protogen/api/cloud/resource/v1" - io "io" - math "math" - math_bits "math/bits" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" - strings "strings" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type ConnectivityRule struct { - // unique id for ConnectivityRule (should be a uuid generated from db) + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The unique ID of the connectivity rule. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // connectivity rule spec including user specified values - Spec *ConnectivityRuleSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - ResourceVersion string `protobuf:"bytes,4,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` - State v1.ResourceState `protobuf:"varint,5,opt,name=state,proto3,enum=temporal.api.cloud.resource.v1.ResourceState" json:"state,omitempty"` - // the id of the async operation that is creating/updating/deleting the user, if any + // The connectivity rule specification. + Spec *ConnectivityRuleSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + // The current version of the connectivity rule specification. + // The next update operation will have to include this version. + ResourceVersion string `protobuf:"bytes,4,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` + // The current state of the connectivity rule. + State v1.ResourceState `protobuf:"varint,5,opt,name=state,proto3,enum=temporal.api.cloud.resource.v1.ResourceState" json:"state,omitempty"` + // The ID of the async operation that is creating/updating/deleting the connectivity rule, if any. AsyncOperationId string `protobuf:"bytes,6,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` - // the date and time when the user was created - CreatedTime *types.Timestamp `protobuf:"bytes,7,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` + // The date and time when the connectivity rule was created + CreatedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` + // The ID of the project this connectivity rule belongs to. + // temporal:dev + ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` } -func (m *ConnectivityRule) Reset() { *m = ConnectivityRule{} } -func (*ConnectivityRule) ProtoMessage() {} -func (*ConnectivityRule) Descriptor() ([]byte, []int) { - return fileDescriptor_7d8eb943a8c14c63, []int{0} +func (x *ConnectivityRule) Reset() { + *x = ConnectivityRule{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_connectivityrule_v1_message_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ConnectivityRule) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *ConnectivityRule) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ConnectivityRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ConnectivityRule.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*ConnectivityRule) ProtoMessage() {} + +func (x *ConnectivityRule) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_connectivityrule_v1_message_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *ConnectivityRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConnectivityRule.Merge(m, src) -} -func (m *ConnectivityRule) XXX_Size() int { - return m.Size() -} -func (m *ConnectivityRule) XXX_DiscardUnknown() { - xxx_messageInfo_ConnectivityRule.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_ConnectivityRule proto.InternalMessageInfo +// Deprecated: Use ConnectivityRule.ProtoReflect.Descriptor instead. +func (*ConnectivityRule) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_connectivityrule_v1_message_proto_rawDescGZIP(), []int{0} +} -func (m *ConnectivityRule) GetId() string { - if m != nil { - return m.Id +func (x *ConnectivityRule) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *ConnectivityRule) GetSpec() *ConnectivityRuleSpec { - if m != nil { - return m.Spec +func (x *ConnectivityRule) GetSpec() *ConnectivityRuleSpec { + if x != nil { + return x.Spec } return nil } -func (m *ConnectivityRule) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *ConnectivityRule) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *ConnectivityRule) GetState() v1.ResourceState { - if m != nil { - return m.State +func (x *ConnectivityRule) GetState() v1.ResourceState { + if x != nil { + return x.State } return v1.RESOURCE_STATE_UNSPECIFIED } -func (m *ConnectivityRule) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *ConnectivityRule) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } -func (m *ConnectivityRule) GetCreatedTime() *types.Timestamp { - if m != nil { - return m.CreatedTime +func (x *ConnectivityRule) GetCreatedTime() *timestamppb.Timestamp { + if x != nil { + return x.CreatedTime } return nil } +func (x *ConnectivityRule) GetProjectId() string { + if x != nil { + return x.ProjectId + } + return "" +} + // spec that passed in when create/update the connectivity rule type ConnectivityRuleSpec struct { - // Types that are valid to be assigned to ConnectionType: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to ConnectionType: // // *ConnectivityRuleSpec_PublicRule // *ConnectivityRuleSpec_PrivateRule ConnectionType isConnectivityRuleSpec_ConnectionType `protobuf_oneof:"connection_type"` } -func (m *ConnectivityRuleSpec) Reset() { *m = ConnectivityRuleSpec{} } -func (*ConnectivityRuleSpec) ProtoMessage() {} -func (*ConnectivityRuleSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_7d8eb943a8c14c63, []int{1} -} -func (m *ConnectivityRuleSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ConnectivityRuleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ConnectivityRuleSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ConnectivityRuleSpec) Reset() { + *x = ConnectivityRuleSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_connectivityrule_v1_message_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ConnectivityRuleSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConnectivityRuleSpec.Merge(m, src) -} -func (m *ConnectivityRuleSpec) XXX_Size() int { - return m.Size() -} -func (m *ConnectivityRuleSpec) XXX_DiscardUnknown() { - xxx_messageInfo_ConnectivityRuleSpec.DiscardUnknown(m) + +func (x *ConnectivityRuleSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ConnectivityRuleSpec proto.InternalMessageInfo +func (*ConnectivityRuleSpec) ProtoMessage() {} -type isConnectivityRuleSpec_ConnectionType interface { - isConnectivityRuleSpec_ConnectionType() - Equal(interface{}) bool - MarshalTo([]byte) (int, error) - Size() int +func (x *ConnectivityRuleSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_connectivityrule_v1_message_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type ConnectivityRuleSpec_PublicRule struct { - PublicRule *PublicConnectivityRule `protobuf:"bytes,1,opt,name=public_rule,json=publicRule,proto3,oneof" json:"public_rule,omitempty"` -} -type ConnectivityRuleSpec_PrivateRule struct { - PrivateRule *PrivateConnectivityRule `protobuf:"bytes,2,opt,name=private_rule,json=privateRule,proto3,oneof" json:"private_rule,omitempty"` +// Deprecated: Use ConnectivityRuleSpec.ProtoReflect.Descriptor instead. +func (*ConnectivityRuleSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_connectivityrule_v1_message_proto_rawDescGZIP(), []int{1} } -func (*ConnectivityRuleSpec_PublicRule) isConnectivityRuleSpec_ConnectionType() {} -func (*ConnectivityRuleSpec_PrivateRule) isConnectivityRuleSpec_ConnectionType() {} - func (m *ConnectivityRuleSpec) GetConnectionType() isConnectivityRuleSpec_ConnectionType { if m != nil { return m.ConnectionType @@ -178,1471 +183,335 @@ func (m *ConnectivityRuleSpec) GetConnectionType() isConnectivityRuleSpec_Connec return nil } -func (m *ConnectivityRuleSpec) GetPublicRule() *PublicConnectivityRule { - if x, ok := m.GetConnectionType().(*ConnectivityRuleSpec_PublicRule); ok { +func (x *ConnectivityRuleSpec) GetPublicRule() *PublicConnectivityRule { + if x, ok := x.GetConnectionType().(*ConnectivityRuleSpec_PublicRule); ok { return x.PublicRule } return nil } -func (m *ConnectivityRuleSpec) GetPrivateRule() *PrivateConnectivityRule { - if x, ok := m.GetConnectionType().(*ConnectivityRuleSpec_PrivateRule); ok { +func (x *ConnectivityRuleSpec) GetPrivateRule() *PrivateConnectivityRule { + if x, ok := x.GetConnectionType().(*ConnectivityRuleSpec_PrivateRule); ok { return x.PrivateRule } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ConnectivityRuleSpec) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ConnectivityRuleSpec_PublicRule)(nil), - (*ConnectivityRuleSpec_PrivateRule)(nil), - } -} - -type PublicConnectivityRule struct { -} - -func (m *PublicConnectivityRule) Reset() { *m = PublicConnectivityRule{} } -func (*PublicConnectivityRule) ProtoMessage() {} -func (*PublicConnectivityRule) Descriptor() ([]byte, []int) { - return fileDescriptor_7d8eb943a8c14c63, []int{2} -} -func (m *PublicConnectivityRule) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PublicConnectivityRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PublicConnectivityRule.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *PublicConnectivityRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_PublicConnectivityRule.Merge(m, src) -} -func (m *PublicConnectivityRule) XXX_Size() int { - return m.Size() -} -func (m *PublicConnectivityRule) XXX_DiscardUnknown() { - xxx_messageInfo_PublicConnectivityRule.DiscardUnknown(m) -} - -var xxx_messageInfo_PublicConnectivityRule proto.InternalMessageInfo - -type PrivateConnectivityRule struct { - // connection id provided by user so we enforce the private connectivity. This is required both by AWS and GCP - ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` - // for gcp private connectivity service, gcp needs both gcp project id and the Private Service Connect Connection IDs - // AWS only needs the connection_id - GcpProjectId string `protobuf:"bytes,2,opt,name=gcp_project_id,json=gcpProjectId,proto3" json:"gcp_project_id,omitempty"` - // connectivity region, Example: "aws-us-west-2" - Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` -} - -func (m *PrivateConnectivityRule) Reset() { *m = PrivateConnectivityRule{} } -func (*PrivateConnectivityRule) ProtoMessage() {} -func (*PrivateConnectivityRule) Descriptor() ([]byte, []int) { - return fileDescriptor_7d8eb943a8c14c63, []int{3} -} -func (m *PrivateConnectivityRule) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PrivateConnectivityRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PrivateConnectivityRule.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *PrivateConnectivityRule) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrivateConnectivityRule.Merge(m, src) -} -func (m *PrivateConnectivityRule) XXX_Size() int { - return m.Size() -} -func (m *PrivateConnectivityRule) XXX_DiscardUnknown() { - xxx_messageInfo_PrivateConnectivityRule.DiscardUnknown(m) -} - -var xxx_messageInfo_PrivateConnectivityRule proto.InternalMessageInfo - -func (m *PrivateConnectivityRule) GetConnectionId() string { - if m != nil { - return m.ConnectionId - } - return "" -} - -func (m *PrivateConnectivityRule) GetGcpProjectId() string { - if m != nil { - return m.GcpProjectId - } - return "" -} - -func (m *PrivateConnectivityRule) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func init() { - proto.RegisterType((*ConnectivityRule)(nil), "temporal.api.cloud.connectivityrule.v1.ConnectivityRule") - proto.RegisterType((*ConnectivityRuleSpec)(nil), "temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec") - proto.RegisterType((*PublicConnectivityRule)(nil), "temporal.api.cloud.connectivityrule.v1.PublicConnectivityRule") - proto.RegisterType((*PrivateConnectivityRule)(nil), "temporal.api.cloud.connectivityrule.v1.PrivateConnectivityRule") +type isConnectivityRuleSpec_ConnectionType interface { + isConnectivityRuleSpec_ConnectionType() } -func init() { - proto.RegisterFile("temporal/api/cloud/connectivityrule/v1/message.proto", fileDescriptor_7d8eb943a8c14c63) +type ConnectivityRuleSpec_PublicRule struct { + PublicRule *PublicConnectivityRule `protobuf:"bytes,1,opt,name=public_rule,json=publicRule,proto3,oneof" json:"public_rule,omitempty"` } -var fileDescriptor_7d8eb943a8c14c63 = []byte{ - // 585 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xbf, 0x6e, 0xd4, 0x30, - 0x1c, 0x8e, 0xd3, 0xb4, 0x14, 0xdf, 0xd1, 0x1e, 0x16, 0x2a, 0x51, 0x07, 0x53, 0x1d, 0x08, 0x5d, - 0xa5, 0xe2, 0xe8, 0x0a, 0x53, 0xa0, 0xa0, 0xb6, 0x0b, 0xad, 0x84, 0x38, 0xa5, 0x55, 0x07, 0x96, - 0x28, 0x75, 0x4c, 0x64, 0x94, 0x8b, 0xad, 0xc4, 0x39, 0xa9, 0x1b, 0x62, 0x62, 0xe4, 0x31, 0x10, - 0x4f, 0xc2, 0xd8, 0x8d, 0x8e, 0x34, 0xb7, 0x20, 0xa6, 0x8a, 0x27, 0x40, 0x71, 0x2e, 0xf4, 0x14, - 0x0e, 0x74, 0x5b, 0xfc, 0xf9, 0xfb, 0xe3, 0x7c, 0xfe, 0x25, 0xf0, 0x89, 0x62, 0x43, 0x29, 0xd2, - 0x20, 0x76, 0x02, 0xc9, 0x1d, 0x1a, 0x8b, 0x3c, 0x74, 0xa8, 0x48, 0x12, 0x46, 0x15, 0x1f, 0x71, - 0x75, 0x96, 0xe6, 0x31, 0x73, 0x46, 0x7d, 0x67, 0xc8, 0xb2, 0x2c, 0x88, 0x18, 0x91, 0xa9, 0x50, - 0x02, 0x3d, 0xac, 0x55, 0x24, 0x90, 0x9c, 0x68, 0x15, 0x69, 0xaa, 0xc8, 0xa8, 0xbf, 0xbe, 0x35, - 0xc3, 0x3d, 0x65, 0x99, 0xc8, 0x53, 0xfa, 0xb7, 0xeb, 0xfa, 0xbd, 0x48, 0x88, 0x28, 0x66, 0x8e, - 0x5e, 0x9d, 0xe6, 0x6f, 0x1d, 0xc5, 0x87, 0x2c, 0x53, 0xc1, 0x50, 0x56, 0x84, 0xee, 0x37, 0x13, - 0x76, 0xf6, 0xa7, 0x62, 0xbc, 0x3c, 0x66, 0x68, 0x05, 0x9a, 0x3c, 0xb4, 0xc1, 0x06, 0xe8, 0xdd, - 0xf4, 0x4c, 0x1e, 0xa2, 0x01, 0xb4, 0x32, 0xc9, 0xa8, 0x6d, 0x6e, 0x80, 0x5e, 0x6b, 0xfb, 0x19, - 0x99, 0xef, 0xa8, 0xa4, 0xe9, 0x7b, 0x24, 0x19, 0xf5, 0xb4, 0x13, 0xda, 0x84, 0x9d, 0xfa, 0xd0, - 0xfe, 0x88, 0xa5, 0x19, 0x17, 0x89, 0x6d, 0xe9, 0xbc, 0xd5, 0x1a, 0x3f, 0xa9, 0x60, 0xb4, 0x0f, - 0x17, 0x33, 0x15, 0x28, 0x66, 0x2f, 0x6e, 0x80, 0xde, 0xca, 0xf6, 0xa3, 0x59, 0xe9, 0xb5, 0xa6, - 0x4c, 0xf5, 0x26, 0xcf, 0x47, 0xa5, 0xc8, 0xab, 0xb4, 0x68, 0x0b, 0xa2, 0x20, 0x3b, 0x4b, 0xa8, - 0x2f, 0x24, 0x4b, 0x03, 0xc5, 0x45, 0xe2, 0xf3, 0xd0, 0x5e, 0xd2, 0x89, 0x1d, 0xbd, 0xf3, 0xba, - 0xde, 0x38, 0x08, 0xd1, 0x0e, 0x6c, 0xd3, 0x94, 0x05, 0x8a, 0x85, 0x7e, 0xd9, 0x97, 0x7d, 0x43, - 0xbf, 0xf7, 0x3a, 0xa9, 0xca, 0x24, 0x75, 0x99, 0xe4, 0xb8, 0x2e, 0xd3, 0x6b, 0x4d, 0xf8, 0x25, - 0x72, 0x68, 0x2d, 0x2f, 0x74, 0xac, 0xee, 0x2f, 0x00, 0xef, 0xcc, 0x6a, 0x00, 0x05, 0xb0, 0x25, - 0xf3, 0xd3, 0x98, 0x53, 0xbf, 0x2c, 0x4a, 0xd7, 0xdc, 0xda, 0x7e, 0x3e, 0x6f, 0xa9, 0x03, 0x2d, - 0x6d, 0x1a, 0xbf, 0x34, 0x3c, 0x58, 0x99, 0xea, 0x0b, 0x0c, 0x61, 0x5b, 0xa6, 0x7c, 0x14, 0x28, - 0x56, 0x65, 0x54, 0x17, 0xf7, 0x62, 0xee, 0x8c, 0x4a, 0x3b, 0x23, 0xa4, 0x35, 0xb1, 0x2d, 0x97, - 0x7b, 0xb7, 0xe1, 0x6a, 0xad, 0x16, 0x89, 0xaf, 0xce, 0x24, 0xeb, 0xda, 0x70, 0x6d, 0xf6, 0x01, - 0xbb, 0x1f, 0x00, 0xbc, 0xfb, 0x0f, 0x5f, 0x74, 0x1f, 0xde, 0x9a, 0x32, 0xfa, 0x33, 0x7a, 0xed, - 0x6b, 0xf0, 0x20, 0x44, 0x0f, 0xe0, 0x4a, 0x44, 0xa5, 0x2f, 0x53, 0xf1, 0x8e, 0x51, 0x55, 0xb2, - 0xcc, 0x8a, 0x15, 0x51, 0x39, 0xa8, 0xc0, 0x83, 0x10, 0xad, 0xc1, 0xa5, 0x94, 0x45, 0xe5, 0x38, - 0x2d, 0xe8, 0xdd, 0xc9, 0xea, 0xd0, 0x5a, 0xb6, 0x3a, 0x8b, 0x7b, 0x1f, 0xcd, 0xf3, 0x4b, 0x6c, - 0x5c, 0x5c, 0x62, 0xe3, 0xea, 0x12, 0x83, 0xf7, 0x05, 0x06, 0x9f, 0x0b, 0x0c, 0xbe, 0x16, 0x18, - 0x9c, 0x17, 0x18, 0x7c, 0x2f, 0x30, 0xf8, 0x51, 0x60, 0xe3, 0xaa, 0xc0, 0xe0, 0xd3, 0x18, 0x1b, - 0xe7, 0x63, 0x6c, 0x5c, 0x8c, 0xb1, 0x01, 0x37, 0xb9, 0x98, 0xb3, 0xba, 0xbd, 0xf6, 0xab, 0xea, - 0xfb, 0x1b, 0x94, 0x33, 0x32, 0x00, 0x6f, 0x76, 0xa2, 0x29, 0x29, 0x17, 0xff, 0xff, 0x25, 0x3c, - 0x6d, 0x62, 0x5f, 0xcc, 0xde, 0xf1, 0x44, 0xcc, 0x05, 0xd9, 0x95, 0x9c, 0xec, 0xeb, 0xe4, 0x66, - 0x83, 0xe4, 0xa4, 0xff, 0xd3, 0xdc, 0xba, 0xa6, 0xba, 0xee, 0xae, 0xe4, 0xae, 0xab, 0xc9, 0xae, - 0xdb, 0x64, 0xbb, 0xee, 0x49, 0xff, 0x74, 0x49, 0x4f, 0xf1, 0xe3, 0xdf, 0x01, 0x00, 0x00, 0xff, - 0xff, 0xce, 0x49, 0x18, 0x43, 0xae, 0x04, 0x00, 0x00, +type ConnectivityRuleSpec_PrivateRule struct { + PrivateRule *PrivateConnectivityRule `protobuf:"bytes,2,opt,name=private_rule,json=privateRule,proto3,oneof" json:"private_rule,omitempty"` } -func (this *ConnectivityRule) Equal(that interface{}) bool { - if that == nil { - return this == nil - } +func (*ConnectivityRuleSpec_PublicRule) isConnectivityRuleSpec_ConnectionType() {} - that1, ok := that.(*ConnectivityRule) - if !ok { - that2, ok := that.(ConnectivityRule) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Id != that1.Id { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.State != that1.State { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - if !this.CreatedTime.Equal(that1.CreatedTime) { - return false - } - return true -} -func (this *ConnectivityRuleSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } +func (*ConnectivityRuleSpec_PrivateRule) isConnectivityRuleSpec_ConnectionType() {} - that1, ok := that.(*ConnectivityRuleSpec) - if !ok { - that2, ok := that.(ConnectivityRuleSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if that1.ConnectionType == nil { - if this.ConnectionType != nil { - return false - } - } else if this.ConnectionType == nil { - return false - } else if !this.ConnectionType.Equal(that1.ConnectionType) { - return false - } - return true +type PublicConnectivityRule struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (this *ConnectivityRuleSpec_PublicRule) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*ConnectivityRuleSpec_PublicRule) - if !ok { - that2, ok := that.(ConnectivityRuleSpec_PublicRule) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.PublicRule.Equal(that1.PublicRule) { - return false +func (x *PublicConnectivityRule) Reset() { + *x = PublicConnectivityRule{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_connectivityrule_v1_message_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return true } -func (this *ConnectivityRuleSpec_PrivateRule) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*ConnectivityRuleSpec_PrivateRule) - if !ok { - that2, ok := that.(ConnectivityRuleSpec_PrivateRule) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.PrivateRule.Equal(that1.PrivateRule) { - return false - } - return true +func (x *PublicConnectivityRule) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *PublicConnectivityRule) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*PublicConnectivityRule) - if !ok { - that2, ok := that.(PublicConnectivityRule) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - return true -} -func (this *PrivateConnectivityRule) Equal(that interface{}) bool { - if that == nil { - return this == nil - } +func (*PublicConnectivityRule) ProtoMessage() {} - that1, ok := that.(*PrivateConnectivityRule) - if !ok { - that2, ok := that.(PrivateConnectivityRule) - if ok { - that1 = &that2 - } else { - return false +func (x *PublicConnectivityRule) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_connectivityrule_v1_message_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.ConnectionId != that1.ConnectionId { - return false - } - if this.GcpProjectId != that1.GcpProjectId { - return false - } - if this.Region != that1.Region { - return false - } - return true -} -func (this *ConnectivityRule) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 10) - s = append(s, "&connectivityrule.ConnectivityRule{") - s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - if this.CreatedTime != nil { - s = append(s, "CreatedTime: "+fmt.Sprintf("%#v", this.CreatedTime)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ConnectivityRuleSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&connectivityrule.ConnectivityRuleSpec{") - if this.ConnectionType != nil { - s = append(s, "ConnectionType: "+fmt.Sprintf("%#v", this.ConnectionType)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ConnectivityRuleSpec_PublicRule) GoString() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&connectivityrule.ConnectivityRuleSpec_PublicRule{` + - `PublicRule:` + fmt.Sprintf("%#v", this.PublicRule) + `}`}, ", ") - return s -} -func (this *ConnectivityRuleSpec_PrivateRule) GoString() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&connectivityrule.ConnectivityRuleSpec_PrivateRule{` + - `PrivateRule:` + fmt.Sprintf("%#v", this.PrivateRule) + `}`}, ", ") - return s -} -func (this *PublicConnectivityRule) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 4) - s = append(s, "&connectivityrule.PublicConnectivityRule{") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *PrivateConnectivityRule) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&connectivityrule.PrivateConnectivityRule{") - s = append(s, "ConnectionId: "+fmt.Sprintf("%#v", this.ConnectionId)+",\n") - s = append(s, "GcpProjectId: "+fmt.Sprintf("%#v", this.GcpProjectId)+",\n") - s = append(s, "Region: "+fmt.Sprintf("%#v", this.Region)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func valueToGoStringMessage(v interface{}, typ string) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) -} -func (m *ConnectivityRule) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ConnectivityRule) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return mi.MessageOf(x) } -func (m *ConnectivityRule) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.CreatedTime != nil { - { - size, err := m.CreatedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x32 - } - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x28 - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x22 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +// Deprecated: Use PublicConnectivityRule.ProtoReflect.Descriptor instead. +func (*PublicConnectivityRule) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_connectivityrule_v1_message_proto_rawDescGZIP(), []int{2} } -func (m *ConnectivityRuleSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} +type PrivateConnectivityRule struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ConnectivityRuleSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + // connection id provided by user so we enforce the private connectivity. This is required both by AWS and GCP + ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` + // for gcp private connectivity service, gcp needs both gcp project id and the Private Service Connect Connection IDs + // AWS only needs the connection_id + GcpProjectId string `protobuf:"bytes,2,opt,name=gcp_project_id,json=gcpProjectId,proto3" json:"gcp_project_id,omitempty"` + // connectivity region, Example: "aws-us-west-2" + Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` } -func (m *ConnectivityRuleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ConnectionType != nil { - { - size := m.ConnectionType.Size() - i -= size - if _, err := m.ConnectionType.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } +func (x *PrivateConnectivityRule) Reset() { + *x = PrivateConnectivityRule{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_connectivityrule_v1_message_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return len(dAtA) - i, nil } -func (m *ConnectivityRuleSpec_PublicRule) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (x *PrivateConnectivityRule) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ConnectivityRuleSpec_PublicRule) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.PublicRule != nil { - { - size, err := m.PublicRule.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} -func (m *ConnectivityRuleSpec_PrivateRule) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} +func (*PrivateConnectivityRule) ProtoMessage() {} -func (m *ConnectivityRuleSpec_PrivateRule) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.PrivateRule != nil { - { - size, err := m.PrivateRule.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) +func (x *PrivateConnectivityRule) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_connectivityrule_v1_message_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - i-- - dAtA[i] = 0x12 + return ms } - return len(dAtA) - i, nil -} -func (m *PublicConnectivityRule) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PublicConnectivityRule) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return mi.MessageOf(x) } -func (m *PublicConnectivityRule) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *PrivateConnectivityRule) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PrivateConnectivityRule) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PrivateConnectivityRule) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Region) > 0 { - i -= len(m.Region) - copy(dAtA[i:], m.Region) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Region))) - i-- - dAtA[i] = 0x1a - } - if len(m.GcpProjectId) > 0 { - i -= len(m.GcpProjectId) - copy(dAtA[i:], m.GcpProjectId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.GcpProjectId))) - i-- - dAtA[i] = 0x12 - } - if len(m.ConnectionId) > 0 { - i -= len(m.ConnectionId) - copy(dAtA[i:], m.ConnectionId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ConnectionId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintMessage(dAtA []byte, offset int, v uint64) int { - offset -= sovMessage(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *ConnectivityRule) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.CreatedTime != nil { - l = m.CreatedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *ConnectivityRuleSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ConnectionType != nil { - n += m.ConnectionType.Size() - } - return n +// Deprecated: Use PrivateConnectivityRule.ProtoReflect.Descriptor instead. +func (*PrivateConnectivityRule) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_connectivityrule_v1_message_proto_rawDescGZIP(), []int{3} } -func (m *ConnectivityRuleSpec_PublicRule) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PublicRule != nil { - l = m.PublicRule.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} -func (m *ConnectivityRuleSpec_PrivateRule) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PrivateRule != nil { - l = m.PrivateRule.Size() - n += 1 + l + sovMessage(uint64(l)) +func (x *PrivateConnectivityRule) GetConnectionId() string { + if x != nil { + return x.ConnectionId } - return n -} -func (m *PublicConnectivityRule) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n + return "" } -func (m *PrivateConnectivityRule) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ConnectionId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.GcpProjectId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.Region) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) +func (x *PrivateConnectivityRule) GetGcpProjectId() string { + if x != nil { + return x.GcpProjectId } - return n + return "" } -func sovMessage(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozMessage(x uint64) (n int) { - return sovMessage(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (this *ConnectivityRule) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ConnectivityRule{`, - `Id:` + fmt.Sprintf("%v", this.Id) + `,`, - `Spec:` + strings.Replace(this.Spec.String(), "ConnectivityRuleSpec", "ConnectivityRuleSpec", 1) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `CreatedTime:` + strings.Replace(fmt.Sprintf("%v", this.CreatedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `}`, - }, "") - return s -} -func (this *ConnectivityRuleSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ConnectivityRuleSpec{`, - `ConnectionType:` + fmt.Sprintf("%v", this.ConnectionType) + `,`, - `}`, - }, "") - return s -} -func (this *ConnectivityRuleSpec_PublicRule) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ConnectivityRuleSpec_PublicRule{`, - `PublicRule:` + strings.Replace(fmt.Sprintf("%v", this.PublicRule), "PublicConnectivityRule", "PublicConnectivityRule", 1) + `,`, - `}`, - }, "") - return s -} -func (this *ConnectivityRuleSpec_PrivateRule) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ConnectivityRuleSpec_PrivateRule{`, - `PrivateRule:` + strings.Replace(fmt.Sprintf("%v", this.PrivateRule), "PrivateConnectivityRule", "PrivateConnectivityRule", 1) + `,`, - `}`, - }, "") - return s -} -func (this *PublicConnectivityRule) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&PublicConnectivityRule{`, - `}`, - }, "") - return s -} -func (this *PrivateConnectivityRule) String() string { - if this == nil { - return "nil" +func (x *PrivateConnectivityRule) GetRegion() string { + if x != nil { + return x.Region } - s := strings.Join([]string{`&PrivateConnectivityRule{`, - `ConnectionId:` + fmt.Sprintf("%v", this.ConnectionId) + `,`, - `GcpProjectId:` + fmt.Sprintf("%v", this.GcpProjectId) + `,`, - `Region:` + fmt.Sprintf("%v", this.Region) + `,`, - `}`, - }, "") - return s -} -func valueToStringMessage(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) -} -func (m *ConnectivityRule) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ConnectivityRule: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ConnectivityRule: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &ConnectivityRuleSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= v1.ResourceState(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CreatedTime == nil { - m.CreatedTime = &types.Timestamp{} - } - if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil + return "" } -func (m *ConnectivityRuleSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ConnectivityRuleSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ConnectivityRuleSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PublicRule", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &PublicConnectivityRule{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.ConnectionType = &ConnectivityRuleSpec_PublicRule{v} - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PrivateRule", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &PrivateConnectivityRule{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.ConnectionType = &ConnectivityRuleSpec_PrivateRule{v} - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil +var File_temporal_api_cloud_connectivityrule_v1_message_proto protoreflect.FileDescriptor + +var file_temporal_api_cloud_connectivityrule_v1_message_proto_rawDesc = []byte{ + 0x0a, 0x34, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x72, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x2c, + 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf6, 0x02, + 0x0a, 0x10, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, + 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x50, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x3c, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, + 0x73, 0x70, 0x65, 0x63, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x43, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, + 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0xf2, 0x01, 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, + 0x61, 0x0a, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x75, + 0x62, 0x6c, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x52, 0x75, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x52, 0x75, + 0x6c, 0x65, 0x12, 0x64, 0x0a, 0x0c, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x75, + 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x72, 0x69, + 0x76, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x42, 0x11, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x50, + 0x75, 0x62, 0x6c, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x52, 0x75, 0x6c, 0x65, 0x22, 0x82, 0x01, 0x0a, 0x17, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, + 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, + 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x67, 0x63, 0x70, 0x5f, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, + 0x67, 0x63, 0x70, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, + 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x42, 0xb6, 0x02, 0x0a, 0x2a, 0x63, + 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x6f, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x72, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x72, 0x75, 0x6c, 0x65, 0xa2, 0x02, 0x04, 0x54, 0x41, 0x43, 0x43, 0xaa, + 0x02, 0x26, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x41, 0x70, 0x69, 0x2e, 0x43, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, + 0x79, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x26, 0x54, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x43, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x72, 0x75, 0x6c, 0x65, 0x5c, 0x56, + 0x31, 0xe2, 0x02, 0x32, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x5c, 0x41, 0x70, 0x69, + 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x72, 0x75, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x2a, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x43, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x72, 0x75, 0x6c, 0x65, 0x3a, + 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func (m *PublicConnectivityRule) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: PublicConnectivityRule: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PublicConnectivityRule: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PrivateConnectivityRule) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: PrivateConnectivityRule: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PrivateConnectivityRule: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectionId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ConnectionId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GcpProjectId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GcpProjectId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Region = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } +var ( + file_temporal_api_cloud_connectivityrule_v1_message_proto_rawDescOnce sync.Once + file_temporal_api_cloud_connectivityrule_v1_message_proto_rawDescData = file_temporal_api_cloud_connectivityrule_v1_message_proto_rawDesc +) - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipMessage(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthMessage - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupMessage - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthMessage - } - if depth == 0 { - return iNdEx, nil - } +func file_temporal_api_cloud_connectivityrule_v1_message_proto_rawDescGZIP() []byte { + file_temporal_api_cloud_connectivityrule_v1_message_proto_rawDescOnce.Do(func() { + file_temporal_api_cloud_connectivityrule_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_temporal_api_cloud_connectivityrule_v1_message_proto_rawDescData) + }) + return file_temporal_api_cloud_connectivityrule_v1_message_proto_rawDescData +} + +var file_temporal_api_cloud_connectivityrule_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_temporal_api_cloud_connectivityrule_v1_message_proto_goTypes = []interface{}{ + (*ConnectivityRule)(nil), // 0: temporal.api.cloud.connectivityrule.v1.ConnectivityRule + (*ConnectivityRuleSpec)(nil), // 1: temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec + (*PublicConnectivityRule)(nil), // 2: temporal.api.cloud.connectivityrule.v1.PublicConnectivityRule + (*PrivateConnectivityRule)(nil), // 3: temporal.api.cloud.connectivityrule.v1.PrivateConnectivityRule + (v1.ResourceState)(0), // 4: temporal.api.cloud.resource.v1.ResourceState + (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp +} +var file_temporal_api_cloud_connectivityrule_v1_message_proto_depIdxs = []int32{ + 1, // 0: temporal.api.cloud.connectivityrule.v1.ConnectivityRule.spec:type_name -> temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec + 4, // 1: temporal.api.cloud.connectivityrule.v1.ConnectivityRule.state:type_name -> temporal.api.cloud.resource.v1.ResourceState + 5, // 2: temporal.api.cloud.connectivityrule.v1.ConnectivityRule.created_time:type_name -> google.protobuf.Timestamp + 2, // 3: temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec.public_rule:type_name -> temporal.api.cloud.connectivityrule.v1.PublicConnectivityRule + 3, // 4: temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec.private_rule:type_name -> temporal.api.cloud.connectivityrule.v1.PrivateConnectivityRule + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_temporal_api_cloud_connectivityrule_v1_message_proto_init() } +func file_temporal_api_cloud_connectivityrule_v1_message_proto_init() { + if File_temporal_api_cloud_connectivityrule_v1_message_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_temporal_api_cloud_connectivityrule_v1_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConnectivityRule); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_connectivityrule_v1_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConnectivityRuleSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_connectivityrule_v1_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PublicConnectivityRule); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_connectivityrule_v1_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrivateConnectivityRule); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_temporal_api_cloud_connectivityrule_v1_message_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*ConnectivityRuleSpec_PublicRule)(nil), + (*ConnectivityRuleSpec_PrivateRule)(nil), } - return 0, io.ErrUnexpectedEOF + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_temporal_api_cloud_connectivityrule_v1_message_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_temporal_api_cloud_connectivityrule_v1_message_proto_goTypes, + DependencyIndexes: file_temporal_api_cloud_connectivityrule_v1_message_proto_depIdxs, + MessageInfos: file_temporal_api_cloud_connectivityrule_v1_message_proto_msgTypes, + }.Build() + File_temporal_api_cloud_connectivityrule_v1_message_proto = out.File + file_temporal_api_cloud_connectivityrule_v1_message_proto_rawDesc = nil + file_temporal_api_cloud_connectivityrule_v1_message_proto_goTypes = nil + file_temporal_api_cloud_connectivityrule_v1_message_proto_depIdxs = nil } - -var ( - ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowMessage = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group") -) diff --git a/protogen/api/cloud/identity/v1/message.pb.go b/protogen/api/cloud/identity/v1/message.pb.go index dc5229d8..b246f6b4 100644 --- a/protogen/api/cloud/identity/v1/message.pb.go +++ b/protogen/api/cloud/identity/v1/message.pb.go @@ -1,121 +1,384 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: temporal/api/cloud/identity/v1/message.proto package identity import ( - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" - types "github.com/gogo/protobuf/types" + proto "github.com/golang/protobuf/proto" v1 "github.com/temporalio/tcld/protogen/api/cloud/resource/v1" - io "io" - math "math" - math_bits "math/bits" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" - strconv "strconv" - strings "strings" + "strconv" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type OwnerType int32 const ( OWNER_TYPE_UNSPECIFIED OwnerType = 0 - OWNER_TYPE_USER OwnerType = 1 - OWNER_TYPE_SERVICE_ACCOUNT OwnerType = 2 + OWNER_TYPE_USER OwnerType = 1 // The owner is a user. + OWNER_TYPE_SERVICE_ACCOUNT OwnerType = 2 // The owner is a service account. +) + +// Enum value maps for OwnerType. +var ( + OwnerType_name = map[int32]string{ + 0: "OwnerTypeUnspecified", + 1: "OwnerTypeUser", + 2: "OwnerTypeServiceAccount", + } + OwnerType_value = map[string]int32{ + "OwnerTypeUnspecified": 0, + "OwnerTypeUser": 1, + "OwnerTypeServiceAccount": 2, + } ) -var OwnerType_name = map[int32]string{ - 0: "Unspecified", - 1: "User", - 2: "ServiceAccount", +func (x OwnerType) Enum() *OwnerType { + p := new(OwnerType) + *p = x + return p +} + +func (x OwnerType) String() string { + switch x { + case OWNER_TYPE_UNSPECIFIED: + return "Unspecified" + case OWNER_TYPE_USER: + return "User" + case OWNER_TYPE_SERVICE_ACCOUNT: + return "ServiceAccount" + default: + return strconv.Itoa(int(x)) + } + +} + +func (OwnerType) Descriptor() protoreflect.EnumDescriptor { + return file_temporal_api_cloud_identity_v1_message_proto_enumTypes[0].Descriptor() +} + +func (OwnerType) Type() protoreflect.EnumType { + return &file_temporal_api_cloud_identity_v1_message_proto_enumTypes[0] } -var OwnerType_value = map[string]int32{ - "Unspecified": 0, - "User": 1, - "ServiceAccount": 2, +func (x OwnerType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use OwnerType.Descriptor instead. func (OwnerType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{0} + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{0} } type AccountAccess_Role int32 const ( ROLE_UNSPECIFIED AccountAccess_Role = 0 - ROLE_OWNER AccountAccess_Role = 1 - ROLE_ADMIN AccountAccess_Role = 2 - ROLE_DEVELOPER AccountAccess_Role = 3 - ROLE_FINANCE_ADMIN AccountAccess_Role = 4 - ROLE_READ AccountAccess_Role = 5 - ROLE_METRICS_READ AccountAccess_Role = 6 + ROLE_OWNER AccountAccess_Role = 1 // Gives full access to the account, including users, namespaces, and billing. + ROLE_ADMIN AccountAccess_Role = 2 // Gives full access to the account, including users and namespaces. + ROLE_DEVELOPER AccountAccess_Role = 3 // Gives access to create namespaces on the account. + ROLE_FINANCE_ADMIN AccountAccess_Role = 4 // Gives read only access and write access for billing. + ROLE_READ AccountAccess_Role = 5 // Gives read only access to the account. + ROLE_METRICS_READ AccountAccess_Role = 6 // Gives read only access to the account metrics. ) -var AccountAccess_Role_name = map[int32]string{ - 0: "RoleUnspecified", - 1: "RoleOwner", - 2: "RoleAdmin", - 3: "RoleDeveloper", - 4: "RoleFinanceAdmin", - 5: "RoleRead", - 6: "RoleMetricsRead", +// Enum value maps for AccountAccess_Role. +var ( + AccountAccess_Role_name = map[int32]string{ + 0: "RoleUnspecified", + 1: "RoleOwner", + 2: "RoleAdmin", + 3: "RoleDeveloper", + 4: "RoleFinanceAdmin", + 5: "RoleRead", + 6: "RoleMetricsRead", + } + AccountAccess_Role_value = map[string]int32{ + "RoleUnspecified": 0, + "RoleOwner": 1, + "RoleAdmin": 2, + "RoleDeveloper": 3, + "RoleFinanceAdmin": 4, + "RoleRead": 5, + "RoleMetricsRead": 6, + } +) + +func (x AccountAccess_Role) Enum() *AccountAccess_Role { + p := new(AccountAccess_Role) + *p = x + return p +} + +func (x AccountAccess_Role) String() string { + switch x { + case ROLE_UNSPECIFIED: + return "RoleUnspecified" + case ROLE_OWNER: + return "RoleOwner" + case ROLE_ADMIN: + return "RoleAdmin" + case ROLE_DEVELOPER: + return "RoleDeveloper" + case ROLE_FINANCE_ADMIN: + return "RoleFinanceAdmin" + case ROLE_READ: + return "RoleRead" + case ROLE_METRICS_READ: + return "RoleMetricsRead" + default: + return strconv.Itoa(int(x)) + } + +} + +func (AccountAccess_Role) Descriptor() protoreflect.EnumDescriptor { + return file_temporal_api_cloud_identity_v1_message_proto_enumTypes[1].Descriptor() +} + +func (AccountAccess_Role) Type() protoreflect.EnumType { + return &file_temporal_api_cloud_identity_v1_message_proto_enumTypes[1] } -var AccountAccess_Role_value = map[string]int32{ - "RoleUnspecified": 0, - "RoleOwner": 1, - "RoleAdmin": 2, - "RoleDeveloper": 3, - "RoleFinanceAdmin": 4, - "RoleRead": 5, - "RoleMetricsRead": 6, +func (x AccountAccess_Role) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use AccountAccess_Role.Descriptor instead. func (AccountAccess_Role) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{0, 0} + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{0, 0} +} + +type ProjectAccess_ProjectRole int32 + +const ( + PROJECT_ROLE_UNSPECIFIED ProjectAccess_ProjectRole = 0 + PROJECT_ROLE_ADMIN ProjectAccess_ProjectRole = 1 + PROJECT_ROLE_WRITE ProjectAccess_ProjectRole = 2 + PROJECT_ROLE_READ ProjectAccess_ProjectRole = 3 + PROJECT_ROLE_LIST ProjectAccess_ProjectRole = 4 + PROJECT_ROLE_CONTRIBUTE ProjectAccess_ProjectRole = 5 + PROJECT_ROLE_MEMBER ProjectAccess_ProjectRole = 6 +) + +// Enum value maps for ProjectAccess_ProjectRole. +var ( + ProjectAccess_ProjectRole_name = map[int32]string{ + 0: "ProjectRoleUnspecified", + 1: "ProjectRoleAdmin", + 2: "ProjectRoleWrite", + 3: "ProjectRoleRead", + 4: "ProjectRoleList", + 5: "ProjectRoleContribute", + 6: "ProjectRoleMember", + } + ProjectAccess_ProjectRole_value = map[string]int32{ + "ProjectRoleUnspecified": 0, + "ProjectRoleAdmin": 1, + "ProjectRoleWrite": 2, + "ProjectRoleRead": 3, + "ProjectRoleList": 4, + "ProjectRoleContribute": 5, + "ProjectRoleMember": 6, + } +) + +func (x ProjectAccess_ProjectRole) Enum() *ProjectAccess_ProjectRole { + p := new(ProjectAccess_ProjectRole) + *p = x + return p +} + +func (x ProjectAccess_ProjectRole) String() string { + switch x { + case PROJECT_ROLE_UNSPECIFIED: + return "ProjectRoleUnspecified" + case PROJECT_ROLE_ADMIN: + return "ProjectRoleAdmin" + case PROJECT_ROLE_WRITE: + return "ProjectRoleWrite" + case PROJECT_ROLE_READ: + return "ProjectRoleRead" + case PROJECT_ROLE_LIST: + return "ProjectRoleList" + case PROJECT_ROLE_CONTRIBUTE: + return "ProjectRoleContribute" + case PROJECT_ROLE_MEMBER: + return "ProjectRoleMember" + default: + return strconv.Itoa(int(x)) + } + +} + +func (ProjectAccess_ProjectRole) Descriptor() protoreflect.EnumDescriptor { + return file_temporal_api_cloud_identity_v1_message_proto_enumTypes[2].Descriptor() +} + +func (ProjectAccess_ProjectRole) Type() protoreflect.EnumType { + return &file_temporal_api_cloud_identity_v1_message_proto_enumTypes[2] +} + +func (x ProjectAccess_ProjectRole) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ProjectAccess_ProjectRole.Descriptor instead. +func (ProjectAccess_ProjectRole) EnumDescriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{1, 0} } type NamespaceAccess_Permission int32 const ( PERMISSION_UNSPECIFIED NamespaceAccess_Permission = 0 - PERMISSION_ADMIN NamespaceAccess_Permission = 1 - PERMISSION_WRITE NamespaceAccess_Permission = 2 - PERMISSION_READ NamespaceAccess_Permission = 3 + PERMISSION_ADMIN NamespaceAccess_Permission = 1 // Gives full access to the namespace, including assigning namespace access to other users. + PERMISSION_WRITE NamespaceAccess_Permission = 2 // Gives write access to the namespace configuration and workflows within the namespace. + PERMISSION_READ NamespaceAccess_Permission = 3 // Gives read only access to the namespace configuration and workflows within the namespace. +) + +// Enum value maps for NamespaceAccess_Permission. +var ( + NamespaceAccess_Permission_name = map[int32]string{ + 0: "PermissionUnspecified", + 1: "PermissionAdmin", + 2: "PermissionWrite", + 3: "PermissionRead", + } + NamespaceAccess_Permission_value = map[string]int32{ + "PermissionUnspecified": 0, + "PermissionAdmin": 1, + "PermissionWrite": 2, + "PermissionRead": 3, + } ) -var NamespaceAccess_Permission_name = map[int32]string{ - 0: "PermissionUnspecified", - 1: "PermissionAdmin", - 2: "PermissionWrite", - 3: "PermissionRead", +func (x NamespaceAccess_Permission) Enum() *NamespaceAccess_Permission { + p := new(NamespaceAccess_Permission) + *p = x + return p +} + +func (x NamespaceAccess_Permission) String() string { + switch x { + case PERMISSION_UNSPECIFIED: + return "PermissionUnspecified" + case PERMISSION_ADMIN: + return "PermissionAdmin" + case PERMISSION_WRITE: + return "PermissionWrite" + case PERMISSION_READ: + return "PermissionRead" + default: + return strconv.Itoa(int(x)) + } + +} + +func (NamespaceAccess_Permission) Descriptor() protoreflect.EnumDescriptor { + return file_temporal_api_cloud_identity_v1_message_proto_enumTypes[3].Descriptor() +} + +func (NamespaceAccess_Permission) Type() protoreflect.EnumType { + return &file_temporal_api_cloud_identity_v1_message_proto_enumTypes[3] } -var NamespaceAccess_Permission_value = map[string]int32{ - "PermissionUnspecified": 0, - "PermissionAdmin": 1, - "PermissionWrite": 2, - "PermissionRead": 3, +func (x NamespaceAccess_Permission) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use NamespaceAccess_Permission.Descriptor instead. func (NamespaceAccess_Permission) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{1, 0} + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{2, 0} +} + +// temporal:ui +type ApiKey_OwnerServiceAccountScope int32 + +const ( + OWNER_SERVICE_ACCOUNT_SCOPE_UNSPECIFIED ApiKey_OwnerServiceAccountScope = 0 + OWNER_SERVICE_ACCOUNT_SCOPE_ACCOUNT ApiKey_OwnerServiceAccountScope = 1 + OWNER_SERVICE_ACCOUNT_SCOPE_NAMESPACE ApiKey_OwnerServiceAccountScope = 2 + OWNER_SERVICE_ACCOUNT_SCOPE_PROJECT ApiKey_OwnerServiceAccountScope = 3 +) + +// Enum value maps for ApiKey_OwnerServiceAccountScope. +var ( + ApiKey_OwnerServiceAccountScope_name = map[int32]string{ + 0: "OwnerServiceAccountScopeUnspecified", + 1: "OwnerServiceAccountScopeAccount", + 2: "OwnerServiceAccountScopeNamespace", + 3: "OwnerServiceAccountScopeProject", + } + ApiKey_OwnerServiceAccountScope_value = map[string]int32{ + "OwnerServiceAccountScopeUnspecified": 0, + "OwnerServiceAccountScopeAccount": 1, + "OwnerServiceAccountScopeNamespace": 2, + "OwnerServiceAccountScopeProject": 3, + } +) + +func (x ApiKey_OwnerServiceAccountScope) Enum() *ApiKey_OwnerServiceAccountScope { + p := new(ApiKey_OwnerServiceAccountScope) + *p = x + return p +} + +func (x ApiKey_OwnerServiceAccountScope) String() string { + switch x { + case OWNER_SERVICE_ACCOUNT_SCOPE_UNSPECIFIED: + return "OwnerServiceAccountScopeUnspecified" + case OWNER_SERVICE_ACCOUNT_SCOPE_ACCOUNT: + return "OwnerServiceAccountScopeAccount" + case OWNER_SERVICE_ACCOUNT_SCOPE_NAMESPACE: + return "OwnerServiceAccountScopeNamespace" + case OWNER_SERVICE_ACCOUNT_SCOPE_PROJECT: + return "OwnerServiceAccountScopeProject" + default: + return strconv.Itoa(int(x)) + } + +} + +func (ApiKey_OwnerServiceAccountScope) Descriptor() protoreflect.EnumDescriptor { + return file_temporal_api_cloud_identity_v1_message_proto_enumTypes[4].Descriptor() +} + +func (ApiKey_OwnerServiceAccountScope) Type() protoreflect.EnumType { + return &file_temporal_api_cloud_identity_v1_message_proto_enumTypes[4] +} + +func (x ApiKey_OwnerServiceAccountScope) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ApiKey_OwnerServiceAccountScope.Descriptor instead. +func (ApiKey_OwnerServiceAccountScope) EnumDescriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{19, 0} } type AccountAccess struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The role on the account, should be one of [owner, admin, developer, financeadmin, read] // owner - gives full access to the account, including users, namespaces, and billing // admin - gives full access the account, including users and namespaces @@ -125,335 +388,578 @@ type AccountAccess struct { // metrics_read - gives read only access to the account metrics // Deprecated: Use role field instead. // temporal:versioning:max_version=v0.3.0 - RoleDeprecated string `protobuf:"bytes,1,opt,name=role_deprecated,json=roleDeprecated,proto3" json:"role_deprecated,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + RoleDeprecated string `protobuf:"bytes,1,opt,name=role_deprecated,json=roleDeprecated,proto3" json:"role_deprecated,omitempty"` // The role on the account. // temporal:versioning:min_version=v0.3.0 // temporal:enums:replaces=role_deprecated Role AccountAccess_Role `protobuf:"varint,2,opt,name=role,proto3,enum=temporal.api.cloud.identity.v1.AccountAccess_Role" json:"role,omitempty"` } -func (m *AccountAccess) Reset() { *m = AccountAccess{} } -func (*AccountAccess) ProtoMessage() {} -func (*AccountAccess) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{0} -} -func (m *AccountAccess) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AccountAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AccountAccess.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AccountAccess) Reset() { + *x = AccountAccess{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AccountAccess) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountAccess.Merge(m, src) -} -func (m *AccountAccess) XXX_Size() int { - return m.Size() + +func (x *AccountAccess) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AccountAccess) XXX_DiscardUnknown() { - xxx_messageInfo_AccountAccess.DiscardUnknown(m) + +func (*AccountAccess) ProtoMessage() {} + +func (x *AccountAccess) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_AccountAccess proto.InternalMessageInfo +// Deprecated: Use AccountAccess.ProtoReflect.Descriptor instead. +func (*AccountAccess) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{0} +} // Deprecated: Do not use. -func (m *AccountAccess) GetRoleDeprecated() string { - if m != nil { - return m.RoleDeprecated +func (x *AccountAccess) GetRoleDeprecated() string { + if x != nil { + return x.RoleDeprecated } return "" } -func (m *AccountAccess) GetRole() AccountAccess_Role { - if m != nil { - return m.Role +func (x *AccountAccess) GetRole() AccountAccess_Role { + if x != nil { + return x.Role } return ROLE_UNSPECIFIED } +// temporal:dev +type ProjectAccess struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Role ProjectAccess_ProjectRole `protobuf:"varint,1,opt,name=role,proto3,enum=temporal.api.cloud.identity.v1.ProjectAccess_ProjectRole" json:"role,omitempty"` +} + +func (x *ProjectAccess) Reset() { + *x = ProjectAccess{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProjectAccess) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProjectAccess) ProtoMessage() {} + +func (x *ProjectAccess) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProjectAccess.ProtoReflect.Descriptor instead. +func (*ProjectAccess) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{1} +} + +func (x *ProjectAccess) GetRole() ProjectAccess_ProjectRole { + if x != nil { + return x.Role + } + return PROJECT_ROLE_UNSPECIFIED +} + type NamespaceAccess struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The permission to the namespace, should be one of [admin, write, read] // admin - gives full access to the namespace, including assigning namespace access to other users // write - gives write access to the namespace configuration and workflows within the namespace // read - gives read only access to the namespace configuration and workflows within the namespace // Deprecated: Use permission field instead. // temporal:versioning:max_version=v0.3.0 - PermissionDeprecated string `protobuf:"bytes,1,opt,name=permission_deprecated,json=permissionDeprecated,proto3" json:"permission_deprecated,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + PermissionDeprecated string `protobuf:"bytes,1,opt,name=permission_deprecated,json=permissionDeprecated,proto3" json:"permission_deprecated,omitempty"` // The permission to the namespace. // temporal:versioning:min_version=v0.3.0 // temporal:enums:replaces=permission_deprecated Permission NamespaceAccess_Permission `protobuf:"varint,2,opt,name=permission,proto3,enum=temporal.api.cloud.identity.v1.NamespaceAccess_Permission" json:"permission,omitempty"` } -func (m *NamespaceAccess) Reset() { *m = NamespaceAccess{} } -func (*NamespaceAccess) ProtoMessage() {} -func (*NamespaceAccess) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{1} -} -func (m *NamespaceAccess) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NamespaceAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NamespaceAccess.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NamespaceAccess) Reset() { + *x = NamespaceAccess{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NamespaceAccess) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamespaceAccess.Merge(m, src) -} -func (m *NamespaceAccess) XXX_Size() int { - return m.Size() + +func (x *NamespaceAccess) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NamespaceAccess) XXX_DiscardUnknown() { - xxx_messageInfo_NamespaceAccess.DiscardUnknown(m) + +func (*NamespaceAccess) ProtoMessage() {} + +func (x *NamespaceAccess) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NamespaceAccess proto.InternalMessageInfo +// Deprecated: Use NamespaceAccess.ProtoReflect.Descriptor instead. +func (*NamespaceAccess) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{2} +} // Deprecated: Do not use. -func (m *NamespaceAccess) GetPermissionDeprecated() string { - if m != nil { - return m.PermissionDeprecated +func (x *NamespaceAccess) GetPermissionDeprecated() string { + if x != nil { + return x.PermissionDeprecated } return "" } -func (m *NamespaceAccess) GetPermission() NamespaceAccess_Permission { - if m != nil { - return m.Permission +func (x *NamespaceAccess) GetPermission() NamespaceAccess_Permission { + if x != nil { + return x.Permission } return PERMISSION_UNSPECIFIED } type Access struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The account access AccountAccess *AccountAccess `protobuf:"bytes,1,opt,name=account_access,json=accountAccess,proto3" json:"account_access,omitempty"` // The map of namespace accesses // The key is the namespace name and the value is the access to the namespace NamespaceAccesses map[string]*NamespaceAccess `protobuf:"bytes,2,rep,name=namespace_accesses,json=namespaceAccesses,proto3" json:"namespace_accesses,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // temporal:dev + ProjectAccesses map[string]*ProjectAccess `protobuf:"bytes,3,rep,name=project_accesses,json=projectAccesses,proto3" json:"project_accesses,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // List of custom roles IDs assigned to the user or service account + // temporal:dev + CustomRoles []string `protobuf:"bytes,4,rep,name=custom_roles,json=customRoles,proto3" json:"custom_roles,omitempty"` +} + +func (x *Access) Reset() { + *x = Access{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Access) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Access) Reset() { *m = Access{} } func (*Access) ProtoMessage() {} -func (*Access) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{2} -} -func (m *Access) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Access) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Access.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (x *Access) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } + return mi.MessageOf(x) } -func (m *Access) XXX_Merge(src proto.Message) { - xxx_messageInfo_Access.Merge(m, src) -} -func (m *Access) XXX_Size() int { - return m.Size() + +// Deprecated: Use Access.ProtoReflect.Descriptor instead. +func (*Access) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{3} } -func (m *Access) XXX_DiscardUnknown() { - xxx_messageInfo_Access.DiscardUnknown(m) + +func (x *Access) GetAccountAccess() *AccountAccess { + if x != nil { + return x.AccountAccess + } + return nil } -var xxx_messageInfo_Access proto.InternalMessageInfo +func (x *Access) GetNamespaceAccesses() map[string]*NamespaceAccess { + if x != nil { + return x.NamespaceAccesses + } + return nil +} -func (m *Access) GetAccountAccess() *AccountAccess { - if m != nil { - return m.AccountAccess +func (x *Access) GetProjectAccesses() map[string]*ProjectAccess { + if x != nil { + return x.ProjectAccesses } return nil } -func (m *Access) GetNamespaceAccesses() map[string]*NamespaceAccess { - if m != nil { - return m.NamespaceAccesses +func (x *Access) GetCustomRoles() []string { + if x != nil { + return x.CustomRoles } return nil } type NamespaceScopedAccess struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace the service account is assigned to - immutable. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // The namespace access assigned to the service account - mutable. Access *NamespaceAccess `protobuf:"bytes,2,opt,name=access,proto3" json:"access,omitempty"` } -func (m *NamespaceScopedAccess) Reset() { *m = NamespaceScopedAccess{} } +func (x *NamespaceScopedAccess) Reset() { + *x = NamespaceScopedAccess{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NamespaceScopedAccess) String() string { + return protoimpl.X.MessageStringOf(x) +} + func (*NamespaceScopedAccess) ProtoMessage() {} -func (*NamespaceScopedAccess) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{3} -} -func (m *NamespaceScopedAccess) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NamespaceScopedAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NamespaceScopedAccess.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (x *NamespaceScopedAccess) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } + return mi.MessageOf(x) } -func (m *NamespaceScopedAccess) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamespaceScopedAccess.Merge(m, src) + +// Deprecated: Use NamespaceScopedAccess.ProtoReflect.Descriptor instead. +func (*NamespaceScopedAccess) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{4} } -func (m *NamespaceScopedAccess) XXX_Size() int { - return m.Size() + +func (x *NamespaceScopedAccess) GetNamespace() string { + if x != nil { + return x.Namespace + } + return "" } -func (m *NamespaceScopedAccess) XXX_DiscardUnknown() { - xxx_messageInfo_NamespaceScopedAccess.DiscardUnknown(m) + +func (x *NamespaceScopedAccess) GetAccess() *NamespaceAccess { + if x != nil { + return x.Access + } + return nil } -var xxx_messageInfo_NamespaceScopedAccess proto.InternalMessageInfo +// temporal:dev +type ProjectScopedAccess struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *NamespaceScopedAccess) GetNamespace() string { - if m != nil { - return m.Namespace + // The ID of the project the service account is assigned to - immutable. + ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + // The project access assigned to the service account - mutable. + Access *ProjectAccess `protobuf:"bytes,2,opt,name=access,proto3" json:"access,omitempty"` + // The map of namespace accesses - mutable. + // The key is the namespace name and the value is the access to the namespace. + NamespaceAccesses map[string]*NamespaceAccess `protobuf:"bytes,3,rep,name=namespace_accesses,json=namespaceAccesses,proto3" json:"namespace_accesses,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *ProjectScopedAccess) Reset() { + *x = ProjectScopedAccess{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProjectScopedAccess) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProjectScopedAccess) ProtoMessage() {} + +func (x *ProjectScopedAccess) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProjectScopedAccess.ProtoReflect.Descriptor instead. +func (*ProjectScopedAccess) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{5} +} + +func (x *ProjectScopedAccess) GetProjectId() string { + if x != nil { + return x.ProjectId } return "" } -func (m *NamespaceScopedAccess) GetAccess() *NamespaceAccess { - if m != nil { - return m.Access +func (x *ProjectScopedAccess) GetAccess() *ProjectAccess { + if x != nil { + return x.Access + } + return nil +} + +func (x *ProjectScopedAccess) GetNamespaceAccesses() map[string]*NamespaceAccess { + if x != nil { + return x.NamespaceAccesses } return nil } type UserSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The email address associated to the user Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // The access to assigned to the user Access *Access `protobuf:"bytes,2,opt,name=access,proto3" json:"access,omitempty"` } -func (m *UserSpec) Reset() { *m = UserSpec{} } -func (*UserSpec) ProtoMessage() {} -func (*UserSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{4} -} -func (m *UserSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *UserSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UserSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *UserSpec) Reset() { + *x = UserSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *UserSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserSpec.Merge(m, src) -} -func (m *UserSpec) XXX_Size() int { - return m.Size() + +func (x *UserSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserSpec) XXX_DiscardUnknown() { - xxx_messageInfo_UserSpec.DiscardUnknown(m) + +func (*UserSpec) ProtoMessage() {} + +func (x *UserSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UserSpec proto.InternalMessageInfo +// Deprecated: Use UserSpec.ProtoReflect.Descriptor instead. +func (*UserSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{6} +} -func (m *UserSpec) GetEmail() string { - if m != nil { - return m.Email +func (x *UserSpec) GetEmail() string { + if x != nil { + return x.Email } return "" } -func (m *UserSpec) GetAccess() *Access { - if m != nil { - return m.Access +func (x *UserSpec) GetAccess() *Access { + if x != nil { + return x.Access } return nil } type Invitation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The date and time when the user was created - CreatedTime *types.Timestamp `protobuf:"bytes,1,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` + CreatedTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` // The date and time when the invitation expires or has expired - ExpiredTime *types.Timestamp `protobuf:"bytes,2,opt,name=expired_time,json=expiredTime,proto3" json:"expired_time,omitempty"` + ExpiredTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expired_time,json=expiredTime,proto3" json:"expired_time,omitempty"` +} + +func (x *Invitation) Reset() { + *x = Invitation{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Invitation) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Invitation) Reset() { *m = Invitation{} } func (*Invitation) ProtoMessage() {} + +func (x *Invitation) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Invitation.ProtoReflect.Descriptor instead. func (*Invitation) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{5} -} -func (m *Invitation) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Invitation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Invitation.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{7} +} + +func (x *Invitation) GetCreatedTime() *timestamppb.Timestamp { + if x != nil { + return x.CreatedTime + } + return nil +} + +func (x *Invitation) GetExpiredTime() *timestamppb.Timestamp { + if x != nil { + return x.ExpiredTime + } + return nil +} + +// temporal:ui +type APIKeyCount struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Active int32 `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"` + Disabled int32 `protobuf:"varint,2,opt,name=disabled,proto3" json:"disabled,omitempty"` + ExpiringSoon int32 `protobuf:"varint,3,opt,name=expiring_soon,json=expiringSoon,proto3" json:"expiring_soon,omitempty"` + Expired int32 `protobuf:"varint,4,opt,name=expired,proto3" json:"expired,omitempty"` + Total int32 `protobuf:"varint,5,opt,name=total,proto3" json:"total,omitempty"` // total includes expired keys. +} + +func (x *APIKeyCount) Reset() { + *x = APIKeyCount{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *APIKeyCount) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*APIKeyCount) ProtoMessage() {} + +func (x *APIKeyCount) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } + return mi.MessageOf(x) } -func (m *Invitation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Invitation.Merge(m, src) + +// Deprecated: Use APIKeyCount.ProtoReflect.Descriptor instead. +func (*APIKeyCount) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{8} } -func (m *Invitation) XXX_Size() int { - return m.Size() + +func (x *APIKeyCount) GetActive() int32 { + if x != nil { + return x.Active + } + return 0 } -func (m *Invitation) XXX_DiscardUnknown() { - xxx_messageInfo_Invitation.DiscardUnknown(m) + +func (x *APIKeyCount) GetDisabled() int32 { + if x != nil { + return x.Disabled + } + return 0 } -var xxx_messageInfo_Invitation proto.InternalMessageInfo +func (x *APIKeyCount) GetExpiringSoon() int32 { + if x != nil { + return x.ExpiringSoon + } + return 0 +} -func (m *Invitation) GetCreatedTime() *types.Timestamp { - if m != nil { - return m.CreatedTime +func (x *APIKeyCount) GetExpired() int32 { + if x != nil { + return x.Expired } - return nil + return 0 } -func (m *Invitation) GetExpiredTime() *types.Timestamp { - if m != nil { - return m.ExpiredTime +func (x *APIKeyCount) GetTotal() int32 { + if x != nil { + return x.Total } - return nil + return 0 } type User struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the user Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The current version of the user specification @@ -464,7 +970,9 @@ type User struct { // The current state of the user // Deprecated: Use state field instead. // temporal:versioning:max_version=v0.3.0 - StateDeprecated string `protobuf:"bytes,4,opt,name=state_deprecated,json=stateDeprecated,proto3" json:"state_deprecated,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + StateDeprecated string `protobuf:"bytes,4,opt,name=state_deprecated,json=stateDeprecated,proto3" json:"state_deprecated,omitempty"` // The current state of the user. // For any failed state, reach out to Temporal Cloud support for remediation. // temporal:versioning:min_version=v0.3.0 @@ -475,238 +983,264 @@ type User struct { // The details of the open invitation sent to the user, if any Invitation *Invitation `protobuf:"bytes,6,opt,name=invitation,proto3" json:"invitation,omitempty"` // The date and time when the user was created - CreatedTime *types.Timestamp `protobuf:"bytes,7,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` + CreatedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` // The date and time when the user was last modified // Will not be set if the user has never been modified - LastModifiedTime *types.Timestamp `protobuf:"bytes,8,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` + LastModifiedTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` + // This field will only be populated when the request is coming + // from the UI/grpc-web + // temporal:ui + ApiKeyCount *APIKeyCount `protobuf:"bytes,100,opt,name=api_key_count,json=apiKeyCount,proto3" json:"api_key_count,omitempty"` } -func (m *User) Reset() { *m = User{} } -func (*User) ProtoMessage() {} -func (*User) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{6} -} -func (m *User) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_User.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *User) Reset() { + *x = User{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *User) XXX_Merge(src proto.Message) { - xxx_messageInfo_User.Merge(m, src) -} -func (m *User) XXX_Size() int { - return m.Size() -} -func (m *User) XXX_DiscardUnknown() { - xxx_messageInfo_User.DiscardUnknown(m) + +func (x *User) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_User proto.InternalMessageInfo +func (*User) ProtoMessage() {} -func (m *User) GetId() string { - if m != nil { - return m.Id +func (x *User) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use User.ProtoReflect.Descriptor instead. +func (*User) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{9} +} + +func (x *User) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *User) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *User) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *User) GetSpec() *UserSpec { - if m != nil { - return m.Spec +func (x *User) GetSpec() *UserSpec { + if x != nil { + return x.Spec } return nil } // Deprecated: Do not use. -func (m *User) GetStateDeprecated() string { - if m != nil { - return m.StateDeprecated +func (x *User) GetStateDeprecated() string { + if x != nil { + return x.StateDeprecated } return "" } -func (m *User) GetState() v1.ResourceState { - if m != nil { - return m.State +func (x *User) GetState() v1.ResourceState { + if x != nil { + return x.State } return v1.RESOURCE_STATE_UNSPECIFIED } -func (m *User) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *User) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } -func (m *User) GetInvitation() *Invitation { - if m != nil { - return m.Invitation +func (x *User) GetInvitation() *Invitation { + if x != nil { + return x.Invitation } return nil } -func (m *User) GetCreatedTime() *types.Timestamp { - if m != nil { - return m.CreatedTime +func (x *User) GetCreatedTime() *timestamppb.Timestamp { + if x != nil { + return x.CreatedTime } return nil } -func (m *User) GetLastModifiedTime() *types.Timestamp { - if m != nil { - return m.LastModifiedTime +func (x *User) GetLastModifiedTime() *timestamppb.Timestamp { + if x != nil { + return x.LastModifiedTime + } + return nil +} + +func (x *User) GetApiKeyCount() *APIKeyCount { + if x != nil { + return x.ApiKeyCount } return nil } type GoogleGroupSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The email address of the Google group. // The email address is immutable. Once set during creation, it cannot be changed. EmailAddress string `protobuf:"bytes,1,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"` } -func (m *GoogleGroupSpec) Reset() { *m = GoogleGroupSpec{} } -func (*GoogleGroupSpec) ProtoMessage() {} -func (*GoogleGroupSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{7} -} -func (m *GoogleGroupSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GoogleGroupSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GoogleGroupSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GoogleGroupSpec) Reset() { + *x = GoogleGroupSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GoogleGroupSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_GoogleGroupSpec.Merge(m, src) -} -func (m *GoogleGroupSpec) XXX_Size() int { - return m.Size() + +func (x *GoogleGroupSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GoogleGroupSpec) XXX_DiscardUnknown() { - xxx_messageInfo_GoogleGroupSpec.DiscardUnknown(m) + +func (*GoogleGroupSpec) ProtoMessage() {} + +func (x *GoogleGroupSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GoogleGroupSpec proto.InternalMessageInfo +// Deprecated: Use GoogleGroupSpec.ProtoReflect.Descriptor instead. +func (*GoogleGroupSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{10} +} -func (m *GoogleGroupSpec) GetEmailAddress() string { - if m != nil { - return m.EmailAddress +func (x *GoogleGroupSpec) GetEmailAddress() string { + if x != nil { + return x.EmailAddress } return "" } type SCIMGroupSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id used in the upstream identity provider. IdpId string `protobuf:"bytes,1,opt,name=idp_id,json=idpId,proto3" json:"idp_id,omitempty"` } -func (m *SCIMGroupSpec) Reset() { *m = SCIMGroupSpec{} } -func (*SCIMGroupSpec) ProtoMessage() {} -func (*SCIMGroupSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{8} -} -func (m *SCIMGroupSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SCIMGroupSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SCIMGroupSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *SCIMGroupSpec) Reset() { + *x = SCIMGroupSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *SCIMGroupSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_SCIMGroupSpec.Merge(m, src) -} -func (m *SCIMGroupSpec) XXX_Size() int { - return m.Size() + +func (x *SCIMGroupSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SCIMGroupSpec) XXX_DiscardUnknown() { - xxx_messageInfo_SCIMGroupSpec.DiscardUnknown(m) + +func (*SCIMGroupSpec) ProtoMessage() {} + +func (x *SCIMGroupSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SCIMGroupSpec proto.InternalMessageInfo +// Deprecated: Use SCIMGroupSpec.ProtoReflect.Descriptor instead. +func (*SCIMGroupSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{11} +} -func (m *SCIMGroupSpec) GetIdpId() string { - if m != nil { - return m.IdpId +func (x *SCIMGroupSpec) GetIdpId() string { + if x != nil { + return x.IdpId } return "" } type CloudGroupSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *CloudGroupSpec) Reset() { *m = CloudGroupSpec{} } -func (*CloudGroupSpec) ProtoMessage() {} -func (*CloudGroupSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{9} -} -func (m *CloudGroupSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CloudGroupSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CloudGroupSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CloudGroupSpec) Reset() { + *x = CloudGroupSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CloudGroupSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloudGroupSpec.Merge(m, src) -} -func (m *CloudGroupSpec) XXX_Size() int { - return m.Size() + +func (x *CloudGroupSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CloudGroupSpec) XXX_DiscardUnknown() { - xxx_messageInfo_CloudGroupSpec.DiscardUnknown(m) + +func (*CloudGroupSpec) ProtoMessage() {} + +func (x *CloudGroupSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CloudGroupSpec proto.InternalMessageInfo +// Deprecated: Use CloudGroupSpec.ProtoReflect.Descriptor instead. +func (*CloudGroupSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{12} +} type UserGroupSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The display name of the group. DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The access assigned to the group. Access *Access `protobuf:"bytes,2,opt,name=access,proto3" json:"access,omitempty"` - // Types that are valid to be assigned to GroupType: + // Types that are assignable to GroupType: // // *UserGroupSpec_GoogleGroup // *UserGroupSpec_ScimGroup @@ -714,111 +1248,112 @@ type UserGroupSpec struct { GroupType isUserGroupSpec_GroupType `protobuf_oneof:"group_type"` } -func (m *UserGroupSpec) Reset() { *m = UserGroupSpec{} } -func (*UserGroupSpec) ProtoMessage() {} -func (*UserGroupSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{10} -} -func (m *UserGroupSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *UserGroupSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UserGroupSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *UserGroupSpec) Reset() { + *x = UserGroupSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *UserGroupSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserGroupSpec.Merge(m, src) -} -func (m *UserGroupSpec) XXX_Size() int { - return m.Size() -} -func (m *UserGroupSpec) XXX_DiscardUnknown() { - xxx_messageInfo_UserGroupSpec.DiscardUnknown(m) + +func (x *UserGroupSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_UserGroupSpec proto.InternalMessageInfo +func (*UserGroupSpec) ProtoMessage() {} -type isUserGroupSpec_GroupType interface { - isUserGroupSpec_GroupType() - Equal(interface{}) bool - MarshalTo([]byte) (int, error) - Size() int +func (x *UserGroupSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type UserGroupSpec_GoogleGroup struct { - GoogleGroup *GoogleGroupSpec `protobuf:"bytes,3,opt,name=google_group,json=googleGroup,proto3,oneof" json:"google_group,omitempty"` -} -type UserGroupSpec_ScimGroup struct { - ScimGroup *SCIMGroupSpec `protobuf:"bytes,4,opt,name=scim_group,json=scimGroup,proto3,oneof" json:"scim_group,omitempty"` -} -type UserGroupSpec_CloudGroup struct { - CloudGroup *CloudGroupSpec `protobuf:"bytes,5,opt,name=cloud_group,json=cloudGroup,proto3,oneof" json:"cloud_group,omitempty"` +// Deprecated: Use UserGroupSpec.ProtoReflect.Descriptor instead. +func (*UserGroupSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{13} } -func (*UserGroupSpec_GoogleGroup) isUserGroupSpec_GroupType() {} -func (*UserGroupSpec_ScimGroup) isUserGroupSpec_GroupType() {} -func (*UserGroupSpec_CloudGroup) isUserGroupSpec_GroupType() {} - -func (m *UserGroupSpec) GetGroupType() isUserGroupSpec_GroupType { - if m != nil { - return m.GroupType +func (x *UserGroupSpec) GetDisplayName() string { + if x != nil { + return x.DisplayName } - return nil + return "" } -func (m *UserGroupSpec) GetDisplayName() string { - if m != nil { - return m.DisplayName +func (x *UserGroupSpec) GetAccess() *Access { + if x != nil { + return x.Access } - return "" + return nil } -func (m *UserGroupSpec) GetAccess() *Access { +func (m *UserGroupSpec) GetGroupType() isUserGroupSpec_GroupType { if m != nil { - return m.Access + return m.GroupType } return nil } -func (m *UserGroupSpec) GetGoogleGroup() *GoogleGroupSpec { - if x, ok := m.GetGroupType().(*UserGroupSpec_GoogleGroup); ok { +func (x *UserGroupSpec) GetGoogleGroup() *GoogleGroupSpec { + if x, ok := x.GetGroupType().(*UserGroupSpec_GoogleGroup); ok { return x.GoogleGroup } return nil } -func (m *UserGroupSpec) GetScimGroup() *SCIMGroupSpec { - if x, ok := m.GetGroupType().(*UserGroupSpec_ScimGroup); ok { +func (x *UserGroupSpec) GetScimGroup() *SCIMGroupSpec { + if x, ok := x.GetGroupType().(*UserGroupSpec_ScimGroup); ok { return x.ScimGroup } return nil } -func (m *UserGroupSpec) GetCloudGroup() *CloudGroupSpec { - if x, ok := m.GetGroupType().(*UserGroupSpec_CloudGroup); ok { +func (x *UserGroupSpec) GetCloudGroup() *CloudGroupSpec { + if x, ok := x.GetGroupType().(*UserGroupSpec_CloudGroup); ok { return x.CloudGroup } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*UserGroupSpec) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UserGroupSpec_GoogleGroup)(nil), - (*UserGroupSpec_ScimGroup)(nil), - (*UserGroupSpec_CloudGroup)(nil), - } +type isUserGroupSpec_GroupType interface { + isUserGroupSpec_GroupType() +} + +type UserGroupSpec_GoogleGroup struct { + // The specification of the google group that this group is associated with. + GoogleGroup *GoogleGroupSpec `protobuf:"bytes,3,opt,name=google_group,json=googleGroup,proto3,oneof" json:"google_group,omitempty"` +} + +type UserGroupSpec_ScimGroup struct { + // The specification of the SCIM group that this group is associated with. + // SCIM groups cannot be created or deleted directly, but their access can be managed. + ScimGroup *SCIMGroupSpec `protobuf:"bytes,4,opt,name=scim_group,json=scimGroup,proto3,oneof" json:"scim_group,omitempty"` +} + +type UserGroupSpec_CloudGroup struct { + // The specification for a Cloud group. Cloud groups can manage members using + // the add and remove member APIs. + CloudGroup *CloudGroupSpec `protobuf:"bytes,5,opt,name=cloud_group,json=cloudGroup,proto3,oneof" json:"cloud_group,omitempty"` } +func (*UserGroupSpec_GoogleGroup) isUserGroupSpec_GroupType() {} + +func (*UserGroupSpec_ScimGroup) isUserGroupSpec_GroupType() {} + +func (*UserGroupSpec_CloudGroup) isUserGroupSpec_GroupType() {} + type UserGroup struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the group Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The current version of the group specification @@ -829,7 +1364,9 @@ type UserGroup struct { // The current state of the group. // Deprecated: Use state field instead. // temporal:versioning:max_version=v0.3.0 - StateDeprecated string `protobuf:"bytes,4,opt,name=state_deprecated,json=stateDeprecated,proto3" json:"state_deprecated,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + StateDeprecated string `protobuf:"bytes,4,opt,name=state_deprecated,json=stateDeprecated,proto3" json:"state_deprecated,omitempty"` // The current state of the group. // For any failed state, reach out to Temporal Cloud support for remediation. // temporal:versioning:min_version=v0.3.0 @@ -838,153 +1375,144 @@ type UserGroup struct { // The id of the async operation that is creating/updating/deleting the group, if any AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` // The date and time when the group was created - CreatedTime *types.Timestamp `protobuf:"bytes,6,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` + CreatedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` // The date and time when the group was last modified // Will not be set if the group has never been modified - LastModifiedTime *types.Timestamp `protobuf:"bytes,7,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` + LastModifiedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` } -func (m *UserGroup) Reset() { *m = UserGroup{} } -func (*UserGroup) ProtoMessage() {} -func (*UserGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{11} -} -func (m *UserGroup) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *UserGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UserGroup.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *UserGroup) Reset() { + *x = UserGroup{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *UserGroup) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserGroup.Merge(m, src) -} -func (m *UserGroup) XXX_Size() int { - return m.Size() + +func (x *UserGroup) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserGroup) XXX_DiscardUnknown() { - xxx_messageInfo_UserGroup.DiscardUnknown(m) + +func (*UserGroup) ProtoMessage() {} + +func (x *UserGroup) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UserGroup proto.InternalMessageInfo +// Deprecated: Use UserGroup.ProtoReflect.Descriptor instead. +func (*UserGroup) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{14} +} -func (m *UserGroup) GetId() string { - if m != nil { - return m.Id +func (x *UserGroup) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *UserGroup) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *UserGroup) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *UserGroup) GetSpec() *UserGroupSpec { - if m != nil { - return m.Spec +func (x *UserGroup) GetSpec() *UserGroupSpec { + if x != nil { + return x.Spec } return nil } // Deprecated: Do not use. -func (m *UserGroup) GetStateDeprecated() string { - if m != nil { - return m.StateDeprecated +func (x *UserGroup) GetStateDeprecated() string { + if x != nil { + return x.StateDeprecated } return "" } -func (m *UserGroup) GetState() v1.ResourceState { - if m != nil { - return m.State +func (x *UserGroup) GetState() v1.ResourceState { + if x != nil { + return x.State } return v1.RESOURCE_STATE_UNSPECIFIED } -func (m *UserGroup) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *UserGroup) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } -func (m *UserGroup) GetCreatedTime() *types.Timestamp { - if m != nil { - return m.CreatedTime +func (x *UserGroup) GetCreatedTime() *timestamppb.Timestamp { + if x != nil { + return x.CreatedTime } return nil } -func (m *UserGroup) GetLastModifiedTime() *types.Timestamp { - if m != nil { - return m.LastModifiedTime +func (x *UserGroup) GetLastModifiedTime() *timestamppb.Timestamp { + if x != nil { + return x.LastModifiedTime } return nil } type UserGroupMemberId struct { - // Types that are valid to be assigned to MemberType: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to MemberType: // // *UserGroupMemberId_UserId MemberType isUserGroupMemberId_MemberType `protobuf_oneof:"member_type"` } -func (m *UserGroupMemberId) Reset() { *m = UserGroupMemberId{} } -func (*UserGroupMemberId) ProtoMessage() {} -func (*UserGroupMemberId) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{12} -} -func (m *UserGroupMemberId) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *UserGroupMemberId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UserGroupMemberId.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *UserGroupMemberId) Reset() { + *x = UserGroupMemberId{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *UserGroupMemberId) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserGroupMemberId.Merge(m, src) -} -func (m *UserGroupMemberId) XXX_Size() int { - return m.Size() -} -func (m *UserGroupMemberId) XXX_DiscardUnknown() { - xxx_messageInfo_UserGroupMemberId.DiscardUnknown(m) + +func (x *UserGroupMemberId) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_UserGroupMemberId proto.InternalMessageInfo +func (*UserGroupMemberId) ProtoMessage() {} -type isUserGroupMemberId_MemberType interface { - isUserGroupMemberId_MemberType() - Equal(interface{}) bool - MarshalTo([]byte) (int, error) - Size() int +func (x *UserGroupMemberId) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type UserGroupMemberId_UserId struct { - UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3,oneof" json:"user_id,omitempty"` +// Deprecated: Use UserGroupMemberId.ProtoReflect.Descriptor instead. +func (*UserGroupMemberId) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{15} } -func (*UserGroupMemberId_UserId) isUserGroupMemberId_MemberType() {} - func (m *UserGroupMemberId) GetMemberType() isUserGroupMemberId_MemberType { if m != nil { return m.MemberType @@ -992,72 +1520,83 @@ func (m *UserGroupMemberId) GetMemberType() isUserGroupMemberId_MemberType { return nil } -func (m *UserGroupMemberId) GetUserId() string { - if x, ok := m.GetMemberType().(*UserGroupMemberId_UserId); ok { +func (x *UserGroupMemberId) GetUserId() string { + if x, ok := x.GetMemberType().(*UserGroupMemberId_UserId); ok { return x.UserId } return "" } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*UserGroupMemberId) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UserGroupMemberId_UserId)(nil), - } +type isUserGroupMemberId_MemberType interface { + isUserGroupMemberId_MemberType() +} + +type UserGroupMemberId_UserId struct { + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3,oneof" json:"user_id,omitempty"` } +func (*UserGroupMemberId_UserId) isUserGroupMemberId_MemberType() {} + type UserGroupMember struct { - MemberId *UserGroupMemberId `protobuf:"bytes,1,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` - CreatedTime *types.Timestamp `protobuf:"bytes,2,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MemberId *UserGroupMemberId `protobuf:"bytes,1,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` + CreatedTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` } -func (m *UserGroupMember) Reset() { *m = UserGroupMember{} } -func (*UserGroupMember) ProtoMessage() {} -func (*UserGroupMember) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{13} -} -func (m *UserGroupMember) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *UserGroupMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UserGroupMember.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *UserGroupMember) Reset() { + *x = UserGroupMember{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *UserGroupMember) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserGroupMember.Merge(m, src) -} -func (m *UserGroupMember) XXX_Size() int { - return m.Size() + +func (x *UserGroupMember) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserGroupMember) XXX_DiscardUnknown() { - xxx_messageInfo_UserGroupMember.DiscardUnknown(m) + +func (*UserGroupMember) ProtoMessage() {} + +func (x *UserGroupMember) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UserGroupMember proto.InternalMessageInfo +// Deprecated: Use UserGroupMember.ProtoReflect.Descriptor instead. +func (*UserGroupMember) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{16} +} -func (m *UserGroupMember) GetMemberId() *UserGroupMemberId { - if m != nil { - return m.MemberId +func (x *UserGroupMember) GetMemberId() *UserGroupMemberId { + if x != nil { + return x.MemberId } return nil } -func (m *UserGroupMember) GetCreatedTime() *types.Timestamp { - if m != nil { - return m.CreatedTime +func (x *UserGroupMember) GetCreatedTime() *timestamppb.Timestamp { + if x != nil { + return x.CreatedTime } return nil } type ServiceAccount struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the service account. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The current version of the service account specification. @@ -1070,7 +1609,9 @@ type ServiceAccount struct { // For any failed state, reach out to Temporal Cloud support for remediation. // Deprecated: Use state field instead. // temporal:versioning:max_version=v0.3.0 - StateDeprecated string `protobuf:"bytes,4,opt,name=state_deprecated,json=stateDeprecated,proto3" json:"state_deprecated,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + StateDeprecated string `protobuf:"bytes,4,opt,name=state_deprecated,json=stateDeprecated,proto3" json:"state_deprecated,omitempty"` // The current state of the service account. // For any failed state, reach out to Temporal Cloud support for remediation. // temporal:versioning:min_version=v0.3.0 @@ -1079,102 +1620,115 @@ type ServiceAccount struct { // The id of the async operation that is creating/updating/deleting the service account, if any. AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` // The date and time when the service account was created. - CreatedTime *types.Timestamp `protobuf:"bytes,6,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` + CreatedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` // The date and time when the service account was last modified // Will not be set if the service account has never been modified. - LastModifiedTime *types.Timestamp `protobuf:"bytes,7,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` + LastModifiedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` + // temporal:ui + ApiKeyCount *APIKeyCount `protobuf:"bytes,100,opt,name=api_key_count,json=apiKeyCount,proto3" json:"api_key_count,omitempty"` } -func (m *ServiceAccount) Reset() { *m = ServiceAccount{} } -func (*ServiceAccount) ProtoMessage() {} -func (*ServiceAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{14} -} -func (m *ServiceAccount) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ServiceAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ServiceAccount.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ServiceAccount) Reset() { + *x = ServiceAccount{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ServiceAccount) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceAccount.Merge(m, src) -} -func (m *ServiceAccount) XXX_Size() int { - return m.Size() + +func (x *ServiceAccount) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ServiceAccount) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceAccount.DiscardUnknown(m) + +func (*ServiceAccount) ProtoMessage() {} + +func (x *ServiceAccount) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ServiceAccount proto.InternalMessageInfo +// Deprecated: Use ServiceAccount.ProtoReflect.Descriptor instead. +func (*ServiceAccount) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{17} +} -func (m *ServiceAccount) GetId() string { - if m != nil { - return m.Id +func (x *ServiceAccount) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *ServiceAccount) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *ServiceAccount) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *ServiceAccount) GetSpec() *ServiceAccountSpec { - if m != nil { - return m.Spec +func (x *ServiceAccount) GetSpec() *ServiceAccountSpec { + if x != nil { + return x.Spec } return nil } // Deprecated: Do not use. -func (m *ServiceAccount) GetStateDeprecated() string { - if m != nil { - return m.StateDeprecated +func (x *ServiceAccount) GetStateDeprecated() string { + if x != nil { + return x.StateDeprecated } return "" } -func (m *ServiceAccount) GetState() v1.ResourceState { - if m != nil { - return m.State +func (x *ServiceAccount) GetState() v1.ResourceState { + if x != nil { + return x.State } return v1.RESOURCE_STATE_UNSPECIFIED } -func (m *ServiceAccount) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *ServiceAccount) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } -func (m *ServiceAccount) GetCreatedTime() *types.Timestamp { - if m != nil { - return m.CreatedTime +func (x *ServiceAccount) GetCreatedTime() *timestamppb.Timestamp { + if x != nil { + return x.CreatedTime } return nil } -func (m *ServiceAccount) GetLastModifiedTime() *types.Timestamp { - if m != nil { - return m.LastModifiedTime +func (x *ServiceAccount) GetLastModifiedTime() *timestamppb.Timestamp { + if x != nil { + return x.LastModifiedTime + } + return nil +} + +func (x *ServiceAccount) GetApiKeyCount() *APIKeyCount { + if x != nil { + return x.ApiKeyCount } return nil } type ServiceAccountSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The name associated with the service account. // The name is mutable, but must be unique across all your active service accounts. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` @@ -1191,69 +1745,82 @@ type ServiceAccountSpec struct { // The description associated with the service account - optional. // The description is mutable. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + // temporal:dev + ProjectScopedAccess *ProjectScopedAccess `protobuf:"bytes,5,opt,name=project_scoped_access,json=projectScopedAccess,proto3" json:"project_scoped_access,omitempty"` } -func (m *ServiceAccountSpec) Reset() { *m = ServiceAccountSpec{} } -func (*ServiceAccountSpec) ProtoMessage() {} -func (*ServiceAccountSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{15} -} -func (m *ServiceAccountSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ServiceAccountSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ServiceAccountSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ServiceAccountSpec) Reset() { + *x = ServiceAccountSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ServiceAccountSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceAccountSpec.Merge(m, src) -} -func (m *ServiceAccountSpec) XXX_Size() int { - return m.Size() + +func (x *ServiceAccountSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ServiceAccountSpec) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceAccountSpec.DiscardUnknown(m) + +func (*ServiceAccountSpec) ProtoMessage() {} + +func (x *ServiceAccountSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ServiceAccountSpec proto.InternalMessageInfo +// Deprecated: Use ServiceAccountSpec.ProtoReflect.Descriptor instead. +func (*ServiceAccountSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{18} +} -func (m *ServiceAccountSpec) GetName() string { - if m != nil { - return m.Name +func (x *ServiceAccountSpec) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ServiceAccountSpec) GetAccess() *Access { - if m != nil { - return m.Access +func (x *ServiceAccountSpec) GetAccess() *Access { + if x != nil { + return x.Access } return nil } -func (m *ServiceAccountSpec) GetNamespaceScopedAccess() *NamespaceScopedAccess { - if m != nil { - return m.NamespaceScopedAccess +func (x *ServiceAccountSpec) GetNamespaceScopedAccess() *NamespaceScopedAccess { + if x != nil { + return x.NamespaceScopedAccess } return nil } -func (m *ServiceAccountSpec) GetDescription() string { - if m != nil { - return m.Description +func (x *ServiceAccountSpec) GetDescription() string { + if x != nil { + return x.Description } return "" } +func (x *ServiceAccountSpec) GetProjectScopedAccess() *ProjectScopedAccess { + if x != nil { + return x.ProjectScopedAccess + } + return nil +} + type ApiKey struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the API Key. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The current version of the API key specification. @@ -1266,7 +1833,9 @@ type ApiKey struct { // For any failed state, reach out to Temporal Cloud support for remediation. // Deprecated: Use state field instead. // temporal:versioning:max_version=v0.3.0 - StateDeprecated string `protobuf:"bytes,4,opt,name=state_deprecated,json=stateDeprecated,proto3" json:"state_deprecated,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + StateDeprecated string `protobuf:"bytes,4,opt,name=state_deprecated,json=stateDeprecated,proto3" json:"state_deprecated,omitempty"` // The current state of the API key. // temporal:versioning:min_version=v0.3.0 // temporal:enums:replaces=state_deprecated @@ -1274,102 +1843,126 @@ type ApiKey struct { // The id of the async operation that is creating/updating/deleting the API key, if any. AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` // The date and time when the API key was created. - CreatedTime *types.Timestamp `protobuf:"bytes,6,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` + CreatedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` // The date and time when the API key was last modified. // Will not be set if the API key has never been modified. - LastModifiedTime *types.Timestamp `protobuf:"bytes,7,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` + LastModifiedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` + // temporal:ui + // owner display name, only filled for the ui. + OwnerDisplayName string `protobuf:"bytes,100,opt,name=owner_display_name,json=ownerDisplayName,proto3" json:"owner_display_name,omitempty"` + // temporal:ui + // indicates if the service account owner is scoped or not, if it is a service account. + OwnerServiceAccountScoped ApiKey_OwnerServiceAccountScope `protobuf:"varint,101,opt,name=owner_service_account_scoped,json=ownerServiceAccountScoped,proto3,enum=temporal.api.cloud.identity.v1.ApiKey_OwnerServiceAccountScope" json:"owner_service_account_scoped,omitempty"` } -func (m *ApiKey) Reset() { *m = ApiKey{} } -func (*ApiKey) ProtoMessage() {} -func (*ApiKey) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{16} -} -func (m *ApiKey) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ApiKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ApiKey.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ApiKey) Reset() { + *x = ApiKey{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ApiKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApiKey.Merge(m, src) -} -func (m *ApiKey) XXX_Size() int { - return m.Size() + +func (x *ApiKey) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ApiKey) XXX_DiscardUnknown() { - xxx_messageInfo_ApiKey.DiscardUnknown(m) + +func (*ApiKey) ProtoMessage() {} + +func (x *ApiKey) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ApiKey proto.InternalMessageInfo +// Deprecated: Use ApiKey.ProtoReflect.Descriptor instead. +func (*ApiKey) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{19} +} -func (m *ApiKey) GetId() string { - if m != nil { - return m.Id +func (x *ApiKey) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *ApiKey) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *ApiKey) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *ApiKey) GetSpec() *ApiKeySpec { - if m != nil { - return m.Spec +func (x *ApiKey) GetSpec() *ApiKeySpec { + if x != nil { + return x.Spec } return nil } // Deprecated: Do not use. -func (m *ApiKey) GetStateDeprecated() string { - if m != nil { - return m.StateDeprecated +func (x *ApiKey) GetStateDeprecated() string { + if x != nil { + return x.StateDeprecated } return "" } -func (m *ApiKey) GetState() v1.ResourceState { - if m != nil { - return m.State +func (x *ApiKey) GetState() v1.ResourceState { + if x != nil { + return x.State } return v1.RESOURCE_STATE_UNSPECIFIED } -func (m *ApiKey) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *ApiKey) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } -func (m *ApiKey) GetCreatedTime() *types.Timestamp { - if m != nil { - return m.CreatedTime +func (x *ApiKey) GetCreatedTime() *timestamppb.Timestamp { + if x != nil { + return x.CreatedTime } return nil } -func (m *ApiKey) GetLastModifiedTime() *types.Timestamp { - if m != nil { - return m.LastModifiedTime +func (x *ApiKey) GetLastModifiedTime() *timestamppb.Timestamp { + if x != nil { + return x.LastModifiedTime } return nil } +func (x *ApiKey) GetOwnerDisplayName() string { + if x != nil { + return x.OwnerDisplayName + } + return "" +} + +func (x *ApiKey) GetOwnerServiceAccountScoped() ApiKey_OwnerServiceAccountScope { + if x != nil { + return x.OwnerServiceAccountScoped + } + return OWNER_SERVICE_ACCOUNT_SCOPE_UNSPECIFIED +} + type ApiKeySpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the owner to create the API key for. // The owner id is immutable. Once set during creation, it cannot be changed. // The owner id is the id of the user when the owner type is user. @@ -1380,7 +1973,9 @@ type ApiKeySpec struct { // Possible values: user, service-account. // Deprecated: Use owner_type field instead. // temporal:versioning:max_version=v0.3.0 - OwnerTypeDeprecated string `protobuf:"bytes,2,opt,name=owner_type_deprecated,json=ownerTypeDeprecated,proto3" json:"owner_type_deprecated,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + OwnerTypeDeprecated string `protobuf:"bytes,2,opt,name=owner_type_deprecated,json=ownerTypeDeprecated,proto3" json:"owner_type_deprecated,omitempty"` // The type of the owner to create the API key for. // temporal:versioning:min_version=v0.3.0 // temporal:enums:replaces=owner_type_deprecated @@ -1390,6332 +1985,1302 @@ type ApiKeySpec struct { // The description of the API key. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // The expiry time of the API key. - ExpiryTime *types.Timestamp `protobuf:"bytes,5,opt,name=expiry_time,json=expiryTime,proto3" json:"expiry_time,omitempty"` + ExpiryTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expiry_time,json=expiryTime,proto3" json:"expiry_time,omitempty"` // True if the API key is disabled. Disabled bool `protobuf:"varint,6,opt,name=disabled,proto3" json:"disabled,omitempty"` } -func (m *ApiKeySpec) Reset() { *m = ApiKeySpec{} } -func (*ApiKeySpec) ProtoMessage() {} -func (*ApiKeySpec) Descriptor() ([]byte, []int) { - return fileDescriptor_0ccf9360c6d9abd3, []int{17} -} -func (m *ApiKeySpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ApiKeySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ApiKeySpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ApiKeySpec) Reset() { + *x = ApiKeySpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ApiKeySpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApiKeySpec.Merge(m, src) -} -func (m *ApiKeySpec) XXX_Size() int { - return m.Size() + +func (x *ApiKeySpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ApiKeySpec) XXX_DiscardUnknown() { - xxx_messageInfo_ApiKeySpec.DiscardUnknown(m) + +func (*ApiKeySpec) ProtoMessage() {} + +func (x *ApiKeySpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ApiKeySpec proto.InternalMessageInfo +// Deprecated: Use ApiKeySpec.ProtoReflect.Descriptor instead. +func (*ApiKeySpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{20} +} -func (m *ApiKeySpec) GetOwnerId() string { - if m != nil { - return m.OwnerId +func (x *ApiKeySpec) GetOwnerId() string { + if x != nil { + return x.OwnerId } return "" } // Deprecated: Do not use. -func (m *ApiKeySpec) GetOwnerTypeDeprecated() string { - if m != nil { - return m.OwnerTypeDeprecated +func (x *ApiKeySpec) GetOwnerTypeDeprecated() string { + if x != nil { + return x.OwnerTypeDeprecated } return "" } -func (m *ApiKeySpec) GetOwnerType() OwnerType { - if m != nil { - return m.OwnerType +func (x *ApiKeySpec) GetOwnerType() OwnerType { + if x != nil { + return x.OwnerType } return OWNER_TYPE_UNSPECIFIED } -func (m *ApiKeySpec) GetDisplayName() string { - if m != nil { - return m.DisplayName +func (x *ApiKeySpec) GetDisplayName() string { + if x != nil { + return x.DisplayName } return "" } -func (m *ApiKeySpec) GetDescription() string { - if m != nil { - return m.Description +func (x *ApiKeySpec) GetDescription() string { + if x != nil { + return x.Description } return "" } -func (m *ApiKeySpec) GetExpiryTime() *types.Timestamp { - if m != nil { - return m.ExpiryTime +func (x *ApiKeySpec) GetExpiryTime() *timestamppb.Timestamp { + if x != nil { + return x.ExpiryTime } return nil } -func (m *ApiKeySpec) GetDisabled() bool { - if m != nil { - return m.Disabled +func (x *ApiKeySpec) GetDisabled() bool { + if x != nil { + return x.Disabled } return false } -func init() { - proto.RegisterEnum("temporal.api.cloud.identity.v1.OwnerType", OwnerType_name, OwnerType_value) - proto.RegisterEnum("temporal.api.cloud.identity.v1.AccountAccess_Role", AccountAccess_Role_name, AccountAccess_Role_value) - proto.RegisterEnum("temporal.api.cloud.identity.v1.NamespaceAccess_Permission", NamespaceAccess_Permission_name, NamespaceAccess_Permission_value) - proto.RegisterType((*AccountAccess)(nil), "temporal.api.cloud.identity.v1.AccountAccess") - proto.RegisterType((*NamespaceAccess)(nil), "temporal.api.cloud.identity.v1.NamespaceAccess") - proto.RegisterType((*Access)(nil), "temporal.api.cloud.identity.v1.Access") - proto.RegisterMapType((map[string]*NamespaceAccess)(nil), "temporal.api.cloud.identity.v1.Access.NamespaceAccessesEntry") - proto.RegisterType((*NamespaceScopedAccess)(nil), "temporal.api.cloud.identity.v1.NamespaceScopedAccess") - proto.RegisterType((*UserSpec)(nil), "temporal.api.cloud.identity.v1.UserSpec") - proto.RegisterType((*Invitation)(nil), "temporal.api.cloud.identity.v1.Invitation") - proto.RegisterType((*User)(nil), "temporal.api.cloud.identity.v1.User") - proto.RegisterType((*GoogleGroupSpec)(nil), "temporal.api.cloud.identity.v1.GoogleGroupSpec") - proto.RegisterType((*SCIMGroupSpec)(nil), "temporal.api.cloud.identity.v1.SCIMGroupSpec") - proto.RegisterType((*CloudGroupSpec)(nil), "temporal.api.cloud.identity.v1.CloudGroupSpec") - proto.RegisterType((*UserGroupSpec)(nil), "temporal.api.cloud.identity.v1.UserGroupSpec") - proto.RegisterType((*UserGroup)(nil), "temporal.api.cloud.identity.v1.UserGroup") - proto.RegisterType((*UserGroupMemberId)(nil), "temporal.api.cloud.identity.v1.UserGroupMemberId") - proto.RegisterType((*UserGroupMember)(nil), "temporal.api.cloud.identity.v1.UserGroupMember") - proto.RegisterType((*ServiceAccount)(nil), "temporal.api.cloud.identity.v1.ServiceAccount") - proto.RegisterType((*ServiceAccountSpec)(nil), "temporal.api.cloud.identity.v1.ServiceAccountSpec") - proto.RegisterType((*ApiKey)(nil), "temporal.api.cloud.identity.v1.ApiKey") - proto.RegisterType((*ApiKeySpec)(nil), "temporal.api.cloud.identity.v1.ApiKeySpec") -} - -func init() { - proto.RegisterFile("temporal/api/cloud/identity/v1/message.proto", fileDescriptor_0ccf9360c6d9abd3) -} - -var fileDescriptor_0ccf9360c6d9abd3 = []byte{ - // 1449 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0x4b, 0x6c, 0x1b, 0xc5, - 0x1b, 0xf7, 0xae, 0x1f, 0x89, 0x3f, 0x27, 0xf6, 0x76, 0x9a, 0xf4, 0xef, 0x46, 0x7f, 0x2d, 0xe9, - 0x82, 0xaa, 0xb4, 0x34, 0x6b, 0x25, 0x88, 0x82, 0x5c, 0x5a, 0xc9, 0x71, 0x36, 0xcd, 0x42, 0xe3, - 0x98, 0xb1, 0x9b, 0x8a, 0x0a, 0x69, 0xd9, 0xec, 0x4e, 0xa3, 0x11, 0xb6, 0x77, 0xb5, 0xbb, 0x0e, - 0xf8, 0x82, 0x38, 0x73, 0x40, 0x70, 0xe0, 0xce, 0x11, 0x71, 0xe0, 0xc4, 0x99, 0x0b, 0x07, 0x38, - 0xf6, 0xd8, 0x63, 0xeb, 0x5e, 0x10, 0xa7, 0x9e, 0x90, 0x7a, 0x43, 0x3b, 0xfb, 0xf0, 0xda, 0x89, - 0x70, 0x1e, 0x88, 0x53, 0x6f, 0x3b, 0xbf, 0xf9, 0x1e, 0x33, 0xbf, 0xef, 0xe1, 0xcf, 0x03, 0x37, - 0x3c, 0xd2, 0xb5, 0x2d, 0x47, 0xef, 0x54, 0x74, 0x9b, 0x56, 0x8c, 0x8e, 0xd5, 0x37, 0x2b, 0xd4, - 0x24, 0x3d, 0x8f, 0x7a, 0x83, 0xca, 0xe1, 0x5a, 0xa5, 0x4b, 0x5c, 0x57, 0x3f, 0x20, 0xb2, 0xed, - 0x58, 0x9e, 0x85, 0xc4, 0x48, 0x5a, 0xd6, 0x6d, 0x2a, 0x33, 0x69, 0x39, 0x92, 0x96, 0x0f, 0xd7, - 0x96, 0x8e, 0xb3, 0xe6, 0x10, 0xd7, 0xea, 0x3b, 0x06, 0x39, 0x62, 0x6d, 0xe9, 0xb5, 0x03, 0xcb, - 0x3a, 0xe8, 0x90, 0x0a, 0x5b, 0xed, 0xf7, 0x1f, 0x55, 0x3c, 0xda, 0x25, 0xae, 0xa7, 0x77, 0xed, - 0x40, 0x40, 0xfa, 0x8e, 0x87, 0xf9, 0x9a, 0x61, 0x58, 0xfd, 0x9e, 0x57, 0x33, 0x0c, 0xe2, 0xba, - 0xe8, 0x4d, 0x28, 0x39, 0x56, 0x87, 0x68, 0x26, 0xb1, 0x1d, 0x62, 0xe8, 0x1e, 0x31, 0xcb, 0xdc, - 0x32, 0xb7, 0x92, 0xdf, 0xe0, 0xcb, 0x1c, 0x2e, 0xfa, 0x5b, 0x9b, 0xf1, 0x0e, 0xda, 0x82, 0x8c, - 0x8f, 0x94, 0xf9, 0x65, 0x6e, 0xa5, 0xb8, 0xbe, 0x2e, 0xff, 0xf3, 0xe1, 0xe5, 0x31, 0x4f, 0x32, - 0xb6, 0x3a, 0x04, 0x33, 0x7d, 0xe9, 0x6b, 0x0e, 0x32, 0xfe, 0x12, 0x2d, 0x80, 0x80, 0x77, 0xef, - 0x29, 0xda, 0xfd, 0x46, 0xab, 0xa9, 0xd4, 0xd5, 0x2d, 0x55, 0xd9, 0x14, 0x52, 0xa8, 0x08, 0xc0, - 0xd0, 0xdd, 0x07, 0x0d, 0x05, 0x0b, 0x5c, 0xbc, 0xae, 0x6d, 0xee, 0xa8, 0x0d, 0x81, 0x47, 0x08, - 0x8a, 0x6c, 0xbd, 0xa9, 0xec, 0x29, 0xf7, 0x76, 0x9b, 0x0a, 0x16, 0xd2, 0xe8, 0x12, 0x20, 0x86, - 0x6d, 0xa9, 0x8d, 0x5a, 0xa3, 0x1e, 0xc9, 0x66, 0xd0, 0x3c, 0xe4, 0x19, 0x8e, 0x95, 0xda, 0xa6, - 0x90, 0x45, 0x8b, 0x70, 0x81, 0x2d, 0x77, 0x94, 0x36, 0x56, 0xeb, 0xad, 0x00, 0xce, 0x49, 0xdf, - 0xf2, 0x50, 0x6a, 0xe8, 0x5d, 0xe2, 0xda, 0xba, 0x41, 0x42, 0x66, 0xde, 0x81, 0x45, 0x9b, 0x38, - 0x5d, 0xea, 0xba, 0xd4, 0xea, 0x1d, 0xcf, 0xcf, 0xc2, 0x48, 0x20, 0xc1, 0xd2, 0x43, 0x80, 0x11, - 0x1e, 0x72, 0x55, 0x9d, 0xc6, 0xd5, 0x84, 0x77, 0xb9, 0x19, 0x5b, 0xc0, 0x09, 0x6b, 0x12, 0x05, - 0x18, 0xed, 0xa0, 0x25, 0xb8, 0xd4, 0x54, 0xf0, 0x8e, 0xda, 0x6a, 0xa9, 0xbb, 0x8d, 0x09, 0x12, - 0x17, 0x40, 0x48, 0xec, 0x05, 0x74, 0x70, 0x13, 0xe8, 0x03, 0xac, 0xb6, 0x15, 0x81, 0x47, 0x17, - 0xa1, 0x94, 0x40, 0x19, 0x27, 0x69, 0xe9, 0x57, 0x1e, 0x72, 0x21, 0x15, 0x6d, 0x28, 0xea, 0x41, - 0x2c, 0x35, 0x9d, 0x21, 0x8c, 0x83, 0xc2, 0xfa, 0xea, 0xa9, 0x32, 0x00, 0xcf, 0xeb, 0x63, 0xa9, - 0xd7, 0x01, 0xd4, 0x8b, 0x6e, 0x1d, 0xda, 0x25, 0x6e, 0x99, 0x5f, 0x4e, 0xaf, 0x14, 0xd6, 0x6f, - 0x9f, 0xc0, 0xb2, 0x4f, 0xd3, 0x04, 0x6d, 0xc4, 0x55, 0x7a, 0x9e, 0x33, 0xc0, 0x17, 0x7a, 0x93, - 0xf8, 0x52, 0x1f, 0x2e, 0x1d, 0x2f, 0x8c, 0x04, 0x48, 0x7f, 0x4a, 0x06, 0x41, 0x58, 0xb1, 0xff, - 0x89, 0x14, 0xc8, 0x1e, 0xea, 0x9d, 0x7e, 0x90, 0xe8, 0x85, 0xf5, 0xca, 0x29, 0x83, 0x87, 0x03, - 0xed, 0x2a, 0xff, 0x2e, 0x27, 0x7d, 0x01, 0x8b, 0xf1, 0x6e, 0xcb, 0xb0, 0x6c, 0x62, 0x86, 0xb7, - 0xff, 0x3f, 0xe4, 0xe3, 0x43, 0x86, 0xbe, 0x47, 0x00, 0xba, 0x0b, 0xb9, 0x90, 0xe9, 0x33, 0x1e, - 0x21, 0x54, 0x97, 0x3e, 0x81, 0xd9, 0xfb, 0x2e, 0x71, 0x5a, 0x36, 0x31, 0xd0, 0x02, 0x64, 0x49, - 0x57, 0xa7, 0x9d, 0xd0, 0x5d, 0xb0, 0x40, 0x77, 0x26, 0x5c, 0x5d, 0x3d, 0x19, 0xf5, 0xb1, 0x87, - 0xaf, 0x38, 0x00, 0xb5, 0x77, 0x48, 0x3d, 0xdd, 0xf3, 0x73, 0xf2, 0x36, 0xcc, 0x19, 0x0e, 0xf1, - 0x0b, 0x41, 0xf3, 0xbb, 0x4f, 0x98, 0x29, 0x4b, 0x72, 0xd0, 0x9a, 0xe4, 0xa8, 0x35, 0xc9, 0xed, - 0xa8, 0x35, 0xe1, 0x42, 0x28, 0xef, 0x23, 0xbe, 0x3a, 0xf9, 0xdc, 0xa6, 0x4e, 0xa4, 0xce, 0x4f, - 0x57, 0x0f, 0xe5, 0x7d, 0x44, 0xfa, 0x2b, 0x0d, 0x19, 0xff, 0xbe, 0xa8, 0x08, 0x3c, 0x0d, 0x4b, - 0x15, 0xf3, 0xd4, 0x44, 0xd7, 0x40, 0x88, 0xfa, 0xa6, 0x76, 0x48, 0x9c, 0xb8, 0x34, 0xf3, 0xb8, - 0x14, 0xe1, 0x7b, 0x01, 0x8c, 0xde, 0x83, 0x8c, 0x6b, 0x13, 0xa3, 0x9c, 0x66, 0xae, 0x57, 0xa6, - 0xd1, 0x11, 0xd1, 0x8b, 0x99, 0x16, 0x5a, 0x05, 0xc1, 0xf5, 0x74, 0x6f, 0xac, 0xa3, 0x66, 0xe2, - 0x8e, 0x51, 0x62, 0x7b, 0x89, 0x66, 0x51, 0x87, 0x2c, 0x83, 0xca, 0x79, 0xd6, 0x27, 0x8e, 0xad, - 0xa8, 0xe8, 0x80, 0xbe, 0x37, 0x1c, 0x7e, 0xb7, 0x7c, 0x25, 0x1c, 0xe8, 0xa2, 0x1b, 0x80, 0x74, - 0x77, 0xd0, 0x33, 0x34, 0xcb, 0x26, 0x0e, 0x0b, 0x83, 0x46, 0xcd, 0x72, 0x96, 0x5d, 0x4f, 0x60, - 0x3b, 0xbb, 0xd1, 0x86, 0x6a, 0xa2, 0xf7, 0x01, 0x68, 0x1c, 0xaf, 0x72, 0x8e, 0xdd, 0xf2, 0xfa, - 0xb4, 0x5b, 0x8e, 0x22, 0x8c, 0x13, 0xda, 0x47, 0xa2, 0x3d, 0x73, 0xba, 0x68, 0x6f, 0x03, 0xea, - 0xe8, 0xae, 0xa7, 0x75, 0x2d, 0x93, 0x3e, 0xa2, 0x91, 0x91, 0xd9, 0xa9, 0x46, 0x04, 0x5f, 0x6b, - 0x27, 0x54, 0x62, 0x81, 0xbf, 0x09, 0xa5, 0xbb, 0x4c, 0xfc, 0xae, 0x63, 0xf5, 0x6d, 0x96, 0xee, - 0xaf, 0xc3, 0x3c, 0xcb, 0x70, 0x4d, 0x37, 0x4d, 0x27, 0x6a, 0x5a, 0x79, 0x3c, 0xc7, 0xc0, 0x5a, - 0x80, 0x49, 0x57, 0x61, 0xbe, 0x55, 0x57, 0x77, 0x46, 0x5a, 0x8b, 0x90, 0xa3, 0xa6, 0xad, 0xc5, - 0xc9, 0x93, 0xa5, 0xa6, 0xad, 0x9a, 0x92, 0x00, 0xc5, 0xba, 0x4f, 0x4a, 0x2c, 0x28, 0xbd, 0xe4, - 0x61, 0xde, 0x8f, 0xfd, 0x48, 0xf5, 0x0a, 0xcc, 0x99, 0xd4, 0xb5, 0x3b, 0xfa, 0x40, 0xf3, 0x2b, - 0x39, 0x34, 0x50, 0x08, 0x31, 0xbf, 0x42, 0xcf, 0x5b, 0x6c, 0xa8, 0x0d, 0x73, 0x01, 0x2b, 0xda, - 0x81, 0xef, 0x36, 0xcc, 0xd1, 0xa9, 0xdd, 0x61, 0x82, 0x9a, 0xed, 0x14, 0x2e, 0x1c, 0x8c, 0x20, - 0xd4, 0x00, 0x70, 0x0d, 0xda, 0x0d, 0x6d, 0x66, 0x4e, 0xd6, 0xdb, 0xc7, 0x68, 0xdb, 0x4e, 0xe1, - 0xbc, 0x6f, 0x22, 0xb0, 0xf7, 0x21, 0x14, 0x98, 0x7c, 0x68, 0x30, 0xcb, 0x0c, 0xca, 0xd3, 0x0c, - 0x8e, 0xf3, 0xbb, 0x9d, 0xc2, 0x60, 0xc4, 0xc8, 0xc6, 0x1c, 0x00, 0x33, 0xa6, 0x79, 0x03, 0x9b, - 0x48, 0x3f, 0xa7, 0x21, 0x1f, 0x73, 0x7f, 0x9e, 0x5a, 0xaf, 0x8d, 0xd5, 0xfa, 0xea, 0x49, 0x6a, - 0x3d, 0x3e, 0xe1, 0x39, 0x0b, 0x7e, 0xf6, 0x3f, 0x2b, 0xf8, 0xc9, 0x22, 0xcd, 0xfd, 0x1b, 0x45, - 0x3a, 0x73, 0x86, 0x22, 0xbd, 0x0d, 0x17, 0x62, 0x06, 0x77, 0x48, 0x77, 0x9f, 0x38, 0xaa, 0x89, - 0x2e, 0xc3, 0x4c, 0xdf, 0x25, 0x4e, 0x5c, 0x71, 0xdb, 0x29, 0x9c, 0xf3, 0x01, 0xd5, 0xdc, 0x98, - 0x87, 0x42, 0x97, 0x89, 0x05, 0x51, 0xff, 0x9e, 0x83, 0xd2, 0x84, 0x3e, 0x6a, 0x40, 0x3e, 0x14, - 0x09, 0xf5, 0x0b, 0xeb, 0x6b, 0x27, 0x8e, 0x62, 0x74, 0x06, 0x3c, 0xdb, 0x8d, 0x4e, 0x33, 0xc9, - 0x15, 0x7f, 0x2a, 0xae, 0xa4, 0x5f, 0xd2, 0x50, 0x6c, 0x11, 0xe7, 0x90, 0xb2, 0x1f, 0x62, 0x7f, - 0xd8, 0x39, 0x4f, 0x76, 0x6e, 0x8d, 0x65, 0xe7, 0xd4, 0x79, 0x7b, 0xdc, 0xf1, 0xab, 0x14, 0x3d, - 0x4b, 0x8a, 0xbe, 0xe4, 0x00, 0x1d, 0xe5, 0x11, 0x21, 0xc8, 0x24, 0x5a, 0x3a, 0xfb, 0x3e, 0x77, - 0x2f, 0xef, 0xc2, 0xff, 0x46, 0xf3, 0xaf, 0xcb, 0x66, 0xc3, 0x68, 0xbc, 0x0e, 0x5a, 0xf0, 0xdb, - 0x27, 0x1e, 0xfa, 0x92, 0x93, 0x25, 0x5e, 0xec, 0x1d, 0x3b, 0x70, 0x2e, 0x43, 0xc1, 0x24, 0xae, - 0xe1, 0x50, 0x9b, 0xfd, 0xee, 0xa7, 0xc3, 0x1f, 0xa7, 0x11, 0x24, 0xfd, 0x94, 0x86, 0x5c, 0xcd, - 0xa6, 0x1f, 0x90, 0xc1, 0x79, 0x92, 0xf6, 0xce, 0x58, 0xd2, 0x4e, 0x1d, 0x2c, 0x02, 0x87, 0xaf, - 0x92, 0xf5, 0x2c, 0xc9, 0xfa, 0x1b, 0x0f, 0x30, 0xe2, 0x0f, 0x5d, 0x86, 0x59, 0xeb, 0xb3, 0x5e, - 0xa2, 0x95, 0xe2, 0x19, 0xb6, 0x56, 0x4d, 0x74, 0x13, 0x16, 0x83, 0x2d, 0xbf, 0x91, 0x26, 0x99, - 0xe5, 0x63, 0x66, 0x2f, 0x32, 0x81, 0xf6, 0xc0, 0x4e, 0xb2, 0xbb, 0x0d, 0x30, 0xd2, 0x63, 0x67, - 0x2c, 0xae, 0x5f, 0x9b, 0x16, 0xd2, 0xdd, 0xc8, 0x10, 0xce, 0xc7, 0x36, 0x8f, 0x0c, 0x47, 0xe9, - 0xa3, 0xc3, 0xd1, 0x44, 0x86, 0x66, 0x8e, 0x64, 0x28, 0xba, 0x05, 0xc1, 0xb4, 0x3f, 0x08, 0x38, - 0xcb, 0x4e, 0xe5, 0x0c, 0x02, 0x71, 0xc6, 0xfb, 0x12, 0xcc, 0x9a, 0xd4, 0xd5, 0xf7, 0x3b, 0xc4, - 0x64, 0x21, 0x9b, 0xc5, 0xf1, 0xfa, 0xfa, 0xc7, 0x90, 0x8f, 0x4f, 0xed, 0xff, 0xad, 0x66, 0x4f, - 0x0f, 0x5a, 0xfb, 0xa3, 0xe6, 0xe4, 0xdb, 0xc4, 0x45, 0x28, 0x25, 0xf7, 0x5a, 0xec, 0x81, 0x42, - 0x84, 0xa5, 0x04, 0xd8, 0x52, 0xf0, 0x9e, 0x5a, 0x57, 0xb4, 0x5a, 0xbd, 0xbe, 0x7b, 0xbf, 0xd1, - 0x16, 0xf8, 0x8d, 0xa7, 0xdc, 0xe3, 0x67, 0x62, 0xea, 0xc9, 0x33, 0x31, 0xf5, 0xe2, 0x99, 0xc8, - 0x7d, 0x39, 0x14, 0xb9, 0x1f, 0x86, 0x22, 0xf7, 0xfb, 0x50, 0xe4, 0x1e, 0x0f, 0x45, 0xee, 0xe9, - 0x50, 0xe4, 0xfe, 0x18, 0x8a, 0xa9, 0x17, 0x43, 0x91, 0xfb, 0xe6, 0xb9, 0x98, 0x7a, 0xfc, 0x5c, - 0x4c, 0x3d, 0x79, 0x2e, 0xa6, 0xe0, 0x0a, 0xb5, 0xa6, 0x50, 0xbd, 0x31, 0xb7, 0x13, 0x3c, 0x00, - 0x35, 0xfd, 0xab, 0x37, 0xb9, 0x87, 0xab, 0x07, 0x09, 0x15, 0x6a, 0x1d, 0xff, 0x06, 0x75, 0x2b, - 0xfa, 0xfe, 0x91, 0x5f, 0x6e, 0x87, 0xc2, 0xd4, 0xf2, 0x2b, 0x31, 0x98, 0xc1, 0x64, 0x35, 0xf2, - 0xb0, 0xb7, 0xf6, 0x27, 0xff, 0xc6, 0x48, 0xa4, 0x5a, 0xad, 0xd9, 0xb4, 0x5a, 0x65, 0x42, 0xd5, - 0x6a, 0x24, 0x55, 0xad, 0xee, 0xad, 0xed, 0xe7, 0x18, 0xf9, 0x6f, 0xfd, 0x1d, 0x00, 0x00, 0xff, - 0xff, 0xae, 0x24, 0x1f, 0x24, 0xff, 0x12, 0x00, 0x00, -} +// temporal:dev +type CustomRoleSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (x OwnerType) String() string { - s, ok := OwnerType_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x AccountAccess_Role) String() string { - s, ok := AccountAccess_Role_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x NamespaceAccess_Permission) String() string { - s, ok := NamespaceAccess_Permission_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) + // The name of the custom role. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The description of the custom role. + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + // The permissions assigned to the custom role. + Permissions []*CustomRoleSpec_Permission `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"` } -func (this *AccountAccess) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*AccountAccess) - if !ok { - that2, ok := that.(AccountAccess) - if ok { - that1 = &that2 - } else { - return false - } +func (x *CustomRoleSpec) Reset() { + *x = CustomRoleSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.RoleDeprecated != that1.RoleDeprecated { - return false - } - if this.Role != that1.Role { - return false - } - return true } -func (this *NamespaceAccess) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*NamespaceAccess) - if !ok { - that2, ok := that.(NamespaceAccess) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.PermissionDeprecated != that1.PermissionDeprecated { - return false - } - if this.Permission != that1.Permission { - return false - } - return true +func (x *CustomRoleSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *Access) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*Access) - if !ok { - that2, ok := that.(Access) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AccountAccess.Equal(that1.AccountAccess) { - return false - } - if len(this.NamespaceAccesses) != len(that1.NamespaceAccesses) { - return false - } - for i := range this.NamespaceAccesses { - if !this.NamespaceAccesses[i].Equal(that1.NamespaceAccesses[i]) { - return false - } - } - return true -} -func (this *NamespaceScopedAccess) Equal(that interface{}) bool { - if that == nil { - return this == nil - } +func (*CustomRoleSpec) ProtoMessage() {} - that1, ok := that.(*NamespaceScopedAccess) - if !ok { - that2, ok := that.(NamespaceScopedAccess) - if ok { - that1 = &that2 - } else { - return false +func (x *CustomRoleSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if !this.Access.Equal(that1.Access) { - return false - } - return true + return mi.MessageOf(x) } -func (this *UserSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UserSpec) - if !ok { - that2, ok := that.(UserSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Email != that1.Email { - return false - } - if !this.Access.Equal(that1.Access) { - return false - } - return true +// Deprecated: Use CustomRoleSpec.ProtoReflect.Descriptor instead. +func (*CustomRoleSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{21} } -func (this *Invitation) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*Invitation) - if !ok { - that2, ok := that.(Invitation) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.CreatedTime.Equal(that1.CreatedTime) { - return false +func (x *CustomRoleSpec) GetName() string { + if x != nil { + return x.Name } - if !this.ExpiredTime.Equal(that1.ExpiredTime) { - return false - } - return true + return "" } -func (this *User) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*User) - if !ok { - that2, ok := that.(User) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Id != that1.Id { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false +func (x *CustomRoleSpec) GetDescription() string { + if x != nil { + return x.Description } - if this.StateDeprecated != that1.StateDeprecated { - return false - } - if this.State != that1.State { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - if !this.Invitation.Equal(that1.Invitation) { - return false - } - if !this.CreatedTime.Equal(that1.CreatedTime) { - return false - } - if !this.LastModifiedTime.Equal(that1.LastModifiedTime) { - return false - } - return true + return "" } -func (this *GoogleGroupSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GoogleGroupSpec) - if !ok { - that2, ok := that.(GoogleGroupSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false +func (x *CustomRoleSpec) GetPermissions() []*CustomRoleSpec_Permission { + if x != nil { + return x.Permissions } - if this.EmailAddress != that1.EmailAddress { - return false - } - return true + return nil } -func (this *SCIMGroupSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*SCIMGroupSpec) - if !ok { - that2, ok := that.(SCIMGroupSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.IdpId != that1.IdpId { - return false - } - return true -} -func (this *CloudGroupSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } +// temporal:dev +type CustomRole struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields - that1, ok := that.(*CloudGroupSpec) - if !ok { - that2, ok := that.(CloudGroupSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - return true + // The id of the custom role. + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // The current version of the custom role specification. + // The next update operation will have to include this version. + ResourceVersion string `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` + // The custom role specification. + Spec *CustomRoleSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` + // The current state of the custom role. + // For any failed state, reach out to Temporal Cloud support for remediation. + State v1.ResourceState `protobuf:"varint,4,opt,name=state,proto3,enum=temporal.api.cloud.resource.v1.ResourceState" json:"state,omitempty"` + // The id of the async operation that is creating/updating/deleting the custom role, if any. + AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` + // The date and time when the custom role was created. + CreatedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` + // The date and time when the custom role was last modified. + // Will not be set if the custom role has never been modified. + LastModifiedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` } -func (this *UserGroupSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UserGroupSpec) - if !ok { - that2, ok := that.(UserGroupSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.DisplayName != that1.DisplayName { - return false - } - if !this.Access.Equal(that1.Access) { - return false +func (x *CustomRole) Reset() { + *x = CustomRole{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if that1.GroupType == nil { - if this.GroupType != nil { - return false - } - } else if this.GroupType == nil { - return false - } else if !this.GroupType.Equal(that1.GroupType) { - return false - } - return true } -func (this *UserGroupSpec_GoogleGroup) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UserGroupSpec_GoogleGroup) - if !ok { - that2, ok := that.(UserGroupSpec_GoogleGroup) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.GoogleGroup.Equal(that1.GoogleGroup) { - return false - } - return true +func (x *CustomRole) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *UserGroupSpec_ScimGroup) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UserGroupSpec_ScimGroup) - if !ok { - that2, ok := that.(UserGroupSpec_ScimGroup) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.ScimGroup.Equal(that1.ScimGroup) { - return false - } - return true -} -func (this *UserGroupSpec_CloudGroup) Equal(that interface{}) bool { - if that == nil { - return this == nil - } +func (*CustomRole) ProtoMessage() {} - that1, ok := that.(*UserGroupSpec_CloudGroup) - if !ok { - that2, ok := that.(UserGroupSpec_CloudGroup) - if ok { - that1 = &that2 - } else { - return false +func (x *CustomRole) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.CloudGroup.Equal(that1.CloudGroup) { - return false - } - return true + return mi.MessageOf(x) } -func (this *UserGroup) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UserGroup) - if !ok { - that2, ok := that.(UserGroup) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Id != that1.Id { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.StateDeprecated != that1.StateDeprecated { - return false - } - if this.State != that1.State { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - if !this.CreatedTime.Equal(that1.CreatedTime) { - return false - } - if !this.LastModifiedTime.Equal(that1.LastModifiedTime) { - return false - } - return true +// Deprecated: Use CustomRole.ProtoReflect.Descriptor instead. +func (*CustomRole) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{22} } -func (this *UserGroupMemberId) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UserGroupMemberId) - if !ok { - that2, ok := that.(UserGroupMemberId) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if that1.MemberType == nil { - if this.MemberType != nil { - return false - } - } else if this.MemberType == nil { - return false - } else if !this.MemberType.Equal(that1.MemberType) { - return false +func (x *CustomRole) GetId() string { + if x != nil { + return x.Id } - return true + return "" } -func (this *UserGroupMemberId_UserId) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UserGroupMemberId_UserId) - if !ok { - that2, ok := that.(UserGroupMemberId_UserId) - if ok { - that1 = &that2 - } else { - return false - } +func (x *CustomRole) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.UserId != that1.UserId { - return false - } - return true + return "" } -func (this *UserGroupMember) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UserGroupMember) - if !ok { - that2, ok := that.(UserGroupMember) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.MemberId.Equal(that1.MemberId) { - return false - } - if !this.CreatedTime.Equal(that1.CreatedTime) { - return false +func (x *CustomRole) GetSpec() *CustomRoleSpec { + if x != nil { + return x.Spec } - return true + return nil } -func (this *ServiceAccount) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*ServiceAccount) - if !ok { - that2, ok := that.(ServiceAccount) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Id != that1.Id { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.StateDeprecated != that1.StateDeprecated { - return false - } - if this.State != that1.State { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - if !this.CreatedTime.Equal(that1.CreatedTime) { - return false - } - if !this.LastModifiedTime.Equal(that1.LastModifiedTime) { - return false +func (x *CustomRole) GetState() v1.ResourceState { + if x != nil { + return x.State } - return true + return v1.RESOURCE_STATE_UNSPECIFIED } -func (this *ServiceAccountSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*ServiceAccountSpec) - if !ok { - that2, ok := that.(ServiceAccountSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Name != that1.Name { - return false - } - if !this.Access.Equal(that1.Access) { - return false - } - if !this.NamespaceScopedAccess.Equal(that1.NamespaceScopedAccess) { - return false - } - if this.Description != that1.Description { - return false +func (x *CustomRole) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } - return true + return "" } -func (this *ApiKey) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*ApiKey) - if !ok { - that2, ok := that.(ApiKey) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Id != that1.Id { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.StateDeprecated != that1.StateDeprecated { - return false +func (x *CustomRole) GetCreatedTime() *timestamppb.Timestamp { + if x != nil { + return x.CreatedTime } - if this.State != that1.State { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - if !this.CreatedTime.Equal(that1.CreatedTime) { - return false - } - if !this.LastModifiedTime.Equal(that1.LastModifiedTime) { - return false - } - return true + return nil } -func (this *ApiKeySpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*ApiKeySpec) - if !ok { - that2, ok := that.(ApiKeySpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.OwnerId != that1.OwnerId { - return false - } - if this.OwnerTypeDeprecated != that1.OwnerTypeDeprecated { - return false - } - if this.OwnerType != that1.OwnerType { - return false - } - if this.DisplayName != that1.DisplayName { - return false - } - if this.Description != that1.Description { - return false - } - if !this.ExpiryTime.Equal(that1.ExpiryTime) { - return false - } - if this.Disabled != that1.Disabled { - return false - } - return true -} -func (this *AccountAccess) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&identity.AccountAccess{") - s = append(s, "RoleDeprecated: "+fmt.Sprintf("%#v", this.RoleDeprecated)+",\n") - s = append(s, "Role: "+fmt.Sprintf("%#v", this.Role)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *NamespaceAccess) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&identity.NamespaceAccess{") - s = append(s, "PermissionDeprecated: "+fmt.Sprintf("%#v", this.PermissionDeprecated)+",\n") - s = append(s, "Permission: "+fmt.Sprintf("%#v", this.Permission)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *Access) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&identity.Access{") - if this.AccountAccess != nil { - s = append(s, "AccountAccess: "+fmt.Sprintf("%#v", this.AccountAccess)+",\n") - } - keysForNamespaceAccesses := make([]string, 0, len(this.NamespaceAccesses)) - for k, _ := range this.NamespaceAccesses { - keysForNamespaceAccesses = append(keysForNamespaceAccesses, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForNamespaceAccesses) - mapStringForNamespaceAccesses := "map[string]*NamespaceAccess{" - for _, k := range keysForNamespaceAccesses { - mapStringForNamespaceAccesses += fmt.Sprintf("%#v: %#v,", k, this.NamespaceAccesses[k]) - } - mapStringForNamespaceAccesses += "}" - if this.NamespaceAccesses != nil { - s = append(s, "NamespaceAccesses: "+mapStringForNamespaceAccesses+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *NamespaceScopedAccess) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&identity.NamespaceScopedAccess{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - if this.Access != nil { - s = append(s, "Access: "+fmt.Sprintf("%#v", this.Access)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UserSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&identity.UserSpec{") - s = append(s, "Email: "+fmt.Sprintf("%#v", this.Email)+",\n") - if this.Access != nil { - s = append(s, "Access: "+fmt.Sprintf("%#v", this.Access)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *Invitation) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&identity.Invitation{") - if this.CreatedTime != nil { - s = append(s, "CreatedTime: "+fmt.Sprintf("%#v", this.CreatedTime)+",\n") - } - if this.ExpiredTime != nil { - s = append(s, "ExpiredTime: "+fmt.Sprintf("%#v", this.ExpiredTime)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *User) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 13) - s = append(s, "&identity.User{") - s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "StateDeprecated: "+fmt.Sprintf("%#v", this.StateDeprecated)+",\n") - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - if this.Invitation != nil { - s = append(s, "Invitation: "+fmt.Sprintf("%#v", this.Invitation)+",\n") - } - if this.CreatedTime != nil { - s = append(s, "CreatedTime: "+fmt.Sprintf("%#v", this.CreatedTime)+",\n") - } - if this.LastModifiedTime != nil { - s = append(s, "LastModifiedTime: "+fmt.Sprintf("%#v", this.LastModifiedTime)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GoogleGroupSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&identity.GoogleGroupSpec{") - s = append(s, "EmailAddress: "+fmt.Sprintf("%#v", this.EmailAddress)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *SCIMGroupSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&identity.SCIMGroupSpec{") - s = append(s, "IdpId: "+fmt.Sprintf("%#v", this.IdpId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CloudGroupSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 4) - s = append(s, "&identity.CloudGroupSpec{") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UserGroupSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 9) - s = append(s, "&identity.UserGroupSpec{") - s = append(s, "DisplayName: "+fmt.Sprintf("%#v", this.DisplayName)+",\n") - if this.Access != nil { - s = append(s, "Access: "+fmt.Sprintf("%#v", this.Access)+",\n") - } - if this.GroupType != nil { - s = append(s, "GroupType: "+fmt.Sprintf("%#v", this.GroupType)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UserGroupSpec_GoogleGroup) GoString() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&identity.UserGroupSpec_GoogleGroup{` + - `GoogleGroup:` + fmt.Sprintf("%#v", this.GoogleGroup) + `}`}, ", ") - return s -} -func (this *UserGroupSpec_ScimGroup) GoString() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&identity.UserGroupSpec_ScimGroup{` + - `ScimGroup:` + fmt.Sprintf("%#v", this.ScimGroup) + `}`}, ", ") - return s -} -func (this *UserGroupSpec_CloudGroup) GoString() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&identity.UserGroupSpec_CloudGroup{` + - `CloudGroup:` + fmt.Sprintf("%#v", this.CloudGroup) + `}`}, ", ") - return s -} -func (this *UserGroup) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 12) - s = append(s, "&identity.UserGroup{") - s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "StateDeprecated: "+fmt.Sprintf("%#v", this.StateDeprecated)+",\n") - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - if this.CreatedTime != nil { - s = append(s, "CreatedTime: "+fmt.Sprintf("%#v", this.CreatedTime)+",\n") - } - if this.LastModifiedTime != nil { - s = append(s, "LastModifiedTime: "+fmt.Sprintf("%#v", this.LastModifiedTime)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UserGroupMemberId) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&identity.UserGroupMemberId{") - if this.MemberType != nil { - s = append(s, "MemberType: "+fmt.Sprintf("%#v", this.MemberType)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UserGroupMemberId_UserId) GoString() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&identity.UserGroupMemberId_UserId{` + - `UserId:` + fmt.Sprintf("%#v", this.UserId) + `}`}, ", ") - return s -} -func (this *UserGroupMember) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&identity.UserGroupMember{") - if this.MemberId != nil { - s = append(s, "MemberId: "+fmt.Sprintf("%#v", this.MemberId)+",\n") - } - if this.CreatedTime != nil { - s = append(s, "CreatedTime: "+fmt.Sprintf("%#v", this.CreatedTime)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ServiceAccount) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 12) - s = append(s, "&identity.ServiceAccount{") - s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "StateDeprecated: "+fmt.Sprintf("%#v", this.StateDeprecated)+",\n") - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - if this.CreatedTime != nil { - s = append(s, "CreatedTime: "+fmt.Sprintf("%#v", this.CreatedTime)+",\n") - } - if this.LastModifiedTime != nil { - s = append(s, "LastModifiedTime: "+fmt.Sprintf("%#v", this.LastModifiedTime)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ServiceAccountSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&identity.ServiceAccountSpec{") - s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") - if this.Access != nil { - s = append(s, "Access: "+fmt.Sprintf("%#v", this.Access)+",\n") - } - if this.NamespaceScopedAccess != nil { - s = append(s, "NamespaceScopedAccess: "+fmt.Sprintf("%#v", this.NamespaceScopedAccess)+",\n") - } - s = append(s, "Description: "+fmt.Sprintf("%#v", this.Description)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ApiKey) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 12) - s = append(s, "&identity.ApiKey{") - s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "StateDeprecated: "+fmt.Sprintf("%#v", this.StateDeprecated)+",\n") - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - if this.CreatedTime != nil { - s = append(s, "CreatedTime: "+fmt.Sprintf("%#v", this.CreatedTime)+",\n") - } - if this.LastModifiedTime != nil { - s = append(s, "LastModifiedTime: "+fmt.Sprintf("%#v", this.LastModifiedTime)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ApiKeySpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 11) - s = append(s, "&identity.ApiKeySpec{") - s = append(s, "OwnerId: "+fmt.Sprintf("%#v", this.OwnerId)+",\n") - s = append(s, "OwnerTypeDeprecated: "+fmt.Sprintf("%#v", this.OwnerTypeDeprecated)+",\n") - s = append(s, "OwnerType: "+fmt.Sprintf("%#v", this.OwnerType)+",\n") - s = append(s, "DisplayName: "+fmt.Sprintf("%#v", this.DisplayName)+",\n") - s = append(s, "Description: "+fmt.Sprintf("%#v", this.Description)+",\n") - if this.ExpiryTime != nil { - s = append(s, "ExpiryTime: "+fmt.Sprintf("%#v", this.ExpiryTime)+",\n") - } - s = append(s, "Disabled: "+fmt.Sprintf("%#v", this.Disabled)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func valueToGoStringMessage(v interface{}, typ string) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) -} -func (m *AccountAccess) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AccountAccess) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AccountAccess) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Role != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.Role)) - i-- - dAtA[i] = 0x10 - } - if len(m.RoleDeprecated) > 0 { - i -= len(m.RoleDeprecated) - copy(dAtA[i:], m.RoleDeprecated) - i = encodeVarintMessage(dAtA, i, uint64(len(m.RoleDeprecated))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *NamespaceAccess) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NamespaceAccess) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NamespaceAccess) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Permission != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.Permission)) - i-- - dAtA[i] = 0x10 - } - if len(m.PermissionDeprecated) > 0 { - i -= len(m.PermissionDeprecated) - copy(dAtA[i:], m.PermissionDeprecated) - i = encodeVarintMessage(dAtA, i, uint64(len(m.PermissionDeprecated))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Access) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Access) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Access) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NamespaceAccesses) > 0 { - for k := range m.NamespaceAccesses { - v := m.NamespaceAccesses[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintMessage(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintMessage(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x12 - } - } - if m.AccountAccess != nil { - { - size, err := m.AccountAccess.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func (x *CustomRole) GetLastModifiedTime() *timestamppb.Timestamp { + if x != nil { + return x.LastModifiedTime } - return len(dAtA) - i, nil + return nil } -func (m *NamespaceScopedAccess) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} +// temporal:dev +type CustomRoleSpec_Resources struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *NamespaceScopedAccess) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + // The resource type the permission applies to. + ResourceType string `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` + // The resource IDs the permission applies to. Can be empty if allow_all is true. + ResourceIds []string `protobuf:"bytes,2,rep,name=resource_ids,json=resourceIds,proto3" json:"resource_ids,omitempty"` + // Whether the permission applies to all resources of the given type. + AllowAll bool `protobuf:"varint,3,opt,name=allow_all,json=allowAll,proto3" json:"allow_all,omitempty"` } -func (m *NamespaceScopedAccess) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Access != nil { - { - size, err := m.Access.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa +func (x *CustomRoleSpec_Resources) Reset() { + *x = CustomRoleSpec_Resources{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return len(dAtA) - i, nil } -func (m *UserSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (x *CustomRoleSpec_Resources) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} +func (*CustomRoleSpec_Resources) ProtoMessage() {} -func (m *UserSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Access != nil { - { - size, err := m.Access.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) +func (x *CustomRoleSpec_Resources) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - i-- - dAtA[i] = 0x12 - } - if len(m.Email) > 0 { - i -= len(m.Email) - copy(dAtA[i:], m.Email) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Email))) - i-- - dAtA[i] = 0xa + return ms } - return len(dAtA) - i, nil + return mi.MessageOf(x) } -func (m *Invitation) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +// Deprecated: Use CustomRoleSpec_Resources.ProtoReflect.Descriptor instead. +func (*CustomRoleSpec_Resources) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{21, 0} } -func (m *Invitation) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (x *CustomRoleSpec_Resources) GetResourceType() string { + if x != nil { + return x.ResourceType + } + return "" } -func (m *Invitation) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ExpiredTime != nil { - { - size, err := m.ExpiredTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.CreatedTime != nil { - { - size, err := m.CreatedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func (x *CustomRoleSpec_Resources) GetResourceIds() []string { + if x != nil { + return x.ResourceIds } - return len(dAtA) - i, nil + return nil } -func (m *User) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *CustomRoleSpec_Resources) GetAllowAll() bool { + if x != nil { + return x.AllowAll } - return dAtA[:n], nil + return false } -func (m *User) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} +// temporal:dev +type CustomRoleSpec_Permission struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *User) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x48 - } - if m.LastModifiedTime != nil { - { - size, err := m.LastModifiedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x42 - } - if m.CreatedTime != nil { - { - size, err := m.CreatedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if m.Invitation != nil { - { - size, err := m.Invitation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x2a - } - if len(m.StateDeprecated) > 0 { - i -= len(m.StateDeprecated) - copy(dAtA[i:], m.StateDeprecated) - i = encodeVarintMessage(dAtA, i, uint64(len(m.StateDeprecated))) - i-- - dAtA[i] = 0x22 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil + // The resources the permission applies to. + Resources *CustomRoleSpec_Resources `protobuf:"bytes,1,opt,name=resources,proto3" json:"resources,omitempty"` + // The actions allowed by the permission. + Actions []string `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"` } -func (m *GoogleGroupSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *CustomRoleSpec_Permission) Reset() { + *x = CustomRoleSpec_Permission{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return dAtA[:n], nil } -func (m *GoogleGroupSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (x *CustomRoleSpec_Permission) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GoogleGroupSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.EmailAddress) > 0 { - i -= len(m.EmailAddress) - copy(dAtA[i:], m.EmailAddress) - i = encodeVarintMessage(dAtA, i, uint64(len(m.EmailAddress))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} +func (*CustomRoleSpec_Permission) ProtoMessage() {} -func (m *SCIMGroupSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *CustomRoleSpec_Permission) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_identity_v1_message_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return dAtA[:n], nil + return mi.MessageOf(x) } -func (m *SCIMGroupSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +// Deprecated: Use CustomRoleSpec_Permission.ProtoReflect.Descriptor instead. +func (*CustomRoleSpec_Permission) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP(), []int{21, 1} } -func (m *SCIMGroupSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.IdpId) > 0 { - i -= len(m.IdpId) - copy(dAtA[i:], m.IdpId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.IdpId))) - i-- - dAtA[i] = 0xa +func (x *CustomRoleSpec_Permission) GetResources() *CustomRoleSpec_Resources { + if x != nil { + return x.Resources } - return len(dAtA) - i, nil + return nil } -func (m *CloudGroupSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *CustomRoleSpec_Permission) GetActions() []string { + if x != nil { + return x.Actions } - return dAtA[:n], nil -} - -func (m *CloudGroupSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CloudGroupSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil + return nil } -func (m *UserGroupSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +var File_temporal_api_cloud_identity_v1_message_proto protoreflect.FileDescriptor + +var file_temporal_api_cloud_identity_v1_message_proto_rawDesc = []byte{ + 0x0a, 0x2c, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x76, 0x31, + 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, + 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x1a, 0x2c, + 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x95, 0x02, + 0x0a, 0x0d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, + 0x2b, 0x0a, 0x0f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, + 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0e, 0x72, 0x6f, + 0x6c, 0x65, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x46, 0x0a, 0x04, + 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, + 0x72, 0x6f, 0x6c, 0x65, 0x22, 0x8e, 0x01, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x14, 0x0a, + 0x10, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, + 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x4f, 0x57, 0x4e, 0x45, + 0x52, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x41, 0x44, 0x4d, 0x49, + 0x4e, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x44, 0x45, 0x56, 0x45, + 0x4c, 0x4f, 0x50, 0x45, 0x52, 0x10, 0x03, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x4f, 0x4c, 0x45, 0x5f, + 0x46, 0x49, 0x4e, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, 0x04, 0x12, + 0x0d, 0x0a, 0x09, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x10, 0x05, 0x12, 0x15, + 0x0a, 0x11, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x53, 0x5f, 0x52, + 0x45, 0x41, 0x44, 0x10, 0x06, 0x22, 0xa0, 0x02, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x4d, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x39, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x6f, 0x6c, 0x65, + 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x22, 0xbf, 0x01, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, + 0x54, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, + 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, + 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, + 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x57, 0x52, 0x49, + 0x54, 0x45, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, + 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x50, + 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x4c, 0x49, 0x53, 0x54, + 0x10, 0x04, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x52, 0x4f, + 0x4c, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x45, 0x10, 0x05, 0x12, + 0x17, 0x0a, 0x13, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, + 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x06, 0x22, 0x91, 0x02, 0x0a, 0x0f, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x37, 0x0a, 0x15, + 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, + 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, + 0x14, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x70, 0x72, 0x65, + 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x5a, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3a, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x22, 0x69, 0x0a, 0x0a, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x1a, 0x0a, 0x16, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, + 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x50, + 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, + 0x01, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, + 0x57, 0x52, 0x49, 0x54, 0x45, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x45, 0x52, 0x4d, 0x49, + 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x10, 0x03, 0x22, 0xc1, 0x04, 0x0a, + 0x06, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x54, 0x0a, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, + 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x0d, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x6c, 0x0a, + 0x12, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x66, 0x0a, 0x10, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x72, 0x6f, + 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, + 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x1a, 0x75, 0x0a, 0x16, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x45, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, + 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x71, 0x0a, + 0x14, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x43, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x22, 0x7e, 0x0a, 0x15, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x63, 0x6f, + 0x70, 0x65, 0x64, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x22, 0xed, 0x02, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x6f, 0x70, + 0x65, 0x64, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x79, + 0x0a, 0x12, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4a, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x1a, 0x75, 0x0a, 0x16, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x45, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x22, 0x60, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x12, 0x14, 0x0a, 0x05, + 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, + 0x69, 0x6c, 0x12, 0x3e, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x22, 0x8a, 0x01, 0x0a, 0x0a, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x3d, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x3d, 0x0a, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x52, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, + 0x96, 0x01, 0x0a, 0x0b, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x78, 0x70, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x5f, + 0x73, 0x6f, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x65, 0x78, 0x70, 0x69, + 0x72, 0x69, 0x6e, 0x67, 0x53, 0x6f, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x78, 0x70, 0x69, + 0x72, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x78, 0x70, 0x69, 0x72, + 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x22, 0xc7, 0x04, 0x0a, 0x04, 0x55, 0x73, 0x65, + 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x0a, 0x04, + 0x73, 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, + 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x2d, 0x0a, 0x10, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x44, + 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x43, 0x0a, 0x05, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2c, + 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, + 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x4a, 0x0a, 0x0a, + 0x69, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2a, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, + 0x31, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x69, 0x6e, + 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3d, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x5f, + 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, + 0x10, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x4f, 0x0a, 0x0d, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x64, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0b, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x22, 0x36, 0x0a, 0x0f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, + 0x70, 0x53, 0x70, 0x65, 0x63, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x6d, + 0x61, 0x69, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x26, 0x0a, 0x0d, 0x53, 0x43, + 0x49, 0x4d, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x70, 0x65, 0x63, 0x12, 0x15, 0x0a, 0x06, 0x69, + 0x64, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x64, 0x70, + 0x49, 0x64, 0x22, 0x10, 0x0a, 0x0e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x53, 0x70, 0x65, 0x63, 0x22, 0xf9, 0x02, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, + 0x75, 0x70, 0x53, 0x70, 0x65, 0x63, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, + 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, + 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x61, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x54, 0x0a, 0x0c, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, + 0x2e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x70, 0x65, 0x63, + 0x48, 0x00, 0x52, 0x0b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, + 0x4e, 0x0a, 0x0a, 0x73, 0x63, 0x69, 0x6d, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x43, 0x49, 0x4d, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x70, + 0x65, 0x63, 0x48, 0x00, 0x52, 0x09, 0x73, 0x63, 0x69, 0x6d, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, + 0x51, 0x0a, 0x0b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x53, 0x70, 0x65, 0x63, 0x48, 0x00, 0x52, 0x0a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x47, 0x72, 0x6f, + 0x75, 0x70, 0x42, 0x0c, 0x0a, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x22, 0xb4, 0x03, 0x0a, 0x09, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x29, + 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x04, 0x73, 0x70, 0x65, + 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, + 0x75, 0x70, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x2d, 0x0a, 0x10, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x43, 0x0a, 0x05, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, + 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x3d, + 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x48, 0x0a, + 0x12, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x69, 0x66, + 0x69, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x3d, 0x0a, 0x11, 0x55, 0x73, 0x65, 0x72, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x07, + 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, + 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x42, 0x0d, 0x0a, 0x0b, 0x6d, 0x65, 0x6d, 0x62, 0x65, + 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0xa0, 0x01, 0x0a, 0x0f, 0x55, 0x73, 0x65, 0x72, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x4e, 0x0a, 0x09, 0x6d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, + 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x55, + 0x73, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x64, + 0x52, 0x08, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x0c, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x8f, 0x04, 0x0a, 0x0e, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x29, 0x0a, 0x10, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x46, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, + 0x2d, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, + 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x43, + 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, + 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x12, 0x3d, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x48, 0x0a, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, + 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x6f, + 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4f, 0x0a, 0x0d, 0x61, 0x70, + 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x64, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2b, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, + 0x76, 0x31, 0x2e, 0x41, 0x50, 0x49, 0x4b, 0x65, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0b, + 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xe2, 0x02, 0x0a, 0x12, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x70, + 0x65, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x06, + 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x6d, 0x0a, 0x17, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x15, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x41, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x67, 0x0a, 0x15, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, + 0x63, 0x6f, 0x70, 0x65, 0x64, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x13, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x22, 0xa6, 0x06, 0x0a, 0x06, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x53, 0x70, 0x65, 0x63, + 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x2d, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, + 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x72, 0x65, + 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x43, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, + 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x5f, + 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, + 0x10, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x6c, + 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x64, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x80, 0x01, 0x0a, 0x1c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x64, + 0x18, 0x65, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x2e, 0x4f, + 0x77, 0x6e, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x19, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x63, 0x6f, 0x70, + 0x65, 0x64, 0x22, 0xc4, 0x01, 0x0a, 0x18, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, + 0x2b, 0x0a, 0x27, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, + 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, 0x55, + 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x27, 0x0a, 0x23, + 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x41, 0x43, + 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, 0x41, 0x43, 0x43, 0x4f, + 0x55, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x29, 0x0a, 0x25, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x5f, 0x53, + 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x53, + 0x43, 0x4f, 0x50, 0x45, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, 0x10, 0x02, + 0x12, 0x27, 0x0a, 0x23, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, + 0x45, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, + 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x03, 0x22, 0xc7, 0x02, 0x0a, 0x0a, 0x41, 0x70, + 0x69, 0x4b, 0x65, 0x79, 0x53, 0x70, 0x65, 0x63, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x15, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x13, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x79, 0x70, + 0x65, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x48, 0x0a, 0x0a, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x29, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, + 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, + 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, 0x65, 0x78, + 0x70, 0x69, 0x72, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, + 0x69, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x22, 0x95, 0x03, 0x0a, 0x0e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, + 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5b, 0x0a, 0x0b, + 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x39, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, + 0x76, 0x31, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x70, 0x65, + 0x63, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x70, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x70, 0x0a, 0x09, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x73, 0x12, 0x1b, + 0x0a, 0x09, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x61, 0x6c, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x08, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x6c, 0x6c, 0x1a, 0x7e, 0x0a, 0x0a, 0x50, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x56, 0x0a, 0x09, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x75, + 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x87, 0x03, 0x0a, 0x0a, + 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x42, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x6c, 0x65, 0x53, + 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x43, 0x0a, 0x05, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2c, + 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, + 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x0c, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x12, 0x6c, + 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x52, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, + 0x64, 0x54, 0x69, 0x6d, 0x65, 0x2a, 0x5c, 0x0a, 0x09, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, + 0x0a, 0x0f, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x53, 0x45, + 0x52, 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, + 0x54, 0x10, 0x02, 0x42, 0xfe, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2d, 0x67, 0x6f, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x76, 0x31, + 0x3b, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0xa2, 0x02, 0x04, 0x54, 0x41, 0x43, 0x49, + 0xaa, 0x02, 0x1e, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x41, 0x70, 0x69, 0x2e, + 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x56, + 0x31, 0xca, 0x02, 0x1e, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x5c, 0x41, 0x70, 0x69, + 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5c, + 0x56, 0x31, 0xe2, 0x02, 0x2a, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x5c, 0x41, 0x70, + 0x69, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, + 0x02, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, + 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func (m *UserGroupSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} +var ( + file_temporal_api_cloud_identity_v1_message_proto_rawDescOnce sync.Once + file_temporal_api_cloud_identity_v1_message_proto_rawDescData = file_temporal_api_cloud_identity_v1_message_proto_rawDesc +) -func (m *UserGroupSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.GroupType != nil { - { - size := m.GroupType.Size() - i -= size - if _, err := m.GroupType.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - if m.Access != nil { - { - size, err := m.Access.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 +func file_temporal_api_cloud_identity_v1_message_proto_rawDescGZIP() []byte { + file_temporal_api_cloud_identity_v1_message_proto_rawDescOnce.Do(func() { + file_temporal_api_cloud_identity_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_temporal_api_cloud_identity_v1_message_proto_rawDescData) + }) + return file_temporal_api_cloud_identity_v1_message_proto_rawDescData +} + +var file_temporal_api_cloud_identity_v1_message_proto_enumTypes = make([]protoimpl.EnumInfo, 5) +var file_temporal_api_cloud_identity_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 28) +var file_temporal_api_cloud_identity_v1_message_proto_goTypes = []interface{}{ + (OwnerType)(0), // 0: temporal.api.cloud.identity.v1.OwnerType + (AccountAccess_Role)(0), // 1: temporal.api.cloud.identity.v1.AccountAccess.Role + (ProjectAccess_ProjectRole)(0), // 2: temporal.api.cloud.identity.v1.ProjectAccess.ProjectRole + (NamespaceAccess_Permission)(0), // 3: temporal.api.cloud.identity.v1.NamespaceAccess.Permission + (ApiKey_OwnerServiceAccountScope)(0), // 4: temporal.api.cloud.identity.v1.ApiKey.OwnerServiceAccountScope + (*AccountAccess)(nil), // 5: temporal.api.cloud.identity.v1.AccountAccess + (*ProjectAccess)(nil), // 6: temporal.api.cloud.identity.v1.ProjectAccess + (*NamespaceAccess)(nil), // 7: temporal.api.cloud.identity.v1.NamespaceAccess + (*Access)(nil), // 8: temporal.api.cloud.identity.v1.Access + (*NamespaceScopedAccess)(nil), // 9: temporal.api.cloud.identity.v1.NamespaceScopedAccess + (*ProjectScopedAccess)(nil), // 10: temporal.api.cloud.identity.v1.ProjectScopedAccess + (*UserSpec)(nil), // 11: temporal.api.cloud.identity.v1.UserSpec + (*Invitation)(nil), // 12: temporal.api.cloud.identity.v1.Invitation + (*APIKeyCount)(nil), // 13: temporal.api.cloud.identity.v1.APIKeyCount + (*User)(nil), // 14: temporal.api.cloud.identity.v1.User + (*GoogleGroupSpec)(nil), // 15: temporal.api.cloud.identity.v1.GoogleGroupSpec + (*SCIMGroupSpec)(nil), // 16: temporal.api.cloud.identity.v1.SCIMGroupSpec + (*CloudGroupSpec)(nil), // 17: temporal.api.cloud.identity.v1.CloudGroupSpec + (*UserGroupSpec)(nil), // 18: temporal.api.cloud.identity.v1.UserGroupSpec + (*UserGroup)(nil), // 19: temporal.api.cloud.identity.v1.UserGroup + (*UserGroupMemberId)(nil), // 20: temporal.api.cloud.identity.v1.UserGroupMemberId + (*UserGroupMember)(nil), // 21: temporal.api.cloud.identity.v1.UserGroupMember + (*ServiceAccount)(nil), // 22: temporal.api.cloud.identity.v1.ServiceAccount + (*ServiceAccountSpec)(nil), // 23: temporal.api.cloud.identity.v1.ServiceAccountSpec + (*ApiKey)(nil), // 24: temporal.api.cloud.identity.v1.ApiKey + (*ApiKeySpec)(nil), // 25: temporal.api.cloud.identity.v1.ApiKeySpec + (*CustomRoleSpec)(nil), // 26: temporal.api.cloud.identity.v1.CustomRoleSpec + (*CustomRole)(nil), // 27: temporal.api.cloud.identity.v1.CustomRole + nil, // 28: temporal.api.cloud.identity.v1.Access.NamespaceAccessesEntry + nil, // 29: temporal.api.cloud.identity.v1.Access.ProjectAccessesEntry + nil, // 30: temporal.api.cloud.identity.v1.ProjectScopedAccess.NamespaceAccessesEntry + (*CustomRoleSpec_Resources)(nil), // 31: temporal.api.cloud.identity.v1.CustomRoleSpec.Resources + (*CustomRoleSpec_Permission)(nil), // 32: temporal.api.cloud.identity.v1.CustomRoleSpec.Permission + (*timestamppb.Timestamp)(nil), // 33: google.protobuf.Timestamp + (v1.ResourceState)(0), // 34: temporal.api.cloud.resource.v1.ResourceState +} +var file_temporal_api_cloud_identity_v1_message_proto_depIdxs = []int32{ + 1, // 0: temporal.api.cloud.identity.v1.AccountAccess.role:type_name -> temporal.api.cloud.identity.v1.AccountAccess.Role + 2, // 1: temporal.api.cloud.identity.v1.ProjectAccess.role:type_name -> temporal.api.cloud.identity.v1.ProjectAccess.ProjectRole + 3, // 2: temporal.api.cloud.identity.v1.NamespaceAccess.permission:type_name -> temporal.api.cloud.identity.v1.NamespaceAccess.Permission + 5, // 3: temporal.api.cloud.identity.v1.Access.account_access:type_name -> temporal.api.cloud.identity.v1.AccountAccess + 28, // 4: temporal.api.cloud.identity.v1.Access.namespace_accesses:type_name -> temporal.api.cloud.identity.v1.Access.NamespaceAccessesEntry + 29, // 5: temporal.api.cloud.identity.v1.Access.project_accesses:type_name -> temporal.api.cloud.identity.v1.Access.ProjectAccessesEntry + 7, // 6: temporal.api.cloud.identity.v1.NamespaceScopedAccess.access:type_name -> temporal.api.cloud.identity.v1.NamespaceAccess + 6, // 7: temporal.api.cloud.identity.v1.ProjectScopedAccess.access:type_name -> temporal.api.cloud.identity.v1.ProjectAccess + 30, // 8: temporal.api.cloud.identity.v1.ProjectScopedAccess.namespace_accesses:type_name -> temporal.api.cloud.identity.v1.ProjectScopedAccess.NamespaceAccessesEntry + 8, // 9: temporal.api.cloud.identity.v1.UserSpec.access:type_name -> temporal.api.cloud.identity.v1.Access + 33, // 10: temporal.api.cloud.identity.v1.Invitation.created_time:type_name -> google.protobuf.Timestamp + 33, // 11: temporal.api.cloud.identity.v1.Invitation.expired_time:type_name -> google.protobuf.Timestamp + 11, // 12: temporal.api.cloud.identity.v1.User.spec:type_name -> temporal.api.cloud.identity.v1.UserSpec + 34, // 13: temporal.api.cloud.identity.v1.User.state:type_name -> temporal.api.cloud.resource.v1.ResourceState + 12, // 14: temporal.api.cloud.identity.v1.User.invitation:type_name -> temporal.api.cloud.identity.v1.Invitation + 33, // 15: temporal.api.cloud.identity.v1.User.created_time:type_name -> google.protobuf.Timestamp + 33, // 16: temporal.api.cloud.identity.v1.User.last_modified_time:type_name -> google.protobuf.Timestamp + 13, // 17: temporal.api.cloud.identity.v1.User.api_key_count:type_name -> temporal.api.cloud.identity.v1.APIKeyCount + 8, // 18: temporal.api.cloud.identity.v1.UserGroupSpec.access:type_name -> temporal.api.cloud.identity.v1.Access + 15, // 19: temporal.api.cloud.identity.v1.UserGroupSpec.google_group:type_name -> temporal.api.cloud.identity.v1.GoogleGroupSpec + 16, // 20: temporal.api.cloud.identity.v1.UserGroupSpec.scim_group:type_name -> temporal.api.cloud.identity.v1.SCIMGroupSpec + 17, // 21: temporal.api.cloud.identity.v1.UserGroupSpec.cloud_group:type_name -> temporal.api.cloud.identity.v1.CloudGroupSpec + 18, // 22: temporal.api.cloud.identity.v1.UserGroup.spec:type_name -> temporal.api.cloud.identity.v1.UserGroupSpec + 34, // 23: temporal.api.cloud.identity.v1.UserGroup.state:type_name -> temporal.api.cloud.resource.v1.ResourceState + 33, // 24: temporal.api.cloud.identity.v1.UserGroup.created_time:type_name -> google.protobuf.Timestamp + 33, // 25: temporal.api.cloud.identity.v1.UserGroup.last_modified_time:type_name -> google.protobuf.Timestamp + 20, // 26: temporal.api.cloud.identity.v1.UserGroupMember.member_id:type_name -> temporal.api.cloud.identity.v1.UserGroupMemberId + 33, // 27: temporal.api.cloud.identity.v1.UserGroupMember.created_time:type_name -> google.protobuf.Timestamp + 23, // 28: temporal.api.cloud.identity.v1.ServiceAccount.spec:type_name -> temporal.api.cloud.identity.v1.ServiceAccountSpec + 34, // 29: temporal.api.cloud.identity.v1.ServiceAccount.state:type_name -> temporal.api.cloud.resource.v1.ResourceState + 33, // 30: temporal.api.cloud.identity.v1.ServiceAccount.created_time:type_name -> google.protobuf.Timestamp + 33, // 31: temporal.api.cloud.identity.v1.ServiceAccount.last_modified_time:type_name -> google.protobuf.Timestamp + 13, // 32: temporal.api.cloud.identity.v1.ServiceAccount.api_key_count:type_name -> temporal.api.cloud.identity.v1.APIKeyCount + 8, // 33: temporal.api.cloud.identity.v1.ServiceAccountSpec.access:type_name -> temporal.api.cloud.identity.v1.Access + 9, // 34: temporal.api.cloud.identity.v1.ServiceAccountSpec.namespace_scoped_access:type_name -> temporal.api.cloud.identity.v1.NamespaceScopedAccess + 10, // 35: temporal.api.cloud.identity.v1.ServiceAccountSpec.project_scoped_access:type_name -> temporal.api.cloud.identity.v1.ProjectScopedAccess + 25, // 36: temporal.api.cloud.identity.v1.ApiKey.spec:type_name -> temporal.api.cloud.identity.v1.ApiKeySpec + 34, // 37: temporal.api.cloud.identity.v1.ApiKey.state:type_name -> temporal.api.cloud.resource.v1.ResourceState + 33, // 38: temporal.api.cloud.identity.v1.ApiKey.created_time:type_name -> google.protobuf.Timestamp + 33, // 39: temporal.api.cloud.identity.v1.ApiKey.last_modified_time:type_name -> google.protobuf.Timestamp + 4, // 40: temporal.api.cloud.identity.v1.ApiKey.owner_service_account_scoped:type_name -> temporal.api.cloud.identity.v1.ApiKey.OwnerServiceAccountScope + 0, // 41: temporal.api.cloud.identity.v1.ApiKeySpec.owner_type:type_name -> temporal.api.cloud.identity.v1.OwnerType + 33, // 42: temporal.api.cloud.identity.v1.ApiKeySpec.expiry_time:type_name -> google.protobuf.Timestamp + 32, // 43: temporal.api.cloud.identity.v1.CustomRoleSpec.permissions:type_name -> temporal.api.cloud.identity.v1.CustomRoleSpec.Permission + 26, // 44: temporal.api.cloud.identity.v1.CustomRole.spec:type_name -> temporal.api.cloud.identity.v1.CustomRoleSpec + 34, // 45: temporal.api.cloud.identity.v1.CustomRole.state:type_name -> temporal.api.cloud.resource.v1.ResourceState + 33, // 46: temporal.api.cloud.identity.v1.CustomRole.created_time:type_name -> google.protobuf.Timestamp + 33, // 47: temporal.api.cloud.identity.v1.CustomRole.last_modified_time:type_name -> google.protobuf.Timestamp + 7, // 48: temporal.api.cloud.identity.v1.Access.NamespaceAccessesEntry.value:type_name -> temporal.api.cloud.identity.v1.NamespaceAccess + 6, // 49: temporal.api.cloud.identity.v1.Access.ProjectAccessesEntry.value:type_name -> temporal.api.cloud.identity.v1.ProjectAccess + 7, // 50: temporal.api.cloud.identity.v1.ProjectScopedAccess.NamespaceAccessesEntry.value:type_name -> temporal.api.cloud.identity.v1.NamespaceAccess + 31, // 51: temporal.api.cloud.identity.v1.CustomRoleSpec.Permission.resources:type_name -> temporal.api.cloud.identity.v1.CustomRoleSpec.Resources + 52, // [52:52] is the sub-list for method output_type + 52, // [52:52] is the sub-list for method input_type + 52, // [52:52] is the sub-list for extension type_name + 52, // [52:52] is the sub-list for extension extendee + 0, // [0:52] is the sub-list for field type_name +} + +func init() { file_temporal_api_cloud_identity_v1_message_proto_init() } +func file_temporal_api_cloud_identity_v1_message_proto_init() { + if File_temporal_api_cloud_identity_v1_message_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountAccess); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectAccess); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceAccess); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Access); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceScopedAccess); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectScopedAccess); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Invitation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*APIKeyCount); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*User); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GoogleGroupSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SCIMGroupSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CloudGroupSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserGroupSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserGroup); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserGroupMemberId); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserGroupMember); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceAccount); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceAccountSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ApiKey); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ApiKeySpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CustomRoleSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CustomRole); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CustomRoleSpec_Resources); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CustomRoleSpec_Permission); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[13].OneofWrappers = []interface{}{ + (*UserGroupSpec_GoogleGroup)(nil), + (*UserGroupSpec_ScimGroup)(nil), + (*UserGroupSpec_CloudGroup)(nil), } - if len(m.DisplayName) > 0 { - i -= len(m.DisplayName) - copy(dAtA[i:], m.DisplayName) - i = encodeVarintMessage(dAtA, i, uint64(len(m.DisplayName))) - i-- - dAtA[i] = 0xa + file_temporal_api_cloud_identity_v1_message_proto_msgTypes[15].OneofWrappers = []interface{}{ + (*UserGroupMemberId_UserId)(nil), } - return len(dAtA) - i, nil + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_temporal_api_cloud_identity_v1_message_proto_rawDesc, + NumEnums: 5, + NumMessages: 28, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_temporal_api_cloud_identity_v1_message_proto_goTypes, + DependencyIndexes: file_temporal_api_cloud_identity_v1_message_proto_depIdxs, + EnumInfos: file_temporal_api_cloud_identity_v1_message_proto_enumTypes, + MessageInfos: file_temporal_api_cloud_identity_v1_message_proto_msgTypes, + }.Build() + File_temporal_api_cloud_identity_v1_message_proto = out.File + file_temporal_api_cloud_identity_v1_message_proto_rawDesc = nil + file_temporal_api_cloud_identity_v1_message_proto_goTypes = nil + file_temporal_api_cloud_identity_v1_message_proto_depIdxs = nil } - -func (m *UserGroupSpec_GoogleGroup) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UserGroupSpec_GoogleGroup) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.GoogleGroup != nil { - { - size, err := m.GoogleGroup.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - return len(dAtA) - i, nil -} -func (m *UserGroupSpec_ScimGroup) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UserGroupSpec_ScimGroup) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.ScimGroup != nil { - { - size, err := m.ScimGroup.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - return len(dAtA) - i, nil -} -func (m *UserGroupSpec_CloudGroup) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UserGroupSpec_CloudGroup) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.CloudGroup != nil { - { - size, err := m.CloudGroup.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - return len(dAtA) - i, nil -} -func (m *UserGroup) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UserGroup) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UserGroup) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x40 - } - if m.LastModifiedTime != nil { - { - size, err := m.LastModifiedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if m.CreatedTime != nil { - { - size, err := m.CreatedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x2a - } - if len(m.StateDeprecated) > 0 { - i -= len(m.StateDeprecated) - copy(dAtA[i:], m.StateDeprecated) - i = encodeVarintMessage(dAtA, i, uint64(len(m.StateDeprecated))) - i-- - dAtA[i] = 0x22 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UserGroupMemberId) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UserGroupMemberId) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UserGroupMemberId) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.MemberType != nil { - { - size := m.MemberType.Size() - i -= size - if _, err := m.MemberType.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - return len(dAtA) - i, nil -} - -func (m *UserGroupMemberId_UserId) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UserGroupMemberId_UserId) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - i -= len(m.UserId) - copy(dAtA[i:], m.UserId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.UserId))) - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} -func (m *UserGroupMember) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UserGroupMember) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UserGroupMember) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.CreatedTime != nil { - { - size, err := m.CreatedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.MemberId != nil { - { - size, err := m.MemberId.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ServiceAccount) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ServiceAccount) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ServiceAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x40 - } - if m.LastModifiedTime != nil { - { - size, err := m.LastModifiedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if m.CreatedTime != nil { - { - size, err := m.CreatedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x2a - } - if len(m.StateDeprecated) > 0 { - i -= len(m.StateDeprecated) - copy(dAtA[i:], m.StateDeprecated) - i = encodeVarintMessage(dAtA, i, uint64(len(m.StateDeprecated))) - i-- - dAtA[i] = 0x22 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ServiceAccountSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ServiceAccountSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ServiceAccountSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.NamespaceScopedAccess != nil { - { - size, err := m.NamespaceScopedAccess.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if len(m.Description) > 0 { - i -= len(m.Description) - copy(dAtA[i:], m.Description) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Description))) - i-- - dAtA[i] = 0x1a - } - if m.Access != nil { - { - size, err := m.Access.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ApiKey) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ApiKey) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ApiKey) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x40 - } - if m.LastModifiedTime != nil { - { - size, err := m.LastModifiedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if m.CreatedTime != nil { - { - size, err := m.CreatedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x2a - } - if len(m.StateDeprecated) > 0 { - i -= len(m.StateDeprecated) - copy(dAtA[i:], m.StateDeprecated) - i = encodeVarintMessage(dAtA, i, uint64(len(m.StateDeprecated))) - i-- - dAtA[i] = 0x22 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ApiKeySpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ApiKeySpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ApiKeySpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.OwnerType != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.OwnerType)) - i-- - dAtA[i] = 0x38 - } - if m.Disabled { - i-- - if m.Disabled { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x30 - } - if m.ExpiryTime != nil { - { - size, err := m.ExpiryTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if len(m.Description) > 0 { - i -= len(m.Description) - copy(dAtA[i:], m.Description) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Description))) - i-- - dAtA[i] = 0x22 - } - if len(m.DisplayName) > 0 { - i -= len(m.DisplayName) - copy(dAtA[i:], m.DisplayName) - i = encodeVarintMessage(dAtA, i, uint64(len(m.DisplayName))) - i-- - dAtA[i] = 0x1a - } - if len(m.OwnerTypeDeprecated) > 0 { - i -= len(m.OwnerTypeDeprecated) - copy(dAtA[i:], m.OwnerTypeDeprecated) - i = encodeVarintMessage(dAtA, i, uint64(len(m.OwnerTypeDeprecated))) - i-- - dAtA[i] = 0x12 - } - if len(m.OwnerId) > 0 { - i -= len(m.OwnerId) - copy(dAtA[i:], m.OwnerId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.OwnerId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintMessage(dAtA []byte, offset int, v uint64) int { - offset -= sovMessage(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *AccountAccess) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.RoleDeprecated) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Role != 0 { - n += 1 + sovMessage(uint64(m.Role)) - } - return n -} - -func (m *NamespaceAccess) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.PermissionDeprecated) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Permission != 0 { - n += 1 + sovMessage(uint64(m.Permission)) - } - return n -} - -func (m *Access) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AccountAccess != nil { - l = m.AccountAccess.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if len(m.NamespaceAccesses) > 0 { - for k, v := range m.NamespaceAccesses { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovMessage(uint64(l)) - } - mapEntrySize := 1 + len(k) + sovMessage(uint64(len(k))) + l - n += mapEntrySize + 1 + sovMessage(uint64(mapEntrySize)) - } - } - return n -} - -func (m *NamespaceScopedAccess) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Access != nil { - l = m.Access.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *UserSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Email) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Access != nil { - l = m.Access.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *Invitation) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.CreatedTime != nil { - l = m.CreatedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.ExpiredTime != nil { - l = m.ExpiredTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *User) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.StateDeprecated) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Invitation != nil { - l = m.Invitation.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.CreatedTime != nil { - l = m.CreatedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.LastModifiedTime != nil { - l = m.LastModifiedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) - } - return n -} - -func (m *GoogleGroupSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.EmailAddress) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *SCIMGroupSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.IdpId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *CloudGroupSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *UserGroupSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.DisplayName) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Access != nil { - l = m.Access.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.GroupType != nil { - n += m.GroupType.Size() - } - return n -} - -func (m *UserGroupSpec_GoogleGroup) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.GoogleGroup != nil { - l = m.GoogleGroup.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} -func (m *UserGroupSpec_ScimGroup) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ScimGroup != nil { - l = m.ScimGroup.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} -func (m *UserGroupSpec_CloudGroup) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.CloudGroup != nil { - l = m.CloudGroup.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} -func (m *UserGroup) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.StateDeprecated) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.CreatedTime != nil { - l = m.CreatedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.LastModifiedTime != nil { - l = m.LastModifiedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) - } - return n -} - -func (m *UserGroupMemberId) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.MemberType != nil { - n += m.MemberType.Size() - } - return n -} - -func (m *UserGroupMemberId_UserId) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.UserId) - n += 1 + l + sovMessage(uint64(l)) - return n -} -func (m *UserGroupMember) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.MemberId != nil { - l = m.MemberId.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.CreatedTime != nil { - l = m.CreatedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *ServiceAccount) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.StateDeprecated) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.CreatedTime != nil { - l = m.CreatedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.LastModifiedTime != nil { - l = m.LastModifiedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) - } - return n -} - -func (m *ServiceAccountSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Access != nil { - l = m.Access.Size() - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.Description) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.NamespaceScopedAccess != nil { - l = m.NamespaceScopedAccess.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *ApiKey) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.StateDeprecated) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.CreatedTime != nil { - l = m.CreatedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.LastModifiedTime != nil { - l = m.LastModifiedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) - } - return n -} - -func (m *ApiKeySpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.OwnerId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.OwnerTypeDeprecated) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.DisplayName) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.Description) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.ExpiryTime != nil { - l = m.ExpiryTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.Disabled { - n += 2 - } - if m.OwnerType != 0 { - n += 1 + sovMessage(uint64(m.OwnerType)) - } - return n -} - -func sovMessage(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozMessage(x uint64) (n int) { - return sovMessage(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (this *AccountAccess) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&AccountAccess{`, - `RoleDeprecated:` + fmt.Sprintf("%v", this.RoleDeprecated) + `,`, - `Role:` + fmt.Sprintf("%v", this.Role) + `,`, - `}`, - }, "") - return s -} -func (this *NamespaceAccess) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&NamespaceAccess{`, - `PermissionDeprecated:` + fmt.Sprintf("%v", this.PermissionDeprecated) + `,`, - `Permission:` + fmt.Sprintf("%v", this.Permission) + `,`, - `}`, - }, "") - return s -} -func (this *Access) String() string { - if this == nil { - return "nil" - } - keysForNamespaceAccesses := make([]string, 0, len(this.NamespaceAccesses)) - for k, _ := range this.NamespaceAccesses { - keysForNamespaceAccesses = append(keysForNamespaceAccesses, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForNamespaceAccesses) - mapStringForNamespaceAccesses := "map[string]*NamespaceAccess{" - for _, k := range keysForNamespaceAccesses { - mapStringForNamespaceAccesses += fmt.Sprintf("%v: %v,", k, this.NamespaceAccesses[k]) - } - mapStringForNamespaceAccesses += "}" - s := strings.Join([]string{`&Access{`, - `AccountAccess:` + strings.Replace(this.AccountAccess.String(), "AccountAccess", "AccountAccess", 1) + `,`, - `NamespaceAccesses:` + mapStringForNamespaceAccesses + `,`, - `}`, - }, "") - return s -} -func (this *NamespaceScopedAccess) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&NamespaceScopedAccess{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `Access:` + strings.Replace(this.Access.String(), "NamespaceAccess", "NamespaceAccess", 1) + `,`, - `}`, - }, "") - return s -} -func (this *UserSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UserSpec{`, - `Email:` + fmt.Sprintf("%v", this.Email) + `,`, - `Access:` + strings.Replace(this.Access.String(), "Access", "Access", 1) + `,`, - `}`, - }, "") - return s -} -func (this *Invitation) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&Invitation{`, - `CreatedTime:` + strings.Replace(fmt.Sprintf("%v", this.CreatedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `ExpiredTime:` + strings.Replace(fmt.Sprintf("%v", this.ExpiredTime), "Timestamp", "types.Timestamp", 1) + `,`, - `}`, - }, "") - return s -} -func (this *User) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&User{`, - `Id:` + fmt.Sprintf("%v", this.Id) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `Spec:` + strings.Replace(this.Spec.String(), "UserSpec", "UserSpec", 1) + `,`, - `StateDeprecated:` + fmt.Sprintf("%v", this.StateDeprecated) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `Invitation:` + strings.Replace(this.Invitation.String(), "Invitation", "Invitation", 1) + `,`, - `CreatedTime:` + strings.Replace(fmt.Sprintf("%v", this.CreatedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `LastModifiedTime:` + strings.Replace(fmt.Sprintf("%v", this.LastModifiedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `}`, - }, "") - return s -} -func (this *GoogleGroupSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GoogleGroupSpec{`, - `EmailAddress:` + fmt.Sprintf("%v", this.EmailAddress) + `,`, - `}`, - }, "") - return s -} -func (this *SCIMGroupSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&SCIMGroupSpec{`, - `IdpId:` + fmt.Sprintf("%v", this.IdpId) + `,`, - `}`, - }, "") - return s -} -func (this *CloudGroupSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CloudGroupSpec{`, - `}`, - }, "") - return s -} -func (this *UserGroupSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UserGroupSpec{`, - `DisplayName:` + fmt.Sprintf("%v", this.DisplayName) + `,`, - `Access:` + strings.Replace(this.Access.String(), "Access", "Access", 1) + `,`, - `GroupType:` + fmt.Sprintf("%v", this.GroupType) + `,`, - `}`, - }, "") - return s -} -func (this *UserGroupSpec_GoogleGroup) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UserGroupSpec_GoogleGroup{`, - `GoogleGroup:` + strings.Replace(fmt.Sprintf("%v", this.GoogleGroup), "GoogleGroupSpec", "GoogleGroupSpec", 1) + `,`, - `}`, - }, "") - return s -} -func (this *UserGroupSpec_ScimGroup) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UserGroupSpec_ScimGroup{`, - `ScimGroup:` + strings.Replace(fmt.Sprintf("%v", this.ScimGroup), "SCIMGroupSpec", "SCIMGroupSpec", 1) + `,`, - `}`, - }, "") - return s -} -func (this *UserGroupSpec_CloudGroup) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UserGroupSpec_CloudGroup{`, - `CloudGroup:` + strings.Replace(fmt.Sprintf("%v", this.CloudGroup), "CloudGroupSpec", "CloudGroupSpec", 1) + `,`, - `}`, - }, "") - return s -} -func (this *UserGroup) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UserGroup{`, - `Id:` + fmt.Sprintf("%v", this.Id) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `Spec:` + strings.Replace(this.Spec.String(), "UserGroupSpec", "UserGroupSpec", 1) + `,`, - `StateDeprecated:` + fmt.Sprintf("%v", this.StateDeprecated) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `CreatedTime:` + strings.Replace(fmt.Sprintf("%v", this.CreatedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `LastModifiedTime:` + strings.Replace(fmt.Sprintf("%v", this.LastModifiedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `}`, - }, "") - return s -} -func (this *UserGroupMemberId) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UserGroupMemberId{`, - `MemberType:` + fmt.Sprintf("%v", this.MemberType) + `,`, - `}`, - }, "") - return s -} -func (this *UserGroupMemberId_UserId) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UserGroupMemberId_UserId{`, - `UserId:` + fmt.Sprintf("%v", this.UserId) + `,`, - `}`, - }, "") - return s -} -func (this *UserGroupMember) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UserGroupMember{`, - `MemberId:` + strings.Replace(this.MemberId.String(), "UserGroupMemberId", "UserGroupMemberId", 1) + `,`, - `CreatedTime:` + strings.Replace(fmt.Sprintf("%v", this.CreatedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `}`, - }, "") - return s -} -func (this *ServiceAccount) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ServiceAccount{`, - `Id:` + fmt.Sprintf("%v", this.Id) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `Spec:` + strings.Replace(this.Spec.String(), "ServiceAccountSpec", "ServiceAccountSpec", 1) + `,`, - `StateDeprecated:` + fmt.Sprintf("%v", this.StateDeprecated) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `CreatedTime:` + strings.Replace(fmt.Sprintf("%v", this.CreatedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `LastModifiedTime:` + strings.Replace(fmt.Sprintf("%v", this.LastModifiedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `}`, - }, "") - return s -} -func (this *ServiceAccountSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ServiceAccountSpec{`, - `Name:` + fmt.Sprintf("%v", this.Name) + `,`, - `Access:` + strings.Replace(this.Access.String(), "Access", "Access", 1) + `,`, - `Description:` + fmt.Sprintf("%v", this.Description) + `,`, - `NamespaceScopedAccess:` + strings.Replace(this.NamespaceScopedAccess.String(), "NamespaceScopedAccess", "NamespaceScopedAccess", 1) + `,`, - `}`, - }, "") - return s -} -func (this *ApiKey) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ApiKey{`, - `Id:` + fmt.Sprintf("%v", this.Id) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `Spec:` + strings.Replace(this.Spec.String(), "ApiKeySpec", "ApiKeySpec", 1) + `,`, - `StateDeprecated:` + fmt.Sprintf("%v", this.StateDeprecated) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `CreatedTime:` + strings.Replace(fmt.Sprintf("%v", this.CreatedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `LastModifiedTime:` + strings.Replace(fmt.Sprintf("%v", this.LastModifiedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `}`, - }, "") - return s -} -func (this *ApiKeySpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ApiKeySpec{`, - `OwnerId:` + fmt.Sprintf("%v", this.OwnerId) + `,`, - `OwnerTypeDeprecated:` + fmt.Sprintf("%v", this.OwnerTypeDeprecated) + `,`, - `DisplayName:` + fmt.Sprintf("%v", this.DisplayName) + `,`, - `Description:` + fmt.Sprintf("%v", this.Description) + `,`, - `ExpiryTime:` + strings.Replace(fmt.Sprintf("%v", this.ExpiryTime), "Timestamp", "types.Timestamp", 1) + `,`, - `Disabled:` + fmt.Sprintf("%v", this.Disabled) + `,`, - `OwnerType:` + fmt.Sprintf("%v", this.OwnerType) + `,`, - `}`, - }, "") - return s -} -func valueToStringMessage(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) -} -func (m *AccountAccess) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AccountAccess: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AccountAccess: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RoleDeprecated", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RoleDeprecated = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType) - } - m.Role = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Role |= AccountAccess_Role(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NamespaceAccess) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: NamespaceAccess: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NamespaceAccess: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PermissionDeprecated", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PermissionDeprecated = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Permission", wireType) - } - m.Permission = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Permission |= NamespaceAccess_Permission(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Access) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Access: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Access: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AccountAccess", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AccountAccess == nil { - m.AccountAccess = &AccountAccess{} - } - if err := m.AccountAccess.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NamespaceAccesses", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.NamespaceAccesses == nil { - m.NamespaceAccesses = make(map[string]*NamespaceAccess) - } - var mapkey string - var mapvalue *NamespaceAccess - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthMessage - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthMessage - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthMessage - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthMessage - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &NamespaceAccess{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.NamespaceAccesses[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NamespaceScopedAccess) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: NamespaceScopedAccess: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NamespaceScopedAccess: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Access == nil { - m.Access = &NamespaceAccess{} - } - if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UserSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UserSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UserSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Email", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Email = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Access == nil { - m.Access = &Access{} - } - if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Invitation) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Invitation: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Invitation: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CreatedTime == nil { - m.CreatedTime = &types.Timestamp{} - } - if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExpiredTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ExpiredTime == nil { - m.ExpiredTime = &types.Timestamp{} - } - if err := m.ExpiredTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *User) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: User: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: User: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &UserSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateDeprecated", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StateDeprecated = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Invitation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Invitation == nil { - m.Invitation = &Invitation{} - } - if err := m.Invitation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CreatedTime == nil { - m.CreatedTime = &types.Timestamp{} - } - if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastModifiedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.LastModifiedTime == nil { - m.LastModifiedTime = &types.Timestamp{} - } - if err := m.LastModifiedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= v1.ResourceState(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GoogleGroupSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GoogleGroupSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GoogleGroupSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EmailAddress", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.EmailAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SCIMGroupSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SCIMGroupSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SCIMGroupSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IdpId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.IdpId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CloudGroupSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CloudGroupSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CloudGroupSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UserGroupSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UserGroupSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UserGroupSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DisplayName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DisplayName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Access == nil { - m.Access = &Access{} - } - if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GoogleGroup", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &GoogleGroupSpec{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.GroupType = &UserGroupSpec_GoogleGroup{v} - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ScimGroup", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &SCIMGroupSpec{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.GroupType = &UserGroupSpec_ScimGroup{v} - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CloudGroup", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &CloudGroupSpec{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.GroupType = &UserGroupSpec_CloudGroup{v} - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UserGroup) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UserGroup: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UserGroup: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &UserGroupSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateDeprecated", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StateDeprecated = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CreatedTime == nil { - m.CreatedTime = &types.Timestamp{} - } - if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastModifiedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.LastModifiedTime == nil { - m.LastModifiedTime = &types.Timestamp{} - } - if err := m.LastModifiedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= v1.ResourceState(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UserGroupMemberId) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UserGroupMemberId: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UserGroupMemberId: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.MemberType = &UserGroupMemberId_UserId{string(dAtA[iNdEx:postIndex])} - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UserGroupMember) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UserGroupMember: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UserGroupMember: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MemberId", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.MemberId == nil { - m.MemberId = &UserGroupMemberId{} - } - if err := m.MemberId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CreatedTime == nil { - m.CreatedTime = &types.Timestamp{} - } - if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ServiceAccount) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ServiceAccount: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ServiceAccount: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &ServiceAccountSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateDeprecated", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StateDeprecated = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CreatedTime == nil { - m.CreatedTime = &types.Timestamp{} - } - if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastModifiedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.LastModifiedTime == nil { - m.LastModifiedTime = &types.Timestamp{} - } - if err := m.LastModifiedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= v1.ResourceState(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ServiceAccountSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ServiceAccountSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ServiceAccountSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Access == nil { - m.Access = &Access{} - } - if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Description = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NamespaceScopedAccess", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.NamespaceScopedAccess == nil { - m.NamespaceScopedAccess = &NamespaceScopedAccess{} - } - if err := m.NamespaceScopedAccess.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ApiKey) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ApiKey: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ApiKey: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &ApiKeySpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateDeprecated", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StateDeprecated = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CreatedTime == nil { - m.CreatedTime = &types.Timestamp{} - } - if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastModifiedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.LastModifiedTime == nil { - m.LastModifiedTime = &types.Timestamp{} - } - if err := m.LastModifiedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= v1.ResourceState(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ApiKeySpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ApiKeySpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ApiKeySpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OwnerId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.OwnerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OwnerTypeDeprecated", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.OwnerTypeDeprecated = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DisplayName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DisplayName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Description = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExpiryTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ExpiryTime == nil { - m.ExpiryTime = &types.Timestamp{} - } - if err := m.ExpiryTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Disabled", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Disabled = bool(v != 0) - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field OwnerType", wireType) - } - m.OwnerType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.OwnerType |= OwnerType(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipMessage(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthMessage - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupMessage - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthMessage - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowMessage = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group") -) diff --git a/protogen/api/cloud/namespace/v1/message.pb.go b/protogen/api/cloud/namespace/v1/message.pb.go index 38dd86c2..d0e45420 100644 --- a/protogen/api/cloud/namespace/v1/message.pb.go +++ b/protogen/api/cloud/namespace/v1/message.pb.go @@ -1,38 +1,105 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: temporal/api/cloud/namespace/v1/message.proto package namespace import ( - bytes "bytes" - encoding_binary "encoding/binary" - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" - types "github.com/gogo/protobuf/types" + proto "github.com/golang/protobuf/proto" v11 "github.com/temporalio/tcld/protogen/api/cloud/connectivityrule/v1" v1 "github.com/temporalio/tcld/protogen/api/cloud/resource/v1" v12 "github.com/temporalio/tcld/protogen/api/cloud/sink/v1" - io "io" - math "math" - math_bits "math/bits" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + _ "google.golang.org/protobuf/types/known/wrapperspb" reflect "reflect" - strconv "strconv" - strings "strings" + "strconv" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +type Replica_ReplicaState int32 + +const ( + REPLICA_STATE_UNSPECIFIED Replica_ReplicaState = 0 + REPLICA_STATE_ADDING Replica_ReplicaState = 1 // This replica is currently being added to the namespace. + REPLICA_STATE_ACTIVE Replica_ReplicaState = 2 // This replica is healthy and active. + REPLICA_STATE_REMOVING Replica_ReplicaState = 3 // This replica is currently being removed from the namespace. + REPLICA_STATE_FAILED Replica_ReplicaState = 5 // This replica is in a failed state, reach out to Temporal Cloud support for remediation. +) + +// Enum value maps for Replica_ReplicaState. +var ( + Replica_ReplicaState_name = map[int32]string{ + 0: "ReplicaStateUnspecified", + 1: "ReplicaStateAdding", + 2: "ReplicaStateActive", + 3: "ReplicaStateRemoving", + 5: "ReplicaStateFailed", + } + Replica_ReplicaState_value = map[string]int32{ + "ReplicaStateUnspecified": 0, + "ReplicaStateAdding": 1, + "ReplicaStateActive": 2, + "ReplicaStateRemoving": 3, + "ReplicaStateFailed": 5, + } +) + +func (x Replica_ReplicaState) Enum() *Replica_ReplicaState { + p := new(Replica_ReplicaState) + *p = x + return p +} + +func (x Replica_ReplicaState) String() string { + switch x { + case REPLICA_STATE_UNSPECIFIED: + return "ReplicaStateUnspecified" + case REPLICA_STATE_ADDING: + return "ReplicaStateAdding" + case REPLICA_STATE_ACTIVE: + return "ReplicaStateActive" + case REPLICA_STATE_REMOVING: + return "ReplicaStateRemoving" + case REPLICA_STATE_FAILED: + return "ReplicaStateFailed" + default: + return strconv.Itoa(int(x)) + } + +} + +func (Replica_ReplicaState) Descriptor() protoreflect.EnumDescriptor { + return file_temporal_api_cloud_namespace_v1_message_proto_enumTypes[0].Descriptor() +} + +func (Replica_ReplicaState) Type() protoreflect.EnumType { + return &file_temporal_api_cloud_namespace_v1_message_proto_enumTypes[0] +} + +func (x Replica_ReplicaState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Replica_ReplicaState.Descriptor instead. +func (Replica_ReplicaState) EnumDescriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{7, 0} +} -// temporal:dev type Capacity_Request_State int32 const ( @@ -42,22 +109,59 @@ const ( STATE_CAPACITY_REQUEST_FAILED Capacity_Request_State = 3 ) -var Capacity_Request_State_name = map[int32]string{ - 0: "StateCapacityRequestUnspecified", - 1: "StateCapacityRequestCompleted", - 2: "StateCapacityRequestInProgress", - 3: "StateCapacityRequestFailed", +// Enum value maps for Capacity_Request_State. +var ( + Capacity_Request_State_name = map[int32]string{ + 0: "StateCapacityRequestUnspecified", + 1: "StateCapacityRequestCompleted", + 2: "StateCapacityRequestInProgress", + 3: "StateCapacityRequestFailed", + } + Capacity_Request_State_value = map[string]int32{ + "StateCapacityRequestUnspecified": 0, + "StateCapacityRequestCompleted": 1, + "StateCapacityRequestInProgress": 2, + "StateCapacityRequestFailed": 3, + } +) + +func (x Capacity_Request_State) Enum() *Capacity_Request_State { + p := new(Capacity_Request_State) + *p = x + return p +} + +func (x Capacity_Request_State) String() string { + switch x { + case STATE_CAPACITY_REQUEST_UNSPECIFIED: + return "StateCapacityRequestUnspecified" + case STATE_CAPACITY_REQUEST_COMPLETED: + return "StateCapacityRequestCompleted" + case STATE_CAPACITY_REQUEST_IN_PROGRESS: + return "StateCapacityRequestInProgress" + case STATE_CAPACITY_REQUEST_FAILED: + return "StateCapacityRequestFailed" + default: + return strconv.Itoa(int(x)) + } + +} + +func (Capacity_Request_State) Descriptor() protoreflect.EnumDescriptor { + return file_temporal_api_cloud_namespace_v1_message_proto_enumTypes[1].Descriptor() } -var Capacity_Request_State_value = map[string]int32{ - "StateCapacityRequestUnspecified": 0, - "StateCapacityRequestCompleted": 1, - "StateCapacityRequestInProgress": 2, - "StateCapacityRequestFailed": 3, +func (Capacity_Request_State) Type() protoreflect.EnumType { + return &file_temporal_api_cloud_namespace_v1_message_proto_enumTypes[1] } +func (x Capacity_Request_State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Capacity_Request_State.Descriptor instead. func (Capacity_Request_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{7, 2, 0} + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{9, 2, 0} } type NamespaceSpec_SearchAttributeType int32 @@ -73,63 +177,150 @@ const ( SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST NamespaceSpec_SearchAttributeType = 7 ) -var NamespaceSpec_SearchAttributeType_name = map[int32]string{ - 0: "SearchAttributeTypeUnspecified", - 1: "SearchAttributeTypeText", - 2: "SearchAttributeTypeKeyword", - 3: "SearchAttributeTypeInt", - 4: "SearchAttributeTypeDouble", - 5: "SearchAttributeTypeBool", - 6: "SearchAttributeTypeDatetime", - 7: "SearchAttributeTypeKeywordList", +// Enum value maps for NamespaceSpec_SearchAttributeType. +var ( + NamespaceSpec_SearchAttributeType_name = map[int32]string{ + 0: "SearchAttributeTypeUnspecified", + 1: "SearchAttributeTypeText", + 2: "SearchAttributeTypeKeyword", + 3: "SearchAttributeTypeInt", + 4: "SearchAttributeTypeDouble", + 5: "SearchAttributeTypeBool", + 6: "SearchAttributeTypeDatetime", + 7: "SearchAttributeTypeKeywordList", + } + NamespaceSpec_SearchAttributeType_value = map[string]int32{ + "SearchAttributeTypeUnspecified": 0, + "SearchAttributeTypeText": 1, + "SearchAttributeTypeKeyword": 2, + "SearchAttributeTypeInt": 3, + "SearchAttributeTypeDouble": 4, + "SearchAttributeTypeBool": 5, + "SearchAttributeTypeDatetime": 6, + "SearchAttributeTypeKeywordList": 7, + } +) + +func (x NamespaceSpec_SearchAttributeType) Enum() *NamespaceSpec_SearchAttributeType { + p := new(NamespaceSpec_SearchAttributeType) + *p = x + return p +} + +func (x NamespaceSpec_SearchAttributeType) String() string { + switch x { + case SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED: + return "SearchAttributeTypeUnspecified" + case SEARCH_ATTRIBUTE_TYPE_TEXT: + return "SearchAttributeTypeText" + case SEARCH_ATTRIBUTE_TYPE_KEYWORD: + return "SearchAttributeTypeKeyword" + case SEARCH_ATTRIBUTE_TYPE_INT: + return "SearchAttributeTypeInt" + case SEARCH_ATTRIBUTE_TYPE_DOUBLE: + return "SearchAttributeTypeDouble" + case SEARCH_ATTRIBUTE_TYPE_BOOL: + return "SearchAttributeTypeBool" + case SEARCH_ATTRIBUTE_TYPE_DATETIME: + return "SearchAttributeTypeDatetime" + case SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST: + return "SearchAttributeTypeKeywordList" + + // Deprecated: Use NamespaceSpec_SearchAttributeType.Descriptor instead. + default: + return strconv.Itoa(int(x)) + } + } -var NamespaceSpec_SearchAttributeType_value = map[string]int32{ - "SearchAttributeTypeUnspecified": 0, - "SearchAttributeTypeText": 1, - "SearchAttributeTypeKeyword": 2, - "SearchAttributeTypeInt": 3, - "SearchAttributeTypeDouble": 4, - "SearchAttributeTypeBool": 5, - "SearchAttributeTypeDatetime": 6, - "SearchAttributeTypeKeywordList": 7, +func (NamespaceSpec_SearchAttributeType) Descriptor() protoreflect.EnumDescriptor { + return file_temporal_api_cloud_namespace_v1_message_proto_enumTypes[2].Descriptor() +} + +func (NamespaceSpec_SearchAttributeType) Type() protoreflect.EnumType { + return &file_temporal_api_cloud_namespace_v1_message_proto_enumTypes[2] +} + +func (x NamespaceSpec_SearchAttributeType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } func (NamespaceSpec_SearchAttributeType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{8, 0} + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{10, 0} } type NamespaceRegionStatus_State int32 const ( STATE_UNSPECIFIED NamespaceRegionStatus_State = 0 - STATE_ADDING NamespaceRegionStatus_State = 1 - STATE_ACTIVE NamespaceRegionStatus_State = 2 - STATE_PASSIVE NamespaceRegionStatus_State = 3 - STATE_REMOVING NamespaceRegionStatus_State = 4 - STATE_FAILED NamespaceRegionStatus_State = 5 + STATE_ADDING NamespaceRegionStatus_State = 1 // The region is being added to the namespace. + STATE_ACTIVE NamespaceRegionStatus_State = 2 // The namespace is active in this region. + STATE_PASSIVE NamespaceRegionStatus_State = 3 // The namespace is passive in this region. + STATE_REMOVING NamespaceRegionStatus_State = 4 // The region is being removed from the namespace. + STATE_FAILED NamespaceRegionStatus_State = 5 // The region failed to be added/removed, check failure_reason in the last async_operation status for more details. +) + +// Enum value maps for NamespaceRegionStatus_State. +var ( + NamespaceRegionStatus_State_name = map[int32]string{ + 0: "StateUnspecified", + 1: "StateAdding", + 2: "StateActive", + 3: "StatePassive", + 4: "StateRemoving", + 5: "StateFailed", + } + NamespaceRegionStatus_State_value = map[string]int32{ + "StateUnspecified": 0, + "StateAdding": 1, + "StateActive": 2, + "StatePassive": 3, + "StateRemoving": 4, + "StateFailed": 5, + } ) -var NamespaceRegionStatus_State_name = map[int32]string{ - 0: "StateUnspecified", - 1: "StateAdding", - 2: "StateActive", - 3: "StatePassive", - 4: "StateRemoving", - 5: "StateFailed", +func (x NamespaceRegionStatus_State) Enum() *NamespaceRegionStatus_State { + p := new(NamespaceRegionStatus_State) + *p = x + return p +} + +func (x NamespaceRegionStatus_State) String() string { + switch x { + case STATE_UNSPECIFIED: + return "StateUnspecified" + case STATE_ADDING: + return "StateAdding" + case STATE_ACTIVE: + return "StateActive" + case STATE_PASSIVE: + return "StatePassive" + case STATE_REMOVING: + return "StateRemoving" + case STATE_FAILED: + return "StateFailed" + default: + return strconv.Itoa(int(x)) + } + +} + +func (NamespaceRegionStatus_State) Descriptor() protoreflect.EnumDescriptor { + return file_temporal_api_cloud_namespace_v1_message_proto_enumTypes[3].Descriptor() +} + +func (NamespaceRegionStatus_State) Type() protoreflect.EnumType { + return &file_temporal_api_cloud_namespace_v1_message_proto_enumTypes[3] } -var NamespaceRegionStatus_State_value = map[string]int32{ - "StateUnspecified": 0, - "StateAdding": 1, - "StateActive": 2, - "StatePassive": 3, - "StateRemoving": 4, - "StateFailed": 5, +func (x NamespaceRegionStatus_State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use NamespaceRegionStatus_State.Descriptor instead. func (NamespaceRegionStatus_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{14, 0} + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{16, 0} } type ExportSink_Health int32 @@ -141,22 +332,59 @@ const ( HEALTH_ERROR_USER_CONFIGURATION ExportSink_Health = 3 ) -var ExportSink_Health_name = map[int32]string{ - 0: "HealthUnspecified", - 1: "HealthOk", - 2: "HealthErrorInternal", - 3: "HealthErrorUserConfiguration", +// Enum value maps for ExportSink_Health. +var ( + ExportSink_Health_name = map[int32]string{ + 0: "HealthUnspecified", + 1: "HealthOk", + 2: "HealthErrorInternal", + 3: "HealthErrorUserConfiguration", + } + ExportSink_Health_value = map[string]int32{ + "HealthUnspecified": 0, + "HealthOk": 1, + "HealthErrorInternal": 2, + "HealthErrorUserConfiguration": 3, + } +) + +func (x ExportSink_Health) Enum() *ExportSink_Health { + p := new(ExportSink_Health) + *p = x + return p +} + +func (x ExportSink_Health) String() string { + switch x { + case HEALTH_UNSPECIFIED: + return "HealthUnspecified" + case HEALTH_OK: + return "HealthOk" + case HEALTH_ERROR_INTERNAL: + return "HealthErrorInternal" + case HEALTH_ERROR_USER_CONFIGURATION: + return "HealthErrorUserConfiguration" + default: + return strconv.Itoa(int(x)) + } + +} + +func (ExportSink_Health) Descriptor() protoreflect.EnumDescriptor { + return file_temporal_api_cloud_namespace_v1_message_proto_enumTypes[4].Descriptor() } -var ExportSink_Health_value = map[string]int32{ - "HealthUnspecified": 0, - "HealthOk": 1, - "HealthErrorInternal": 2, - "HealthErrorUserConfiguration": 3, +func (ExportSink_Health) Type() protoreflect.EnumType { + return &file_temporal_api_cloud_namespace_v1_message_proto_enumTypes[4] } +func (x ExportSink_Health) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ExportSink_Health.Descriptor instead. func (ExportSink_Health) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{16, 0} + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{18, 0} } type Migration_State int32 @@ -175,36 +403,88 @@ const ( STATE_MIGRATION_CONFIRM_IN_PROGRESS Migration_State = 10 ) -var Migration_State_name = map[int32]string{ - 0: "StateMigrationUnspecified", - 1: "StateMigrationMigrationStarted", - 2: "StateMigrationReplicationInProgress", - 3: "StateMigrationWaitingForHandover", - 4: "StateMigrationHandoverInProgress", - 5: "StateMigrationReadyForConfirmation", - 6: "StateMigrationComplete", - 7: "StateMigrationFailed", - 8: "StateMigrationAbortInProgress", - 9: "StateMigrationAborted", - 10: "StateMigrationConfirmInProgress", -} - -var Migration_State_value = map[string]int32{ - "StateMigrationUnspecified": 0, - "StateMigrationMigrationStarted": 1, - "StateMigrationReplicationInProgress": 2, - "StateMigrationWaitingForHandover": 3, - "StateMigrationHandoverInProgress": 4, - "StateMigrationReadyForConfirmation": 5, - "StateMigrationComplete": 6, - "StateMigrationFailed": 7, - "StateMigrationAbortInProgress": 8, - "StateMigrationAborted": 9, - "StateMigrationConfirmInProgress": 10, +// Enum value maps for Migration_State. +var ( + Migration_State_name = map[int32]string{ + 0: "StateMigrationUnspecified", + 1: "StateMigrationMigrationStarted", + 2: "StateMigrationReplicationInProgress", + 3: "StateMigrationWaitingForHandover", + 4: "StateMigrationHandoverInProgress", + 5: "StateMigrationReadyForConfirmation", + 6: "StateMigrationComplete", + 7: "StateMigrationFailed", + 8: "StateMigrationAbortInProgress", + 9: "StateMigrationAborted", + 10: "StateMigrationConfirmInProgress", + } + Migration_State_value = map[string]int32{ + "StateMigrationUnspecified": 0, + "StateMigrationMigrationStarted": 1, + "StateMigrationReplicationInProgress": 2, + "StateMigrationWaitingForHandover": 3, + "StateMigrationHandoverInProgress": 4, + "StateMigrationReadyForConfirmation": 5, + "StateMigrationComplete": 6, + "StateMigrationFailed": 7, + "StateMigrationAbortInProgress": 8, + "StateMigrationAborted": 9, + "StateMigrationConfirmInProgress": 10, + } +) + +func (x Migration_State) Enum() *Migration_State { + p := new(Migration_State) + *p = x + return p +} + +func (x Migration_State) String() string { + switch x { + case STATE_MIGRATION_UNSPECIFIED: + return "StateMigrationUnspecified" + case STATE_MIGRATION_MIGRATION_STARTED: + return "StateMigrationMigrationStarted" + case STATE_MIGRATION_REPLICATION_IN_PROGRESS: + return "StateMigrationReplicationInProgress" + case STATE_MIGRATION_WAITING_FOR_HANDOVER: + return "StateMigrationWaitingForHandover" + case STATE_MIGRATION_HANDOVER_IN_PROGRESS: + return "StateMigrationHandoverInProgress" + case STATE_MIGRATION_READY_FOR_CONFIRMATION: + return "StateMigrationReadyForConfirmation" + + // Deprecated: Use Migration_State.Descriptor instead. + case STATE_MIGRATION_COMPLETE: + return "StateMigrationComplete" + case STATE_MIGRATION_FAILED: + return "StateMigrationFailed" + case STATE_MIGRATION_ABORT_IN_PROGRESS: + return "StateMigrationAbortInProgress" + case STATE_MIGRATION_ABORTED: + return "StateMigrationAborted" + case STATE_MIGRATION_CONFIRM_IN_PROGRESS: + return "StateMigrationConfirmInProgress" + default: + return strconv.Itoa(int(x)) + } + +} + +func (Migration_State) Descriptor() protoreflect.EnumDescriptor { + return file_temporal_api_cloud_namespace_v1_message_proto_enumTypes[5].Descriptor() +} + +func (Migration_State) Type() protoreflect.EnumType { + return &file_temporal_api_cloud_namespace_v1_message_proto_enumTypes[5] +} + +func (x Migration_State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } func (Migration_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{21, 0} + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{23, 0} } type MigrationReplica_State int32 @@ -218,27 +498,70 @@ const ( STATE_REPLICA_ABANDONED MigrationReplica_State = 4 ) -var MigrationReplica_State_name = map[int32]string{ - 0: "StateReplicaUnspecified", - 1: "StateReplicaActive", - 2: "StateReplicaPassiveOutOfSync", - 3: "StateReplicaPassiveInSync", - 4: "StateReplicaAbandoned", +// Enum value maps for MigrationReplica_State. +var ( + MigrationReplica_State_name = map[int32]string{ + 0: "StateReplicaUnspecified", + 1: "StateReplicaActive", + 2: "StateReplicaPassiveOutOfSync", + 3: "StateReplicaPassiveInSync", + 4: "StateReplicaAbandoned", + } + MigrationReplica_State_value = map[string]int32{ + "StateReplicaUnspecified": 0, + "StateReplicaActive": 1, + "StateReplicaPassiveOutOfSync": 2, + "StateReplicaPassiveInSync": 3, + "StateReplicaAbandoned": 4, + } +) + +func (x MigrationReplica_State) Enum() *MigrationReplica_State { + p := new(MigrationReplica_State) + *p = x + return p +} + +func (x MigrationReplica_State) String() string { + switch x { + case STATE_REPLICA_UNSPECIFIED: + return "StateReplicaUnspecified" + case STATE_REPLICA_ACTIVE: + return "StateReplicaActive" + case STATE_REPLICA_PASSIVE_OUT_OF_SYNC: + return "StateReplicaPassiveOutOfSync" + case STATE_REPLICA_PASSIVE_IN_SYNC: + return "StateReplicaPassiveInSync" + case STATE_REPLICA_ABANDONED: + return "StateReplicaAbandoned" + default: + return strconv.Itoa(int(x)) + } + +} + +func (MigrationReplica_State) Descriptor() protoreflect.EnumDescriptor { + return file_temporal_api_cloud_namespace_v1_message_proto_enumTypes[6].Descriptor() +} + +func (MigrationReplica_State) Type() protoreflect.EnumType { + return &file_temporal_api_cloud_namespace_v1_message_proto_enumTypes[6] } -var MigrationReplica_State_value = map[string]int32{ - "StateReplicaUnspecified": 0, - "StateReplicaActive": 1, - "StateReplicaPassiveOutOfSync": 2, - "StateReplicaPassiveInSync": 3, - "StateReplicaAbandoned": 4, +func (x MigrationReplica_State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use MigrationReplica_State.Descriptor instead. func (MigrationReplica_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{22, 0} + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{24, 0} } type CertificateFilterSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The common_name in the certificate. // Optional, default is empty. CommonName string `protobuf:"bytes,1,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"` @@ -253,73 +576,79 @@ type CertificateFilterSpec struct { SubjectAlternativeName string `protobuf:"bytes,4,opt,name=subject_alternative_name,json=subjectAlternativeName,proto3" json:"subject_alternative_name,omitempty"` } -func (m *CertificateFilterSpec) Reset() { *m = CertificateFilterSpec{} } -func (*CertificateFilterSpec) ProtoMessage() {} -func (*CertificateFilterSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{0} -} -func (m *CertificateFilterSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CertificateFilterSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CertificateFilterSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CertificateFilterSpec) Reset() { + *x = CertificateFilterSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CertificateFilterSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_CertificateFilterSpec.Merge(m, src) -} -func (m *CertificateFilterSpec) XXX_Size() int { - return m.Size() + +func (x *CertificateFilterSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CertificateFilterSpec) XXX_DiscardUnknown() { - xxx_messageInfo_CertificateFilterSpec.DiscardUnknown(m) + +func (*CertificateFilterSpec) ProtoMessage() {} + +func (x *CertificateFilterSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CertificateFilterSpec proto.InternalMessageInfo +// Deprecated: Use CertificateFilterSpec.ProtoReflect.Descriptor instead. +func (*CertificateFilterSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{0} +} -func (m *CertificateFilterSpec) GetCommonName() string { - if m != nil { - return m.CommonName +func (x *CertificateFilterSpec) GetCommonName() string { + if x != nil { + return x.CommonName } return "" } -func (m *CertificateFilterSpec) GetOrganization() string { - if m != nil { - return m.Organization +func (x *CertificateFilterSpec) GetOrganization() string { + if x != nil { + return x.Organization } return "" } -func (m *CertificateFilterSpec) GetOrganizationalUnit() string { - if m != nil { - return m.OrganizationalUnit +func (x *CertificateFilterSpec) GetOrganizationalUnit() string { + if x != nil { + return x.OrganizationalUnit } return "" } -func (m *CertificateFilterSpec) GetSubjectAlternativeName() string { - if m != nil { - return m.SubjectAlternativeName +func (x *CertificateFilterSpec) GetSubjectAlternativeName() string { + if x != nil { + return x.SubjectAlternativeName } return "" } type MtlsAuthSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The base64 encoded ca cert(s) in PEM format that the clients can use for authentication and authorization. // This must only be one value, but the CA can have a chain. // // (-- api-linter: core::0140::base64=disabled --) // Deprecated: Use accepted_client_ca instead. Will be ignored when accepted_client_ca is set. // temporal:versioning:max_version=v0.2.0 + // + // Deprecated: Do not use. AcceptedClientCaDeprecated string `protobuf:"bytes,1,opt,name=accepted_client_ca_deprecated,json=acceptedClientCaDeprecated,proto3" json:"accepted_client_ca_deprecated,omitempty"` // The ca cert(s) in PEM format that the clients can use for authentication and authorization. // This must only be one value, but the CA can have a chain. @@ -336,156 +665,169 @@ type MtlsAuthSpec struct { Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"` } -func (m *MtlsAuthSpec) Reset() { *m = MtlsAuthSpec{} } -func (*MtlsAuthSpec) ProtoMessage() {} -func (*MtlsAuthSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{1} -} -func (m *MtlsAuthSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MtlsAuthSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MtlsAuthSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *MtlsAuthSpec) Reset() { + *x = MtlsAuthSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *MtlsAuthSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_MtlsAuthSpec.Merge(m, src) -} -func (m *MtlsAuthSpec) XXX_Size() int { - return m.Size() + +func (x *MtlsAuthSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MtlsAuthSpec) XXX_DiscardUnknown() { - xxx_messageInfo_MtlsAuthSpec.DiscardUnknown(m) + +func (*MtlsAuthSpec) ProtoMessage() {} + +func (x *MtlsAuthSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_MtlsAuthSpec proto.InternalMessageInfo +// Deprecated: Use MtlsAuthSpec.ProtoReflect.Descriptor instead. +func (*MtlsAuthSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{1} +} -func (m *MtlsAuthSpec) GetAcceptedClientCaDeprecated() string { - if m != nil { - return m.AcceptedClientCaDeprecated +// Deprecated: Do not use. +func (x *MtlsAuthSpec) GetAcceptedClientCaDeprecated() string { + if x != nil { + return x.AcceptedClientCaDeprecated } return "" } -func (m *MtlsAuthSpec) GetAcceptedClientCa() []byte { - if m != nil { - return m.AcceptedClientCa +func (x *MtlsAuthSpec) GetAcceptedClientCa() []byte { + if x != nil { + return x.AcceptedClientCa } return nil } -func (m *MtlsAuthSpec) GetCertificateFilters() []*CertificateFilterSpec { - if m != nil { - return m.CertificateFilters +func (x *MtlsAuthSpec) GetCertificateFilters() []*CertificateFilterSpec { + if x != nil { + return x.CertificateFilters } return nil } -func (m *MtlsAuthSpec) GetEnabled() bool { - if m != nil { - return m.Enabled +func (x *MtlsAuthSpec) GetEnabled() bool { + if x != nil { + return x.Enabled } return false } type ApiKeyAuthSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Flag to enable API key auth (default: disabled). // Note: disabling API key auth will cause existing API key connections to fail. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` } -func (m *ApiKeyAuthSpec) Reset() { *m = ApiKeyAuthSpec{} } -func (*ApiKeyAuthSpec) ProtoMessage() {} -func (*ApiKeyAuthSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{2} -} -func (m *ApiKeyAuthSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ApiKeyAuthSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ApiKeyAuthSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ApiKeyAuthSpec) Reset() { + *x = ApiKeyAuthSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ApiKeyAuthSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApiKeyAuthSpec.Merge(m, src) -} -func (m *ApiKeyAuthSpec) XXX_Size() int { - return m.Size() + +func (x *ApiKeyAuthSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ApiKeyAuthSpec) XXX_DiscardUnknown() { - xxx_messageInfo_ApiKeyAuthSpec.DiscardUnknown(m) + +func (*ApiKeyAuthSpec) ProtoMessage() {} + +func (x *ApiKeyAuthSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ApiKeyAuthSpec proto.InternalMessageInfo +// Deprecated: Use ApiKeyAuthSpec.ProtoReflect.Descriptor instead. +func (*ApiKeyAuthSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{2} +} -func (m *ApiKeyAuthSpec) GetEnabled() bool { - if m != nil { - return m.Enabled +func (x *ApiKeyAuthSpec) GetEnabled() bool { + if x != nil { + return x.Enabled } return false } type LifecycleSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Flag to enable delete protection for the namespace. EnableDeleteProtection bool `protobuf:"varint,1,opt,name=enable_delete_protection,json=enableDeleteProtection,proto3" json:"enable_delete_protection,omitempty"` } -func (m *LifecycleSpec) Reset() { *m = LifecycleSpec{} } -func (*LifecycleSpec) ProtoMessage() {} -func (*LifecycleSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{3} -} -func (m *LifecycleSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *LifecycleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_LifecycleSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *LifecycleSpec) Reset() { + *x = LifecycleSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *LifecycleSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_LifecycleSpec.Merge(m, src) -} -func (m *LifecycleSpec) XXX_Size() int { - return m.Size() + +func (x *LifecycleSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LifecycleSpec) XXX_DiscardUnknown() { - xxx_messageInfo_LifecycleSpec.DiscardUnknown(m) + +func (*LifecycleSpec) ProtoMessage() {} + +func (x *LifecycleSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_LifecycleSpec proto.InternalMessageInfo +// Deprecated: Use LifecycleSpec.ProtoReflect.Descriptor instead. +func (*LifecycleSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{3} +} -func (m *LifecycleSpec) GetEnableDeleteProtection() bool { - if m != nil { - return m.EnableDeleteProtection +func (x *LifecycleSpec) GetEnableDeleteProtection() bool { + if x != nil { + return x.EnableDeleteProtection } return false } type CodecServerSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The codec server endpoint. Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Whether to pass the user access token with your endpoint. @@ -497,267 +839,302 @@ type CodecServerSpec struct { CustomErrorMessage *CodecServerSpec_CustomErrorMessage `protobuf:"bytes,4,opt,name=custom_error_message,json=customErrorMessage,proto3" json:"custom_error_message,omitempty"` } -func (m *CodecServerSpec) Reset() { *m = CodecServerSpec{} } -func (*CodecServerSpec) ProtoMessage() {} -func (*CodecServerSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{4} -} -func (m *CodecServerSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CodecServerSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CodecServerSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CodecServerSpec) Reset() { + *x = CodecServerSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CodecServerSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_CodecServerSpec.Merge(m, src) -} -func (m *CodecServerSpec) XXX_Size() int { - return m.Size() + +func (x *CodecServerSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CodecServerSpec) XXX_DiscardUnknown() { - xxx_messageInfo_CodecServerSpec.DiscardUnknown(m) + +func (*CodecServerSpec) ProtoMessage() {} + +func (x *CodecServerSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CodecServerSpec proto.InternalMessageInfo +// Deprecated: Use CodecServerSpec.ProtoReflect.Descriptor instead. +func (*CodecServerSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{4} +} -func (m *CodecServerSpec) GetEndpoint() string { - if m != nil { - return m.Endpoint +func (x *CodecServerSpec) GetEndpoint() string { + if x != nil { + return x.Endpoint } return "" } -func (m *CodecServerSpec) GetPassAccessToken() bool { - if m != nil { - return m.PassAccessToken +func (x *CodecServerSpec) GetPassAccessToken() bool { + if x != nil { + return x.PassAccessToken } return false } -func (m *CodecServerSpec) GetIncludeCrossOriginCredentials() bool { - if m != nil { - return m.IncludeCrossOriginCredentials +func (x *CodecServerSpec) GetIncludeCrossOriginCredentials() bool { + if x != nil { + return x.IncludeCrossOriginCredentials } return false } -func (m *CodecServerSpec) GetCustomErrorMessage() *CodecServerSpec_CustomErrorMessage { - if m != nil { - return m.CustomErrorMessage +func (x *CodecServerSpec) GetCustomErrorMessage() *CodecServerSpec_CustomErrorMessage { + if x != nil { + return x.CustomErrorMessage } return nil } -type CodecServerSpec_CustomErrorMessage struct { - // The error message to display by default for any remote codec server errors. - Default *CodecServerSpec_CustomErrorMessage_ErrorMessage `protobuf:"bytes,1,opt,name=default,proto3" json:"default,omitempty"` +type HighAvailabilitySpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Flag to disable managed failover for the namespace. + DisableManagedFailover bool `protobuf:"varint,1,opt,name=disable_managed_failover,json=disableManagedFailover,proto3" json:"disable_managed_failover,omitempty"` + // The desired replica to be primary. + // The actual primary replica may differ from the preferred primary when a managed failover happens. + // Optional. + // When this field is not specified, the first replica in the replicas list will be the preferred replica. + // Only specify this field after replicas are created and replica IDs are generated. + // temporal:versioning:min_version=development + // temporal:dev + PreferredPrimaryReplicaId string `protobuf:"bytes,2,opt,name=preferred_primary_replica_id,json=preferredPrimaryReplicaId,proto3" json:"preferred_primary_replica_id,omitempty"` } -func (m *CodecServerSpec_CustomErrorMessage) Reset() { *m = CodecServerSpec_CustomErrorMessage{} } -func (*CodecServerSpec_CustomErrorMessage) ProtoMessage() {} -func (*CodecServerSpec_CustomErrorMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{4, 0} -} -func (m *CodecServerSpec_CustomErrorMessage) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CodecServerSpec_CustomErrorMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CodecServerSpec_CustomErrorMessage.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *HighAvailabilitySpec) Reset() { + *x = HighAvailabilitySpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CodecServerSpec_CustomErrorMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_CodecServerSpec_CustomErrorMessage.Merge(m, src) -} -func (m *CodecServerSpec_CustomErrorMessage) XXX_Size() int { - return m.Size() -} -func (m *CodecServerSpec_CustomErrorMessage) XXX_DiscardUnknown() { - xxx_messageInfo_CodecServerSpec_CustomErrorMessage.DiscardUnknown(m) + +func (x *HighAvailabilitySpec) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_CodecServerSpec_CustomErrorMessage proto.InternalMessageInfo +func (*HighAvailabilitySpec) ProtoMessage() {} -func (m *CodecServerSpec_CustomErrorMessage) GetDefault() *CodecServerSpec_CustomErrorMessage_ErrorMessage { - if m != nil { - return m.Default +func (x *HighAvailabilitySpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -type CodecServerSpec_CustomErrorMessage_ErrorMessage struct { - // A message to display. - Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` - // A link that is displayed along side the configured message. - Link string `protobuf:"bytes,2,opt,name=link,proto3" json:"link,omitempty"` +// Deprecated: Use HighAvailabilitySpec.ProtoReflect.Descriptor instead. +func (*HighAvailabilitySpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{5} } -func (m *CodecServerSpec_CustomErrorMessage_ErrorMessage) Reset() { - *m = CodecServerSpec_CustomErrorMessage_ErrorMessage{} +func (x *HighAvailabilitySpec) GetDisableManagedFailover() bool { + if x != nil { + return x.DisableManagedFailover + } + return false } -func (*CodecServerSpec_CustomErrorMessage_ErrorMessage) ProtoMessage() {} -func (*CodecServerSpec_CustomErrorMessage_ErrorMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{4, 0, 0} -} -func (m *CodecServerSpec_CustomErrorMessage_ErrorMessage) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CodecServerSpec_CustomErrorMessage_ErrorMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CodecServerSpec_CustomErrorMessage_ErrorMessage.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil + +func (x *HighAvailabilitySpec) GetPreferredPrimaryReplicaId() string { + if x != nil { + return x.PreferredPrimaryReplicaId } + return "" } -func (m *CodecServerSpec_CustomErrorMessage_ErrorMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_CodecServerSpec_CustomErrorMessage_ErrorMessage.Merge(m, src) + +// temporal:dev +type ReplicaSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The id of the region where the replica should be placed. + // The GetRegions API can be used to get the list of valid region ids. + // All the replicas must adhere to the region's max_in_region_replicas limit and connectable_region_ids. + // Required. Immutable. + // Example: "aws-us-west-2". + Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` } -func (m *CodecServerSpec_CustomErrorMessage_ErrorMessage) XXX_Size() int { - return m.Size() + +func (x *ReplicaSpec) Reset() { + *x = ReplicaSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CodecServerSpec_CustomErrorMessage_ErrorMessage) XXX_DiscardUnknown() { - xxx_messageInfo_CodecServerSpec_CustomErrorMessage_ErrorMessage.DiscardUnknown(m) + +func (x *ReplicaSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_CodecServerSpec_CustomErrorMessage_ErrorMessage proto.InternalMessageInfo +func (*ReplicaSpec) ProtoMessage() {} -func (m *CodecServerSpec_CustomErrorMessage_ErrorMessage) GetMessage() string { - if m != nil { - return m.Message +func (x *ReplicaSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -func (m *CodecServerSpec_CustomErrorMessage_ErrorMessage) GetLink() string { - if m != nil { - return m.Link +// Deprecated: Use ReplicaSpec.ProtoReflect.Descriptor instead. +func (*ReplicaSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{6} +} + +func (x *ReplicaSpec) GetRegion() string { + if x != nil { + return x.Region } return "" } -type HighAvailabilitySpec struct { - // Flag to disable managed failover for the namespace. - DisableManagedFailover bool `protobuf:"varint,1,opt,name=disable_managed_failover,json=disableManagedFailover,proto3" json:"disable_managed_failover,omitempty"` +// temporal:dev +type Replica struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The id of the replica. This is generated by Temporal after a replica is created. + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // Whether this replica is currently the primary one. + IsPrimary bool `protobuf:"varint,2,opt,name=is_primary,json=isPrimary,proto3" json:"is_primary,omitempty"` + // The current state of this replica. + State Replica_ReplicaState `protobuf:"varint,3,opt,name=state,proto3,enum=temporal.api.cloud.namespace.v1.Replica_ReplicaState" json:"state,omitempty"` + // The cloud provider and region of this replica. + Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` } -func (m *HighAvailabilitySpec) Reset() { *m = HighAvailabilitySpec{} } -func (*HighAvailabilitySpec) ProtoMessage() {} -func (*HighAvailabilitySpec) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{5} -} -func (m *HighAvailabilitySpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *HighAvailabilitySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_HighAvailabilitySpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Replica) Reset() { + *x = Replica{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *HighAvailabilitySpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_HighAvailabilitySpec.Merge(m, src) + +func (x *Replica) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HighAvailabilitySpec) XXX_Size() int { - return m.Size() + +func (*Replica) ProtoMessage() {} + +func (x *Replica) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *HighAvailabilitySpec) XXX_DiscardUnknown() { - xxx_messageInfo_HighAvailabilitySpec.DiscardUnknown(m) + +// Deprecated: Use Replica.ProtoReflect.Descriptor instead. +func (*Replica) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{7} } -var xxx_messageInfo_HighAvailabilitySpec proto.InternalMessageInfo +func (x *Replica) GetId() string { + if x != nil { + return x.Id + } + return "" +} -func (m *HighAvailabilitySpec) GetDisableManagedFailover() bool { - if m != nil { - return m.DisableManagedFailover +func (x *Replica) GetIsPrimary() bool { + if x != nil { + return x.IsPrimary } return false } -// temporal:dev -type CapacitySpec struct { - // Types that are valid to be assigned to Spec: - // +func (x *Replica) GetState() Replica_ReplicaState { + if x != nil { + return x.State + } + return REPLICA_STATE_UNSPECIFIED +} + +func (x *Replica) GetRegion() string { + if x != nil { + return x.Region + } + return "" +} + +type CapacitySpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Spec: + // // *CapacitySpec_OnDemand_ // *CapacitySpec_Provisioned_ Spec isCapacitySpec_Spec `protobuf_oneof:"spec"` } -func (m *CapacitySpec) Reset() { *m = CapacitySpec{} } -func (*CapacitySpec) ProtoMessage() {} -func (*CapacitySpec) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{6} -} -func (m *CapacitySpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CapacitySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CapacitySpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CapacitySpec) Reset() { + *x = CapacitySpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CapacitySpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_CapacitySpec.Merge(m, src) -} -func (m *CapacitySpec) XXX_Size() int { - return m.Size() -} -func (m *CapacitySpec) XXX_DiscardUnknown() { - xxx_messageInfo_CapacitySpec.DiscardUnknown(m) + +func (x *CapacitySpec) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_CapacitySpec proto.InternalMessageInfo +func (*CapacitySpec) ProtoMessage() {} -type isCapacitySpec_Spec interface { - isCapacitySpec_Spec() - Equal(interface{}) bool - MarshalTo([]byte) (int, error) - Size() int +func (x *CapacitySpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type CapacitySpec_OnDemand_ struct { - OnDemand *CapacitySpec_OnDemand `protobuf:"bytes,1,opt,name=on_demand,json=onDemand,proto3,oneof" json:"on_demand,omitempty"` -} -type CapacitySpec_Provisioned_ struct { - Provisioned *CapacitySpec_Provisioned `protobuf:"bytes,2,opt,name=provisioned,proto3,oneof" json:"provisioned,omitempty"` +// Deprecated: Use CapacitySpec.ProtoReflect.Descriptor instead. +func (*CapacitySpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{8} } -func (*CapacitySpec_OnDemand_) isCapacitySpec_Spec() {} -func (*CapacitySpec_Provisioned_) isCapacitySpec_Spec() {} - func (m *CapacitySpec) GetSpec() isCapacitySpec_Spec { if m != nil { return m.Spec @@ -765,170 +1142,84 @@ func (m *CapacitySpec) GetSpec() isCapacitySpec_Spec { return nil } -func (m *CapacitySpec) GetOnDemand() *CapacitySpec_OnDemand { - if x, ok := m.GetSpec().(*CapacitySpec_OnDemand_); ok { +func (x *CapacitySpec) GetOnDemand() *CapacitySpec_OnDemand { + if x, ok := x.GetSpec().(*CapacitySpec_OnDemand_); ok { return x.OnDemand } return nil } -func (m *CapacitySpec) GetProvisioned() *CapacitySpec_Provisioned { - if x, ok := m.GetSpec().(*CapacitySpec_Provisioned_); ok { +func (x *CapacitySpec) GetProvisioned() *CapacitySpec_Provisioned { + if x, ok := x.GetSpec().(*CapacitySpec_Provisioned_); ok { return x.Provisioned } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CapacitySpec) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CapacitySpec_OnDemand_)(nil), - (*CapacitySpec_Provisioned_)(nil), - } -} - -type CapacitySpec_OnDemand struct { -} - -func (m *CapacitySpec_OnDemand) Reset() { *m = CapacitySpec_OnDemand{} } -func (*CapacitySpec_OnDemand) ProtoMessage() {} -func (*CapacitySpec_OnDemand) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{6, 0} -} -func (m *CapacitySpec_OnDemand) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CapacitySpec_OnDemand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CapacitySpec_OnDemand.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *CapacitySpec_OnDemand) XXX_Merge(src proto.Message) { - xxx_messageInfo_CapacitySpec_OnDemand.Merge(m, src) -} -func (m *CapacitySpec_OnDemand) XXX_Size() int { - return m.Size() -} -func (m *CapacitySpec_OnDemand) XXX_DiscardUnknown() { - xxx_messageInfo_CapacitySpec_OnDemand.DiscardUnknown(m) +type isCapacitySpec_Spec interface { + isCapacitySpec_Spec() } -var xxx_messageInfo_CapacitySpec_OnDemand proto.InternalMessageInfo - -type CapacitySpec_Provisioned struct { - // the unit of the provisioned capacity (Temporal Resource Units) - Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` +type CapacitySpec_OnDemand_ struct { + // on-demand capacity (dynamic-envelope) + OnDemand *CapacitySpec_OnDemand `protobuf:"bytes,1,opt,name=on_demand,json=onDemand,proto3,oneof" json:"on_demand,omitempty"` } -func (m *CapacitySpec_Provisioned) Reset() { *m = CapacitySpec_Provisioned{} } -func (*CapacitySpec_Provisioned) ProtoMessage() {} -func (*CapacitySpec_Provisioned) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{6, 1} -} -func (m *CapacitySpec_Provisioned) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CapacitySpec_Provisioned) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CapacitySpec_Provisioned.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *CapacitySpec_Provisioned) XXX_Merge(src proto.Message) { - xxx_messageInfo_CapacitySpec_Provisioned.Merge(m, src) -} -func (m *CapacitySpec_Provisioned) XXX_Size() int { - return m.Size() -} -func (m *CapacitySpec_Provisioned) XXX_DiscardUnknown() { - xxx_messageInfo_CapacitySpec_Provisioned.DiscardUnknown(m) +type CapacitySpec_Provisioned_ struct { + // provisioned capacity + Provisioned *CapacitySpec_Provisioned `protobuf:"bytes,2,opt,name=provisioned,proto3,oneof" json:"provisioned,omitempty"` } -var xxx_messageInfo_CapacitySpec_Provisioned proto.InternalMessageInfo +func (*CapacitySpec_OnDemand_) isCapacitySpec_Spec() {} -func (m *CapacitySpec_Provisioned) GetValue() float64 { - if m != nil { - return m.Value - } - return 0 -} +func (*CapacitySpec_Provisioned_) isCapacitySpec_Spec() {} -// temporal:dev type Capacity struct { - // temporal:dev - // - // Types that are valid to be assigned to CurrentMode: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to CurrentMode: // // *Capacity_OnDemand_ // *Capacity_Provisioned_ CurrentMode isCapacity_CurrentMode `protobuf_oneof:"current_mode"` - // temporal:dev // The latest capacity request, if any. LatestRequest *Capacity_Request `protobuf:"bytes,3,opt,name=latest_request,json=latestRequest,proto3" json:"latest_request,omitempty"` } -func (m *Capacity) Reset() { *m = Capacity{} } -func (*Capacity) ProtoMessage() {} -func (*Capacity) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{7} -} -func (m *Capacity) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Capacity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Capacity.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Capacity) Reset() { + *x = Capacity{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Capacity) XXX_Merge(src proto.Message) { - xxx_messageInfo_Capacity.Merge(m, src) -} -func (m *Capacity) XXX_Size() int { - return m.Size() -} -func (m *Capacity) XXX_DiscardUnknown() { - xxx_messageInfo_Capacity.DiscardUnknown(m) + +func (x *Capacity) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_Capacity proto.InternalMessageInfo +func (*Capacity) ProtoMessage() {} -type isCapacity_CurrentMode interface { - isCapacity_CurrentMode() - Equal(interface{}) bool - MarshalTo([]byte) (int, error) - Size() int +func (x *Capacity) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type Capacity_OnDemand_ struct { - OnDemand *Capacity_OnDemand `protobuf:"bytes,1,opt,name=on_demand,json=onDemand,proto3,oneof" json:"on_demand,omitempty"` -} -type Capacity_Provisioned_ struct { - Provisioned *Capacity_Provisioned `protobuf:"bytes,2,opt,name=provisioned,proto3,oneof" json:"provisioned,omitempty"` +// Deprecated: Use Capacity.ProtoReflect.Descriptor instead. +func (*Capacity) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{9} } -func (*Capacity_OnDemand_) isCapacity_CurrentMode() {} -func (*Capacity_Provisioned_) isCapacity_CurrentMode() {} - func (m *Capacity) GetCurrentMode() isCapacity_CurrentMode { if m != nil { return m.CurrentMode @@ -936,198 +1227,50 @@ func (m *Capacity) GetCurrentMode() isCapacity_CurrentMode { return nil } -func (m *Capacity) GetOnDemand() *Capacity_OnDemand { - if x, ok := m.GetCurrentMode().(*Capacity_OnDemand_); ok { +func (x *Capacity) GetOnDemand() *Capacity_OnDemand { + if x, ok := x.GetCurrentMode().(*Capacity_OnDemand_); ok { return x.OnDemand } return nil } -func (m *Capacity) GetProvisioned() *Capacity_Provisioned { - if x, ok := m.GetCurrentMode().(*Capacity_Provisioned_); ok { +func (x *Capacity) GetProvisioned() *Capacity_Provisioned { + if x, ok := x.GetCurrentMode().(*Capacity_Provisioned_); ok { return x.Provisioned } return nil } -func (m *Capacity) GetLatestRequest() *Capacity_Request { - if m != nil { - return m.LatestRequest +func (x *Capacity) GetLatestRequest() *Capacity_Request { + if x != nil { + return x.LatestRequest } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*Capacity) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*Capacity_OnDemand_)(nil), - (*Capacity_Provisioned_)(nil), - } -} - -// temporal:dev -type Capacity_OnDemand struct { -} - -func (m *Capacity_OnDemand) Reset() { *m = Capacity_OnDemand{} } -func (*Capacity_OnDemand) ProtoMessage() {} -func (*Capacity_OnDemand) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{7, 0} -} -func (m *Capacity_OnDemand) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Capacity_OnDemand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Capacity_OnDemand.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *Capacity_OnDemand) XXX_Merge(src proto.Message) { - xxx_messageInfo_Capacity_OnDemand.Merge(m, src) -} -func (m *Capacity_OnDemand) XXX_Size() int { - return m.Size() -} -func (m *Capacity_OnDemand) XXX_DiscardUnknown() { - xxx_messageInfo_Capacity_OnDemand.DiscardUnknown(m) -} - -var xxx_messageInfo_Capacity_OnDemand proto.InternalMessageInfo - -// temporal:dev -type Capacity_Provisioned struct { - // the current unit of the provisioned capacity (Temporal Resource Units) - CurrentValue float64 `protobuf:"fixed64,1,opt,name=current_value,json=currentValue,proto3" json:"current_value,omitempty"` -} - -func (m *Capacity_Provisioned) Reset() { *m = Capacity_Provisioned{} } -func (*Capacity_Provisioned) ProtoMessage() {} -func (*Capacity_Provisioned) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{7, 1} -} -func (m *Capacity_Provisioned) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Capacity_Provisioned) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Capacity_Provisioned.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *Capacity_Provisioned) XXX_Merge(src proto.Message) { - xxx_messageInfo_Capacity_Provisioned.Merge(m, src) -} -func (m *Capacity_Provisioned) XXX_Size() int { - return m.Size() -} -func (m *Capacity_Provisioned) XXX_DiscardUnknown() { - xxx_messageInfo_Capacity_Provisioned.DiscardUnknown(m) -} - -var xxx_messageInfo_Capacity_Provisioned proto.InternalMessageInfo - -func (m *Capacity_Provisioned) GetCurrentValue() float64 { - if m != nil { - return m.CurrentValue - } - return 0 -} - -// temporal:dev -type Capacity_Request struct { - // the current state of the capacity request (e.g. in-progress, completed, failed) - State Capacity_Request_State `protobuf:"varint,1,opt,name=state,proto3,enum=temporal.api.cloud.namespace.v1.Capacity_Request_State" json:"state,omitempty"` - // The date and time when the capacity request was created. - StartTime *types.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - // The date and time when the capacity request was completed or failed. - EndTime *types.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - // The id of the async operation that is creating/updating/deleting the capacity, if any. - AsyncOperationId string `protobuf:"bytes,4,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` - // The requested capacity specification. - Spec *CapacitySpec `protobuf:"bytes,5,opt,name=spec,proto3" json:"spec,omitempty"` -} - -func (m *Capacity_Request) Reset() { *m = Capacity_Request{} } -func (*Capacity_Request) ProtoMessage() {} -func (*Capacity_Request) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{7, 2} -} -func (m *Capacity_Request) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Capacity_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Capacity_Request.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *Capacity_Request) XXX_Merge(src proto.Message) { - xxx_messageInfo_Capacity_Request.Merge(m, src) -} -func (m *Capacity_Request) XXX_Size() int { - return m.Size() -} -func (m *Capacity_Request) XXX_DiscardUnknown() { - xxx_messageInfo_Capacity_Request.DiscardUnknown(m) -} - -var xxx_messageInfo_Capacity_Request proto.InternalMessageInfo - -func (m *Capacity_Request) GetState() Capacity_Request_State { - if m != nil { - return m.State - } - return STATE_CAPACITY_REQUEST_UNSPECIFIED +type isCapacity_CurrentMode interface { + isCapacity_CurrentMode() } -func (m *Capacity_Request) GetStartTime() *types.Timestamp { - if m != nil { - return m.StartTime - } - return nil +type Capacity_OnDemand_ struct { + // the current capacity is on-demand + OnDemand *Capacity_OnDemand `protobuf:"bytes,1,opt,name=on_demand,json=onDemand,proto3,oneof" json:"on_demand,omitempty"` } -func (m *Capacity_Request) GetEndTime() *types.Timestamp { - if m != nil { - return m.EndTime - } - return nil +type Capacity_Provisioned_ struct { + // the current capacity is provisioned + Provisioned *Capacity_Provisioned `protobuf:"bytes,2,opt,name=provisioned,proto3,oneof" json:"provisioned,omitempty"` } -func (m *Capacity_Request) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId - } - return "" -} +func (*Capacity_OnDemand_) isCapacity_CurrentMode() {} -func (m *Capacity_Request) GetSpec() *CapacitySpec { - if m != nil { - return m.Spec - } - return nil -} +func (*Capacity_Provisioned_) isCapacity_CurrentMode() {} type NamespaceSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The name to use for the namespace. // This will create a namespace that's available at '..github.com/temporalio/tcld/protogen:7233'. // The name is immutable. Once set, it cannot be changed. @@ -1140,6 +1283,10 @@ type NamespaceSpec struct { // Number of supported regions is 2. // The regions is immutable. Once set, it cannot be changed. // Example: ["aws-us-west-2"]. + // Deprecated: Use replicas field instead. + // temporal:versioning:max_version=development + // + // Deprecated: Do not use. Regions []string `protobuf:"bytes,2,rep,name=regions,proto3" json:"regions,omitempty"` // The number of days the workflows data will be retained for. // Changes to the retention period may impact your storage costs. @@ -1159,7 +1306,9 @@ type NamespaceSpec struct { // Optional, default is empty. // Deprecated: Use search_attributes instead. // temporal:versioning:max_version=v0.3.0 - CustomSearchAttributes map[string]string `protobuf:"bytes,5,rep,name=custom_search_attributes,json=customSearchAttributes,proto3" json:"custom_search_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + CustomSearchAttributes map[string]string `protobuf:"bytes,5,rep,name=custom_search_attributes,json=customSearchAttributes,proto3" json:"custom_search_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // The custom search attributes to use for the namespace. // The name of the attribute is the key and the type is the value. // Note: currently deleting a search attribute is not supported. @@ -1180,129 +1329,149 @@ type NamespaceSpec struct { // temporal:versioning:min_version=v0.6.0 ConnectivityRuleIds []string `protobuf:"bytes,11,rep,name=connectivity_rule_ids,json=connectivityRuleIds,proto3" json:"connectivity_rule_ids,omitempty"` // The capacity configuration for the namespace. + // temporal:versioning:min_version=v0.10.0 + CapacitySpec *CapacitySpec `protobuf:"bytes,12,opt,name=capacity_spec,json=capacitySpec,proto3" json:"capacity_spec,omitempty"` + // The replication configuration for the namespace. + // At least one replica must be specified. + // Only one replica can be marked to be the desired active one. + // The status of each replica is available in the Namespace.replicas field. + // Use HighAvailabilitySpec to set the preferred primary replica ID. + // If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary. // temporal:versioning:min_version=development // temporal:dev - CapacitySpec *CapacitySpec `protobuf:"bytes,12,opt,name=capacity_spec,json=capacitySpec,proto3" json:"capacity_spec,omitempty"` + Replicas []*ReplicaSpec `protobuf:"bytes,13,rep,name=replicas,proto3" json:"replicas,omitempty"` } -func (m *NamespaceSpec) Reset() { *m = NamespaceSpec{} } -func (*NamespaceSpec) ProtoMessage() {} -func (*NamespaceSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{8} -} -func (m *NamespaceSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NamespaceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NamespaceSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NamespaceSpec) Reset() { + *x = NamespaceSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NamespaceSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamespaceSpec.Merge(m, src) -} -func (m *NamespaceSpec) XXX_Size() int { - return m.Size() + +func (x *NamespaceSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NamespaceSpec) XXX_DiscardUnknown() { - xxx_messageInfo_NamespaceSpec.DiscardUnknown(m) + +func (*NamespaceSpec) ProtoMessage() {} + +func (x *NamespaceSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NamespaceSpec proto.InternalMessageInfo +// Deprecated: Use NamespaceSpec.ProtoReflect.Descriptor instead. +func (*NamespaceSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{10} +} -func (m *NamespaceSpec) GetName() string { - if m != nil { - return m.Name +func (x *NamespaceSpec) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *NamespaceSpec) GetRegions() []string { - if m != nil { - return m.Regions +// Deprecated: Do not use. +func (x *NamespaceSpec) GetRegions() []string { + if x != nil { + return x.Regions } return nil } -func (m *NamespaceSpec) GetRetentionDays() int32 { - if m != nil { - return m.RetentionDays +func (x *NamespaceSpec) GetRetentionDays() int32 { + if x != nil { + return x.RetentionDays } return 0 } -func (m *NamespaceSpec) GetMtlsAuth() *MtlsAuthSpec { - if m != nil { - return m.MtlsAuth +func (x *NamespaceSpec) GetMtlsAuth() *MtlsAuthSpec { + if x != nil { + return x.MtlsAuth } return nil } -func (m *NamespaceSpec) GetApiKeyAuth() *ApiKeyAuthSpec { - if m != nil { - return m.ApiKeyAuth +func (x *NamespaceSpec) GetApiKeyAuth() *ApiKeyAuthSpec { + if x != nil { + return x.ApiKeyAuth } return nil } // Deprecated: Do not use. -func (m *NamespaceSpec) GetCustomSearchAttributes() map[string]string { - if m != nil { - return m.CustomSearchAttributes +func (x *NamespaceSpec) GetCustomSearchAttributes() map[string]string { + if x != nil { + return x.CustomSearchAttributes } return nil } -func (m *NamespaceSpec) GetSearchAttributes() map[string]NamespaceSpec_SearchAttributeType { - if m != nil { - return m.SearchAttributes +func (x *NamespaceSpec) GetSearchAttributes() map[string]NamespaceSpec_SearchAttributeType { + if x != nil { + return x.SearchAttributes } return nil } -func (m *NamespaceSpec) GetCodecServer() *CodecServerSpec { - if m != nil { - return m.CodecServer +func (x *NamespaceSpec) GetCodecServer() *CodecServerSpec { + if x != nil { + return x.CodecServer } return nil } -func (m *NamespaceSpec) GetLifecycle() *LifecycleSpec { - if m != nil { - return m.Lifecycle +func (x *NamespaceSpec) GetLifecycle() *LifecycleSpec { + if x != nil { + return x.Lifecycle } return nil } -func (m *NamespaceSpec) GetHighAvailability() *HighAvailabilitySpec { - if m != nil { - return m.HighAvailability +func (x *NamespaceSpec) GetHighAvailability() *HighAvailabilitySpec { + if x != nil { + return x.HighAvailability } return nil } -func (m *NamespaceSpec) GetConnectivityRuleIds() []string { - if m != nil { - return m.ConnectivityRuleIds +func (x *NamespaceSpec) GetConnectivityRuleIds() []string { + if x != nil { + return x.ConnectivityRuleIds } return nil } -func (m *NamespaceSpec) GetCapacitySpec() *CapacitySpec { - if m != nil { - return m.CapacitySpec +func (x *NamespaceSpec) GetCapacitySpec() *CapacitySpec { + if x != nil { + return x.CapacitySpec + } + return nil +} + +func (x *NamespaceSpec) GetReplicas() []*ReplicaSpec { + if x != nil { + return x.Replicas } return nil } type Endpoints struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The web UI address. WebAddress string `protobuf:"bytes,1,opt,name=web_address,json=webAddress,proto3" json:"web_address,omitempty"` // The gRPC address for mTLS client connections (may be empty if mTLS is disabled). @@ -1311,178 +1480,171 @@ type Endpoints struct { GrpcAddress string `protobuf:"bytes,3,opt,name=grpc_address,json=grpcAddress,proto3" json:"grpc_address,omitempty"` } -func (m *Endpoints) Reset() { *m = Endpoints{} } -func (*Endpoints) ProtoMessage() {} -func (*Endpoints) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{9} -} -func (m *Endpoints) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Endpoints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Endpoints.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Endpoints) Reset() { + *x = Endpoints{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Endpoints) XXX_Merge(src proto.Message) { - xxx_messageInfo_Endpoints.Merge(m, src) -} -func (m *Endpoints) XXX_Size() int { - return m.Size() + +func (x *Endpoints) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Endpoints) XXX_DiscardUnknown() { - xxx_messageInfo_Endpoints.DiscardUnknown(m) + +func (*Endpoints) ProtoMessage() {} + +func (x *Endpoints) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Endpoints proto.InternalMessageInfo +// Deprecated: Use Endpoints.ProtoReflect.Descriptor instead. +func (*Endpoints) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{11} +} -func (m *Endpoints) GetWebAddress() string { - if m != nil { - return m.WebAddress +func (x *Endpoints) GetWebAddress() string { + if x != nil { + return x.WebAddress } return "" } -func (m *Endpoints) GetMtlsGrpcAddress() string { - if m != nil { - return m.MtlsGrpcAddress +func (x *Endpoints) GetMtlsGrpcAddress() string { + if x != nil { + return x.MtlsGrpcAddress } return "" } -func (m *Endpoints) GetGrpcAddress() string { - if m != nil { - return m.GrpcAddress +func (x *Endpoints) GetGrpcAddress() string { + if x != nil { + return x.GrpcAddress } return "" } +// Note: Consider adding new limit to external metrics instead of adding to the following Limits objects type Limits struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The number of actions per second (APS) that is currently allowed for the namespace. // The namespace may be throttled if its APS exceeds the limit. ActionsPerSecondLimit int32 `protobuf:"varint,1,opt,name=actions_per_second_limit,json=actionsPerSecondLimit,proto3" json:"actions_per_second_limit,omitempty"` - // The number of requests per second (RPS) that is currently allowed for the namespace. - // temporal:dev - RequestsPerSecondLimit int32 `protobuf:"varint,2,opt,name=requests_per_second_limit,json=requestsPerSecondLimit,proto3" json:"requests_per_second_limit,omitempty"` - // The number of concurrent task pollers allowed for the namespace. - // temporal:dev - ConcurrentTaskPollerLimit int32 `protobuf:"varint,3,opt,name=concurrent_task_poller_limit,json=concurrentTaskPollerLimit,proto3" json:"concurrent_task_poller_limit,omitempty"` } -func (m *Limits) Reset() { *m = Limits{} } -func (*Limits) ProtoMessage() {} -func (*Limits) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{10} -} -func (m *Limits) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Limits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Limits.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Limits) Reset() { + *x = Limits{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Limits) XXX_Merge(src proto.Message) { - xxx_messageInfo_Limits.Merge(m, src) -} -func (m *Limits) XXX_Size() int { - return m.Size() -} -func (m *Limits) XXX_DiscardUnknown() { - xxx_messageInfo_Limits.DiscardUnknown(m) + +func (x *Limits) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_Limits proto.InternalMessageInfo +func (*Limits) ProtoMessage() {} -func (m *Limits) GetActionsPerSecondLimit() int32 { - if m != nil { - return m.ActionsPerSecondLimit +func (x *Limits) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) } -func (m *Limits) GetRequestsPerSecondLimit() int32 { - if m != nil { - return m.RequestsPerSecondLimit - } - return 0 +// Deprecated: Use Limits.ProtoReflect.Descriptor instead. +func (*Limits) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{12} } -func (m *Limits) GetConcurrentTaskPollerLimit() int32 { - if m != nil { - return m.ConcurrentTaskPollerLimit +func (x *Limits) GetActionsPerSecondLimit() int32 { + if x != nil { + return x.ActionsPerSecondLimit } return 0 } type AWSPrivateLinkInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The list of principal arns that are allowed to access the namespace on the private link. AllowedPrincipalArns []string `protobuf:"bytes,1,rep,name=allowed_principal_arns,json=allowedPrincipalArns,proto3" json:"allowed_principal_arns,omitempty"` // The list of vpc endpoint service names that are associated with the namespace. VpcEndpointServiceNames []string `protobuf:"bytes,2,rep,name=vpc_endpoint_service_names,json=vpcEndpointServiceNames,proto3" json:"vpc_endpoint_service_names,omitempty"` } -func (m *AWSPrivateLinkInfo) Reset() { *m = AWSPrivateLinkInfo{} } -func (*AWSPrivateLinkInfo) ProtoMessage() {} -func (*AWSPrivateLinkInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{11} -} -func (m *AWSPrivateLinkInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AWSPrivateLinkInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AWSPrivateLinkInfo.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AWSPrivateLinkInfo) Reset() { + *x = AWSPrivateLinkInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AWSPrivateLinkInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_AWSPrivateLinkInfo.Merge(m, src) -} -func (m *AWSPrivateLinkInfo) XXX_Size() int { - return m.Size() -} -func (m *AWSPrivateLinkInfo) XXX_DiscardUnknown() { - xxx_messageInfo_AWSPrivateLinkInfo.DiscardUnknown(m) + +func (x *AWSPrivateLinkInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_AWSPrivateLinkInfo proto.InternalMessageInfo +func (*AWSPrivateLinkInfo) ProtoMessage() {} -func (m *AWSPrivateLinkInfo) GetAllowedPrincipalArns() []string { - if m != nil { - return m.AllowedPrincipalArns +func (x *AWSPrivateLinkInfo) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AWSPrivateLinkInfo.ProtoReflect.Descriptor instead. +func (*AWSPrivateLinkInfo) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{13} +} + +func (x *AWSPrivateLinkInfo) GetAllowedPrincipalArns() []string { + if x != nil { + return x.AllowedPrincipalArns } return nil } -func (m *AWSPrivateLinkInfo) GetVpcEndpointServiceNames() []string { - if m != nil { - return m.VpcEndpointServiceNames +func (x *AWSPrivateLinkInfo) GetVpcEndpointServiceNames() []string { + if x != nil { + return x.VpcEndpointServiceNames } return nil } type PrivateConnectivity struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the region where the private connectivity applies. Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` // The AWS PrivateLink info. @@ -1490,53 +1652,57 @@ type PrivateConnectivity struct { AwsPrivateLink *AWSPrivateLinkInfo `protobuf:"bytes,2,opt,name=aws_private_link,json=awsPrivateLink,proto3" json:"aws_private_link,omitempty"` } -func (m *PrivateConnectivity) Reset() { *m = PrivateConnectivity{} } -func (*PrivateConnectivity) ProtoMessage() {} -func (*PrivateConnectivity) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{12} -} -func (m *PrivateConnectivity) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PrivateConnectivity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PrivateConnectivity.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PrivateConnectivity) Reset() { + *x = PrivateConnectivity{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PrivateConnectivity) XXX_Merge(src proto.Message) { - xxx_messageInfo_PrivateConnectivity.Merge(m, src) -} -func (m *PrivateConnectivity) XXX_Size() int { - return m.Size() + +func (x *PrivateConnectivity) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PrivateConnectivity) XXX_DiscardUnknown() { - xxx_messageInfo_PrivateConnectivity.DiscardUnknown(m) + +func (*PrivateConnectivity) ProtoMessage() {} + +func (x *PrivateConnectivity) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_PrivateConnectivity proto.InternalMessageInfo +// Deprecated: Use PrivateConnectivity.ProtoReflect.Descriptor instead. +func (*PrivateConnectivity) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{14} +} -func (m *PrivateConnectivity) GetRegion() string { - if m != nil { - return m.Region +func (x *PrivateConnectivity) GetRegion() string { + if x != nil { + return x.Region } return "" } -func (m *PrivateConnectivity) GetAwsPrivateLink() *AWSPrivateLinkInfo { - if m != nil { - return m.AwsPrivateLink +func (x *PrivateConnectivity) GetAwsPrivateLink() *AWSPrivateLinkInfo { + if x != nil { + return x.AwsPrivateLink } return nil } type Namespace struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace identifier. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // The current version of the namespace specification. @@ -1547,7 +1713,9 @@ type Namespace struct { // The current state of the namespace. // Deprecated: Use state instead. // temporal:versioning:max_version=v0.3.0 - StateDeprecated string `protobuf:"bytes,4,opt,name=state_deprecated,json=stateDeprecated,proto3" json:"state_deprecated,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + StateDeprecated string `protobuf:"bytes,4,opt,name=state_deprecated,json=stateDeprecated,proto3" json:"state_deprecated,omitempty"` // The current state of the namespace. // For any failed state, reach out to Temporal Cloud support for remediation. // temporal:versioning:min_version=v0.3.0 @@ -1564,174 +1732,202 @@ type Namespace struct { // The private connectivities for the namespace, if any. PrivateConnectivities []*PrivateConnectivity `protobuf:"bytes,9,rep,name=private_connectivities,json=privateConnectivities,proto3" json:"private_connectivities,omitempty"` // The date and time when the namespace was created. - CreatedTime *types.Timestamp `protobuf:"bytes,10,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` + CreatedTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` // The date and time when the namespace was last modified. // Will not be set if the namespace has never been modified. - LastModifiedTime *types.Timestamp `protobuf:"bytes,11,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` + LastModifiedTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` // The status of each region where the namespace is available. // The id of the region is the key and the status is the value of the map. + // deprecated: Use replicas field instead. + // + // Deprecated: Do not use. RegionStatus map[string]*NamespaceRegionStatus `protobuf:"bytes,12,rep,name=region_status,json=regionStatus,proto3" json:"region_status,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // connectivity_rules that set on this namespace ConnectivityRules []*v11.ConnectivityRule `protobuf:"bytes,14,rep,name=connectivity_rules,json=connectivityRules,proto3" json:"connectivity_rules,omitempty"` // The tags for the namespace. Tags map[string]string `protobuf:"bytes,15,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // The capacity of the namespace. - // temporal:dev Capacity *Capacity `protobuf:"bytes,16,opt,name=capacity,proto3" json:"capacity,omitempty"` + // temporal:dev + ProjectId string `protobuf:"bytes,17,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` + // The status of each replica where the namespace is available. + // temporal:dev + Replicas []*Replica `protobuf:"bytes,18,rep,name=replicas,proto3" json:"replicas,omitempty"` } -func (m *Namespace) Reset() { *m = Namespace{} } -func (*Namespace) ProtoMessage() {} -func (*Namespace) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{13} -} -func (m *Namespace) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Namespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Namespace.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Namespace) Reset() { + *x = Namespace{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Namespace) XXX_Merge(src proto.Message) { - xxx_messageInfo_Namespace.Merge(m, src) -} -func (m *Namespace) XXX_Size() int { - return m.Size() + +func (x *Namespace) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Namespace) XXX_DiscardUnknown() { - xxx_messageInfo_Namespace.DiscardUnknown(m) + +func (*Namespace) ProtoMessage() {} + +func (x *Namespace) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Namespace proto.InternalMessageInfo +// Deprecated: Use Namespace.ProtoReflect.Descriptor instead. +func (*Namespace) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{15} +} -func (m *Namespace) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *Namespace) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *Namespace) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *Namespace) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *Namespace) GetSpec() *NamespaceSpec { - if m != nil { - return m.Spec +func (x *Namespace) GetSpec() *NamespaceSpec { + if x != nil { + return x.Spec } return nil } // Deprecated: Do not use. -func (m *Namespace) GetStateDeprecated() string { - if m != nil { - return m.StateDeprecated +func (x *Namespace) GetStateDeprecated() string { + if x != nil { + return x.StateDeprecated } return "" } -func (m *Namespace) GetState() v1.ResourceState { - if m != nil { - return m.State +func (x *Namespace) GetState() v1.ResourceState { + if x != nil { + return x.State } return v1.RESOURCE_STATE_UNSPECIFIED } -func (m *Namespace) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *Namespace) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } -func (m *Namespace) GetEndpoints() *Endpoints { - if m != nil { - return m.Endpoints +func (x *Namespace) GetEndpoints() *Endpoints { + if x != nil { + return x.Endpoints } return nil } -func (m *Namespace) GetActiveRegion() string { - if m != nil { - return m.ActiveRegion +func (x *Namespace) GetActiveRegion() string { + if x != nil { + return x.ActiveRegion } return "" } -func (m *Namespace) GetLimits() *Limits { - if m != nil { - return m.Limits +func (x *Namespace) GetLimits() *Limits { + if x != nil { + return x.Limits } return nil } -func (m *Namespace) GetPrivateConnectivities() []*PrivateConnectivity { - if m != nil { - return m.PrivateConnectivities +func (x *Namespace) GetPrivateConnectivities() []*PrivateConnectivity { + if x != nil { + return x.PrivateConnectivities } return nil } -func (m *Namespace) GetCreatedTime() *types.Timestamp { - if m != nil { - return m.CreatedTime +func (x *Namespace) GetCreatedTime() *timestamppb.Timestamp { + if x != nil { + return x.CreatedTime } return nil } -func (m *Namespace) GetLastModifiedTime() *types.Timestamp { - if m != nil { - return m.LastModifiedTime +func (x *Namespace) GetLastModifiedTime() *timestamppb.Timestamp { + if x != nil { + return x.LastModifiedTime } return nil } -func (m *Namespace) GetRegionStatus() map[string]*NamespaceRegionStatus { - if m != nil { - return m.RegionStatus +// Deprecated: Do not use. +func (x *Namespace) GetRegionStatus() map[string]*NamespaceRegionStatus { + if x != nil { + return x.RegionStatus } return nil } -func (m *Namespace) GetConnectivityRules() []*v11.ConnectivityRule { - if m != nil { - return m.ConnectivityRules +func (x *Namespace) GetConnectivityRules() []*v11.ConnectivityRule { + if x != nil { + return x.ConnectivityRules } return nil } -func (m *Namespace) GetTags() map[string]string { - if m != nil { - return m.Tags +func (x *Namespace) GetTags() map[string]string { + if x != nil { + return x.Tags } return nil } -func (m *Namespace) GetCapacity() *Capacity { - if m != nil { - return m.Capacity +func (x *Namespace) GetCapacity() *Capacity { + if x != nil { + return x.Capacity + } + return nil +} + +func (x *Namespace) GetProjectId() string { + if x != nil { + return x.ProjectId + } + return "" +} + +func (x *Namespace) GetReplicas() []*Replica { + if x != nil { + return x.Replicas } return nil } type NamespaceRegionStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The current state of the namespace region. // Possible values: adding, active, passive, removing, failed. // For any failed state, reach out to Temporal Cloud support for remediation. // Deprecated: Use state instead. // temporal:versioning:max_version=v0.3.0 - StateDeprecated string `protobuf:"bytes,1,opt,name=state_deprecated,json=stateDeprecated,proto3" json:"state_deprecated,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + StateDeprecated string `protobuf:"bytes,1,opt,name=state_deprecated,json=stateDeprecated,proto3" json:"state_deprecated,omitempty"` // The current state of the namespace region. // temporal:versioning:min_version=v0.3.0 // temporal:enums:replaces=state_deprecated @@ -1740,61 +1936,65 @@ type NamespaceRegionStatus struct { AsyncOperationId string `protobuf:"bytes,2,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *NamespaceRegionStatus) Reset() { *m = NamespaceRegionStatus{} } -func (*NamespaceRegionStatus) ProtoMessage() {} -func (*NamespaceRegionStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{14} -} -func (m *NamespaceRegionStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NamespaceRegionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NamespaceRegionStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NamespaceRegionStatus) Reset() { + *x = NamespaceRegionStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NamespaceRegionStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamespaceRegionStatus.Merge(m, src) -} -func (m *NamespaceRegionStatus) XXX_Size() int { - return m.Size() + +func (x *NamespaceRegionStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NamespaceRegionStatus) XXX_DiscardUnknown() { - xxx_messageInfo_NamespaceRegionStatus.DiscardUnknown(m) + +func (*NamespaceRegionStatus) ProtoMessage() {} + +func (x *NamespaceRegionStatus) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NamespaceRegionStatus proto.InternalMessageInfo +// Deprecated: Use NamespaceRegionStatus.ProtoReflect.Descriptor instead. +func (*NamespaceRegionStatus) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{16} +} // Deprecated: Do not use. -func (m *NamespaceRegionStatus) GetStateDeprecated() string { - if m != nil { - return m.StateDeprecated +func (x *NamespaceRegionStatus) GetStateDeprecated() string { + if x != nil { + return x.StateDeprecated } return "" } -func (m *NamespaceRegionStatus) GetState() NamespaceRegionStatus_State { - if m != nil { - return m.State +func (x *NamespaceRegionStatus) GetState() NamespaceRegionStatus_State { + if x != nil { + return x.State } return STATE_UNSPECIFIED } -func (m *NamespaceRegionStatus) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *NamespaceRegionStatus) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } type ExportSinkSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The unique name of the export sink. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // A flag indicating whether the export sink is enabled or not. @@ -1806,67 +2006,71 @@ type ExportSinkSpec struct { Gcs *v12.GCSSpec `protobuf:"bytes,4,opt,name=gcs,proto3" json:"gcs,omitempty"` } -func (m *ExportSinkSpec) Reset() { *m = ExportSinkSpec{} } -func (*ExportSinkSpec) ProtoMessage() {} -func (*ExportSinkSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{15} -} -func (m *ExportSinkSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ExportSinkSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ExportSinkSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ExportSinkSpec) Reset() { + *x = ExportSinkSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ExportSinkSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportSinkSpec.Merge(m, src) -} -func (m *ExportSinkSpec) XXX_Size() int { - return m.Size() + +func (x *ExportSinkSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExportSinkSpec) XXX_DiscardUnknown() { - xxx_messageInfo_ExportSinkSpec.DiscardUnknown(m) + +func (*ExportSinkSpec) ProtoMessage() {} + +func (x *ExportSinkSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExportSinkSpec proto.InternalMessageInfo +// Deprecated: Use ExportSinkSpec.ProtoReflect.Descriptor instead. +func (*ExportSinkSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{17} +} -func (m *ExportSinkSpec) GetName() string { - if m != nil { - return m.Name +func (x *ExportSinkSpec) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ExportSinkSpec) GetEnabled() bool { - if m != nil { - return m.Enabled +func (x *ExportSinkSpec) GetEnabled() bool { + if x != nil { + return x.Enabled } return false } -func (m *ExportSinkSpec) GetS3() *v12.S3Spec { - if m != nil { - return m.S3 +func (x *ExportSinkSpec) GetS3() *v12.S3Spec { + if x != nil { + return x.S3 } return nil } -func (m *ExportSinkSpec) GetGcs() *v12.GCSSpec { - if m != nil { - return m.Gcs +func (x *ExportSinkSpec) GetGcs() *v12.GCSSpec { + if x != nil { + return x.Gcs } return nil } type ExportSink struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The unique name of the export sink, once set it can't be changed Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The version of the export sink resource. @@ -1880,159 +2084,153 @@ type ExportSink struct { // An error message describing any issues with the export sink, if applicable. ErrorMessage string `protobuf:"bytes,6,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // The timestamp of the latest successful data export. - LatestDataExportTime *types.Timestamp `protobuf:"bytes,7,opt,name=latest_data_export_time,json=latestDataExportTime,proto3" json:"latest_data_export_time,omitempty"` + LatestDataExportTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=latest_data_export_time,json=latestDataExportTime,proto3" json:"latest_data_export_time,omitempty"` // The timestamp of the last health check performed on the export sink. - LastHealthCheckTime *types.Timestamp `protobuf:"bytes,8,opt,name=last_health_check_time,json=lastHealthCheckTime,proto3" json:"last_health_check_time,omitempty"` + LastHealthCheckTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=last_health_check_time,json=lastHealthCheckTime,proto3" json:"last_health_check_time,omitempty"` } -func (m *ExportSink) Reset() { *m = ExportSink{} } -func (*ExportSink) ProtoMessage() {} -func (*ExportSink) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{16} -} -func (m *ExportSink) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ExportSink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ExportSink.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ExportSink) Reset() { + *x = ExportSink{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ExportSink) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportSink.Merge(m, src) -} -func (m *ExportSink) XXX_Size() int { - return m.Size() + +func (x *ExportSink) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExportSink) XXX_DiscardUnknown() { - xxx_messageInfo_ExportSink.DiscardUnknown(m) + +func (*ExportSink) ProtoMessage() {} + +func (x *ExportSink) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExportSink proto.InternalMessageInfo +// Deprecated: Use ExportSink.ProtoReflect.Descriptor instead. +func (*ExportSink) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{18} +} -func (m *ExportSink) GetName() string { - if m != nil { - return m.Name +func (x *ExportSink) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ExportSink) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *ExportSink) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *ExportSink) GetState() v1.ResourceState { - if m != nil { - return m.State +func (x *ExportSink) GetState() v1.ResourceState { + if x != nil { + return x.State } return v1.RESOURCE_STATE_UNSPECIFIED } -func (m *ExportSink) GetSpec() *ExportSinkSpec { - if m != nil { - return m.Spec +func (x *ExportSink) GetSpec() *ExportSinkSpec { + if x != nil { + return x.Spec } return nil } -func (m *ExportSink) GetHealth() ExportSink_Health { - if m != nil { - return m.Health +func (x *ExportSink) GetHealth() ExportSink_Health { + if x != nil { + return x.Health } return HEALTH_UNSPECIFIED } -func (m *ExportSink) GetErrorMessage() string { - if m != nil { - return m.ErrorMessage +func (x *ExportSink) GetErrorMessage() string { + if x != nil { + return x.ErrorMessage } return "" } -func (m *ExportSink) GetLatestDataExportTime() *types.Timestamp { - if m != nil { - return m.LatestDataExportTime +func (x *ExportSink) GetLatestDataExportTime() *timestamppb.Timestamp { + if x != nil { + return x.LatestDataExportTime } return nil } -func (m *ExportSink) GetLastHealthCheckTime() *types.Timestamp { - if m != nil { - return m.LastHealthCheckTime +func (x *ExportSink) GetLastHealthCheckTime() *timestamppb.Timestamp { + if x != nil { + return x.LastHealthCheckTime } return nil } // temporal:dev type MigrationSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the migration endpoint used for connecting // the self-hosted Temporal cluster to Temporal cloud. MigrationEndpointId string `protobuf:"bytes,1,opt,name=migration_endpoint_id,json=migrationEndpointId,proto3" json:"migration_endpoint_id,omitempty"` - // Types that are valid to be assigned to Spec: + // Types that are assignable to Spec: // // *MigrationSpec_ToCloudSpec // *MigrationSpec_ToSelfHostedSpec Spec isMigrationSpec_Spec `protobuf_oneof:"spec"` } -func (m *MigrationSpec) Reset() { *m = MigrationSpec{} } -func (*MigrationSpec) ProtoMessage() {} -func (*MigrationSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{17} -} -func (m *MigrationSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MigrationSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MigrationSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *MigrationSpec) Reset() { + *x = MigrationSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *MigrationSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_MigrationSpec.Merge(m, src) -} -func (m *MigrationSpec) XXX_Size() int { - return m.Size() -} -func (m *MigrationSpec) XXX_DiscardUnknown() { - xxx_messageInfo_MigrationSpec.DiscardUnknown(m) + +func (x *MigrationSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_MigrationSpec proto.InternalMessageInfo +func (*MigrationSpec) ProtoMessage() {} -type isMigrationSpec_Spec interface { - isMigrationSpec_Spec() - Equal(interface{}) bool - MarshalTo([]byte) (int, error) - Size() int +func (x *MigrationSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type MigrationSpec_ToCloudSpec struct { - ToCloudSpec *MigrationToCloudSpec `protobuf:"bytes,2,opt,name=to_cloud_spec,json=toCloudSpec,proto3,oneof" json:"to_cloud_spec,omitempty"` -} -type MigrationSpec_ToSelfHostedSpec struct { - ToSelfHostedSpec *MigrationToSelfHostedSpec `protobuf:"bytes,3,opt,name=to_self_hosted_spec,json=toSelfHostedSpec,proto3,oneof" json:"to_self_hosted_spec,omitempty"` +// Deprecated: Use MigrationSpec.ProtoReflect.Descriptor instead. +func (*MigrationSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{19} } -func (*MigrationSpec_ToCloudSpec) isMigrationSpec_Spec() {} -func (*MigrationSpec_ToSelfHostedSpec) isMigrationSpec_Spec() {} +func (x *MigrationSpec) GetMigrationEndpointId() string { + if x != nil { + return x.MigrationEndpointId + } + return "" +} func (m *MigrationSpec) GetSpec() isMigrationSpec_Spec { if m != nil { @@ -2041,145 +2239,159 @@ func (m *MigrationSpec) GetSpec() isMigrationSpec_Spec { return nil } -func (m *MigrationSpec) GetMigrationEndpointId() string { - if m != nil { - return m.MigrationEndpointId - } - return "" -} - -func (m *MigrationSpec) GetToCloudSpec() *MigrationToCloudSpec { - if x, ok := m.GetSpec().(*MigrationSpec_ToCloudSpec); ok { +func (x *MigrationSpec) GetToCloudSpec() *MigrationToCloudSpec { + if x, ok := x.GetSpec().(*MigrationSpec_ToCloudSpec); ok { return x.ToCloudSpec } return nil } -func (m *MigrationSpec) GetToSelfHostedSpec() *MigrationToSelfHostedSpec { - if x, ok := m.GetSpec().(*MigrationSpec_ToSelfHostedSpec); ok { +func (x *MigrationSpec) GetToSelfHostedSpec() *MigrationToSelfHostedSpec { + if x, ok := x.GetSpec().(*MigrationSpec_ToSelfHostedSpec); ok { return x.ToSelfHostedSpec } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*MigrationSpec) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*MigrationSpec_ToCloudSpec)(nil), - (*MigrationSpec_ToSelfHostedSpec)(nil), - } +type isMigrationSpec_Spec interface { + isMigrationSpec_Spec() +} + +type MigrationSpec_ToCloudSpec struct { + // Details for migration from self-hosted to cloud. + ToCloudSpec *MigrationToCloudSpec `protobuf:"bytes,2,opt,name=to_cloud_spec,json=toCloudSpec,proto3,oneof" json:"to_cloud_spec,omitempty"` +} + +type MigrationSpec_ToSelfHostedSpec struct { + ToSelfHostedSpec *MigrationToSelfHostedSpec `protobuf:"bytes,3,opt,name=to_self_hosted_spec,json=toSelfHostedSpec,proto3,oneof" json:"to_self_hosted_spec,omitempty"` } +func (*MigrationSpec_ToCloudSpec) isMigrationSpec_Spec() {} + +func (*MigrationSpec_ToSelfHostedSpec) isMigrationSpec_Spec() {} + // temporal:dev type MigrationToCloudSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The source namespace name for the migration. SourceNamespace string `protobuf:"bytes,1,opt,name=source_namespace,json=sourceNamespace,proto3" json:"source_namespace,omitempty"` // The target namespace name for the migration. TargetNamespace string `protobuf:"bytes,2,opt,name=target_namespace,json=targetNamespace,proto3" json:"target_namespace,omitempty"` } -func (m *MigrationToCloudSpec) Reset() { *m = MigrationToCloudSpec{} } -func (*MigrationToCloudSpec) ProtoMessage() {} -func (*MigrationToCloudSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{18} -} -func (m *MigrationToCloudSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MigrationToCloudSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MigrationToCloudSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *MigrationToCloudSpec) Reset() { + *x = MigrationToCloudSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *MigrationToCloudSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_MigrationToCloudSpec.Merge(m, src) -} -func (m *MigrationToCloudSpec) XXX_Size() int { - return m.Size() + +func (x *MigrationToCloudSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MigrationToCloudSpec) XXX_DiscardUnknown() { - xxx_messageInfo_MigrationToCloudSpec.DiscardUnknown(m) + +func (*MigrationToCloudSpec) ProtoMessage() {} + +func (x *MigrationToCloudSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_MigrationToCloudSpec proto.InternalMessageInfo +// Deprecated: Use MigrationToCloudSpec.ProtoReflect.Descriptor instead. +func (*MigrationToCloudSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{20} +} -func (m *MigrationToCloudSpec) GetSourceNamespace() string { - if m != nil { - return m.SourceNamespace +func (x *MigrationToCloudSpec) GetSourceNamespace() string { + if x != nil { + return x.SourceNamespace } return "" } -func (m *MigrationToCloudSpec) GetTargetNamespace() string { - if m != nil { - return m.TargetNamespace +func (x *MigrationToCloudSpec) GetTargetNamespace() string { + if x != nil { + return x.TargetNamespace } return "" } // temporal:dev type MigrationToSelfHostedSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The source namespace name for the migration. SourceNamespace string `protobuf:"bytes,1,opt,name=source_namespace,json=sourceNamespace,proto3" json:"source_namespace,omitempty"` // The target namespace name for the migration. TargetNamespace string `protobuf:"bytes,2,opt,name=target_namespace,json=targetNamespace,proto3" json:"target_namespace,omitempty"` } -func (m *MigrationToSelfHostedSpec) Reset() { *m = MigrationToSelfHostedSpec{} } -func (*MigrationToSelfHostedSpec) ProtoMessage() {} -func (*MigrationToSelfHostedSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{19} -} -func (m *MigrationToSelfHostedSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MigrationToSelfHostedSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MigrationToSelfHostedSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *MigrationToSelfHostedSpec) Reset() { + *x = MigrationToSelfHostedSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *MigrationToSelfHostedSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_MigrationToSelfHostedSpec.Merge(m, src) -} -func (m *MigrationToSelfHostedSpec) XXX_Size() int { - return m.Size() + +func (x *MigrationToSelfHostedSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MigrationToSelfHostedSpec) XXX_DiscardUnknown() { - xxx_messageInfo_MigrationToSelfHostedSpec.DiscardUnknown(m) + +func (*MigrationToSelfHostedSpec) ProtoMessage() {} + +func (x *MigrationToSelfHostedSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_MigrationToSelfHostedSpec proto.InternalMessageInfo +// Deprecated: Use MigrationToSelfHostedSpec.ProtoReflect.Descriptor instead. +func (*MigrationToSelfHostedSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{21} +} -func (m *MigrationToSelfHostedSpec) GetSourceNamespace() string { - if m != nil { - return m.SourceNamespace +func (x *MigrationToSelfHostedSpec) GetSourceNamespace() string { + if x != nil { + return x.SourceNamespace } return "" } -func (m *MigrationToSelfHostedSpec) GetTargetNamespace() string { - if m != nil { - return m.TargetNamespace +func (x *MigrationToSelfHostedSpec) GetTargetNamespace() string { + if x != nil { + return x.TargetNamespace } return "" } // temporal:dev type ReplicationEstimate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Estimated time remaining in seconds TimeRemainingSeconds int64 `protobuf:"varint,1,opt,name=time_remaining_seconds,json=timeRemainingSeconds,proto3" json:"time_remaining_seconds,omitempty"` // Number of workflows already replicated @@ -2190,68 +2402,72 @@ type ReplicationEstimate struct { Rate float64 `protobuf:"fixed64,4,opt,name=rate,proto3" json:"rate,omitempty"` } -func (m *ReplicationEstimate) Reset() { *m = ReplicationEstimate{} } -func (*ReplicationEstimate) ProtoMessage() {} -func (*ReplicationEstimate) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{20} -} -func (m *ReplicationEstimate) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ReplicationEstimate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ReplicationEstimate.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ReplicationEstimate) Reset() { + *x = ReplicationEstimate{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ReplicationEstimate) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReplicationEstimate.Merge(m, src) -} -func (m *ReplicationEstimate) XXX_Size() int { - return m.Size() + +func (x *ReplicationEstimate) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ReplicationEstimate) XXX_DiscardUnknown() { - xxx_messageInfo_ReplicationEstimate.DiscardUnknown(m) + +func (*ReplicationEstimate) ProtoMessage() {} + +func (x *ReplicationEstimate) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ReplicationEstimate proto.InternalMessageInfo +// Deprecated: Use ReplicationEstimate.ProtoReflect.Descriptor instead. +func (*ReplicationEstimate) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{22} +} -func (m *ReplicationEstimate) GetTimeRemainingSeconds() int64 { - if m != nil { - return m.TimeRemainingSeconds +func (x *ReplicationEstimate) GetTimeRemainingSeconds() int64 { + if x != nil { + return x.TimeRemainingSeconds } return 0 } -func (m *ReplicationEstimate) GetReplicatedCount() int64 { - if m != nil { - return m.ReplicatedCount +func (x *ReplicationEstimate) GetReplicatedCount() int64 { + if x != nil { + return x.ReplicatedCount } return 0 } -func (m *ReplicationEstimate) GetRemainingCount() int64 { - if m != nil { - return m.RemainingCount +func (x *ReplicationEstimate) GetRemainingCount() int64 { + if x != nil { + return x.RemainingCount } return 0 } -func (m *ReplicationEstimate) GetRate() float64 { - if m != nil { - return m.Rate +func (x *ReplicationEstimate) GetRate() float64 { + if x != nil { + return x.Rate } return 0 } // temporal:dev type Migration struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The unique id of this migration. MigrationId string `protobuf:"bytes,1,opt,name=migration_id,json=migrationId,proto3" json:"migration_id,omitempty"` // The MigrationSpec provided in the StartMigrationRequest. @@ -2262,108 +2478,116 @@ type Migration struct { Replicas []*MigrationReplica `protobuf:"bytes,4,rep,name=replicas,proto3" json:"replicas,omitempty"` // The number of workflows replicated. // Deprecated: Use replication_estimate.replicated_count instead. - ReplicatedWorkflows int64 `protobuf:"varint,5,opt,name=replicated_workflows,json=replicatedWorkflows,proto3" json:"replicated_workflows,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + ReplicatedWorkflows int64 `protobuf:"varint,5,opt,name=replicated_workflows,json=replicatedWorkflows,proto3" json:"replicated_workflows,omitempty"` // The number of workflows remaining. // Deprecated: Use replication_estimate.remaining_count instead. - ReplicatedWorkflowsRemaining int64 `protobuf:"varint,6,opt,name=replicated_workflows_remaining,json=replicatedWorkflowsRemaining,proto3" json:"replicated_workflows_remaining,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + ReplicatedWorkflowsRemaining int64 `protobuf:"varint,6,opt,name=replicated_workflows_remaining,json=replicatedWorkflowsRemaining,proto3" json:"replicated_workflows_remaining,omitempty"` // An error message if the migration failed. FailureMessage string `protobuf:"bytes,7,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"` // Detailed replication progress and estimates ReplicationEstimate *ReplicationEstimate `protobuf:"bytes,8,opt,name=replication_estimate,json=replicationEstimate,proto3" json:"replication_estimate,omitempty"` } -func (m *Migration) Reset() { *m = Migration{} } -func (*Migration) ProtoMessage() {} -func (*Migration) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{21} -} -func (m *Migration) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Migration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Migration.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Migration) Reset() { + *x = Migration{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Migration) XXX_Merge(src proto.Message) { - xxx_messageInfo_Migration.Merge(m, src) -} -func (m *Migration) XXX_Size() int { - return m.Size() + +func (x *Migration) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Migration) XXX_DiscardUnknown() { - xxx_messageInfo_Migration.DiscardUnknown(m) + +func (*Migration) ProtoMessage() {} + +func (x *Migration) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Migration proto.InternalMessageInfo +// Deprecated: Use Migration.ProtoReflect.Descriptor instead. +func (*Migration) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{23} +} -func (m *Migration) GetMigrationId() string { - if m != nil { - return m.MigrationId +func (x *Migration) GetMigrationId() string { + if x != nil { + return x.MigrationId } return "" } -func (m *Migration) GetSpec() *MigrationSpec { - if m != nil { - return m.Spec +func (x *Migration) GetSpec() *MigrationSpec { + if x != nil { + return x.Spec } return nil } -func (m *Migration) GetState() Migration_State { - if m != nil { - return m.State +func (x *Migration) GetState() Migration_State { + if x != nil { + return x.State } return STATE_MIGRATION_UNSPECIFIED } -func (m *Migration) GetReplicas() []*MigrationReplica { - if m != nil { - return m.Replicas +func (x *Migration) GetReplicas() []*MigrationReplica { + if x != nil { + return x.Replicas } return nil } // Deprecated: Do not use. -func (m *Migration) GetReplicatedWorkflows() int64 { - if m != nil { - return m.ReplicatedWorkflows +func (x *Migration) GetReplicatedWorkflows() int64 { + if x != nil { + return x.ReplicatedWorkflows } return 0 } // Deprecated: Do not use. -func (m *Migration) GetReplicatedWorkflowsRemaining() int64 { - if m != nil { - return m.ReplicatedWorkflowsRemaining +func (x *Migration) GetReplicatedWorkflowsRemaining() int64 { + if x != nil { + return x.ReplicatedWorkflowsRemaining } return 0 } -func (m *Migration) GetFailureMessage() string { - if m != nil { - return m.FailureMessage +func (x *Migration) GetFailureMessage() string { + if x != nil { + return x.FailureMessage } return "" } -func (m *Migration) GetReplicationEstimate() *ReplicationEstimate { - if m != nil { - return m.ReplicationEstimate +func (x *Migration) GetReplicationEstimate() *ReplicationEstimate { + if x != nil { + return x.ReplicationEstimate } return nil } // temporal:dev type MigrationReplica struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of this replica. Indicates whether the replica is on the source // or destination side of the migration. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` @@ -2371,10188 +2595,2103 @@ type MigrationReplica struct { State MigrationReplica_State `protobuf:"varint,2,opt,name=state,proto3,enum=temporal.api.cloud.namespace.v1.MigrationReplica_State" json:"state,omitempty"` } -func (m *MigrationReplica) Reset() { *m = MigrationReplica{} } -func (*MigrationReplica) ProtoMessage() {} -func (*MigrationReplica) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{22} -} -func (m *MigrationReplica) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MigrationReplica) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MigrationReplica.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *MigrationReplica) Reset() { + *x = MigrationReplica{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *MigrationReplica) XXX_Merge(src proto.Message) { - xxx_messageInfo_MigrationReplica.Merge(m, src) -} -func (m *MigrationReplica) XXX_Size() int { - return m.Size() + +func (x *MigrationReplica) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MigrationReplica) XXX_DiscardUnknown() { - xxx_messageInfo_MigrationReplica.DiscardUnknown(m) + +func (*MigrationReplica) ProtoMessage() {} + +func (x *MigrationReplica) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_MigrationReplica proto.InternalMessageInfo +// Deprecated: Use MigrationReplica.ProtoReflect.Descriptor instead. +func (*MigrationReplica) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{24} +} -func (m *MigrationReplica) GetId() string { - if m != nil { - return m.Id +func (x *MigrationReplica) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *MigrationReplica) GetState() MigrationReplica_State { - if m != nil { - return m.State +func (x *MigrationReplica) GetState() MigrationReplica_State { + if x != nil { + return x.State } return STATE_REPLICA_UNSPECIFIED } -func init() { - proto.RegisterEnum("temporal.api.cloud.namespace.v1.Capacity_Request_State", Capacity_Request_State_name, Capacity_Request_State_value) - proto.RegisterEnum("temporal.api.cloud.namespace.v1.NamespaceSpec_SearchAttributeType", NamespaceSpec_SearchAttributeType_name, NamespaceSpec_SearchAttributeType_value) - proto.RegisterEnum("temporal.api.cloud.namespace.v1.NamespaceRegionStatus_State", NamespaceRegionStatus_State_name, NamespaceRegionStatus_State_value) - proto.RegisterEnum("temporal.api.cloud.namespace.v1.ExportSink_Health", ExportSink_Health_name, ExportSink_Health_value) - proto.RegisterEnum("temporal.api.cloud.namespace.v1.Migration_State", Migration_State_name, Migration_State_value) - proto.RegisterEnum("temporal.api.cloud.namespace.v1.MigrationReplica_State", MigrationReplica_State_name, MigrationReplica_State_value) - proto.RegisterType((*CertificateFilterSpec)(nil), "temporal.api.cloud.namespace.v1.CertificateFilterSpec") - proto.RegisterType((*MtlsAuthSpec)(nil), "temporal.api.cloud.namespace.v1.MtlsAuthSpec") - proto.RegisterType((*ApiKeyAuthSpec)(nil), "temporal.api.cloud.namespace.v1.ApiKeyAuthSpec") - proto.RegisterType((*LifecycleSpec)(nil), "temporal.api.cloud.namespace.v1.LifecycleSpec") - proto.RegisterType((*CodecServerSpec)(nil), "temporal.api.cloud.namespace.v1.CodecServerSpec") - proto.RegisterType((*CodecServerSpec_CustomErrorMessage)(nil), "temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage") - proto.RegisterType((*CodecServerSpec_CustomErrorMessage_ErrorMessage)(nil), "temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage.ErrorMessage") - proto.RegisterType((*HighAvailabilitySpec)(nil), "temporal.api.cloud.namespace.v1.HighAvailabilitySpec") - proto.RegisterType((*CapacitySpec)(nil), "temporal.api.cloud.namespace.v1.CapacitySpec") - proto.RegisterType((*CapacitySpec_OnDemand)(nil), "temporal.api.cloud.namespace.v1.CapacitySpec.OnDemand") - proto.RegisterType((*CapacitySpec_Provisioned)(nil), "temporal.api.cloud.namespace.v1.CapacitySpec.Provisioned") - proto.RegisterType((*Capacity)(nil), "temporal.api.cloud.namespace.v1.Capacity") - proto.RegisterType((*Capacity_OnDemand)(nil), "temporal.api.cloud.namespace.v1.Capacity.OnDemand") - proto.RegisterType((*Capacity_Provisioned)(nil), "temporal.api.cloud.namespace.v1.Capacity.Provisioned") - proto.RegisterType((*Capacity_Request)(nil), "temporal.api.cloud.namespace.v1.Capacity.Request") - proto.RegisterType((*NamespaceSpec)(nil), "temporal.api.cloud.namespace.v1.NamespaceSpec") - proto.RegisterMapType((map[string]string)(nil), "temporal.api.cloud.namespace.v1.NamespaceSpec.CustomSearchAttributesEntry") - proto.RegisterMapType((map[string]NamespaceSpec_SearchAttributeType)(nil), "temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributesEntry") - proto.RegisterType((*Endpoints)(nil), "temporal.api.cloud.namespace.v1.Endpoints") - proto.RegisterType((*Limits)(nil), "temporal.api.cloud.namespace.v1.Limits") - proto.RegisterType((*AWSPrivateLinkInfo)(nil), "temporal.api.cloud.namespace.v1.AWSPrivateLinkInfo") - proto.RegisterType((*PrivateConnectivity)(nil), "temporal.api.cloud.namespace.v1.PrivateConnectivity") - proto.RegisterType((*Namespace)(nil), "temporal.api.cloud.namespace.v1.Namespace") - proto.RegisterMapType((map[string]*NamespaceRegionStatus)(nil), "temporal.api.cloud.namespace.v1.Namespace.RegionStatusEntry") - proto.RegisterMapType((map[string]string)(nil), "temporal.api.cloud.namespace.v1.Namespace.TagsEntry") - proto.RegisterType((*NamespaceRegionStatus)(nil), "temporal.api.cloud.namespace.v1.NamespaceRegionStatus") - proto.RegisterType((*ExportSinkSpec)(nil), "temporal.api.cloud.namespace.v1.ExportSinkSpec") - proto.RegisterType((*ExportSink)(nil), "temporal.api.cloud.namespace.v1.ExportSink") - proto.RegisterType((*MigrationSpec)(nil), "temporal.api.cloud.namespace.v1.MigrationSpec") - proto.RegisterType((*MigrationToCloudSpec)(nil), "temporal.api.cloud.namespace.v1.MigrationToCloudSpec") - proto.RegisterType((*MigrationToSelfHostedSpec)(nil), "temporal.api.cloud.namespace.v1.MigrationToSelfHostedSpec") - proto.RegisterType((*ReplicationEstimate)(nil), "temporal.api.cloud.namespace.v1.ReplicationEstimate") - proto.RegisterType((*Migration)(nil), "temporal.api.cloud.namespace.v1.Migration") - proto.RegisterType((*MigrationReplica)(nil), "temporal.api.cloud.namespace.v1.MigrationReplica") -} - -func init() { - proto.RegisterFile("temporal/api/cloud/namespace/v1/message.proto", fileDescriptor_4ea8dce281a9b52e) -} - -var fileDescriptor_4ea8dce281a9b52e = []byte{ - // 3141 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x5a, 0xcd, 0x73, 0x1b, 0x47, - 0x76, 0xe7, 0x00, 0xfc, 0xc2, 0x03, 0x48, 0x8e, 0x9a, 0x1f, 0x86, 0x60, 0x09, 0x92, 0x20, 0xcb, - 0x92, 0x15, 0x1b, 0xb4, 0x28, 0x29, 0x96, 0x69, 0xa7, 0x5c, 0x20, 0x30, 0x24, 0x61, 0x93, 0x04, - 0x34, 0x00, 0x25, 0x2b, 0x29, 0xd7, 0xd4, 0x70, 0xd0, 0x04, 0xdb, 0x1c, 0xcc, 0xc0, 0xd3, 0x03, - 0x32, 0x8c, 0x2f, 0xa9, 0x5c, 0x9c, 0x43, 0x0e, 0x39, 0x24, 0xa7, 0x5c, 0x52, 0x95, 0x43, 0x3e, - 0x2a, 0xb7, 0x9c, 0x93, 0x43, 0xb6, 0xb6, 0x76, 0x8f, 0x3e, 0xba, 0x76, 0xab, 0xb6, 0xd6, 0x72, - 0x6d, 0xd5, 0xd6, 0x5e, 0xd6, 0xff, 0xc0, 0x56, 0x6d, 0xf5, 0xc7, 0x0c, 0x06, 0xe0, 0x50, 0x00, - 0xbd, 0xbb, 0xb7, 0xe9, 0xf7, 0xf1, 0xeb, 0xd7, 0xaf, 0x5f, 0xbf, 0xf7, 0xba, 0x01, 0x78, 0xc7, - 0xc7, 0x9d, 0xae, 0xeb, 0x99, 0xf6, 0xaa, 0xd9, 0x25, 0xab, 0x96, 0xed, 0xf6, 0x5a, 0xab, 0x8e, - 0xd9, 0xc1, 0xb4, 0x6b, 0x5a, 0x78, 0xf5, 0xe4, 0xc1, 0x6a, 0x07, 0x53, 0x6a, 0xb6, 0x71, 0xb1, - 0xeb, 0xb9, 0xbe, 0x8b, 0x6e, 0x04, 0xe2, 0x45, 0xb3, 0x4b, 0x8a, 0x5c, 0xbc, 0x18, 0x8a, 0x17, - 0x4f, 0x1e, 0xe4, 0xde, 0x8e, 0xc1, 0xf3, 0x30, 0x75, 0x7b, 0x5e, 0x0c, 0x5c, 0xee, 0x46, 0xdb, - 0x75, 0xdb, 0x36, 0x5e, 0xe5, 0xa3, 0x83, 0xde, 0xe1, 0xaa, 0x4f, 0x3a, 0x98, 0xfa, 0x66, 0xa7, - 0x2b, 0x05, 0xee, 0xc5, 0xc0, 0x51, 0xe2, 0x1c, 0x9f, 0x87, 0x7a, 0x14, 0x23, 0x69, 0xb9, 0x8e, - 0x83, 0x2d, 0x9f, 0x9c, 0x10, 0xff, 0xcc, 0xeb, 0xd9, 0xe7, 0x0d, 0x28, 0xfc, 0x44, 0x81, 0xe5, - 0x32, 0xf6, 0x7c, 0x72, 0x48, 0x2c, 0xd3, 0xc7, 0x9b, 0xc4, 0xf6, 0xb1, 0xd7, 0xe8, 0x62, 0x0b, - 0xdd, 0x80, 0xb4, 0xe5, 0x76, 0x3a, 0xae, 0x63, 0xb0, 0xf5, 0x65, 0x95, 0x9b, 0xca, 0xbd, 0x94, - 0x0e, 0x82, 0xb4, 0x67, 0x76, 0x30, 0x2a, 0x40, 0xc6, 0xf5, 0xda, 0xa6, 0x43, 0xfe, 0xc6, 0xf4, - 0x89, 0xeb, 0x64, 0x13, 0x5c, 0x62, 0x80, 0x86, 0x56, 0x61, 0x31, 0x3a, 0x36, 0x6d, 0xa3, 0xe7, - 0x10, 0x3f, 0x9b, 0xe4, 0xa2, 0x68, 0x90, 0xb5, 0xef, 0x10, 0x1f, 0x3d, 0x81, 0x2c, 0xed, 0x1d, - 0x7c, 0x8e, 0x2d, 0xdf, 0x30, 0x99, 0x29, 0x8e, 0xe9, 0x93, 0x13, 0x2c, 0x4c, 0x98, 0xe4, 0x5a, - 0x2b, 0x92, 0x5f, 0xea, 0xb3, 0x99, 0x39, 0x85, 0xbf, 0x4b, 0x40, 0x66, 0xd7, 0xb7, 0x69, 0xa9, - 0xe7, 0x1f, 0xf1, 0x05, 0x94, 0xe0, 0xba, 0x69, 0x59, 0xb8, 0xeb, 0xe3, 0x96, 0x61, 0xd9, 0x04, - 0x3b, 0xbe, 0x61, 0x99, 0x46, 0x0b, 0x77, 0x3d, 0xcc, 0x96, 0xda, 0x92, 0x4b, 0xca, 0x05, 0x42, - 0x65, 0x2e, 0x53, 0x36, 0x2b, 0xa1, 0x04, 0x7a, 0x1b, 0xd0, 0x79, 0x08, 0x6e, 0x47, 0x46, 0x57, - 0x87, 0xf5, 0x50, 0x1b, 0x16, 0xad, 0xbe, 0x2b, 0x8d, 0x43, 0xee, 0x4b, 0x9a, 0x4d, 0xdc, 0x4c, - 0xde, 0x4b, 0xaf, 0xfd, 0x79, 0x71, 0x44, 0xe4, 0x14, 0x63, 0xb7, 0x41, 0x47, 0xd6, 0x30, 0x99, - 0xa2, 0x2c, 0xcc, 0x60, 0xc7, 0x3c, 0xb0, 0x71, 0x8b, 0x7b, 0x72, 0x56, 0x0f, 0x86, 0x85, 0xfb, - 0x30, 0x5f, 0xea, 0x92, 0x4f, 0xf0, 0x59, 0xe8, 0x85, 0x88, 0xac, 0x32, 0x28, 0x5b, 0x85, 0xb9, - 0x1d, 0x72, 0x88, 0xad, 0x33, 0xcb, 0xc6, 0x5c, 0xf4, 0x09, 0x64, 0x05, 0xcf, 0x68, 0x61, 0x1b, - 0xfb, 0xd8, 0x60, 0x21, 0xc2, 0xc2, 0xc7, 0x75, 0xa4, 0xee, 0x8a, 0xe0, 0x57, 0x38, 0xbb, 0x1e, - 0x72, 0x0b, 0x3f, 0x4b, 0xc2, 0x42, 0xd9, 0x6d, 0x61, 0xab, 0x81, 0xbd, 0x13, 0x19, 0x3f, 0x39, - 0x98, 0xc5, 0x4e, 0xab, 0xeb, 0x12, 0xc7, 0x97, 0x9e, 0x0e, 0xc7, 0xe8, 0x3e, 0x5c, 0xe9, 0x9a, - 0x94, 0x1a, 0xcc, 0x85, 0x94, 0x1a, 0xbe, 0x7b, 0x8c, 0x45, 0xfc, 0xcc, 0xea, 0x0b, 0x8c, 0x51, - 0xe2, 0xf4, 0x26, 0x23, 0xa3, 0x2d, 0xb8, 0x49, 0x1c, 0xcb, 0xee, 0xb5, 0xb0, 0x61, 0x79, 0x2e, - 0xa5, 0x86, 0xeb, 0x91, 0x36, 0x71, 0x0c, 0xcb, 0xc3, 0x2d, 0xec, 0xf8, 0xc4, 0xb4, 0xa9, 0xf4, - 0xc2, 0x75, 0x29, 0x57, 0x66, 0x62, 0x35, 0x2e, 0x55, 0xee, 0x0b, 0xa1, 0x1e, 0x2c, 0x59, 0x3d, - 0xea, 0xbb, 0x1d, 0x03, 0x7b, 0x9e, 0xeb, 0x19, 0xf2, 0x20, 0xf0, 0xed, 0x4c, 0xaf, 0x95, 0x47, - 0xef, 0xcf, 0xe0, 0x02, 0x8b, 0x65, 0x0e, 0xa6, 0x31, 0xac, 0x5d, 0x01, 0xa5, 0x23, 0xeb, 0x1c, - 0x2d, 0xf7, 0x7f, 0x0a, 0xa0, 0xf3, 0xa2, 0xe8, 0x73, 0x98, 0x69, 0xe1, 0x43, 0xb3, 0x67, 0x0b, - 0xef, 0xa4, 0xd7, 0xea, 0x7f, 0x04, 0x03, 0x8a, 0x03, 0xd6, 0x04, 0x13, 0xe4, 0x3e, 0x84, 0xcc, - 0xc0, 0xdc, 0x59, 0x98, 0x09, 0x16, 0x2f, 0x76, 0x26, 0x18, 0x22, 0x04, 0x93, 0x36, 0x71, 0x8e, - 0xe5, 0x59, 0xe6, 0xdf, 0x85, 0x3a, 0x2c, 0x6d, 0x93, 0xf6, 0x51, 0xe9, 0xc4, 0x24, 0xb6, 0x79, - 0x40, 0x6c, 0xe2, 0x9f, 0x05, 0xe1, 0xd2, 0x22, 0x94, 0xc7, 0x4b, 0xc7, 0x74, 0xcc, 0x36, 0x6e, - 0x19, 0x87, 0x26, 0xb1, 0xdd, 0x13, 0xec, 0x05, 0xe1, 0x22, 0xf9, 0xbb, 0x82, 0xbd, 0x29, 0xb9, - 0x85, 0xdf, 0x29, 0x90, 0x29, 0x9b, 0x5d, 0xd3, 0x0a, 0xa0, 0xf6, 0x21, 0xe5, 0x3a, 0x46, 0x0b, - 0x77, 0x4c, 0xa7, 0x25, 0xdd, 0x31, 0xc6, 0x79, 0x89, 0x20, 0x14, 0x6b, 0x4e, 0x85, 0x6b, 0x6f, - 0x4f, 0xe8, 0xb3, 0xae, 0xfc, 0x46, 0x9f, 0x41, 0xba, 0xeb, 0xb9, 0x27, 0x84, 0x12, 0xd7, 0xc1, - 0x2d, 0xbe, 0xa8, 0xf4, 0xda, 0xfb, 0x97, 0x03, 0xae, 0xf7, 0x01, 0xb6, 0x27, 0xf4, 0x28, 0x5e, - 0x0e, 0x60, 0x36, 0x98, 0x36, 0x77, 0x1b, 0xd2, 0x11, 0x49, 0xb4, 0x04, 0x53, 0x27, 0xa6, 0xdd, - 0x13, 0xfe, 0x55, 0x74, 0x31, 0xd8, 0x98, 0x86, 0x49, 0xda, 0xc5, 0x56, 0xe1, 0x47, 0xd3, 0x30, - 0x1b, 0x4c, 0x82, 0x9e, 0x9e, 0x5f, 0xfb, 0xda, 0xd8, 0x26, 0xc6, 0xaf, 0xfb, 0x45, 0xdc, 0xba, - 0x1f, 0x8f, 0x0f, 0x7a, 0xf1, 0x9a, 0xd1, 0xa7, 0x30, 0x6f, 0x9b, 0x3e, 0xa6, 0xbe, 0xe1, 0xe1, - 0x2f, 0x7a, 0x98, 0x8a, 0x5c, 0x9e, 0x5e, 0x7b, 0x30, 0x3e, 0xba, 0x2e, 0x14, 0xf5, 0x39, 0x01, - 0x24, 0x87, 0x03, 0xde, 0x5c, 0x1b, 0xf4, 0xe6, 0x6d, 0x98, 0xb3, 0x7a, 0x9e, 0xc7, 0xd2, 0x6f, - 0xd4, 0xab, 0x19, 0x49, 0x7c, 0xc6, 0x68, 0xb9, 0x5f, 0x24, 0x61, 0x46, 0x62, 0xa1, 0x5d, 0x98, - 0xa2, 0xbe, 0xe9, 0x0b, 0xc1, 0xf9, 0xb5, 0xf7, 0x2e, 0x6d, 0x5c, 0xb1, 0xc1, 0xd4, 0x75, 0x81, - 0x82, 0xde, 0x07, 0xa0, 0xbe, 0xe9, 0xf9, 0x06, 0xab, 0xce, 0xd2, 0x9d, 0xb9, 0xa2, 0x28, 0xdd, - 0xc5, 0xa0, 0x74, 0x17, 0x9b, 0x41, 0xe9, 0xd6, 0x53, 0x5c, 0x9a, 0x8d, 0xd1, 0x63, 0x9e, 0x05, - 0x85, 0x62, 0x72, 0xa4, 0xe2, 0x0c, 0x76, 0x5a, 0x5c, 0x8d, 0x15, 0x1e, 0x7a, 0xe6, 0x58, 0x86, - 0xdb, 0xc5, 0x1e, 0xaf, 0x8f, 0x06, 0x69, 0xc9, 0x02, 0xa8, 0x72, 0x4e, 0x2d, 0x60, 0x54, 0x5b, - 0xa8, 0x24, 0xe2, 0x2a, 0x3b, 0xc5, 0x27, 0x78, 0xe7, 0x52, 0x01, 0xae, 0x8b, 0x90, 0xfc, 0x57, - 0x05, 0xa6, 0xf8, 0x9a, 0xd1, 0x9b, 0x50, 0x68, 0x34, 0x4b, 0x4d, 0xcd, 0x28, 0x97, 0xea, 0xa5, - 0x72, 0xb5, 0xf9, 0xc2, 0xd0, 0xb5, 0xa7, 0xfb, 0x5a, 0xa3, 0x69, 0xec, 0xef, 0x35, 0xea, 0x5a, - 0xb9, 0xba, 0x59, 0xd5, 0x2a, 0xea, 0x04, 0x7a, 0x03, 0x6e, 0x5e, 0x20, 0x57, 0xae, 0xed, 0xd6, - 0x77, 0xb4, 0xa6, 0x56, 0x51, 0x95, 0x57, 0xa0, 0x55, 0xf7, 0x8c, 0xba, 0x5e, 0xdb, 0xd2, 0xb5, - 0x46, 0x43, 0x4d, 0xa0, 0x5b, 0x70, 0xfd, 0x02, 0xb9, 0xcd, 0x52, 0x75, 0x47, 0xab, 0xa8, 0xc9, - 0x8d, 0x79, 0x08, 0x36, 0xdc, 0xe8, 0xb8, 0x2d, 0x5c, 0xf8, 0xa7, 0x34, 0xcc, 0xed, 0x05, 0xcb, - 0xe2, 0x69, 0x04, 0xc1, 0x64, 0xa4, 0x57, 0xe1, 0xdf, 0x2c, 0xd7, 0x79, 0xb8, 0x4d, 0x5c, 0x47, - 0x14, 0xe2, 0x94, 0x1e, 0x0c, 0xd1, 0x1d, 0x98, 0xf7, 0xb0, 0xcf, 0xaa, 0x03, 0x3b, 0x7f, 0xe6, - 0x99, 0x28, 0x23, 0x53, 0xfa, 0x5c, 0x48, 0xad, 0x98, 0x67, 0x14, 0x7d, 0x0c, 0xa9, 0x8e, 0x6f, - 0x53, 0xc3, 0xec, 0xf9, 0x47, 0xb2, 0x56, 0x8c, 0xf6, 0x70, 0xb4, 0x11, 0xd1, 0x67, 0x3b, 0x72, - 0x84, 0x9e, 0x42, 0xc6, 0xec, 0x12, 0xe3, 0x18, 0x9f, 0x09, 0xb8, 0x19, 0x0e, 0xb7, 0x3a, 0x12, - 0x6e, 0xb0, 0xa6, 0xeb, 0x60, 0x86, 0x63, 0xf4, 0xf7, 0x0a, 0x64, 0x65, 0x59, 0xa3, 0xd8, 0xf4, - 0xac, 0x23, 0xc3, 0xf4, 0x7d, 0x8f, 0x1c, 0xf4, 0x7c, 0x4c, 0xb3, 0x53, 0xbc, 0xf5, 0xf8, 0x78, - 0x24, 0xfe, 0x80, 0x1b, 0x65, 0x5d, 0x69, 0x70, 0xb4, 0x52, 0x08, 0xa6, 0x39, 0xbe, 0x77, 0xb6, - 0x91, 0xc8, 0x2a, 0xfa, 0x8a, 0x15, 0x2b, 0x80, 0xbe, 0x80, 0x2b, 0xe7, 0x4d, 0x98, 0xe5, 0x26, - 0x54, 0x2e, 0x69, 0x42, 0xec, 0xe4, 0xba, 0x4a, 0x87, 0xa7, 0x6c, 0x40, 0xc6, 0x62, 0x55, 0xd1, - 0xa0, 0xbc, 0x2c, 0x66, 0xa7, 0xb9, 0x43, 0xdf, 0xbd, 0x6c, 0x29, 0xd5, 0xd3, 0x56, 0x9f, 0x80, - 0x76, 0x20, 0x65, 0x07, 0x8d, 0x51, 0x36, 0xc5, 0x11, 0x8b, 0x23, 0x11, 0x07, 0x5a, 0x29, 0xbd, - 0x0f, 0x80, 0x0e, 0xe0, 0xca, 0x11, 0x69, 0x1f, 0x19, 0x66, 0xa4, 0x7e, 0x66, 0x61, 0xcc, 0x94, - 0x1c, 0x57, 0x78, 0x75, 0xf5, 0x68, 0x88, 0x8a, 0xd6, 0x60, 0x39, 0xda, 0xea, 0x1b, 0xac, 0xd7, - 0x37, 0x48, 0x8b, 0x66, 0xd3, 0x3c, 0xe4, 0x17, 0xa3, 0x4c, 0xbd, 0x67, 0xe3, 0x6a, 0x8b, 0x22, - 0x1d, 0xe6, 0x2c, 0x99, 0x07, 0x0c, 0x9e, 0x3d, 0x32, 0x3f, 0x24, 0x7b, 0x64, 0xac, 0xc8, 0x28, - 0x57, 0x85, 0xd7, 0x5f, 0x11, 0x3c, 0x48, 0x85, 0xe4, 0x31, 0x3e, 0x93, 0xc7, 0x93, 0x7d, 0xf6, - 0xeb, 0xa4, 0x68, 0x38, 0xc4, 0x60, 0x3d, 0xf1, 0x44, 0xc9, 0x7d, 0xa5, 0xc0, 0xf2, 0xb8, 0x28, - 0x9f, 0x46, 0x51, 0xe6, 0xd7, 0x36, 0xfe, 0xb0, 0x60, 0x6b, 0x9e, 0x75, 0x71, 0xc4, 0x92, 0xc2, - 0x7f, 0x27, 0x60, 0x31, 0x46, 0x04, 0xdd, 0x81, 0x5b, 0x0d, 0xad, 0xa4, 0x97, 0xb7, 0x8d, 0x52, - 0xb3, 0xa9, 0x57, 0x37, 0xf6, 0x9b, 0x9a, 0xd1, 0x7c, 0x51, 0xd7, 0x86, 0xf2, 0x64, 0x1e, 0x72, - 0xf1, 0x62, 0x4d, 0xed, 0xd3, 0xa6, 0xaa, 0xf0, 0xcc, 0x17, 0xcb, 0xff, 0x44, 0x7b, 0xf1, 0xbc, - 0xa6, 0x57, 0xd4, 0x04, 0xba, 0x0e, 0x57, 0xe3, 0x45, 0xaa, 0x7b, 0x4d, 0x35, 0x89, 0x6e, 0xc2, - 0xb5, 0x78, 0x76, 0xa5, 0xb6, 0xbf, 0xb1, 0xa3, 0xa9, 0x93, 0x17, 0xdb, 0xb0, 0x51, 0xab, 0xed, - 0xa8, 0x53, 0xa8, 0x00, 0xf9, 0x0b, 0x10, 0x4a, 0x4d, 0xad, 0x59, 0xdd, 0xd5, 0xd4, 0x69, 0x9e, - 0xc9, 0x5f, 0x65, 0xa7, 0xb1, 0x53, 0x6d, 0x34, 0xd5, 0x99, 0xc2, 0x97, 0x90, 0xd2, 0x64, 0x9f, - 0x4f, 0xd9, 0x25, 0xf2, 0x14, 0x1f, 0x18, 0x66, 0xab, 0xe5, 0x61, 0x4a, 0x83, 0x4b, 0xe4, 0x29, - 0x3e, 0x28, 0x09, 0x0a, 0xbb, 0x09, 0xf0, 0xec, 0xda, 0xf6, 0xba, 0x56, 0x28, 0x26, 0x82, 0x61, - 0x81, 0x31, 0xb6, 0xbc, 0xae, 0x15, 0xc8, 0xde, 0x82, 0xcc, 0x80, 0x98, 0xb8, 0x45, 0xa6, 0xdb, - 0x7d, 0x91, 0xc2, 0xff, 0x2a, 0x30, 0xbd, 0x43, 0x3a, 0xc4, 0xa7, 0xe8, 0x3d, 0xc8, 0x9a, 0xfc, - 0x76, 0x42, 0x8d, 0x2e, 0xf6, 0x0c, 0x8a, 0x2d, 0xd7, 0x69, 0x19, 0x36, 0x63, 0x72, 0x3b, 0xa6, - 0xf4, 0x65, 0xc9, 0xaf, 0x63, 0xaf, 0xc1, 0xb9, 0x5c, 0x13, 0xbd, 0x0f, 0x57, 0x65, 0x6f, 0x13, - 0xa3, 0x99, 0xe0, 0x9a, 0x2b, 0x81, 0xc0, 0x90, 0xea, 0x47, 0x70, 0xcd, 0x72, 0x9d, 0xa0, 0x4a, - 0xf9, 0x26, 0x3d, 0x36, 0xba, 0xae, 0x6d, 0x63, 0x4f, 0x6a, 0x8b, 0x02, 0x73, 0xb5, 0x2f, 0xd3, - 0x34, 0xe9, 0x71, 0x9d, 0x4b, 0x70, 0x80, 0xc2, 0x57, 0x0a, 0xa0, 0xd2, 0xf3, 0x46, 0xdd, 0x23, - 0x27, 0xa6, 0x8f, 0x77, 0x88, 0x73, 0x5c, 0x75, 0x0e, 0x5d, 0xf4, 0x08, 0x56, 0x4c, 0xdb, 0x76, - 0x4f, 0x71, 0xcb, 0xe8, 0x7a, 0xc4, 0xb1, 0x48, 0xd7, 0xb4, 0x0d, 0xd3, 0x73, 0x98, 0x47, 0xd9, - 0x01, 0x5f, 0x92, 0xdc, 0x7a, 0xc0, 0x2c, 0x79, 0x0e, 0x45, 0x1f, 0x40, 0xee, 0xa4, 0x6b, 0x19, - 0xc1, 0xad, 0x8b, 0xe7, 0x48, 0x62, 0x89, 0xcb, 0x74, 0x50, 0x0d, 0x5f, 0x3b, 0xe9, 0x5a, 0xc1, - 0x76, 0x35, 0x04, 0x9f, 0x1f, 0x8e, 0xc2, 0x3f, 0x28, 0xb0, 0x28, 0xcd, 0x28, 0x47, 0xb2, 0x07, - 0x5a, 0x81, 0x69, 0x51, 0x40, 0xe5, 0x66, 0xca, 0x11, 0xfa, 0x0c, 0x54, 0xf3, 0x94, 0x32, 0xf3, - 0x98, 0x8a, 0x11, 0xde, 0x22, 0xd2, 0x6b, 0x0f, 0x47, 0x97, 0xb7, 0x73, 0x2b, 0xd6, 0xe7, 0xcd, - 0x53, 0x1a, 0xa1, 0x15, 0x7e, 0x9b, 0x82, 0x54, 0x78, 0x6a, 0xd1, 0x35, 0x48, 0x85, 0x00, 0xd2, - 0x8e, 0x3e, 0x01, 0xbd, 0x05, 0x6a, 0xf0, 0xe2, 0x62, 0x9c, 0x60, 0x8f, 0xf6, 0x1f, 0x27, 0x16, - 0x02, 0xfa, 0x33, 0x41, 0x46, 0x1b, 0xb2, 0x73, 0x4a, 0x8e, 0x99, 0xe5, 0x07, 0x12, 0x87, 0x68, - 0x9d, 0xd0, 0x3b, 0xa0, 0xf2, 0x36, 0x31, 0xfa, 0xb4, 0xc0, 0x3b, 0x35, 0x5e, 0x2c, 0x17, 0x38, - 0x2f, 0xf2, 0xa6, 0x50, 0x0e, 0x7a, 0xd3, 0x39, 0x9e, 0xac, 0x62, 0xf3, 0x6d, 0x60, 0x26, 0x9b, - 0x52, 0x97, 0xdf, 0x03, 0x1d, 0x69, 0x7c, 0x7f, 0x38, 0x75, 0x41, 0x7f, 0xb8, 0x0d, 0xa9, 0x20, - 0x08, 0xa8, 0x2c, 0x91, 0xf7, 0x47, 0x2e, 0x35, 0x3c, 0xc4, 0x7a, 0x5f, 0x99, 0x75, 0xe2, 0xec, - 0xd0, 0x9c, 0x60, 0x43, 0x06, 0xc1, 0x8c, 0x78, 0xf4, 0x11, 0x44, 0x5d, 0x84, 0xc2, 0x47, 0x30, - 0xcd, 0xc3, 0x9d, 0x15, 0x7f, 0x36, 0xd7, 0xdd, 0x31, 0x8a, 0x27, 0x13, 0xd7, 0xa5, 0x1a, 0x3a, - 0x86, 0x95, 0x20, 0x8e, 0x22, 0x95, 0x8b, 0x60, 0x9a, 0x4d, 0xf1, 0x6e, 0xe2, 0xd1, 0x48, 0xc0, - 0x98, 0xc8, 0xd5, 0x97, 0xbb, 0xe7, 0x88, 0x04, 0x53, 0xf4, 0x17, 0x90, 0xb1, 0x3c, 0xcc, 0xb6, - 0x46, 0x74, 0xe9, 0x30, 0xb2, 0x4b, 0x4f, 0x4b, 0x79, 0xde, 0xa9, 0x6f, 0x03, 0xb2, 0x4d, 0xca, - 0x5b, 0x52, 0x72, 0x48, 0x02, 0x90, 0xf4, 0x48, 0x10, 0x95, 0x69, 0xed, 0x4a, 0x25, 0x8e, 0x64, - 0xc2, 0x9c, 0x70, 0xaa, 0xc1, 0xf6, 0xb8, 0x47, 0xb3, 0x19, 0xbe, 0xd8, 0x0f, 0xc7, 0x0f, 0xca, - 0xa2, 0xd8, 0x80, 0x06, 0x57, 0x17, 0x2d, 0x53, 0xc6, 0x8b, 0x90, 0x50, 0x1b, 0xd0, 0xb9, 0x3e, - 0x81, 0x66, 0xe7, 0xf9, 0x3c, 0x4f, 0xe2, 0xe6, 0x19, 0x7e, 0x40, 0x14, 0xbd, 0xd3, 0x60, 0x33, - 0xa1, 0x5f, 0x19, 0x6e, 0x2f, 0x28, 0xda, 0x86, 0x49, 0xdf, 0x6c, 0xd3, 0xec, 0xc2, 0x98, 0xfb, - 0xd5, 0x5f, 0x42, 0xd3, 0x6c, 0x4b, 0xd3, 0x39, 0x02, 0xd2, 0x60, 0x36, 0x68, 0x31, 0xb2, 0x2a, - 0xf7, 0xea, 0x5b, 0x63, 0x77, 0x28, 0x7a, 0xa8, 0x9a, 0x3b, 0x85, 0x2b, 0xe7, 0x9c, 0x13, 0xd3, - 0x49, 0xec, 0x44, 0x3b, 0x89, 0x71, 0x1e, 0x21, 0x42, 0xc3, 0xa3, 0xe8, 0xd1, 0x3e, 0xe6, 0x3d, - 0x48, 0x85, 0x4b, 0xba, 0x4c, 0x03, 0x54, 0xf8, 0x71, 0x02, 0x96, 0x63, 0xd1, 0x63, 0x13, 0x8e, - 0x72, 0x71, 0xc2, 0xd1, 0x83, 0x84, 0x93, 0xe4, 0x09, 0xe7, 0xc3, 0x1f, 0xb6, 0xa6, 0xe2, 0x18, - 0xf9, 0x27, 0x11, 0x9f, 0x7f, 0x0a, 0x5f, 0x06, 0x77, 0xcb, 0x65, 0xb8, 0x22, 0x6e, 0x79, 0x83, - 0x2d, 0x92, 0x0a, 0x19, 0x41, 0x2e, 0x55, 0x2a, 0xd5, 0xbd, 0x2d, 0x55, 0x89, 0x50, 0xca, 0xcd, - 0xea, 0x33, 0x4d, 0x4d, 0xa0, 0x2b, 0x30, 0x27, 0x28, 0xf5, 0x52, 0xa3, 0xc1, 0x48, 0x49, 0x84, - 0x60, 0x5e, 0x90, 0x74, 0x6d, 0xb7, 0xf6, 0x8c, 0x29, 0x4e, 0xf6, 0x15, 0xe5, 0xb5, 0x71, 0xaa, - 0xf0, 0x9f, 0x0a, 0xcc, 0x6b, 0x7f, 0xdd, 0x75, 0x3d, 0xbf, 0x41, 0x9c, 0xe3, 0x57, 0xdd, 0x13, - 0x83, 0x77, 0xd2, 0xc4, 0xc0, 0x3b, 0x29, 0x5a, 0x83, 0x04, 0x7d, 0x28, 0x2b, 0x44, 0x21, 0xce, - 0x79, 0x94, 0x38, 0xc7, 0xcc, 0x6f, 0x8d, 0x87, 0xbc, 0x2a, 0x24, 0xe8, 0x43, 0xf4, 0x18, 0x92, - 0x6d, 0x8b, 0xca, 0xeb, 0xe2, 0xed, 0x57, 0x29, 0x6d, 0x95, 0x1b, 0x5c, 0x8b, 0xc9, 0x17, 0x7e, - 0x3e, 0x09, 0xd0, 0xb7, 0x35, 0xd6, 0xce, 0x4b, 0x14, 0xb7, 0xf2, 0xe0, 0xc6, 0xff, 0xb0, 0x4a, - 0x53, 0x96, 0x15, 0x72, 0x72, 0xcc, 0xab, 0xea, 0xa0, 0xab, 0x65, 0x89, 0xfc, 0x18, 0xa6, 0x8f, - 0xb0, 0x69, 0xfb, 0x47, 0xbc, 0x44, 0xcd, 0x8f, 0xf1, 0xc0, 0xd5, 0x87, 0x29, 0x6e, 0x73, 0x4d, - 0x5d, 0x22, 0xb0, 0x12, 0x34, 0xf8, 0x7e, 0x3b, 0x2d, 0x4a, 0x10, 0x8e, 0xbe, 0x70, 0x3e, 0x85, - 0xd7, 0xe4, 0x33, 0x55, 0xcb, 0xf4, 0x4d, 0x03, 0x73, 0x34, 0x91, 0x9a, 0x67, 0x46, 0xa6, 0xe6, - 0x25, 0xa1, 0x5a, 0x31, 0x7d, 0x53, 0x98, 0xc1, 0xd3, 0x73, 0x0d, 0x56, 0x78, 0xa2, 0x17, 0x66, - 0x18, 0xd6, 0x11, 0xb6, 0x8e, 0x05, 0xe2, 0xec, 0x48, 0xc4, 0x45, 0xa6, 0x29, 0xd6, 0x51, 0x66, - 0x7a, 0x8c, 0x53, 0x70, 0x61, 0x5a, 0x90, 0xd0, 0x0a, 0xa0, 0x6d, 0xad, 0xb4, 0xd3, 0xdc, 0x1e, - 0x3a, 0x17, 0x73, 0x90, 0x92, 0xf4, 0xda, 0x27, 0xaa, 0x82, 0xae, 0xc2, 0xb2, 0x1c, 0x6a, 0xba, - 0x5e, 0xd3, 0x59, 0xf7, 0xaf, 0xe9, 0x7b, 0xa5, 0x1d, 0x35, 0x81, 0x6e, 0xc3, 0x8d, 0x01, 0xd6, - 0x7e, 0x43, 0xd3, 0x8d, 0x72, 0x6d, 0x6f, 0xb3, 0xba, 0xb5, 0xaf, 0x97, 0x9a, 0xd5, 0xda, 0x9e, - 0x9a, 0x2c, 0xfc, 0x73, 0x02, 0xe6, 0x76, 0x49, 0x5b, 0x1c, 0x4b, 0x7e, 0x10, 0xd6, 0x60, 0xb9, - 0x13, 0x10, 0xfa, 0x7d, 0x22, 0x09, 0x7e, 0x1a, 0x59, 0x0c, 0x99, 0x41, 0x33, 0x50, 0x6d, 0xa1, - 0xbf, 0x82, 0x39, 0xdf, 0x35, 0xf8, 0x96, 0x89, 0x7b, 0xe3, 0xb8, 0xcf, 0x8b, 0xe1, 0xd4, 0x4d, - 0xb7, 0xcc, 0xb8, 0xcc, 0x82, 0xed, 0x09, 0x3d, 0xed, 0xf7, 0x87, 0xe8, 0x18, 0x16, 0x7d, 0xd7, - 0xa0, 0xd8, 0x3e, 0x34, 0x8e, 0x5c, 0xca, 0x6a, 0x72, 0xa4, 0x3d, 0x5b, 0xbf, 0xcc, 0x14, 0x0d, - 0x6c, 0x1f, 0x6e, 0x73, 0x08, 0x39, 0x8f, 0xea, 0x0f, 0xd1, 0xc2, 0xe7, 0x58, 0x1b, 0x96, 0xe2, - 0x6c, 0x63, 0x47, 0x4d, 0x1e, 0xb4, 0xe1, 0x66, 0x73, 0x41, 0xd0, 0xf7, 0xa2, 0x2d, 0xa7, 0x6f, - 0x7a, 0x6d, 0xec, 0x47, 0x44, 0xe5, 0xa9, 0x14, 0xf4, 0x50, 0xb4, 0xf0, 0x05, 0x5c, 0xbd, 0xd0, - 0xcc, 0x3f, 0xd1, 0x94, 0xff, 0xa3, 0xc0, 0xa2, 0x8e, 0xbb, 0x36, 0xb1, 0xc4, 0x66, 0x52, 0x9f, - 0x74, 0xd8, 0xd9, 0x7e, 0x04, 0x2b, 0x2c, 0x80, 0x0d, 0x0f, 0x77, 0x4c, 0xe2, 0x10, 0xa7, 0x2d, - 0xef, 0x3a, 0xe2, 0xa2, 0x96, 0xd4, 0x97, 0x18, 0x57, 0x0f, 0x98, 0xe2, 0xa2, 0x43, 0x45, 0x06, - 0x12, 0x60, 0xb8, 0x65, 0x58, 0x6e, 0xcf, 0x11, 0xd7, 0xa2, 0x24, 0xcb, 0x40, 0x01, 0xbd, 0xcc, - 0xc8, 0xe8, 0x2e, 0x2c, 0xf4, 0xb1, 0x85, 0x64, 0x92, 0x4b, 0xce, 0x87, 0x64, 0x21, 0x88, 0x60, - 0xd2, 0x63, 0x99, 0x6a, 0x92, 0x3f, 0xec, 0xf2, 0xef, 0xc2, 0xff, 0xcf, 0x40, 0x2a, 0xf4, 0x14, - 0xbb, 0xfc, 0xf5, 0x43, 0x35, 0x8c, 0xd0, 0x74, 0x48, 0xab, 0xb6, 0xc2, 0x66, 0x3e, 0x31, 0x66, - 0x33, 0x3f, 0x70, 0x16, 0x64, 0xa6, 0xda, 0x1c, 0xcc, 0x99, 0xef, 0x8e, 0x0f, 0x32, 0x58, 0x20, - 0x77, 0x61, 0x56, 0x3a, 0x83, 0x55, 0x81, 0xe4, 0x58, 0x2f, 0xe4, 0x21, 0x94, 0xdc, 0x2b, 0x3d, - 0x84, 0x40, 0x8f, 0x61, 0x29, 0xe2, 0xf3, 0x53, 0xd7, 0x3b, 0x3e, 0xb4, 0xdd, 0x53, 0xca, 0xd3, - 0x69, 0x92, 0x97, 0xfd, 0xc5, 0x3e, 0xff, 0x79, 0xc0, 0x46, 0xdb, 0x90, 0x8f, 0x53, 0xeb, 0x6f, - 0x38, 0x4f, 0x9e, 0x02, 0xe0, 0x5a, 0x0c, 0x40, 0xb8, 0xf7, 0x6c, 0x27, 0x0f, 0x4d, 0x62, 0xf7, - 0x3c, 0x1c, 0xe6, 0x5d, 0xd1, 0xfa, 0xcf, 0x4b, 0x72, 0x90, 0x79, 0xdb, 0x7d, 0x4b, 0x79, 0x52, - 0x91, 0xb1, 0x26, 0x93, 0xe4, 0xe8, 0x4e, 0x30, 0x26, 0x4e, 0xfb, 0x6b, 0x8b, 0x10, 0x0b, 0xff, - 0x96, 0x0c, 0xba, 0x8a, 0x1b, 0xf0, 0xba, 0xa8, 0xf9, 0xbb, 0xd5, 0x2d, 0x91, 0xec, 0x86, 0xf2, - 0xe8, 0x1d, 0xb8, 0x35, 0x2c, 0xd0, 0xff, 0x6a, 0x34, 0x4b, 0xba, 0x78, 0xab, 0xfe, 0x33, 0xb8, - 0x3b, 0x2c, 0xa6, 0x6b, 0xf5, 0x9d, 0x6a, 0x59, 0x7c, 0x0f, 0x3e, 0x58, 0xdf, 0x83, 0x37, 0x86, - 0x85, 0x9f, 0x97, 0xaa, 0xcd, 0xea, 0xde, 0x96, 0xb1, 0x59, 0xd3, 0x8d, 0xed, 0xd2, 0x5e, 0xa5, - 0xf6, 0x4c, 0xd3, 0xd5, 0x64, 0x9c, 0x64, 0xc0, 0x1d, 0xc0, 0x9c, 0x44, 0xf7, 0xe1, 0xcd, 0xf3, - 0x06, 0x94, 0x2a, 0x2f, 0x38, 0x22, 0xcf, 0xe6, 0xfa, 0xae, 0x48, 0xe6, 0x53, 0xe8, 0x1a, 0x64, - 0x87, 0x65, 0x83, 0x77, 0x77, 0x75, 0x1a, 0xe5, 0x60, 0x65, 0x98, 0x2b, 0x1b, 0xa2, 0x99, 0x38, - 0x6f, 0x94, 0x36, 0x6a, 0xfa, 0xe0, 0x8b, 0xfc, 0x2c, 0x7a, 0x1d, 0x5e, 0x8b, 0x15, 0xd3, 0x2a, - 0x6a, 0x0a, 0xdd, 0x85, 0xdb, 0xe7, 0x67, 0xe7, 0xf6, 0x0d, 0xa0, 0x40, 0xe1, 0x5f, 0x12, 0xa0, - 0x0e, 0xc7, 0x35, 0x9a, 0x87, 0x44, 0x78, 0x82, 0x13, 0xa4, 0xd5, 0xff, 0xb9, 0x26, 0x31, 0xe6, - 0xcf, 0x35, 0xc3, 0x88, 0x03, 0x67, 0xaf, 0xf0, 0xef, 0xe1, 0x6f, 0x19, 0xd7, 0xe1, 0x6a, 0xd0, - 0x21, 0xf2, 0x7d, 0x1c, 0x8a, 0x8b, 0x2c, 0x2c, 0x0d, 0xb2, 0x65, 0xb7, 0xa9, 0xf4, 0x7d, 0x14, - 0x70, 0x64, 0xd7, 0x69, 0xd4, 0xf6, 0x9b, 0x46, 0x6d, 0xd3, 0x68, 0xbc, 0xd8, 0x2b, 0x47, 0x7f, - 0xb5, 0x18, 0x16, 0xab, 0xee, 0x09, 0x91, 0x64, 0xdf, 0x8d, 0xe1, 0x1c, 0x1b, 0x6c, 0xf3, 0xf7, - 0xb4, 0x8a, 0x3a, 0xb9, 0xf1, 0x2b, 0xe5, 0xeb, 0x6f, 0xf3, 0x13, 0xdf, 0x7c, 0x9b, 0x9f, 0xf8, - 0xfe, 0xdb, 0xbc, 0xf2, 0xb7, 0x2f, 0xf3, 0xca, 0x7f, 0xbc, 0xcc, 0x2b, 0x3f, 0x7d, 0x99, 0x57, - 0xbe, 0x7e, 0x99, 0x57, 0x7e, 0xf9, 0x32, 0xaf, 0xfc, 0xfa, 0x65, 0x7e, 0xe2, 0xfb, 0x97, 0x79, - 0xe5, 0x1f, 0xbf, 0xcb, 0x4f, 0x7c, 0xfd, 0x5d, 0x7e, 0xe2, 0x9b, 0xef, 0xf2, 0x13, 0x50, 0x20, - 0xee, 0x28, 0x17, 0x6d, 0x64, 0xe4, 0x81, 0xac, 0xb3, 0x6e, 0xa4, 0xae, 0xfc, 0xe5, 0x6a, 0x3b, - 0xa2, 0x43, 0xdc, 0x0b, 0xfe, 0xed, 0xf2, 0x41, 0x38, 0xf8, 0xaf, 0xc4, 0xad, 0xa6, 0x14, 0x27, - 0x6e, 0xb1, 0xd4, 0x25, 0x45, 0x5e, 0x18, 0x23, 0x37, 0xb5, 0x67, 0x0f, 0x7e, 0x93, 0xb8, 0xd3, - 0x97, 0x59, 0x5f, 0x2f, 0x75, 0xc9, 0xfa, 0x3a, 0x97, 0x5a, 0x5f, 0x0f, 0xc5, 0xd6, 0xd7, 0x9f, - 0x3d, 0x38, 0x98, 0xe6, 0x3d, 0xd1, 0xc3, 0xdf, 0x07, 0x00, 0x00, 0xff, 0xff, 0x00, 0xa9, 0x86, - 0x67, 0x6d, 0x23, 0x00, 0x00, +// NamespaceCapacityInfo contains detailed capacity information for a namespace. +// This message uses nested types following the pattern established by Capacity and CapacitySpec. +// temporal:dev +type NamespaceCapacityInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The namespace identifier. + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + // Whether the namespace's APS limit was set by Temporal Support. + // When true, adjusting the namespace's capacity will reset this limit. + HasLegacyLimits bool `protobuf:"varint,2,opt,name=has_legacy_limits,json=hasLegacyLimits,proto3" json:"has_legacy_limits,omitempty"` + // The current capacity of the namespace. + // Includes the current mode (on-demand or provisioned) and latest request status. + CurrentCapacity *Capacity `protobuf:"bytes,3,opt,name=current_capacity,json=currentCapacity,proto3" json:"current_capacity,omitempty"` + // Available capacity mode options for this namespace. + // Contains configuration limits for both provisioned and on-demand modes. + ModeOptions *NamespaceCapacityInfo_CapacityModeOptions `protobuf:"bytes,4,opt,name=mode_options,json=modeOptions,proto3" json:"mode_options,omitempty"` + // Usage statistics for the namespace over the last 7 days. + // Used to calculate On-Demand capacity limits, also useful for capacity planning. + Stats *NamespaceCapacityInfo_Stats `protobuf:"bytes,5,opt,name=stats,proto3" json:"stats,omitempty"` } -func (x Capacity_Request_State) String() string { - s, ok := Capacity_Request_State_name[int32(x)] - if ok { - return s +func (x *NamespaceCapacityInfo) Reset() { + *x = NamespaceCapacityInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return strconv.Itoa(int(x)) } -func (x NamespaceSpec_SearchAttributeType) String() string { - s, ok := NamespaceSpec_SearchAttributeType_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) + +func (x *NamespaceCapacityInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x NamespaceRegionStatus_State) String() string { - s, ok := NamespaceRegionStatus_State_name[int32(x)] - if ok { - return s + +func (*NamespaceCapacityInfo) ProtoMessage() {} + +func (x *NamespaceCapacityInfo) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return strconv.Itoa(int(x)) + return mi.MessageOf(x) } -func (x ExportSink_Health) String() string { - s, ok := ExportSink_Health_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) + +// Deprecated: Use NamespaceCapacityInfo.ProtoReflect.Descriptor instead. +func (*NamespaceCapacityInfo) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{25} } -func (x Migration_State) String() string { - s, ok := Migration_State_name[int32(x)] - if ok { - return s + +func (x *NamespaceCapacityInfo) GetNamespace() string { + if x != nil { + return x.Namespace } - return strconv.Itoa(int(x)) + return "" } -func (x MigrationReplica_State) String() string { - s, ok := MigrationReplica_State_name[int32(x)] - if ok { - return s + +func (x *NamespaceCapacityInfo) GetHasLegacyLimits() bool { + if x != nil { + return x.HasLegacyLimits } - return strconv.Itoa(int(x)) + return false } -func (this *CertificateFilterSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CertificateFilterSpec) - if !ok { - that2, ok := that.(CertificateFilterSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.CommonName != that1.CommonName { - return false +func (x *NamespaceCapacityInfo) GetCurrentCapacity() *Capacity { + if x != nil { + return x.CurrentCapacity } - if this.Organization != that1.Organization { - return false - } - if this.OrganizationalUnit != that1.OrganizationalUnit { - return false - } - if this.SubjectAlternativeName != that1.SubjectAlternativeName { - return false - } - return true + return nil } -func (this *MtlsAuthSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*MtlsAuthSpec) - if !ok { - that2, ok := that.(MtlsAuthSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.AcceptedClientCaDeprecated != that1.AcceptedClientCaDeprecated { - return false - } - if !bytes.Equal(this.AcceptedClientCa, that1.AcceptedClientCa) { - return false - } - if len(this.CertificateFilters) != len(that1.CertificateFilters) { - return false - } - for i := range this.CertificateFilters { - if !this.CertificateFilters[i].Equal(that1.CertificateFilters[i]) { - return false - } +func (x *NamespaceCapacityInfo) GetModeOptions() *NamespaceCapacityInfo_CapacityModeOptions { + if x != nil { + return x.ModeOptions } - if this.Enabled != that1.Enabled { - return false - } - return true + return nil } -func (this *ApiKeyAuthSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*ApiKeyAuthSpec) - if !ok { - that2, ok := that.(ApiKeyAuthSpec) - if ok { - that1 = &that2 - } else { - return false - } +func (x *NamespaceCapacityInfo) GetStats() *NamespaceCapacityInfo_Stats { + if x != nil { + return x.Stats } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Enabled != that1.Enabled { - return false - } - return true + return nil } -func (this *LifecycleSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*LifecycleSpec) - if !ok { - that2, ok := that.(LifecycleSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.EnableDeleteProtection != that1.EnableDeleteProtection { - return false - } - return true +type CodecServerSpec_CustomErrorMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The error message to display by default for any remote codec server errors. + Default *CodecServerSpec_CustomErrorMessage_ErrorMessage `protobuf:"bytes,1,opt,name=default,proto3" json:"default,omitempty"` } -func (this *CodecServerSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CodecServerSpec) - if !ok { - that2, ok := that.(CodecServerSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Endpoint != that1.Endpoint { - return false +func (x *CodecServerSpec_CustomErrorMessage) Reset() { + *x = CodecServerSpec_CustomErrorMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if this.PassAccessToken != that1.PassAccessToken { - return false - } - if this.IncludeCrossOriginCredentials != that1.IncludeCrossOriginCredentials { - return false - } - if !this.CustomErrorMessage.Equal(that1.CustomErrorMessage) { - return false - } - return true } -func (this *CodecServerSpec_CustomErrorMessage) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CodecServerSpec_CustomErrorMessage) - if !ok { - that2, ok := that.(CodecServerSpec_CustomErrorMessage) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Default.Equal(that1.Default) { - return false - } - return true +func (x *CodecServerSpec_CustomErrorMessage) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *CodecServerSpec_CustomErrorMessage_ErrorMessage) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CodecServerSpec_CustomErrorMessage_ErrorMessage) - if !ok { - that2, ok := that.(CodecServerSpec_CustomErrorMessage_ErrorMessage) - if ok { - that1 = &that2 - } else { - return false +func (*CodecServerSpec_CustomErrorMessage) ProtoMessage() {} + +func (x *CodecServerSpec_CustomErrorMessage) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Message != that1.Message { - return false - } - if this.Link != that1.Link { - return false - } - return true + return mi.MessageOf(x) } -func (this *HighAvailabilitySpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*HighAvailabilitySpec) - if !ok { - that2, ok := that.(HighAvailabilitySpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.DisableManagedFailover != that1.DisableManagedFailover { - return false - } - return true +// Deprecated: Use CodecServerSpec_CustomErrorMessage.ProtoReflect.Descriptor instead. +func (*CodecServerSpec_CustomErrorMessage) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{4, 0} } -func (this *CapacitySpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CapacitySpec) - if !ok { - that2, ok := that.(CapacitySpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if that1.Spec == nil { - if this.Spec != nil { - return false - } - } else if this.Spec == nil { - return false - } else if !this.Spec.Equal(that1.Spec) { - return false +func (x *CodecServerSpec_CustomErrorMessage) GetDefault() *CodecServerSpec_CustomErrorMessage_ErrorMessage { + if x != nil { + return x.Default } - return true + return nil } -func (this *CapacitySpec_OnDemand_) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*CapacitySpec_OnDemand_) - if !ok { - that2, ok := that.(CapacitySpec_OnDemand_) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.OnDemand.Equal(that1.OnDemand) { - return false - } - return true +type CodecServerSpec_CustomErrorMessage_ErrorMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A message to display. + Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` + // A link that is displayed along side the configured message. + Link string `protobuf:"bytes,2,opt,name=link,proto3" json:"link,omitempty"` } -func (this *CapacitySpec_Provisioned_) Equal(that interface{}) bool { - if that == nil { - return this == nil + +func (x *CodecServerSpec_CustomErrorMessage_ErrorMessage) Reset() { + *x = CodecServerSpec_CustomErrorMessage_ErrorMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } +} + +func (x *CodecServerSpec_CustomErrorMessage_ErrorMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CodecServerSpec_CustomErrorMessage_ErrorMessage) ProtoMessage() {} - that1, ok := that.(*CapacitySpec_Provisioned_) - if !ok { - that2, ok := that.(CapacitySpec_Provisioned_) - if ok { - that1 = &that2 - } else { - return false +func (x *CodecServerSpec_CustomErrorMessage_ErrorMessage) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false + return mi.MessageOf(x) +} + +// Deprecated: Use CodecServerSpec_CustomErrorMessage_ErrorMessage.ProtoReflect.Descriptor instead. +func (*CodecServerSpec_CustomErrorMessage_ErrorMessage) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{4, 0, 0} +} + +func (x *CodecServerSpec_CustomErrorMessage_ErrorMessage) GetMessage() string { + if x != nil { + return x.Message } - if !this.Provisioned.Equal(that1.Provisioned) { - return false + return "" +} + +func (x *CodecServerSpec_CustomErrorMessage_ErrorMessage) GetLink() string { + if x != nil { + return x.Link } - return true + return "" } -func (this *CapacitySpec_OnDemand) Equal(that interface{}) bool { - if that == nil { - return this == nil + +type CapacitySpec_OnDemand struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *CapacitySpec_OnDemand) Reset() { + *x = CapacitySpec_OnDemand{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } +} + +func (x *CapacitySpec_OnDemand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CapacitySpec_OnDemand) ProtoMessage() {} - that1, ok := that.(*CapacitySpec_OnDemand) - if !ok { - that2, ok := that.(CapacitySpec_OnDemand) - if ok { - that1 = &that2 - } else { - return false +func (x *CapacitySpec_OnDemand) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - return true + return mi.MessageOf(x) +} + +// Deprecated: Use CapacitySpec_OnDemand.ProtoReflect.Descriptor instead. +func (*CapacitySpec_OnDemand) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{8, 0} +} + +type CapacitySpec_Provisioned struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // the unit of the provisioned capacity (Temporal Resource Units) + Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` } -func (this *CapacitySpec_Provisioned) Equal(that interface{}) bool { - if that == nil { - return this == nil + +func (x *CapacitySpec_Provisioned) Reset() { + *x = CapacitySpec_Provisioned{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } +} + +func (x *CapacitySpec_Provisioned) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CapacitySpec_Provisioned) ProtoMessage() {} - that1, ok := that.(*CapacitySpec_Provisioned) - if !ok { - that2, ok := that.(CapacitySpec_Provisioned) - if ok { - that1 = &that2 - } else { - return false +func (x *CapacitySpec_Provisioned) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Value != that1.Value { - return false - } - return true + return mi.MessageOf(x) } -func (this *Capacity) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*Capacity) - if !ok { - that2, ok := that.(Capacity) - if ok { - that1 = &that2 - } else { - return false - } +// Deprecated: Use CapacitySpec_Provisioned.ProtoReflect.Descriptor instead. +func (*CapacitySpec_Provisioned) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{8, 1} +} + +func (x *CapacitySpec_Provisioned) GetValue() float64 { + if x != nil { + return x.Value } - if that1 == nil { - return this == nil - } else if this == nil { - return false + return 0 +} + +type Capacity_OnDemand struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Capacity_OnDemand) Reset() { + *x = Capacity_OnDemand{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if that1.CurrentMode == nil { - if this.CurrentMode != nil { - return false +} + +func (x *Capacity_OnDemand) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Capacity_OnDemand) ProtoMessage() {} + +func (x *Capacity_OnDemand) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[30] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - } else if this.CurrentMode == nil { - return false - } else if !this.CurrentMode.Equal(that1.CurrentMode) { - return false + return ms } - if !this.LatestRequest.Equal(that1.LatestRequest) { - return false - } - return true + return mi.MessageOf(x) +} + +// Deprecated: Use Capacity_OnDemand.ProtoReflect.Descriptor instead. +func (*Capacity_OnDemand) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{9, 0} } -func (this *Capacity_OnDemand_) Equal(that interface{}) bool { - if that == nil { - return this == nil + +type Capacity_Provisioned struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // the current unit of the provisioned capacity (Temporal Resource Units) + CurrentValue float64 `protobuf:"fixed64,1,opt,name=current_value,json=currentValue,proto3" json:"current_value,omitempty"` +} + +func (x *Capacity_Provisioned) Reset() { + *x = Capacity_Provisioned{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } +} - that1, ok := that.(*Capacity_OnDemand_) - if !ok { - that2, ok := that.(Capacity_OnDemand_) - if ok { - that1 = &that2 - } else { - return false +func (x *Capacity_Provisioned) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Capacity_Provisioned) ProtoMessage() {} + +func (x *Capacity_Provisioned) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.OnDemand.Equal(that1.OnDemand) { - return false + return mi.MessageOf(x) +} + +// Deprecated: Use Capacity_Provisioned.ProtoReflect.Descriptor instead. +func (*Capacity_Provisioned) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{9, 1} +} + +func (x *Capacity_Provisioned) GetCurrentValue() float64 { + if x != nil { + return x.CurrentValue } - return true + return 0 +} + +type Capacity_Request struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // the current state of the capacity request (e.g. in-progress, completed, failed) + State Capacity_Request_State `protobuf:"varint,1,opt,name=state,proto3,enum=temporal.api.cloud.namespace.v1.Capacity_Request_State" json:"state,omitempty"` + // The date and time when the capacity request was created. + StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + // The date and time when the capacity request was completed or failed. + EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + // The id of the async operation that is creating/updating/deleting the capacity, if any. + AsyncOperationId string `protobuf:"bytes,4,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` + // The requested capacity specification. + Spec *CapacitySpec `protobuf:"bytes,5,opt,name=spec,proto3" json:"spec,omitempty"` } -func (this *Capacity_Provisioned_) Equal(that interface{}) bool { - if that == nil { - return this == nil + +func (x *Capacity_Request) Reset() { + *x = Capacity_Request{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } +} + +func (x *Capacity_Request) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Capacity_Request) ProtoMessage() {} - that1, ok := that.(*Capacity_Provisioned_) - if !ok { - that2, ok := that.(Capacity_Provisioned_) - if ok { - that1 = &that2 - } else { - return false +func (x *Capacity_Request) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[32] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false + return mi.MessageOf(x) +} + +// Deprecated: Use Capacity_Request.ProtoReflect.Descriptor instead. +func (*Capacity_Request) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{9, 2} +} + +func (x *Capacity_Request) GetState() Capacity_Request_State { + if x != nil { + return x.State } - if !this.Provisioned.Equal(that1.Provisioned) { - return false + return STATE_CAPACITY_REQUEST_UNSPECIFIED +} + +func (x *Capacity_Request) GetStartTime() *timestamppb.Timestamp { + if x != nil { + return x.StartTime } - return true + return nil } -func (this *Capacity_OnDemand) Equal(that interface{}) bool { - if that == nil { - return this == nil + +func (x *Capacity_Request) GetEndTime() *timestamppb.Timestamp { + if x != nil { + return x.EndTime } + return nil +} - that1, ok := that.(*Capacity_OnDemand) - if !ok { - that2, ok := that.(Capacity_OnDemand) - if ok { - that1 = &that2 - } else { - return false - } +func (x *Capacity_Request) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } - if that1 == nil { - return this == nil - } else if this == nil { - return false + return "" +} + +func (x *Capacity_Request) GetSpec() *CapacitySpec { + if x != nil { + return x.Spec } - return true + return nil +} + +type NamespaceCapacityInfo_CapacityModeOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Provisioned capacity options and entitlements. + Provisioned *NamespaceCapacityInfo_CapacityModeOptions_Provisioned `protobuf:"bytes,1,opt,name=provisioned,proto3" json:"provisioned,omitempty"` + // On-Demand capacity information. + OnDemand *NamespaceCapacityInfo_CapacityModeOptions_OnDemand `protobuf:"bytes,2,opt,name=on_demand,json=onDemand,proto3" json:"on_demand,omitempty"` } -func (this *Capacity_Provisioned) Equal(that interface{}) bool { - if that == nil { - return this == nil + +func (x *NamespaceCapacityInfo_CapacityModeOptions) Reset() { + *x = NamespaceCapacityInfo_CapacityModeOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } +} + +func (x *NamespaceCapacityInfo_CapacityModeOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NamespaceCapacityInfo_CapacityModeOptions) ProtoMessage() {} - that1, ok := that.(*Capacity_Provisioned) - if !ok { - that2, ok := that.(Capacity_Provisioned) - if ok { - that1 = &that2 - } else { - return false +func (x *NamespaceCapacityInfo_CapacityModeOptions) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[37] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false + return mi.MessageOf(x) +} + +// Deprecated: Use NamespaceCapacityInfo_CapacityModeOptions.ProtoReflect.Descriptor instead. +func (*NamespaceCapacityInfo_CapacityModeOptions) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{25, 0} +} + +func (x *NamespaceCapacityInfo_CapacityModeOptions) GetProvisioned() *NamespaceCapacityInfo_CapacityModeOptions_Provisioned { + if x != nil { + return x.Provisioned } - if this.CurrentValue != that1.CurrentValue { - return false + return nil +} + +func (x *NamespaceCapacityInfo_CapacityModeOptions) GetOnDemand() *NamespaceCapacityInfo_CapacityModeOptions_OnDemand { + if x != nil { + return x.OnDemand } - return true + return nil } -func (this *Capacity_Request) Equal(that interface{}) bool { - if that == nil { - return this == nil + +type NamespaceCapacityInfo_Stats struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Actions-per-second measurements summarized over the last 7 days. + Aps *NamespaceCapacityInfo_Stats_Summary `protobuf:"bytes,1,opt,name=aps,proto3" json:"aps,omitempty"` + // Requests-per-second measurements summarized over the last 7 days. + Rps *NamespaceCapacityInfo_Stats_Summary `protobuf:"bytes,2,opt,name=rps,proto3" json:"rps,omitempty"` +} + +func (x *NamespaceCapacityInfo_Stats) Reset() { + *x = NamespaceCapacityInfo_Stats{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } +} + +func (x *NamespaceCapacityInfo_Stats) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NamespaceCapacityInfo_Stats) ProtoMessage() {} - that1, ok := that.(*Capacity_Request) - if !ok { - that2, ok := that.(Capacity_Request) - if ok { - that1 = &that2 - } else { - return false +func (x *NamespaceCapacityInfo_Stats) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[38] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.State != that1.State { - return false - } - if !this.StartTime.Equal(that1.StartTime) { - return false - } - if !this.EndTime.Equal(that1.EndTime) { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false + return mi.MessageOf(x) +} + +// Deprecated: Use NamespaceCapacityInfo_Stats.ProtoReflect.Descriptor instead. +func (*NamespaceCapacityInfo_Stats) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{25, 1} +} + +func (x *NamespaceCapacityInfo_Stats) GetAps() *NamespaceCapacityInfo_Stats_Summary { + if x != nil { + return x.Aps } - if !this.Spec.Equal(that1.Spec) { - return false + return nil +} + +func (x *NamespaceCapacityInfo_Stats) GetRps() *NamespaceCapacityInfo_Stats_Summary { + if x != nil { + return x.Rps } - return true + return nil } -func (this *NamespaceSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil + +type NamespaceCapacityInfo_CapacityModeOptions_Provisioned struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The valid TRU (Temporal Resource Unit) values that can be set. + // These are the discrete capacity tiers available for selection. + ValidTruValues []float64 `protobuf:"fixed64,1,rep,packed,name=valid_tru_values,json=validTruValues,proto3" json:"valid_tru_values,omitempty"` + // The maximum TRU value that can currently be set for this namespace. + // This may be lower than the highest value in valid_tru_values due to + // inventory constraints. + MaxAvailableTruValue float64 `protobuf:"fixed64,2,opt,name=max_available_tru_value,json=maxAvailableTruValue,proto3" json:"max_available_tru_value,omitempty"` +} + +func (x *NamespaceCapacityInfo_CapacityModeOptions_Provisioned) Reset() { + *x = NamespaceCapacityInfo_CapacityModeOptions_Provisioned{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } +} + +func (x *NamespaceCapacityInfo_CapacityModeOptions_Provisioned) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NamespaceCapacityInfo_CapacityModeOptions_Provisioned) ProtoMessage() {} - that1, ok := that.(*NamespaceSpec) - if !ok { - that2, ok := that.(NamespaceSpec) - if ok { - that1 = &that2 - } else { - return false +func (x *NamespaceCapacityInfo_CapacityModeOptions_Provisioned) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[39] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false + return mi.MessageOf(x) +} + +// Deprecated: Use NamespaceCapacityInfo_CapacityModeOptions_Provisioned.ProtoReflect.Descriptor instead. +func (*NamespaceCapacityInfo_CapacityModeOptions_Provisioned) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{25, 0, 0} +} + +func (x *NamespaceCapacityInfo_CapacityModeOptions_Provisioned) GetValidTruValues() []float64 { + if x != nil { + return x.ValidTruValues } - if this.Name != that1.Name { - return false - } - if len(this.Regions) != len(that1.Regions) { - return false - } - for i := range this.Regions { - if this.Regions[i] != that1.Regions[i] { - return false - } - } - if this.RetentionDays != that1.RetentionDays { - return false - } - if !this.MtlsAuth.Equal(that1.MtlsAuth) { - return false - } - if !this.ApiKeyAuth.Equal(that1.ApiKeyAuth) { - return false - } - if len(this.CustomSearchAttributes) != len(that1.CustomSearchAttributes) { - return false - } - for i := range this.CustomSearchAttributes { - if this.CustomSearchAttributes[i] != that1.CustomSearchAttributes[i] { - return false - } - } - if len(this.SearchAttributes) != len(that1.SearchAttributes) { - return false - } - for i := range this.SearchAttributes { - if this.SearchAttributes[i] != that1.SearchAttributes[i] { - return false - } - } - if !this.CodecServer.Equal(that1.CodecServer) { - return false - } - if !this.Lifecycle.Equal(that1.Lifecycle) { - return false - } - if !this.HighAvailability.Equal(that1.HighAvailability) { - return false - } - if len(this.ConnectivityRuleIds) != len(that1.ConnectivityRuleIds) { - return false - } - for i := range this.ConnectivityRuleIds { - if this.ConnectivityRuleIds[i] != that1.ConnectivityRuleIds[i] { - return false - } - } - if !this.CapacitySpec.Equal(that1.CapacitySpec) { - return false - } - return true -} -func (this *Endpoints) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*Endpoints) - if !ok { - that2, ok := that.(Endpoints) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.WebAddress != that1.WebAddress { - return false - } - if this.MtlsGrpcAddress != that1.MtlsGrpcAddress { - return false - } - if this.GrpcAddress != that1.GrpcAddress { - return false - } - return true -} -func (this *Limits) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*Limits) - if !ok { - that2, ok := that.(Limits) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.ActionsPerSecondLimit != that1.ActionsPerSecondLimit { - return false - } - if this.RequestsPerSecondLimit != that1.RequestsPerSecondLimit { - return false - } - if this.ConcurrentTaskPollerLimit != that1.ConcurrentTaskPollerLimit { - return false - } - return true -} -func (this *AWSPrivateLinkInfo) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*AWSPrivateLinkInfo) - if !ok { - that2, ok := that.(AWSPrivateLinkInfo) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.AllowedPrincipalArns) != len(that1.AllowedPrincipalArns) { - return false - } - for i := range this.AllowedPrincipalArns { - if this.AllowedPrincipalArns[i] != that1.AllowedPrincipalArns[i] { - return false - } - } - if len(this.VpcEndpointServiceNames) != len(that1.VpcEndpointServiceNames) { - return false - } - for i := range this.VpcEndpointServiceNames { - if this.VpcEndpointServiceNames[i] != that1.VpcEndpointServiceNames[i] { - return false - } - } - return true -} -func (this *PrivateConnectivity) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*PrivateConnectivity) - if !ok { - that2, ok := that.(PrivateConnectivity) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Region != that1.Region { - return false - } - if !this.AwsPrivateLink.Equal(that1.AwsPrivateLink) { - return false - } - return true -} -func (this *Namespace) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*Namespace) - if !ok { - that2, ok := that.(Namespace) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.StateDeprecated != that1.StateDeprecated { - return false - } - if this.State != that1.State { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - if !this.Endpoints.Equal(that1.Endpoints) { - return false - } - if this.ActiveRegion != that1.ActiveRegion { - return false - } - if !this.Limits.Equal(that1.Limits) { - return false - } - if len(this.PrivateConnectivities) != len(that1.PrivateConnectivities) { - return false - } - for i := range this.PrivateConnectivities { - if !this.PrivateConnectivities[i].Equal(that1.PrivateConnectivities[i]) { - return false - } - } - if !this.CreatedTime.Equal(that1.CreatedTime) { - return false - } - if !this.LastModifiedTime.Equal(that1.LastModifiedTime) { - return false - } - if len(this.RegionStatus) != len(that1.RegionStatus) { - return false - } - for i := range this.RegionStatus { - if !this.RegionStatus[i].Equal(that1.RegionStatus[i]) { - return false - } - } - if len(this.ConnectivityRules) != len(that1.ConnectivityRules) { - return false - } - for i := range this.ConnectivityRules { - if !this.ConnectivityRules[i].Equal(that1.ConnectivityRules[i]) { - return false - } - } - if len(this.Tags) != len(that1.Tags) { - return false - } - for i := range this.Tags { - if this.Tags[i] != that1.Tags[i] { - return false - } - } - if !this.Capacity.Equal(that1.Capacity) { - return false - } - return true -} -func (this *NamespaceRegionStatus) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*NamespaceRegionStatus) - if !ok { - that2, ok := that.(NamespaceRegionStatus) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.StateDeprecated != that1.StateDeprecated { - return false - } - if this.State != that1.State { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - return true -} -func (this *ExportSinkSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*ExportSinkSpec) - if !ok { - that2, ok := that.(ExportSinkSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Name != that1.Name { - return false - } - if this.Enabled != that1.Enabled { - return false - } - if !this.S3.Equal(that1.S3) { - return false - } - if !this.Gcs.Equal(that1.Gcs) { - return false - } - return true -} -func (this *ExportSink) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*ExportSink) - if !ok { - that2, ok := that.(ExportSink) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Name != that1.Name { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.State != that1.State { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.Health != that1.Health { - return false - } - if this.ErrorMessage != that1.ErrorMessage { - return false - } - if !this.LatestDataExportTime.Equal(that1.LatestDataExportTime) { - return false - } - if !this.LastHealthCheckTime.Equal(that1.LastHealthCheckTime) { - return false - } - return true -} -func (this *MigrationSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*MigrationSpec) - if !ok { - that2, ok := that.(MigrationSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.MigrationEndpointId != that1.MigrationEndpointId { - return false - } - if that1.Spec == nil { - if this.Spec != nil { - return false - } - } else if this.Spec == nil { - return false - } else if !this.Spec.Equal(that1.Spec) { - return false - } - return true -} -func (this *MigrationSpec_ToCloudSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*MigrationSpec_ToCloudSpec) - if !ok { - that2, ok := that.(MigrationSpec_ToCloudSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.ToCloudSpec.Equal(that1.ToCloudSpec) { - return false - } - return true -} -func (this *MigrationSpec_ToSelfHostedSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*MigrationSpec_ToSelfHostedSpec) - if !ok { - that2, ok := that.(MigrationSpec_ToSelfHostedSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.ToSelfHostedSpec.Equal(that1.ToSelfHostedSpec) { - return false - } - return true -} -func (this *MigrationToCloudSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*MigrationToCloudSpec) - if !ok { - that2, ok := that.(MigrationToCloudSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.SourceNamespace != that1.SourceNamespace { - return false - } - if this.TargetNamespace != that1.TargetNamespace { - return false - } - return true -} -func (this *MigrationToSelfHostedSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*MigrationToSelfHostedSpec) - if !ok { - that2, ok := that.(MigrationToSelfHostedSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.SourceNamespace != that1.SourceNamespace { - return false - } - if this.TargetNamespace != that1.TargetNamespace { - return false - } - return true -} -func (this *ReplicationEstimate) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*ReplicationEstimate) - if !ok { - that2, ok := that.(ReplicationEstimate) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.TimeRemainingSeconds != that1.TimeRemainingSeconds { - return false - } - if this.ReplicatedCount != that1.ReplicatedCount { - return false - } - if this.RemainingCount != that1.RemainingCount { - return false - } - if this.Rate != that1.Rate { - return false - } - return true -} -func (this *Migration) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*Migration) - if !ok { - that2, ok := that.(Migration) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.MigrationId != that1.MigrationId { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.State != that1.State { - return false - } - if len(this.Replicas) != len(that1.Replicas) { - return false - } - for i := range this.Replicas { - if !this.Replicas[i].Equal(that1.Replicas[i]) { - return false - } - } - if this.ReplicatedWorkflows != that1.ReplicatedWorkflows { - return false - } - if this.ReplicatedWorkflowsRemaining != that1.ReplicatedWorkflowsRemaining { - return false - } - if this.FailureMessage != that1.FailureMessage { - return false - } - if !this.ReplicationEstimate.Equal(that1.ReplicationEstimate) { - return false - } - return true + return nil } -func (this *MigrationReplica) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*MigrationReplica) - if !ok { - that2, ok := that.(MigrationReplica) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Id != that1.Id { - return false - } - if this.State != that1.State { - return false - } - return true -} -func (this *CertificateFilterSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&namespace.CertificateFilterSpec{") - s = append(s, "CommonName: "+fmt.Sprintf("%#v", this.CommonName)+",\n") - s = append(s, "Organization: "+fmt.Sprintf("%#v", this.Organization)+",\n") - s = append(s, "OrganizationalUnit: "+fmt.Sprintf("%#v", this.OrganizationalUnit)+",\n") - s = append(s, "SubjectAlternativeName: "+fmt.Sprintf("%#v", this.SubjectAlternativeName)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *MtlsAuthSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&namespace.MtlsAuthSpec{") - s = append(s, "AcceptedClientCaDeprecated: "+fmt.Sprintf("%#v", this.AcceptedClientCaDeprecated)+",\n") - s = append(s, "AcceptedClientCa: "+fmt.Sprintf("%#v", this.AcceptedClientCa)+",\n") - if this.CertificateFilters != nil { - s = append(s, "CertificateFilters: "+fmt.Sprintf("%#v", this.CertificateFilters)+",\n") - } - s = append(s, "Enabled: "+fmt.Sprintf("%#v", this.Enabled)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ApiKeyAuthSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&namespace.ApiKeyAuthSpec{") - s = append(s, "Enabled: "+fmt.Sprintf("%#v", this.Enabled)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *LifecycleSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&namespace.LifecycleSpec{") - s = append(s, "EnableDeleteProtection: "+fmt.Sprintf("%#v", this.EnableDeleteProtection)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CodecServerSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&namespace.CodecServerSpec{") - s = append(s, "Endpoint: "+fmt.Sprintf("%#v", this.Endpoint)+",\n") - s = append(s, "PassAccessToken: "+fmt.Sprintf("%#v", this.PassAccessToken)+",\n") - s = append(s, "IncludeCrossOriginCredentials: "+fmt.Sprintf("%#v", this.IncludeCrossOriginCredentials)+",\n") - if this.CustomErrorMessage != nil { - s = append(s, "CustomErrorMessage: "+fmt.Sprintf("%#v", this.CustomErrorMessage)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CodecServerSpec_CustomErrorMessage) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&namespace.CodecServerSpec_CustomErrorMessage{") - if this.Default != nil { - s = append(s, "Default: "+fmt.Sprintf("%#v", this.Default)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CodecServerSpec_CustomErrorMessage_ErrorMessage) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&namespace.CodecServerSpec_CustomErrorMessage_ErrorMessage{") - s = append(s, "Message: "+fmt.Sprintf("%#v", this.Message)+",\n") - s = append(s, "Link: "+fmt.Sprintf("%#v", this.Link)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *HighAvailabilitySpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&namespace.HighAvailabilitySpec{") - s = append(s, "DisableManagedFailover: "+fmt.Sprintf("%#v", this.DisableManagedFailover)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CapacitySpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&namespace.CapacitySpec{") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CapacitySpec_OnDemand_) GoString() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&namespace.CapacitySpec_OnDemand_{` + - `OnDemand:` + fmt.Sprintf("%#v", this.OnDemand) + `}`}, ", ") - return s -} -func (this *CapacitySpec_Provisioned_) GoString() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&namespace.CapacitySpec_Provisioned_{` + - `Provisioned:` + fmt.Sprintf("%#v", this.Provisioned) + `}`}, ", ") - return s -} -func (this *CapacitySpec_OnDemand) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 4) - s = append(s, "&namespace.CapacitySpec_OnDemand{") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CapacitySpec_Provisioned) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&namespace.CapacitySpec_Provisioned{") - s = append(s, "Value: "+fmt.Sprintf("%#v", this.Value)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *Capacity) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&namespace.Capacity{") - if this.CurrentMode != nil { - s = append(s, "CurrentMode: "+fmt.Sprintf("%#v", this.CurrentMode)+",\n") - } - if this.LatestRequest != nil { - s = append(s, "LatestRequest: "+fmt.Sprintf("%#v", this.LatestRequest)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *Capacity_OnDemand_) GoString() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&namespace.Capacity_OnDemand_{` + - `OnDemand:` + fmt.Sprintf("%#v", this.OnDemand) + `}`}, ", ") - return s -} -func (this *Capacity_Provisioned_) GoString() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&namespace.Capacity_Provisioned_{` + - `Provisioned:` + fmt.Sprintf("%#v", this.Provisioned) + `}`}, ", ") - return s -} -func (this *Capacity_OnDemand) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 4) - s = append(s, "&namespace.Capacity_OnDemand{") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *Capacity_Provisioned) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&namespace.Capacity_Provisioned{") - s = append(s, "CurrentValue: "+fmt.Sprintf("%#v", this.CurrentValue)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *Capacity_Request) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 9) - s = append(s, "&namespace.Capacity_Request{") - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - if this.StartTime != nil { - s = append(s, "StartTime: "+fmt.Sprintf("%#v", this.StartTime)+",\n") - } - if this.EndTime != nil { - s = append(s, "EndTime: "+fmt.Sprintf("%#v", this.EndTime)+",\n") - } - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *NamespaceSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 16) - s = append(s, "&namespace.NamespaceSpec{") - s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") - s = append(s, "Regions: "+fmt.Sprintf("%#v", this.Regions)+",\n") - s = append(s, "RetentionDays: "+fmt.Sprintf("%#v", this.RetentionDays)+",\n") - if this.MtlsAuth != nil { - s = append(s, "MtlsAuth: "+fmt.Sprintf("%#v", this.MtlsAuth)+",\n") - } - if this.ApiKeyAuth != nil { - s = append(s, "ApiKeyAuth: "+fmt.Sprintf("%#v", this.ApiKeyAuth)+",\n") - } - keysForCustomSearchAttributes := make([]string, 0, len(this.CustomSearchAttributes)) - for k, _ := range this.CustomSearchAttributes { - keysForCustomSearchAttributes = append(keysForCustomSearchAttributes, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForCustomSearchAttributes) - mapStringForCustomSearchAttributes := "map[string]string{" - for _, k := range keysForCustomSearchAttributes { - mapStringForCustomSearchAttributes += fmt.Sprintf("%#v: %#v,", k, this.CustomSearchAttributes[k]) - } - mapStringForCustomSearchAttributes += "}" - if this.CustomSearchAttributes != nil { - s = append(s, "CustomSearchAttributes: "+mapStringForCustomSearchAttributes+",\n") - } - keysForSearchAttributes := make([]string, 0, len(this.SearchAttributes)) - for k, _ := range this.SearchAttributes { - keysForSearchAttributes = append(keysForSearchAttributes, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForSearchAttributes) - mapStringForSearchAttributes := "map[string]NamespaceSpec_SearchAttributeType{" - for _, k := range keysForSearchAttributes { - mapStringForSearchAttributes += fmt.Sprintf("%#v: %#v,", k, this.SearchAttributes[k]) - } - mapStringForSearchAttributes += "}" - if this.SearchAttributes != nil { - s = append(s, "SearchAttributes: "+mapStringForSearchAttributes+",\n") - } - if this.CodecServer != nil { - s = append(s, "CodecServer: "+fmt.Sprintf("%#v", this.CodecServer)+",\n") - } - if this.Lifecycle != nil { - s = append(s, "Lifecycle: "+fmt.Sprintf("%#v", this.Lifecycle)+",\n") - } - if this.HighAvailability != nil { - s = append(s, "HighAvailability: "+fmt.Sprintf("%#v", this.HighAvailability)+",\n") - } - s = append(s, "ConnectivityRuleIds: "+fmt.Sprintf("%#v", this.ConnectivityRuleIds)+",\n") - if this.CapacitySpec != nil { - s = append(s, "CapacitySpec: "+fmt.Sprintf("%#v", this.CapacitySpec)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *Endpoints) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&namespace.Endpoints{") - s = append(s, "WebAddress: "+fmt.Sprintf("%#v", this.WebAddress)+",\n") - s = append(s, "MtlsGrpcAddress: "+fmt.Sprintf("%#v", this.MtlsGrpcAddress)+",\n") - s = append(s, "GrpcAddress: "+fmt.Sprintf("%#v", this.GrpcAddress)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *Limits) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&namespace.Limits{") - s = append(s, "ActionsPerSecondLimit: "+fmt.Sprintf("%#v", this.ActionsPerSecondLimit)+",\n") - s = append(s, "RequestsPerSecondLimit: "+fmt.Sprintf("%#v", this.RequestsPerSecondLimit)+",\n") - s = append(s, "ConcurrentTaskPollerLimit: "+fmt.Sprintf("%#v", this.ConcurrentTaskPollerLimit)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *AWSPrivateLinkInfo) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&namespace.AWSPrivateLinkInfo{") - s = append(s, "AllowedPrincipalArns: "+fmt.Sprintf("%#v", this.AllowedPrincipalArns)+",\n") - s = append(s, "VpcEndpointServiceNames: "+fmt.Sprintf("%#v", this.VpcEndpointServiceNames)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *PrivateConnectivity) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&namespace.PrivateConnectivity{") - s = append(s, "Region: "+fmt.Sprintf("%#v", this.Region)+",\n") - if this.AwsPrivateLink != nil { - s = append(s, "AwsPrivateLink: "+fmt.Sprintf("%#v", this.AwsPrivateLink)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *Namespace) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 20) - s = append(s, "&namespace.Namespace{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "StateDeprecated: "+fmt.Sprintf("%#v", this.StateDeprecated)+",\n") - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - if this.Endpoints != nil { - s = append(s, "Endpoints: "+fmt.Sprintf("%#v", this.Endpoints)+",\n") - } - s = append(s, "ActiveRegion: "+fmt.Sprintf("%#v", this.ActiveRegion)+",\n") - if this.Limits != nil { - s = append(s, "Limits: "+fmt.Sprintf("%#v", this.Limits)+",\n") - } - if this.PrivateConnectivities != nil { - s = append(s, "PrivateConnectivities: "+fmt.Sprintf("%#v", this.PrivateConnectivities)+",\n") - } - if this.CreatedTime != nil { - s = append(s, "CreatedTime: "+fmt.Sprintf("%#v", this.CreatedTime)+",\n") - } - if this.LastModifiedTime != nil { - s = append(s, "LastModifiedTime: "+fmt.Sprintf("%#v", this.LastModifiedTime)+",\n") - } - keysForRegionStatus := make([]string, 0, len(this.RegionStatus)) - for k, _ := range this.RegionStatus { - keysForRegionStatus = append(keysForRegionStatus, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForRegionStatus) - mapStringForRegionStatus := "map[string]*NamespaceRegionStatus{" - for _, k := range keysForRegionStatus { - mapStringForRegionStatus += fmt.Sprintf("%#v: %#v,", k, this.RegionStatus[k]) - } - mapStringForRegionStatus += "}" - if this.RegionStatus != nil { - s = append(s, "RegionStatus: "+mapStringForRegionStatus+",\n") - } - if this.ConnectivityRules != nil { - s = append(s, "ConnectivityRules: "+fmt.Sprintf("%#v", this.ConnectivityRules)+",\n") - } - keysForTags := make([]string, 0, len(this.Tags)) - for k, _ := range this.Tags { - keysForTags = append(keysForTags, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForTags) - mapStringForTags := "map[string]string{" - for _, k := range keysForTags { - mapStringForTags += fmt.Sprintf("%#v: %#v,", k, this.Tags[k]) - } - mapStringForTags += "}" - if this.Tags != nil { - s = append(s, "Tags: "+mapStringForTags+",\n") - } - if this.Capacity != nil { - s = append(s, "Capacity: "+fmt.Sprintf("%#v", this.Capacity)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *NamespaceRegionStatus) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&namespace.NamespaceRegionStatus{") - s = append(s, "StateDeprecated: "+fmt.Sprintf("%#v", this.StateDeprecated)+",\n") - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ExportSinkSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&namespace.ExportSinkSpec{") - s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") - s = append(s, "Enabled: "+fmt.Sprintf("%#v", this.Enabled)+",\n") - if this.S3 != nil { - s = append(s, "S3: "+fmt.Sprintf("%#v", this.S3)+",\n") - } - if this.Gcs != nil { - s = append(s, "Gcs: "+fmt.Sprintf("%#v", this.Gcs)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ExportSink) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 12) - s = append(s, "&namespace.ExportSink{") - s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "Health: "+fmt.Sprintf("%#v", this.Health)+",\n") - s = append(s, "ErrorMessage: "+fmt.Sprintf("%#v", this.ErrorMessage)+",\n") - if this.LatestDataExportTime != nil { - s = append(s, "LatestDataExportTime: "+fmt.Sprintf("%#v", this.LatestDataExportTime)+",\n") - } - if this.LastHealthCheckTime != nil { - s = append(s, "LastHealthCheckTime: "+fmt.Sprintf("%#v", this.LastHealthCheckTime)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *MigrationSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&namespace.MigrationSpec{") - s = append(s, "MigrationEndpointId: "+fmt.Sprintf("%#v", this.MigrationEndpointId)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *MigrationSpec_ToCloudSpec) GoString() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&namespace.MigrationSpec_ToCloudSpec{` + - `ToCloudSpec:` + fmt.Sprintf("%#v", this.ToCloudSpec) + `}`}, ", ") - return s -} -func (this *MigrationSpec_ToSelfHostedSpec) GoString() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&namespace.MigrationSpec_ToSelfHostedSpec{` + - `ToSelfHostedSpec:` + fmt.Sprintf("%#v", this.ToSelfHostedSpec) + `}`}, ", ") - return s -} -func (this *MigrationToCloudSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&namespace.MigrationToCloudSpec{") - s = append(s, "SourceNamespace: "+fmt.Sprintf("%#v", this.SourceNamespace)+",\n") - s = append(s, "TargetNamespace: "+fmt.Sprintf("%#v", this.TargetNamespace)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *MigrationToSelfHostedSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&namespace.MigrationToSelfHostedSpec{") - s = append(s, "SourceNamespace: "+fmt.Sprintf("%#v", this.SourceNamespace)+",\n") - s = append(s, "TargetNamespace: "+fmt.Sprintf("%#v", this.TargetNamespace)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ReplicationEstimate) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&namespace.ReplicationEstimate{") - s = append(s, "TimeRemainingSeconds: "+fmt.Sprintf("%#v", this.TimeRemainingSeconds)+",\n") - s = append(s, "ReplicatedCount: "+fmt.Sprintf("%#v", this.ReplicatedCount)+",\n") - s = append(s, "RemainingCount: "+fmt.Sprintf("%#v", this.RemainingCount)+",\n") - s = append(s, "Rate: "+fmt.Sprintf("%#v", this.Rate)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *Migration) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 12) - s = append(s, "&namespace.Migration{") - s = append(s, "MigrationId: "+fmt.Sprintf("%#v", this.MigrationId)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - if this.Replicas != nil { - s = append(s, "Replicas: "+fmt.Sprintf("%#v", this.Replicas)+",\n") - } - s = append(s, "ReplicatedWorkflows: "+fmt.Sprintf("%#v", this.ReplicatedWorkflows)+",\n") - s = append(s, "ReplicatedWorkflowsRemaining: "+fmt.Sprintf("%#v", this.ReplicatedWorkflowsRemaining)+",\n") - s = append(s, "FailureMessage: "+fmt.Sprintf("%#v", this.FailureMessage)+",\n") - if this.ReplicationEstimate != nil { - s = append(s, "ReplicationEstimate: "+fmt.Sprintf("%#v", this.ReplicationEstimate)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *MigrationReplica) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&namespace.MigrationReplica{") - s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func valueToGoStringMessage(v interface{}, typ string) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) -} -func (m *CertificateFilterSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CertificateFilterSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CertificateFilterSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.SubjectAlternativeName) > 0 { - i -= len(m.SubjectAlternativeName) - copy(dAtA[i:], m.SubjectAlternativeName) - i = encodeVarintMessage(dAtA, i, uint64(len(m.SubjectAlternativeName))) - i-- - dAtA[i] = 0x22 - } - if len(m.OrganizationalUnit) > 0 { - i -= len(m.OrganizationalUnit) - copy(dAtA[i:], m.OrganizationalUnit) - i = encodeVarintMessage(dAtA, i, uint64(len(m.OrganizationalUnit))) - i-- - dAtA[i] = 0x1a - } - if len(m.Organization) > 0 { - i -= len(m.Organization) - copy(dAtA[i:], m.Organization) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Organization))) - i-- - dAtA[i] = 0x12 - } - if len(m.CommonName) > 0 { - i -= len(m.CommonName) - copy(dAtA[i:], m.CommonName) - i = encodeVarintMessage(dAtA, i, uint64(len(m.CommonName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MtlsAuthSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MtlsAuthSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MtlsAuthSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AcceptedClientCa) > 0 { - i -= len(m.AcceptedClientCa) - copy(dAtA[i:], m.AcceptedClientCa) - i = encodeVarintMessage(dAtA, i, uint64(len(m.AcceptedClientCa))) - i-- - dAtA[i] = 0x22 - } - if m.Enabled { - i-- - if m.Enabled { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 - } - if len(m.CertificateFilters) > 0 { - for iNdEx := len(m.CertificateFilters) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.CertificateFilters[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.AcceptedClientCaDeprecated) > 0 { - i -= len(m.AcceptedClientCaDeprecated) - copy(dAtA[i:], m.AcceptedClientCaDeprecated) - i = encodeVarintMessage(dAtA, i, uint64(len(m.AcceptedClientCaDeprecated))) - i-- - dAtA[i] = 0xa +func (x *NamespaceCapacityInfo_CapacityModeOptions_Provisioned) GetMaxAvailableTruValue() float64 { + if x != nil { + return x.MaxAvailableTruValue } - return len(dAtA) - i, nil + return 0 } -func (m *ApiKeyAuthSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} +type NamespaceCapacityInfo_CapacityModeOptions_OnDemand struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ApiKeyAuthSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + // The APS limit that would apply to this namespace in on-demand mode. + // See: https://docs.temporal.io/cloud/limits#actions-per-second + ApsLimit float64 `protobuf:"fixed64,1,opt,name=aps_limit,json=apsLimit,proto3" json:"aps_limit,omitempty"` + // The RPS limit that would apply to this namespace in on-demand mode. + // See: https://docs.temporal.io/cloud/limits#requests-per-second + RpsLimit float64 `protobuf:"fixed64,2,opt,name=rps_limit,json=rpsLimit,proto3" json:"rps_limit,omitempty"` } -func (m *ApiKeyAuthSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Enabled { - i-- - if m.Enabled { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x8 +func (x *NamespaceCapacityInfo_CapacityModeOptions_OnDemand) Reset() { + *x = NamespaceCapacityInfo_CapacityModeOptions_OnDemand{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return len(dAtA) - i, nil } -func (m *LifecycleSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (x *NamespaceCapacityInfo_CapacityModeOptions_OnDemand) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LifecycleSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} +func (*NamespaceCapacityInfo_CapacityModeOptions_OnDemand) ProtoMessage() {} -func (m *LifecycleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.EnableDeleteProtection { - i-- - if m.EnableDeleteProtection { - dAtA[i] = 1 - } else { - dAtA[i] = 0 +func (x *NamespaceCapacityInfo_CapacityModeOptions_OnDemand) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[40] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - i-- - dAtA[i] = 0x8 + return ms } - return len(dAtA) - i, nil + return mi.MessageOf(x) } -func (m *CodecServerSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CodecServerSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CodecServerSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.CustomErrorMessage != nil { - { - size, err := m.CustomErrorMessage.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if m.IncludeCrossOriginCredentials { - i-- - if m.IncludeCrossOriginCredentials { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 - } - if m.PassAccessToken { - i-- - if m.PassAccessToken { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - } - if len(m.Endpoint) > 0 { - i -= len(m.Endpoint) - copy(dAtA[i:], m.Endpoint) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Endpoint))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +// Deprecated: Use NamespaceCapacityInfo_CapacityModeOptions_OnDemand.ProtoReflect.Descriptor instead. +func (*NamespaceCapacityInfo_CapacityModeOptions_OnDemand) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{25, 0, 1} } -func (m *CodecServerSpec_CustomErrorMessage) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *NamespaceCapacityInfo_CapacityModeOptions_OnDemand) GetApsLimit() float64 { + if x != nil { + return x.ApsLimit } - return dAtA[:n], nil -} - -func (m *CodecServerSpec_CustomErrorMessage) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return 0 } -func (m *CodecServerSpec_CustomErrorMessage) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Default != nil { - { - size, err := m.Default.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func (x *NamespaceCapacityInfo_CapacityModeOptions_OnDemand) GetRpsLimit() float64 { + if x != nil { + return x.RpsLimit } - return len(dAtA) - i, nil + return 0 } -func (m *CodecServerSpec_CustomErrorMessage_ErrorMessage) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} +type NamespaceCapacityInfo_Stats_Summary struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CodecServerSpec_CustomErrorMessage_ErrorMessage) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + Mean float64 `protobuf:"fixed64,1,opt,name=mean,proto3" json:"mean,omitempty"` + P90 float64 `protobuf:"fixed64,2,opt,name=p90,proto3" json:"p90,omitempty"` + P99 float64 `protobuf:"fixed64,3,opt,name=p99,proto3" json:"p99,omitempty"` } -func (m *CodecServerSpec_CustomErrorMessage_ErrorMessage) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Link) > 0 { - i -= len(m.Link) - copy(dAtA[i:], m.Link) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Link))) - i-- - dAtA[i] = 0x12 - } - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0xa +func (x *NamespaceCapacityInfo_Stats_Summary) Reset() { + *x = NamespaceCapacityInfo_Stats_Summary{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return len(dAtA) - i, nil } -func (m *HighAvailabilitySpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (x *NamespaceCapacityInfo_Stats_Summary) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HighAvailabilitySpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} +func (*NamespaceCapacityInfo_Stats_Summary) ProtoMessage() {} -func (m *HighAvailabilitySpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.DisableManagedFailover { - i-- - if m.DisableManagedFailover { - dAtA[i] = 1 - } else { - dAtA[i] = 0 +func (x *NamespaceCapacityInfo_Stats_Summary) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[41] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *CapacitySpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + return ms } - return dAtA[:n], nil + return mi.MessageOf(x) } -func (m *CapacitySpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +// Deprecated: Use NamespaceCapacityInfo_Stats_Summary.ProtoReflect.Descriptor instead. +func (*NamespaceCapacityInfo_Stats_Summary) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP(), []int{25, 1, 0} } -func (m *CapacitySpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Spec != nil { - { - size := m.Spec.Size() - i -= size - if _, err := m.Spec.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } +func (x *NamespaceCapacityInfo_Stats_Summary) GetMean() float64 { + if x != nil { + return x.Mean } - return len(dAtA) - i, nil -} - -func (m *CapacitySpec_OnDemand_) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return 0 } -func (m *CapacitySpec_OnDemand_) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.OnDemand != nil { - { - size, err := m.OnDemand.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func (x *NamespaceCapacityInfo_Stats_Summary) GetP90() float64 { + if x != nil { + return x.P90 } - return len(dAtA) - i, nil -} -func (m *CapacitySpec_Provisioned_) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return 0 } -func (m *CapacitySpec_Provisioned_) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Provisioned != nil { - { - size, err := m.Provisioned.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 +func (x *NamespaceCapacityInfo_Stats_Summary) GetP99() float64 { + if x != nil { + return x.P99 } - return len(dAtA) - i, nil -} -func (m *CapacitySpec_OnDemand) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil + return 0 } -func (m *CapacitySpec_OnDemand) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +var File_temporal_api_cloud_namespace_v1_message_proto protoreflect.FileDescriptor + +var file_temporal_api_cloud_namespace_v1_message_proto_rawDesc = []byte{ + 0x0a, 0x2d, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2f, 0x76, + 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x1f, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x1a, 0x2c, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x76, 0x31, + 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x28, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x69, 0x6e, 0x6b, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x72, 0x75, 0x6c, 0x65, 0x2f, 0x76, + 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xc7, 0x01, 0x0a, 0x15, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x46, + 0x69, 0x6c, 0x74, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x6f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, + 0x0a, 0x13, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, + 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x6e, 0x69, 0x74, 0x12, + 0x38, 0x0a, 0x18, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x6c, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x16, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, + 0x61, 0x74, 0x69, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x86, 0x02, 0x0a, 0x0c, 0x4d, 0x74, + 0x6c, 0x73, 0x41, 0x75, 0x74, 0x68, 0x53, 0x70, 0x65, 0x63, 0x12, 0x45, 0x0a, 0x1d, 0x61, 0x63, + 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x61, + 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x1a, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x43, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x61, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, + 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x61, + 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x61, 0x12, + 0x67, 0x0a, 0x13, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x66, + 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x53, 0x70, 0x65, 0x63, 0x52, 0x12, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x22, 0x2a, 0x0a, 0x0e, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, + 0x53, 0x70, 0x65, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0x49, + 0x0a, 0x0d, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, + 0x38, 0x0a, 0x18, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x16, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, + 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xda, 0x03, 0x0a, 0x0f, 0x43, 0x6f, + 0x64, 0x65, 0x63, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x12, 0x1a, 0x0a, + 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x61, 0x73, + 0x73, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x70, 0x61, 0x73, 0x73, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x47, 0x0a, 0x20, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, + 0x5f, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x5f, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x63, 0x72, + 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x1d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x4f, 0x72, 0x69, + 0x67, 0x69, 0x6e, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x75, + 0x0a, 0x14, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x6f, 0x64, 0x65, 0x63, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x43, + 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x52, 0x12, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0xbe, 0x01, 0x0a, 0x12, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x6a, 0x0a, 0x07, + 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x50, 0x2e, + 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x43, 0x6f, 0x64, 0x65, 0x63, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x2e, + 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, + 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x1a, 0x3c, 0x0a, 0x0c, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x22, 0x91, 0x01, 0x0a, 0x14, 0x48, 0x69, 0x67, 0x68, 0x41, + 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x70, 0x65, 0x63, 0x12, + 0x38, 0x0a, 0x18, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x64, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x16, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x64, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x12, 0x3f, 0x0a, 0x1c, 0x70, 0x72, 0x65, + 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x72, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x19, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, + 0x79, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x49, 0x64, 0x22, 0x25, 0x0a, 0x0b, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x70, 0x65, 0x63, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x22, 0xb7, 0x02, 0x0a, 0x07, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x12, 0x0e, 0x0a, + 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, + 0x0a, 0x69, 0x73, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x09, 0x69, 0x73, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x4b, 0x0a, 0x05, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x35, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x22, 0x97, 0x01, 0x0a, 0x0c, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x5f, 0x53, 0x54, + 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, + 0x00, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x41, 0x44, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x52, + 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x41, 0x43, 0x54, + 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, + 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x49, 0x4e, 0x47, 0x10, + 0x03, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x22, 0xfd, 0x01, 0x0a, 0x0c, + 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x53, 0x70, 0x65, 0x63, 0x12, 0x55, 0x0a, 0x09, + 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x36, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x4f, + 0x6e, 0x44, 0x65, 0x6d, 0x61, 0x6e, 0x64, 0x48, 0x00, 0x52, 0x08, 0x6f, 0x6e, 0x44, 0x65, 0x6d, + 0x61, 0x6e, 0x64, 0x12, 0x5d, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, + 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x70, 0x61, 0x63, + 0x69, 0x74, 0x79, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, + 0x6e, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, + 0x65, 0x64, 0x1a, 0x0a, 0x0a, 0x08, 0x4f, 0x6e, 0x44, 0x65, 0x6d, 0x61, 0x6e, 0x64, 0x1a, 0x23, + 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0xc3, 0x06, 0x0a, 0x08, + 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12, 0x51, 0x0a, 0x09, 0x6f, 0x6e, 0x5f, 0x64, + 0x65, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, + 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x2e, 0x4f, 0x6e, 0x44, 0x65, 0x6d, 0x61, 0x6e, 0x64, 0x48, + 0x00, 0x52, 0x08, 0x6f, 0x6e, 0x44, 0x65, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x59, 0x0a, 0x0b, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x35, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x12, 0x58, 0x0a, 0x0e, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, + 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x52, 0x0d, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x0a, 0x0a, 0x08, 0x4f, 0x6e, 0x44, 0x65, 0x6d, 0x61, 0x6e, 0x64, 0x1a, 0x32, 0x0a, 0x0b, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x63, + 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x01, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x1a, 0xde, 0x03, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4d, 0x0a, 0x05, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, + 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2c, 0x0a, + 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x41, 0x0a, 0x04, 0x73, + 0x70, 0x65, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x70, 0x61, + 0x63, 0x69, 0x74, 0x79, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0xa0, + 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x26, 0x0a, 0x22, 0x53, 0x54, 0x41, 0x54, + 0x45, 0x5f, 0x43, 0x41, 0x50, 0x41, 0x43, 0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, + 0x53, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, + 0x12, 0x24, 0x0a, 0x20, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x41, 0x50, 0x41, 0x43, 0x49, + 0x54, 0x59, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, + 0x45, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x26, 0x0a, 0x22, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, + 0x43, 0x41, 0x50, 0x41, 0x43, 0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, + 0x5f, 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x02, 0x12, 0x21, + 0x0a, 0x1d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x41, 0x50, 0x41, 0x43, 0x49, 0x54, 0x59, + 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, + 0x03, 0x42, 0x0e, 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x6f, 0x64, + 0x65, 0x22, 0xe2, 0x0b, 0x0a, 0x0d, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, + 0x70, 0x65, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x07, 0x72, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, 0x72, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x79, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, + 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x79, 0x73, 0x12, 0x4a, 0x0a, 0x09, + 0x6d, 0x74, 0x6c, 0x73, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x4d, 0x74, 0x6c, 0x73, 0x41, 0x75, 0x74, 0x68, 0x53, 0x70, 0x65, 0x63, 0x52, 0x08, + 0x6d, 0x74, 0x6c, 0x73, 0x41, 0x75, 0x74, 0x68, 0x12, 0x51, 0x0a, 0x0c, 0x61, 0x70, 0x69, 0x5f, + 0x6b, 0x65, 0x79, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x53, 0x70, 0x65, 0x63, 0x52, + 0x0a, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x88, 0x01, 0x0a, 0x18, + 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x61, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4a, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x43, + 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x02, 0x18, 0x01, 0x52, 0x16, + 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x74, 0x74, 0x72, + 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x71, 0x0a, 0x11, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x44, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x70, 0x65, + 0x63, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x53, 0x0a, 0x0c, 0x63, 0x6f, 0x64, + 0x65, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x30, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x70, 0x65, + 0x63, 0x52, 0x0b, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x4c, + 0x0a, 0x09, 0x6c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2e, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x53, 0x70, 0x65, + 0x63, 0x52, 0x09, 0x6c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x12, 0x62, 0x0a, 0x11, + 0x68, 0x69, 0x67, 0x68, 0x5f, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x69, 0x67, 0x68, 0x41, 0x76, + 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x70, 0x65, 0x63, 0x52, 0x10, + 0x68, 0x69, 0x67, 0x68, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x12, 0x32, 0x0a, 0x15, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x13, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, + 0x65, 0x49, 0x64, 0x73, 0x12, 0x52, 0x0a, 0x0d, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, + 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, + 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x53, 0x70, 0x65, 0x63, 0x52, 0x0c, 0x63, 0x61, 0x70, 0x61, + 0x63, 0x69, 0x74, 0x79, 0x53, 0x70, 0x65, 0x63, 0x12, 0x48, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x53, 0x70, 0x65, 0x63, 0x52, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x73, 0x1a, 0x49, 0x0a, 0x1b, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x53, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x87, 0x01, + 0x0a, 0x15, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x58, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x42, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xac, 0x02, 0x0a, 0x13, 0x53, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x25, 0x0a, 0x21, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x41, 0x54, 0x54, 0x52, 0x49, 0x42, + 0x55, 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, + 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1e, 0x0a, 0x1a, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, + 0x5f, 0x41, 0x54, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x54, 0x45, 0x58, 0x54, 0x10, 0x01, 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, + 0x5f, 0x41, 0x54, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x4b, 0x45, 0x59, 0x57, 0x4f, 0x52, 0x44, 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x45, 0x41, + 0x52, 0x43, 0x48, 0x5f, 0x41, 0x54, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x45, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x10, 0x03, 0x12, 0x20, 0x0a, 0x1c, 0x53, 0x45, 0x41, 0x52, + 0x43, 0x48, 0x5f, 0x41, 0x54, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x44, 0x4f, 0x55, 0x42, 0x4c, 0x45, 0x10, 0x04, 0x12, 0x1e, 0x0a, 0x1a, 0x53, 0x45, + 0x41, 0x52, 0x43, 0x48, 0x5f, 0x41, 0x54, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x45, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x42, 0x4f, 0x4f, 0x4c, 0x10, 0x05, 0x12, 0x22, 0x0a, 0x1e, 0x53, 0x45, + 0x41, 0x52, 0x43, 0x48, 0x5f, 0x41, 0x54, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x45, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x44, 0x41, 0x54, 0x45, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x06, 0x12, 0x26, + 0x0a, 0x22, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x41, 0x54, 0x54, 0x52, 0x49, 0x42, 0x55, + 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4b, 0x45, 0x59, 0x57, 0x4f, 0x52, 0x44, 0x5f, + 0x4c, 0x49, 0x53, 0x54, 0x10, 0x07, 0x22, 0x7b, 0x0a, 0x09, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x77, 0x65, 0x62, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x77, 0x65, 0x62, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x74, 0x6c, 0x73, 0x5f, 0x67, 0x72, 0x70, + 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0f, 0x6d, 0x74, 0x6c, 0x73, 0x47, 0x72, 0x70, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x67, 0x72, 0x70, 0x63, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x22, 0x41, 0x0a, 0x06, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x37, 0x0a, + 0x18, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, + 0x6f, 0x6e, 0x64, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x15, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x65, 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, + 0x64, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x87, 0x01, 0x0a, 0x12, 0x41, 0x57, 0x53, 0x50, 0x72, + 0x69, 0x76, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x34, 0x0a, + 0x16, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, + 0x61, 0x6c, 0x5f, 0x61, 0x72, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x61, + 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x41, + 0x72, 0x6e, 0x73, 0x12, 0x3b, 0x0a, 0x1a, 0x76, 0x70, 0x63, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x17, 0x76, 0x70, 0x63, 0x45, 0x6e, 0x64, 0x70, + 0x6f, 0x69, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x22, 0x8c, 0x01, 0x0a, 0x13, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x12, 0x5d, 0x0a, 0x10, 0x61, 0x77, 0x73, 0x5f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, + 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x57, 0x53, + 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6e, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x0e, 0x61, 0x77, 0x73, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6e, 0x6b, 0x22, + 0xd8, 0x0a, 0x0a, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1c, 0x0a, + 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x42, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x2d, 0x0a, 0x10, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x44, + 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x43, 0x0a, 0x05, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2c, + 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, + 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x48, 0x0a, 0x09, + 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2a, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x09, 0x65, 0x6e, 0x64, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x06, 0x6c, + 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, + 0x6d, 0x69, 0x74, 0x73, 0x52, 0x06, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x6b, 0x0a, 0x16, + 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, + 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x52, 0x15, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x12, 0x6c, 0x61, 0x73, 0x74, + 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x52, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x65, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0c, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x67, 0x0a, 0x12, 0x63, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, + 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x52, + 0x11, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, + 0x65, 0x73, 0x12, 0x48, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x34, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x54, 0x61, 0x67, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x45, 0x0a, 0x08, + 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x52, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, + 0x69, 0x74, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x49, 0x64, 0x12, 0x44, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x12, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x52, 0x08, + 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x1a, 0x77, 0x0a, 0x11, 0x52, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x4c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x1a, 0x37, 0x0a, 0x09, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xc5, 0x02, 0x0a, 0x15, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x2d, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x65, + 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, + 0x18, 0x01, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, + 0x74, 0x65, 0x64, 0x12, 0x52, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x3c, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, + 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x7b, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, + 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, + 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x41, + 0x44, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x41, 0x54, 0x45, + 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x49, 0x56, 0x45, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, + 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x49, 0x4e, 0x47, 0x10, 0x04, + 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, + 0x10, 0x05, 0x22, 0xa9, 0x01, 0x0a, 0x0e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x69, 0x6e, + 0x6b, 0x53, 0x70, 0x65, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x12, 0x32, 0x0a, 0x02, 0x73, 0x33, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x22, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x33, 0x53, + 0x70, 0x65, 0x63, 0x52, 0x02, 0x73, 0x33, 0x12, 0x35, 0x0a, 0x03, 0x67, 0x63, 0x73, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x69, 0x6e, 0x6b, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x43, 0x53, 0x53, 0x70, 0x65, 0x63, 0x52, 0x03, 0x67, 0x63, 0x73, 0x22, 0xdb, + 0x04, 0x0a, 0x0a, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x05, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x12, 0x43, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x69, 0x6e, 0x6b, 0x53, 0x70, 0x65, 0x63, + 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x4a, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x53, + 0x69, 0x6e, 0x6b, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x52, 0x06, 0x68, 0x65, 0x61, 0x6c, + 0x74, 0x68, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x51, 0x0a, 0x17, 0x6c, 0x61, 0x74, 0x65, 0x73, + 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x14, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, + 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4f, 0x0a, 0x16, 0x6c, 0x61, + 0x73, 0x74, 0x5f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x13, 0x6c, 0x61, 0x73, 0x74, 0x48, 0x65, 0x61, 0x6c, + 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x6f, 0x0a, 0x06, 0x48, + 0x65, 0x61, 0x6c, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x12, 0x48, 0x45, 0x41, 0x4c, 0x54, 0x48, 0x5f, + 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, + 0x09, 0x48, 0x45, 0x41, 0x4c, 0x54, 0x48, 0x5f, 0x4f, 0x4b, 0x10, 0x01, 0x12, 0x19, 0x0a, 0x15, + 0x48, 0x45, 0x41, 0x4c, 0x54, 0x48, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x54, + 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x10, 0x02, 0x12, 0x23, 0x0a, 0x1f, 0x48, 0x45, 0x41, 0x4c, 0x54, + 0x48, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x43, 0x4f, 0x4e, + 0x46, 0x49, 0x47, 0x55, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x22, 0x95, 0x02, 0x0a, + 0x0d, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x12, 0x32, + 0x0a, 0x15, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x64, 0x70, + 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x6d, + 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x49, 0x64, 0x12, 0x5b, 0x0a, 0x0d, 0x74, 0x6f, 0x5f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x73, + 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x67, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x53, 0x70, 0x65, 0x63, + 0x48, 0x00, 0x52, 0x0b, 0x74, 0x6f, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x53, 0x70, 0x65, 0x63, 0x12, + 0x6b, 0x0a, 0x13, 0x74, 0x6f, 0x5f, 0x73, 0x65, 0x6c, 0x66, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x65, + 0x64, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, + 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x53, 0x65, 0x6c, 0x66, 0x48, 0x6f, + 0x73, 0x74, 0x65, 0x64, 0x53, 0x70, 0x65, 0x63, 0x48, 0x00, 0x52, 0x10, 0x74, 0x6f, 0x53, 0x65, + 0x6c, 0x66, 0x48, 0x6f, 0x73, 0x74, 0x65, 0x64, 0x53, 0x70, 0x65, 0x63, 0x42, 0x06, 0x0a, 0x04, + 0x73, 0x70, 0x65, 0x63, 0x22, 0x6c, 0x0a, 0x14, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x6f, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x53, 0x70, 0x65, 0x63, 0x12, 0x29, 0x0a, 0x10, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x22, 0x71, 0x0a, 0x19, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, + 0x6f, 0x53, 0x65, 0x6c, 0x66, 0x48, 0x6f, 0x73, 0x74, 0x65, 0x64, 0x53, 0x70, 0x65, 0x63, 0x12, + 0x29, 0x0a, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0xb3, 0x01, 0x0a, 0x13, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x12, 0x34, 0x0a, + 0x16, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, + 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x74, + 0x69, 0x6d, 0x65, 0x52, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x63, 0x6f, + 0x6e, 0x64, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, + 0x64, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x72, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x27, + 0x0a, 0x0f, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, + 0x6e, 0x67, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x61, 0x74, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x04, 0x72, 0x61, 0x74, 0x65, 0x22, 0xc2, 0x07, 0x0a, 0x09, + 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x69, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x42, 0x0a, 0x04, + 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, + 0x12, 0x46, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x30, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x4d, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x67, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x52, 0x08, 0x72, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x35, 0x0a, 0x14, 0x72, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x18, 0x01, 0x52, 0x13, 0x72, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x65, 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x12, 0x48, + 0x0a, 0x1e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x77, 0x6f, 0x72, + 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x5f, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x18, 0x01, 0x52, 0x1c, 0x72, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x52, + 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x61, 0x69, 0x6c, + 0x75, 0x72, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0e, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x12, 0x67, 0x0a, 0x14, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x65, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x34, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x73, 0x74, + 0x69, 0x6d, 0x61, 0x74, 0x65, 0x52, 0x13, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x22, 0xa3, 0x03, 0x0a, 0x05, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4d, 0x49, + 0x47, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, + 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x25, 0x0a, 0x21, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4d, + 0x49, 0x47, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x49, 0x47, 0x52, 0x41, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x2b, 0x0a, 0x27, + 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4d, 0x49, 0x47, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, + 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x5f, 0x50, + 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x4d, 0x49, 0x47, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x41, 0x49, + 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x48, 0x41, 0x4e, 0x44, 0x4f, 0x56, 0x45, + 0x52, 0x10, 0x03, 0x12, 0x28, 0x0a, 0x24, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4d, 0x49, 0x47, + 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x48, 0x41, 0x4e, 0x44, 0x4f, 0x56, 0x45, 0x52, 0x5f, + 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x04, 0x12, 0x2a, 0x0a, + 0x26, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4d, 0x49, 0x47, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, + 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, + 0x52, 0x4d, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x05, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x4d, 0x49, 0x47, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x4d, + 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x06, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x54, 0x41, 0x54, 0x45, + 0x5f, 0x4d, 0x49, 0x47, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, + 0x44, 0x10, 0x07, 0x12, 0x25, 0x0a, 0x21, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4d, 0x49, 0x47, + 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x42, 0x4f, 0x52, 0x54, 0x5f, 0x49, 0x4e, 0x5f, + 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x08, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x54, + 0x41, 0x54, 0x45, 0x5f, 0x4d, 0x49, 0x47, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x42, + 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x09, 0x12, 0x27, 0x0a, 0x23, 0x53, 0x54, 0x41, 0x54, 0x45, + 0x5f, 0x4d, 0x49, 0x47, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, + 0x52, 0x4d, 0x5f, 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x0a, + 0x22, 0x9b, 0x02, 0x0a, 0x10, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x4d, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x22, 0xa7, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, + 0x0a, 0x19, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x5f, + 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, + 0x14, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x5f, 0x41, + 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x25, 0x0a, 0x21, 0x53, 0x54, 0x41, 0x54, 0x45, + 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x49, 0x56, 0x45, + 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x10, 0x02, 0x12, 0x21, + 0x0a, 0x1d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x5f, + 0x50, 0x41, 0x53, 0x53, 0x49, 0x56, 0x45, 0x5f, 0x49, 0x4e, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x10, + 0x03, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x49, + 0x43, 0x41, 0x5f, 0x41, 0x42, 0x41, 0x4e, 0x44, 0x4f, 0x4e, 0x45, 0x44, 0x10, 0x04, 0x22, 0xb1, + 0x08, 0x0a, 0x15, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x61, 0x70, 0x61, + 0x63, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x68, 0x61, 0x73, 0x5f, 0x6c, 0x65, + 0x67, 0x61, 0x63, 0x79, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0f, 0x68, 0x61, 0x73, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x4c, 0x69, 0x6d, 0x69, + 0x74, 0x73, 0x12, 0x54, 0x0a, 0x10, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x61, + 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x52, 0x0f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, + 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12, 0x6d, 0x0a, 0x0c, 0x6d, 0x6f, 0x64, 0x65, + 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4a, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, + 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x4d, + 0x6f, 0x64, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x6d, 0x6f, 0x64, 0x65, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x52, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, + 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x1a, 0xb7, 0x03, 0x0a, 0x13, + 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x78, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, + 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x56, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, + 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x12, 0x70, 0x0a, + 0x09, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x53, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x61, 0x70, 0x61, + 0x63, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, + 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x6e, 0x44, + 0x65, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x08, 0x6f, 0x6e, 0x44, 0x65, 0x6d, 0x61, 0x6e, 0x64, 0x1a, + 0x6e, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x12, 0x28, + 0x0a, 0x10, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x74, 0x72, 0x75, 0x5f, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x01, 0x52, 0x0e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x54, + 0x72, 0x75, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x17, 0x6d, 0x61, 0x78, 0x5f, + 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x72, 0x75, 0x5f, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x14, 0x6d, 0x61, 0x78, 0x41, 0x76, + 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x72, 0x75, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, + 0x44, 0x0a, 0x08, 0x4f, 0x6e, 0x44, 0x65, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x61, + 0x70, 0x73, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, + 0x61, 0x70, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x73, 0x5f, + 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x72, 0x70, 0x73, + 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x1a, 0xfa, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, + 0x56, 0x0a, 0x03, 0x61, 0x70, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x53, 0x75, 0x6d, 0x6d, 0x61, + 0x72, 0x79, 0x52, 0x03, 0x61, 0x70, 0x73, 0x12, 0x56, 0x0a, 0x03, 0x72, 0x70, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x2e, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x03, 0x72, 0x70, 0x73, 0x1a, + 0x41, 0x0a, 0x07, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, + 0x61, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x04, 0x6d, 0x65, 0x61, 0x6e, 0x12, 0x10, + 0x0a, 0x03, 0x70, 0x39, 0x30, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03, 0x70, 0x39, 0x30, + 0x12, 0x10, 0x0a, 0x03, 0x70, 0x39, 0x39, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03, 0x70, + 0x39, 0x39, 0x42, 0x87, 0x02, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x6f, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2f, 0x76, + 0x31, 0x3b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0xa2, 0x02, 0x04, 0x54, 0x41, + 0x43, 0x4e, 0xaa, 0x02, 0x1f, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x41, 0x70, + 0x69, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x20, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x5c, + 0x41, 0x70, 0x69, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x5f, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x2c, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x23, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } -func (m *CapacitySpec_OnDemand) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} +var ( + file_temporal_api_cloud_namespace_v1_message_proto_rawDescOnce sync.Once + file_temporal_api_cloud_namespace_v1_message_proto_rawDescData = file_temporal_api_cloud_namespace_v1_message_proto_rawDesc +) -func (m *CapacitySpec_Provisioned) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func file_temporal_api_cloud_namespace_v1_message_proto_rawDescGZIP() []byte { + file_temporal_api_cloud_namespace_v1_message_proto_rawDescOnce.Do(func() { + file_temporal_api_cloud_namespace_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_temporal_api_cloud_namespace_v1_message_proto_rawDescData) + }) + return file_temporal_api_cloud_namespace_v1_message_proto_rawDescData +} + +var file_temporal_api_cloud_namespace_v1_message_proto_enumTypes = make([]protoimpl.EnumInfo, 7) +var file_temporal_api_cloud_namespace_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 42) +var file_temporal_api_cloud_namespace_v1_message_proto_goTypes = []interface{}{ + (Replica_ReplicaState)(0), // 0: temporal.api.cloud.namespace.v1.Replica.ReplicaState + (Capacity_Request_State)(0), // 1: temporal.api.cloud.namespace.v1.Capacity.Request.State + (NamespaceSpec_SearchAttributeType)(0), // 2: temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType + (NamespaceRegionStatus_State)(0), // 3: temporal.api.cloud.namespace.v1.NamespaceRegionStatus.State + (ExportSink_Health)(0), // 4: temporal.api.cloud.namespace.v1.ExportSink.Health + (Migration_State)(0), // 5: temporal.api.cloud.namespace.v1.Migration.State + (MigrationReplica_State)(0), // 6: temporal.api.cloud.namespace.v1.MigrationReplica.State + (*CertificateFilterSpec)(nil), // 7: temporal.api.cloud.namespace.v1.CertificateFilterSpec + (*MtlsAuthSpec)(nil), // 8: temporal.api.cloud.namespace.v1.MtlsAuthSpec + (*ApiKeyAuthSpec)(nil), // 9: temporal.api.cloud.namespace.v1.ApiKeyAuthSpec + (*LifecycleSpec)(nil), // 10: temporal.api.cloud.namespace.v1.LifecycleSpec + (*CodecServerSpec)(nil), // 11: temporal.api.cloud.namespace.v1.CodecServerSpec + (*HighAvailabilitySpec)(nil), // 12: temporal.api.cloud.namespace.v1.HighAvailabilitySpec + (*ReplicaSpec)(nil), // 13: temporal.api.cloud.namespace.v1.ReplicaSpec + (*Replica)(nil), // 14: temporal.api.cloud.namespace.v1.Replica + (*CapacitySpec)(nil), // 15: temporal.api.cloud.namespace.v1.CapacitySpec + (*Capacity)(nil), // 16: temporal.api.cloud.namespace.v1.Capacity + (*NamespaceSpec)(nil), // 17: temporal.api.cloud.namespace.v1.NamespaceSpec + (*Endpoints)(nil), // 18: temporal.api.cloud.namespace.v1.Endpoints + (*Limits)(nil), // 19: temporal.api.cloud.namespace.v1.Limits + (*AWSPrivateLinkInfo)(nil), // 20: temporal.api.cloud.namespace.v1.AWSPrivateLinkInfo + (*PrivateConnectivity)(nil), // 21: temporal.api.cloud.namespace.v1.PrivateConnectivity + (*Namespace)(nil), // 22: temporal.api.cloud.namespace.v1.Namespace + (*NamespaceRegionStatus)(nil), // 23: temporal.api.cloud.namespace.v1.NamespaceRegionStatus + (*ExportSinkSpec)(nil), // 24: temporal.api.cloud.namespace.v1.ExportSinkSpec + (*ExportSink)(nil), // 25: temporal.api.cloud.namespace.v1.ExportSink + (*MigrationSpec)(nil), // 26: temporal.api.cloud.namespace.v1.MigrationSpec + (*MigrationToCloudSpec)(nil), // 27: temporal.api.cloud.namespace.v1.MigrationToCloudSpec + (*MigrationToSelfHostedSpec)(nil), // 28: temporal.api.cloud.namespace.v1.MigrationToSelfHostedSpec + (*ReplicationEstimate)(nil), // 29: temporal.api.cloud.namespace.v1.ReplicationEstimate + (*Migration)(nil), // 30: temporal.api.cloud.namespace.v1.Migration + (*MigrationReplica)(nil), // 31: temporal.api.cloud.namespace.v1.MigrationReplica + (*NamespaceCapacityInfo)(nil), // 32: temporal.api.cloud.namespace.v1.NamespaceCapacityInfo + (*CodecServerSpec_CustomErrorMessage)(nil), // 33: temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage + (*CodecServerSpec_CustomErrorMessage_ErrorMessage)(nil), // 34: temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage.ErrorMessage + (*CapacitySpec_OnDemand)(nil), // 35: temporal.api.cloud.namespace.v1.CapacitySpec.OnDemand + (*CapacitySpec_Provisioned)(nil), // 36: temporal.api.cloud.namespace.v1.CapacitySpec.Provisioned + (*Capacity_OnDemand)(nil), // 37: temporal.api.cloud.namespace.v1.Capacity.OnDemand + (*Capacity_Provisioned)(nil), // 38: temporal.api.cloud.namespace.v1.Capacity.Provisioned + (*Capacity_Request)(nil), // 39: temporal.api.cloud.namespace.v1.Capacity.Request + nil, // 40: temporal.api.cloud.namespace.v1.NamespaceSpec.CustomSearchAttributesEntry + nil, // 41: temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributesEntry + nil, // 42: temporal.api.cloud.namespace.v1.Namespace.RegionStatusEntry + nil, // 43: temporal.api.cloud.namespace.v1.Namespace.TagsEntry + (*NamespaceCapacityInfo_CapacityModeOptions)(nil), // 44: temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions + (*NamespaceCapacityInfo_Stats)(nil), // 45: temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats + (*NamespaceCapacityInfo_CapacityModeOptions_Provisioned)(nil), // 46: temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions.Provisioned + (*NamespaceCapacityInfo_CapacityModeOptions_OnDemand)(nil), // 47: temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions.OnDemand + (*NamespaceCapacityInfo_Stats_Summary)(nil), // 48: temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats.Summary + (v1.ResourceState)(0), // 49: temporal.api.cloud.resource.v1.ResourceState + (*timestamppb.Timestamp)(nil), // 50: google.protobuf.Timestamp + (*v11.ConnectivityRule)(nil), // 51: temporal.api.cloud.connectivityrule.v1.ConnectivityRule + (*v12.S3Spec)(nil), // 52: temporal.api.cloud.sink.v1.S3Spec + (*v12.GCSSpec)(nil), // 53: temporal.api.cloud.sink.v1.GCSSpec +} +var file_temporal_api_cloud_namespace_v1_message_proto_depIdxs = []int32{ + 7, // 0: temporal.api.cloud.namespace.v1.MtlsAuthSpec.certificate_filters:type_name -> temporal.api.cloud.namespace.v1.CertificateFilterSpec + 33, // 1: temporal.api.cloud.namespace.v1.CodecServerSpec.custom_error_message:type_name -> temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage + 0, // 2: temporal.api.cloud.namespace.v1.Replica.state:type_name -> temporal.api.cloud.namespace.v1.Replica.ReplicaState + 35, // 3: temporal.api.cloud.namespace.v1.CapacitySpec.on_demand:type_name -> temporal.api.cloud.namespace.v1.CapacitySpec.OnDemand + 36, // 4: temporal.api.cloud.namespace.v1.CapacitySpec.provisioned:type_name -> temporal.api.cloud.namespace.v1.CapacitySpec.Provisioned + 37, // 5: temporal.api.cloud.namespace.v1.Capacity.on_demand:type_name -> temporal.api.cloud.namespace.v1.Capacity.OnDemand + 38, // 6: temporal.api.cloud.namespace.v1.Capacity.provisioned:type_name -> temporal.api.cloud.namespace.v1.Capacity.Provisioned + 39, // 7: temporal.api.cloud.namespace.v1.Capacity.latest_request:type_name -> temporal.api.cloud.namespace.v1.Capacity.Request + 8, // 8: temporal.api.cloud.namespace.v1.NamespaceSpec.mtls_auth:type_name -> temporal.api.cloud.namespace.v1.MtlsAuthSpec + 9, // 9: temporal.api.cloud.namespace.v1.NamespaceSpec.api_key_auth:type_name -> temporal.api.cloud.namespace.v1.ApiKeyAuthSpec + 40, // 10: temporal.api.cloud.namespace.v1.NamespaceSpec.custom_search_attributes:type_name -> temporal.api.cloud.namespace.v1.NamespaceSpec.CustomSearchAttributesEntry + 41, // 11: temporal.api.cloud.namespace.v1.NamespaceSpec.search_attributes:type_name -> temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributesEntry + 11, // 12: temporal.api.cloud.namespace.v1.NamespaceSpec.codec_server:type_name -> temporal.api.cloud.namespace.v1.CodecServerSpec + 10, // 13: temporal.api.cloud.namespace.v1.NamespaceSpec.lifecycle:type_name -> temporal.api.cloud.namespace.v1.LifecycleSpec + 12, // 14: temporal.api.cloud.namespace.v1.NamespaceSpec.high_availability:type_name -> temporal.api.cloud.namespace.v1.HighAvailabilitySpec + 15, // 15: temporal.api.cloud.namespace.v1.NamespaceSpec.capacity_spec:type_name -> temporal.api.cloud.namespace.v1.CapacitySpec + 13, // 16: temporal.api.cloud.namespace.v1.NamespaceSpec.replicas:type_name -> temporal.api.cloud.namespace.v1.ReplicaSpec + 20, // 17: temporal.api.cloud.namespace.v1.PrivateConnectivity.aws_private_link:type_name -> temporal.api.cloud.namespace.v1.AWSPrivateLinkInfo + 17, // 18: temporal.api.cloud.namespace.v1.Namespace.spec:type_name -> temporal.api.cloud.namespace.v1.NamespaceSpec + 49, // 19: temporal.api.cloud.namespace.v1.Namespace.state:type_name -> temporal.api.cloud.resource.v1.ResourceState + 18, // 20: temporal.api.cloud.namespace.v1.Namespace.endpoints:type_name -> temporal.api.cloud.namespace.v1.Endpoints + 19, // 21: temporal.api.cloud.namespace.v1.Namespace.limits:type_name -> temporal.api.cloud.namespace.v1.Limits + 21, // 22: temporal.api.cloud.namespace.v1.Namespace.private_connectivities:type_name -> temporal.api.cloud.namespace.v1.PrivateConnectivity + 50, // 23: temporal.api.cloud.namespace.v1.Namespace.created_time:type_name -> google.protobuf.Timestamp + 50, // 24: temporal.api.cloud.namespace.v1.Namespace.last_modified_time:type_name -> google.protobuf.Timestamp + 42, // 25: temporal.api.cloud.namespace.v1.Namespace.region_status:type_name -> temporal.api.cloud.namespace.v1.Namespace.RegionStatusEntry + 51, // 26: temporal.api.cloud.namespace.v1.Namespace.connectivity_rules:type_name -> temporal.api.cloud.connectivityrule.v1.ConnectivityRule + 43, // 27: temporal.api.cloud.namespace.v1.Namespace.tags:type_name -> temporal.api.cloud.namespace.v1.Namespace.TagsEntry + 16, // 28: temporal.api.cloud.namespace.v1.Namespace.capacity:type_name -> temporal.api.cloud.namespace.v1.Capacity + 14, // 29: temporal.api.cloud.namespace.v1.Namespace.replicas:type_name -> temporal.api.cloud.namespace.v1.Replica + 3, // 30: temporal.api.cloud.namespace.v1.NamespaceRegionStatus.state:type_name -> temporal.api.cloud.namespace.v1.NamespaceRegionStatus.State + 52, // 31: temporal.api.cloud.namespace.v1.ExportSinkSpec.s3:type_name -> temporal.api.cloud.sink.v1.S3Spec + 53, // 32: temporal.api.cloud.namespace.v1.ExportSinkSpec.gcs:type_name -> temporal.api.cloud.sink.v1.GCSSpec + 49, // 33: temporal.api.cloud.namespace.v1.ExportSink.state:type_name -> temporal.api.cloud.resource.v1.ResourceState + 24, // 34: temporal.api.cloud.namespace.v1.ExportSink.spec:type_name -> temporal.api.cloud.namespace.v1.ExportSinkSpec + 4, // 35: temporal.api.cloud.namespace.v1.ExportSink.health:type_name -> temporal.api.cloud.namespace.v1.ExportSink.Health + 50, // 36: temporal.api.cloud.namespace.v1.ExportSink.latest_data_export_time:type_name -> google.protobuf.Timestamp + 50, // 37: temporal.api.cloud.namespace.v1.ExportSink.last_health_check_time:type_name -> google.protobuf.Timestamp + 27, // 38: temporal.api.cloud.namespace.v1.MigrationSpec.to_cloud_spec:type_name -> temporal.api.cloud.namespace.v1.MigrationToCloudSpec + 28, // 39: temporal.api.cloud.namespace.v1.MigrationSpec.to_self_hosted_spec:type_name -> temporal.api.cloud.namespace.v1.MigrationToSelfHostedSpec + 26, // 40: temporal.api.cloud.namespace.v1.Migration.spec:type_name -> temporal.api.cloud.namespace.v1.MigrationSpec + 5, // 41: temporal.api.cloud.namespace.v1.Migration.state:type_name -> temporal.api.cloud.namespace.v1.Migration.State + 31, // 42: temporal.api.cloud.namespace.v1.Migration.replicas:type_name -> temporal.api.cloud.namespace.v1.MigrationReplica + 29, // 43: temporal.api.cloud.namespace.v1.Migration.replication_estimate:type_name -> temporal.api.cloud.namespace.v1.ReplicationEstimate + 6, // 44: temporal.api.cloud.namespace.v1.MigrationReplica.state:type_name -> temporal.api.cloud.namespace.v1.MigrationReplica.State + 16, // 45: temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.current_capacity:type_name -> temporal.api.cloud.namespace.v1.Capacity + 44, // 46: temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.mode_options:type_name -> temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions + 45, // 47: temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.stats:type_name -> temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats + 34, // 48: temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage.default:type_name -> temporal.api.cloud.namespace.v1.CodecServerSpec.CustomErrorMessage.ErrorMessage + 1, // 49: temporal.api.cloud.namespace.v1.Capacity.Request.state:type_name -> temporal.api.cloud.namespace.v1.Capacity.Request.State + 50, // 50: temporal.api.cloud.namespace.v1.Capacity.Request.start_time:type_name -> google.protobuf.Timestamp + 50, // 51: temporal.api.cloud.namespace.v1.Capacity.Request.end_time:type_name -> google.protobuf.Timestamp + 15, // 52: temporal.api.cloud.namespace.v1.Capacity.Request.spec:type_name -> temporal.api.cloud.namespace.v1.CapacitySpec + 2, // 53: temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributesEntry.value:type_name -> temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType + 23, // 54: temporal.api.cloud.namespace.v1.Namespace.RegionStatusEntry.value:type_name -> temporal.api.cloud.namespace.v1.NamespaceRegionStatus + 46, // 55: temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions.provisioned:type_name -> temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions.Provisioned + 47, // 56: temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions.on_demand:type_name -> temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions.OnDemand + 48, // 57: temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats.aps:type_name -> temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats.Summary + 48, // 58: temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats.rps:type_name -> temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats.Summary + 59, // [59:59] is the sub-list for method output_type + 59, // [59:59] is the sub-list for method input_type + 59, // [59:59] is the sub-list for extension type_name + 59, // [59:59] is the sub-list for extension extendee + 0, // [0:59] is the sub-list for field type_name +} + +func init() { file_temporal_api_cloud_namespace_v1_message_proto_init() } +func file_temporal_api_cloud_namespace_v1_message_proto_init() { + if File_temporal_api_cloud_namespace_v1_message_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertificateFilterSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MtlsAuthSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ApiKeyAuthSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LifecycleSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CodecServerSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HighAvailabilitySpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReplicaSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Replica); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CapacitySpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Capacity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Endpoints); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Limits); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AWSPrivateLinkInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrivateConnectivity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Namespace); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceRegionStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExportSinkSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExportSink); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MigrationSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MigrationToCloudSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MigrationToSelfHostedSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReplicationEstimate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Migration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MigrationReplica); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceCapacityInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CodecServerSpec_CustomErrorMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CodecServerSpec_CustomErrorMessage_ErrorMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CapacitySpec_OnDemand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CapacitySpec_Provisioned); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Capacity_OnDemand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Capacity_Provisioned); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Capacity_Request); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceCapacityInfo_CapacityModeOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceCapacityInfo_Stats); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceCapacityInfo_CapacityModeOptions_Provisioned); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceCapacityInfo_CapacityModeOptions_OnDemand); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceCapacityInfo_Stats_Summary); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[8].OneofWrappers = []interface{}{ + (*CapacitySpec_OnDemand_)(nil), + (*CapacitySpec_Provisioned_)(nil), } - return dAtA[:n], nil -} - -func (m *CapacitySpec_Provisioned) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CapacitySpec_Provisioned) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Value != 0 { - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value)))) - i-- - dAtA[i] = 0x9 + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[9].OneofWrappers = []interface{}{ + (*Capacity_OnDemand_)(nil), + (*Capacity_Provisioned_)(nil), } - return len(dAtA) - i, nil -} - -func (m *Capacity) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + file_temporal_api_cloud_namespace_v1_message_proto_msgTypes[19].OneofWrappers = []interface{}{ + (*MigrationSpec_ToCloudSpec)(nil), + (*MigrationSpec_ToSelfHostedSpec)(nil), } - return dAtA[:n], nil -} - -func (m *Capacity) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_temporal_api_cloud_namespace_v1_message_proto_rawDesc, + NumEnums: 7, + NumMessages: 42, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_temporal_api_cloud_namespace_v1_message_proto_goTypes, + DependencyIndexes: file_temporal_api_cloud_namespace_v1_message_proto_depIdxs, + EnumInfos: file_temporal_api_cloud_namespace_v1_message_proto_enumTypes, + MessageInfos: file_temporal_api_cloud_namespace_v1_message_proto_msgTypes, + }.Build() + File_temporal_api_cloud_namespace_v1_message_proto = out.File + file_temporal_api_cloud_namespace_v1_message_proto_rawDesc = nil + file_temporal_api_cloud_namespace_v1_message_proto_goTypes = nil + file_temporal_api_cloud_namespace_v1_message_proto_depIdxs = nil } - -func (m *Capacity) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.LatestRequest != nil { - { - size, err := m.LatestRequest.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.CurrentMode != nil { - { - size := m.CurrentMode.Size() - i -= size - if _, err := m.CurrentMode.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - return len(dAtA) - i, nil -} - -func (m *Capacity_OnDemand_) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Capacity_OnDemand_) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.OnDemand != nil { - { - size, err := m.OnDemand.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} -func (m *Capacity_Provisioned_) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Capacity_Provisioned_) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Provisioned != nil { - { - size, err := m.Provisioned.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - return len(dAtA) - i, nil -} -func (m *Capacity_OnDemand) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Capacity_OnDemand) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Capacity_OnDemand) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *Capacity_Provisioned) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Capacity_Provisioned) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Capacity_Provisioned) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.CurrentValue != 0 { - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.CurrentValue)))) - i-- - dAtA[i] = 0x9 - } - return len(dAtA) - i, nil -} - -func (m *Capacity_Request) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Capacity_Request) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Capacity_Request) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x22 - } - if m.EndTime != nil { - { - size, err := m.EndTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.StartTime != nil { - { - size, err := m.StartTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *NamespaceSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NamespaceSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NamespaceSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.CapacitySpec != nil { - { - size, err := m.CapacitySpec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x62 - } - if len(m.ConnectivityRuleIds) > 0 { - for iNdEx := len(m.ConnectivityRuleIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ConnectivityRuleIds[iNdEx]) - copy(dAtA[i:], m.ConnectivityRuleIds[iNdEx]) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ConnectivityRuleIds[iNdEx]))) - i-- - dAtA[i] = 0x5a - } - } - if m.HighAvailability != nil { - { - size, err := m.HighAvailability.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x52 - } - if m.Lifecycle != nil { - { - size, err := m.Lifecycle.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x4a - } - if len(m.SearchAttributes) > 0 { - for k := range m.SearchAttributes { - v := m.SearchAttributes[k] - baseI := i - i = encodeVarintMessage(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintMessage(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintMessage(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x42 - } - } - if m.ApiKeyAuth != nil { - { - size, err := m.ApiKeyAuth.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if m.CodecServer != nil { - { - size, err := m.CodecServer.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if len(m.CustomSearchAttributes) > 0 { - for k := range m.CustomSearchAttributes { - v := m.CustomSearchAttributes[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintMessage(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintMessage(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintMessage(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x2a - } - } - if m.MtlsAuth != nil { - { - size, err := m.MtlsAuth.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if m.RetentionDays != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.RetentionDays)) - i-- - dAtA[i] = 0x18 - } - if len(m.Regions) > 0 { - for iNdEx := len(m.Regions) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Regions[iNdEx]) - copy(dAtA[i:], m.Regions[iNdEx]) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Regions[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Endpoints) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Endpoints) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Endpoints) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.GrpcAddress) > 0 { - i -= len(m.GrpcAddress) - copy(dAtA[i:], m.GrpcAddress) - i = encodeVarintMessage(dAtA, i, uint64(len(m.GrpcAddress))) - i-- - dAtA[i] = 0x1a - } - if len(m.MtlsGrpcAddress) > 0 { - i -= len(m.MtlsGrpcAddress) - copy(dAtA[i:], m.MtlsGrpcAddress) - i = encodeVarintMessage(dAtA, i, uint64(len(m.MtlsGrpcAddress))) - i-- - dAtA[i] = 0x12 - } - if len(m.WebAddress) > 0 { - i -= len(m.WebAddress) - copy(dAtA[i:], m.WebAddress) - i = encodeVarintMessage(dAtA, i, uint64(len(m.WebAddress))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Limits) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Limits) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Limits) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ConcurrentTaskPollerLimit != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.ConcurrentTaskPollerLimit)) - i-- - dAtA[i] = 0x18 - } - if m.RequestsPerSecondLimit != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.RequestsPerSecondLimit)) - i-- - dAtA[i] = 0x10 - } - if m.ActionsPerSecondLimit != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.ActionsPerSecondLimit)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *AWSPrivateLinkInfo) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AWSPrivateLinkInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AWSPrivateLinkInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.VpcEndpointServiceNames) > 0 { - for iNdEx := len(m.VpcEndpointServiceNames) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.VpcEndpointServiceNames[iNdEx]) - copy(dAtA[i:], m.VpcEndpointServiceNames[iNdEx]) - i = encodeVarintMessage(dAtA, i, uint64(len(m.VpcEndpointServiceNames[iNdEx]))) - i-- - dAtA[i] = 0x12 - } - } - if len(m.AllowedPrincipalArns) > 0 { - for iNdEx := len(m.AllowedPrincipalArns) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.AllowedPrincipalArns[iNdEx]) - copy(dAtA[i:], m.AllowedPrincipalArns[iNdEx]) - i = encodeVarintMessage(dAtA, i, uint64(len(m.AllowedPrincipalArns[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *PrivateConnectivity) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PrivateConnectivity) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PrivateConnectivity) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AwsPrivateLink != nil { - { - size, err := m.AwsPrivateLink.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Region) > 0 { - i -= len(m.Region) - copy(dAtA[i:], m.Region) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Region))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Namespace) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Namespace) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Namespace) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Capacity != nil { - { - size, err := m.Capacity.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x82 - } - if len(m.Tags) > 0 { - for k := range m.Tags { - v := m.Tags[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintMessage(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintMessage(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintMessage(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x7a - } - } - if len(m.ConnectivityRules) > 0 { - for iNdEx := len(m.ConnectivityRules) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ConnectivityRules[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x72 - } - } - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x68 - } - if len(m.RegionStatus) > 0 { - for k := range m.RegionStatus { - v := m.RegionStatus[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintMessage(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintMessage(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x62 - } - } - if m.LastModifiedTime != nil { - { - size, err := m.LastModifiedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x5a - } - if m.CreatedTime != nil { - { - size, err := m.CreatedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x52 - } - if len(m.PrivateConnectivities) > 0 { - for iNdEx := len(m.PrivateConnectivities) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.PrivateConnectivities[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x4a - } - } - if m.Limits != nil { - { - size, err := m.Limits.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x42 - } - if len(m.ActiveRegion) > 0 { - i -= len(m.ActiveRegion) - copy(dAtA[i:], m.ActiveRegion) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ActiveRegion))) - i-- - dAtA[i] = 0x3a - } - if m.Endpoints != nil { - { - size, err := m.Endpoints.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x2a - } - if len(m.StateDeprecated) > 0 { - i -= len(m.StateDeprecated) - copy(dAtA[i:], m.StateDeprecated) - i = encodeVarintMessage(dAtA, i, uint64(len(m.StateDeprecated))) - i-- - dAtA[i] = 0x22 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *NamespaceRegionStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NamespaceRegionStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NamespaceRegionStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x18 - } - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x12 - } - if len(m.StateDeprecated) > 0 { - i -= len(m.StateDeprecated) - copy(dAtA[i:], m.StateDeprecated) - i = encodeVarintMessage(dAtA, i, uint64(len(m.StateDeprecated))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ExportSinkSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ExportSinkSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ExportSinkSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Gcs != nil { - { - size, err := m.Gcs.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if m.S3 != nil { - { - size, err := m.S3.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Enabled { - i-- - if m.Enabled { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ExportSink) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ExportSink) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ExportSink) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.LastHealthCheckTime != nil { - { - size, err := m.LastHealthCheckTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x42 - } - if m.LatestDataExportTime != nil { - { - size, err := m.LatestDataExportTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if len(m.ErrorMessage) > 0 { - i -= len(m.ErrorMessage) - copy(dAtA[i:], m.ErrorMessage) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ErrorMessage))) - i-- - dAtA[i] = 0x32 - } - if m.Health != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.Health)) - i-- - dAtA[i] = 0x28 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x18 - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MigrationSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MigrationSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MigrationSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Spec != nil { - { - size := m.Spec.Size() - i -= size - if _, err := m.Spec.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - if len(m.MigrationEndpointId) > 0 { - i -= len(m.MigrationEndpointId) - copy(dAtA[i:], m.MigrationEndpointId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.MigrationEndpointId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MigrationSpec_ToCloudSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MigrationSpec_ToCloudSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.ToCloudSpec != nil { - { - size, err := m.ToCloudSpec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - return len(dAtA) - i, nil -} -func (m *MigrationSpec_ToSelfHostedSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MigrationSpec_ToSelfHostedSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.ToSelfHostedSpec != nil { - { - size, err := m.ToSelfHostedSpec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - return len(dAtA) - i, nil -} -func (m *MigrationToCloudSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MigrationToCloudSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MigrationToCloudSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.TargetNamespace) > 0 { - i -= len(m.TargetNamespace) - copy(dAtA[i:], m.TargetNamespace) - i = encodeVarintMessage(dAtA, i, uint64(len(m.TargetNamespace))) - i-- - dAtA[i] = 0x12 - } - if len(m.SourceNamespace) > 0 { - i -= len(m.SourceNamespace) - copy(dAtA[i:], m.SourceNamespace) - i = encodeVarintMessage(dAtA, i, uint64(len(m.SourceNamespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MigrationToSelfHostedSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MigrationToSelfHostedSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MigrationToSelfHostedSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.TargetNamespace) > 0 { - i -= len(m.TargetNamespace) - copy(dAtA[i:], m.TargetNamespace) - i = encodeVarintMessage(dAtA, i, uint64(len(m.TargetNamespace))) - i-- - dAtA[i] = 0x12 - } - if len(m.SourceNamespace) > 0 { - i -= len(m.SourceNamespace) - copy(dAtA[i:], m.SourceNamespace) - i = encodeVarintMessage(dAtA, i, uint64(len(m.SourceNamespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ReplicationEstimate) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ReplicationEstimate) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ReplicationEstimate) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Rate != 0 { - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Rate)))) - i-- - dAtA[i] = 0x21 - } - if m.RemainingCount != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.RemainingCount)) - i-- - dAtA[i] = 0x18 - } - if m.ReplicatedCount != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.ReplicatedCount)) - i-- - dAtA[i] = 0x10 - } - if m.TimeRemainingSeconds != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.TimeRemainingSeconds)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *Migration) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Migration) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Migration) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ReplicationEstimate != nil { - { - size, err := m.ReplicationEstimate.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x42 - } - if len(m.FailureMessage) > 0 { - i -= len(m.FailureMessage) - copy(dAtA[i:], m.FailureMessage) - i = encodeVarintMessage(dAtA, i, uint64(len(m.FailureMessage))) - i-- - dAtA[i] = 0x3a - } - if m.ReplicatedWorkflowsRemaining != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.ReplicatedWorkflowsRemaining)) - i-- - dAtA[i] = 0x30 - } - if m.ReplicatedWorkflows != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.ReplicatedWorkflows)) - i-- - dAtA[i] = 0x28 - } - if len(m.Replicas) > 0 { - for iNdEx := len(m.Replicas) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Replicas[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - } - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x18 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.MigrationId) > 0 { - i -= len(m.MigrationId) - copy(dAtA[i:], m.MigrationId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.MigrationId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MigrationReplica) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MigrationReplica) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MigrationReplica) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x10 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintMessage(dAtA []byte, offset int, v uint64) int { - offset -= sovMessage(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *CertificateFilterSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.CommonName) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.Organization) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.OrganizationalUnit) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.SubjectAlternativeName) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *MtlsAuthSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.AcceptedClientCaDeprecated) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if len(m.CertificateFilters) > 0 { - for _, e := range m.CertificateFilters { - l = e.Size() - n += 1 + l + sovMessage(uint64(l)) - } - } - if m.Enabled { - n += 2 - } - l = len(m.AcceptedClientCa) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *ApiKeyAuthSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Enabled { - n += 2 - } - return n -} - -func (m *LifecycleSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.EnableDeleteProtection { - n += 2 - } - return n -} - -func (m *CodecServerSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Endpoint) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.PassAccessToken { - n += 2 - } - if m.IncludeCrossOriginCredentials { - n += 2 - } - if m.CustomErrorMessage != nil { - l = m.CustomErrorMessage.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *CodecServerSpec_CustomErrorMessage) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Default != nil { - l = m.Default.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *CodecServerSpec_CustomErrorMessage_ErrorMessage) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Message) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.Link) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *HighAvailabilitySpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.DisableManagedFailover { - n += 2 - } - return n -} - -func (m *CapacitySpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Spec != nil { - n += m.Spec.Size() - } - return n -} - -func (m *CapacitySpec_OnDemand_) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.OnDemand != nil { - l = m.OnDemand.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} -func (m *CapacitySpec_Provisioned_) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Provisioned != nil { - l = m.Provisioned.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} -func (m *CapacitySpec_OnDemand) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *CapacitySpec_Provisioned) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Value != 0 { - n += 9 - } - return n -} - -func (m *Capacity) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.CurrentMode != nil { - n += m.CurrentMode.Size() - } - if m.LatestRequest != nil { - l = m.LatestRequest.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *Capacity_OnDemand_) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.OnDemand != nil { - l = m.OnDemand.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} -func (m *Capacity_Provisioned_) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Provisioned != nil { - l = m.Provisioned.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} -func (m *Capacity_OnDemand) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *Capacity_Provisioned) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.CurrentValue != 0 { - n += 9 - } - return n -} - -func (m *Capacity_Request) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) - } - if m.StartTime != nil { - l = m.StartTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.EndTime != nil { - l = m.EndTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *NamespaceSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if len(m.Regions) > 0 { - for _, s := range m.Regions { - l = len(s) - n += 1 + l + sovMessage(uint64(l)) - } - } - if m.RetentionDays != 0 { - n += 1 + sovMessage(uint64(m.RetentionDays)) - } - if m.MtlsAuth != nil { - l = m.MtlsAuth.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if len(m.CustomSearchAttributes) > 0 { - for k, v := range m.CustomSearchAttributes { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovMessage(uint64(len(k))) + 1 + len(v) + sovMessage(uint64(len(v))) - n += mapEntrySize + 1 + sovMessage(uint64(mapEntrySize)) - } - } - if m.CodecServer != nil { - l = m.CodecServer.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.ApiKeyAuth != nil { - l = m.ApiKeyAuth.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if len(m.SearchAttributes) > 0 { - for k, v := range m.SearchAttributes { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovMessage(uint64(len(k))) + 1 + sovMessage(uint64(v)) - n += mapEntrySize + 1 + sovMessage(uint64(mapEntrySize)) - } - } - if m.Lifecycle != nil { - l = m.Lifecycle.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.HighAvailability != nil { - l = m.HighAvailability.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if len(m.ConnectivityRuleIds) > 0 { - for _, s := range m.ConnectivityRuleIds { - l = len(s) - n += 1 + l + sovMessage(uint64(l)) - } - } - if m.CapacitySpec != nil { - l = m.CapacitySpec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *Endpoints) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.WebAddress) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.MtlsGrpcAddress) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.GrpcAddress) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *Limits) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ActionsPerSecondLimit != 0 { - n += 1 + sovMessage(uint64(m.ActionsPerSecondLimit)) - } - if m.RequestsPerSecondLimit != 0 { - n += 1 + sovMessage(uint64(m.RequestsPerSecondLimit)) - } - if m.ConcurrentTaskPollerLimit != 0 { - n += 1 + sovMessage(uint64(m.ConcurrentTaskPollerLimit)) - } - return n -} - -func (m *AWSPrivateLinkInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.AllowedPrincipalArns) > 0 { - for _, s := range m.AllowedPrincipalArns { - l = len(s) - n += 1 + l + sovMessage(uint64(l)) - } - } - if len(m.VpcEndpointServiceNames) > 0 { - for _, s := range m.VpcEndpointServiceNames { - l = len(s) - n += 1 + l + sovMessage(uint64(l)) - } - } - return n -} - -func (m *PrivateConnectivity) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Region) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.AwsPrivateLink != nil { - l = m.AwsPrivateLink.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *Namespace) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.StateDeprecated) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Endpoints != nil { - l = m.Endpoints.Size() - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.ActiveRegion) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Limits != nil { - l = m.Limits.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if len(m.PrivateConnectivities) > 0 { - for _, e := range m.PrivateConnectivities { - l = e.Size() - n += 1 + l + sovMessage(uint64(l)) - } - } - if m.CreatedTime != nil { - l = m.CreatedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.LastModifiedTime != nil { - l = m.LastModifiedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if len(m.RegionStatus) > 0 { - for k, v := range m.RegionStatus { - _ = k - _ = v - l = 0 - if v != nil { - l = v.Size() - l += 1 + sovMessage(uint64(l)) - } - mapEntrySize := 1 + len(k) + sovMessage(uint64(len(k))) + l - n += mapEntrySize + 1 + sovMessage(uint64(mapEntrySize)) - } - } - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) - } - if len(m.ConnectivityRules) > 0 { - for _, e := range m.ConnectivityRules { - l = e.Size() - n += 1 + l + sovMessage(uint64(l)) - } - } - if len(m.Tags) > 0 { - for k, v := range m.Tags { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovMessage(uint64(len(k))) + 1 + len(v) + sovMessage(uint64(len(v))) - n += mapEntrySize + 1 + sovMessage(uint64(mapEntrySize)) - } - } - if m.Capacity != nil { - l = m.Capacity.Size() - n += 2 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *NamespaceRegionStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.StateDeprecated) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) - } - return n -} - -func (m *ExportSinkSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Enabled { - n += 2 - } - if m.S3 != nil { - l = m.S3.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.Gcs != nil { - l = m.Gcs.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *ExportSink) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.Health != 0 { - n += 1 + sovMessage(uint64(m.Health)) - } - l = len(m.ErrorMessage) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.LatestDataExportTime != nil { - l = m.LatestDataExportTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.LastHealthCheckTime != nil { - l = m.LastHealthCheckTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *MigrationSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.MigrationEndpointId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Spec != nil { - n += m.Spec.Size() - } - return n -} - -func (m *MigrationSpec_ToCloudSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ToCloudSpec != nil { - l = m.ToCloudSpec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} -func (m *MigrationSpec_ToSelfHostedSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ToSelfHostedSpec != nil { - l = m.ToSelfHostedSpec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} -func (m *MigrationToCloudSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.SourceNamespace) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.TargetNamespace) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *MigrationToSelfHostedSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.SourceNamespace) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.TargetNamespace) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *ReplicationEstimate) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.TimeRemainingSeconds != 0 { - n += 1 + sovMessage(uint64(m.TimeRemainingSeconds)) - } - if m.ReplicatedCount != 0 { - n += 1 + sovMessage(uint64(m.ReplicatedCount)) - } - if m.RemainingCount != 0 { - n += 1 + sovMessage(uint64(m.RemainingCount)) - } - if m.Rate != 0 { - n += 9 - } - return n -} - -func (m *Migration) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.MigrationId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) - } - if len(m.Replicas) > 0 { - for _, e := range m.Replicas { - l = e.Size() - n += 1 + l + sovMessage(uint64(l)) - } - } - if m.ReplicatedWorkflows != 0 { - n += 1 + sovMessage(uint64(m.ReplicatedWorkflows)) - } - if m.ReplicatedWorkflowsRemaining != 0 { - n += 1 + sovMessage(uint64(m.ReplicatedWorkflowsRemaining)) - } - l = len(m.FailureMessage) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.ReplicationEstimate != nil { - l = m.ReplicationEstimate.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *MigrationReplica) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) - } - return n -} - -func sovMessage(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozMessage(x uint64) (n int) { - return sovMessage(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (this *CertificateFilterSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CertificateFilterSpec{`, - `CommonName:` + fmt.Sprintf("%v", this.CommonName) + `,`, - `Organization:` + fmt.Sprintf("%v", this.Organization) + `,`, - `OrganizationalUnit:` + fmt.Sprintf("%v", this.OrganizationalUnit) + `,`, - `SubjectAlternativeName:` + fmt.Sprintf("%v", this.SubjectAlternativeName) + `,`, - `}`, - }, "") - return s -} -func (this *MtlsAuthSpec) String() string { - if this == nil { - return "nil" - } - repeatedStringForCertificateFilters := "[]*CertificateFilterSpec{" - for _, f := range this.CertificateFilters { - repeatedStringForCertificateFilters += strings.Replace(f.String(), "CertificateFilterSpec", "CertificateFilterSpec", 1) + "," - } - repeatedStringForCertificateFilters += "}" - s := strings.Join([]string{`&MtlsAuthSpec{`, - `AcceptedClientCaDeprecated:` + fmt.Sprintf("%v", this.AcceptedClientCaDeprecated) + `,`, - `CertificateFilters:` + repeatedStringForCertificateFilters + `,`, - `Enabled:` + fmt.Sprintf("%v", this.Enabled) + `,`, - `AcceptedClientCa:` + fmt.Sprintf("%v", this.AcceptedClientCa) + `,`, - `}`, - }, "") - return s -} -func (this *ApiKeyAuthSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ApiKeyAuthSpec{`, - `Enabled:` + fmt.Sprintf("%v", this.Enabled) + `,`, - `}`, - }, "") - return s -} -func (this *LifecycleSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&LifecycleSpec{`, - `EnableDeleteProtection:` + fmt.Sprintf("%v", this.EnableDeleteProtection) + `,`, - `}`, - }, "") - return s -} -func (this *CodecServerSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CodecServerSpec{`, - `Endpoint:` + fmt.Sprintf("%v", this.Endpoint) + `,`, - `PassAccessToken:` + fmt.Sprintf("%v", this.PassAccessToken) + `,`, - `IncludeCrossOriginCredentials:` + fmt.Sprintf("%v", this.IncludeCrossOriginCredentials) + `,`, - `CustomErrorMessage:` + strings.Replace(fmt.Sprintf("%v", this.CustomErrorMessage), "CodecServerSpec_CustomErrorMessage", "CodecServerSpec_CustomErrorMessage", 1) + `,`, - `}`, - }, "") - return s -} -func (this *CodecServerSpec_CustomErrorMessage) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CodecServerSpec_CustomErrorMessage{`, - `Default:` + strings.Replace(fmt.Sprintf("%v", this.Default), "CodecServerSpec_CustomErrorMessage_ErrorMessage", "CodecServerSpec_CustomErrorMessage_ErrorMessage", 1) + `,`, - `}`, - }, "") - return s -} -func (this *CodecServerSpec_CustomErrorMessage_ErrorMessage) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CodecServerSpec_CustomErrorMessage_ErrorMessage{`, - `Message:` + fmt.Sprintf("%v", this.Message) + `,`, - `Link:` + fmt.Sprintf("%v", this.Link) + `,`, - `}`, - }, "") - return s -} -func (this *HighAvailabilitySpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&HighAvailabilitySpec{`, - `DisableManagedFailover:` + fmt.Sprintf("%v", this.DisableManagedFailover) + `,`, - `}`, - }, "") - return s -} -func (this *CapacitySpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CapacitySpec{`, - `Spec:` + fmt.Sprintf("%v", this.Spec) + `,`, - `}`, - }, "") - return s -} -func (this *CapacitySpec_OnDemand_) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CapacitySpec_OnDemand_{`, - `OnDemand:` + strings.Replace(fmt.Sprintf("%v", this.OnDemand), "CapacitySpec_OnDemand", "CapacitySpec_OnDemand", 1) + `,`, - `}`, - }, "") - return s -} -func (this *CapacitySpec_Provisioned_) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CapacitySpec_Provisioned_{`, - `Provisioned:` + strings.Replace(fmt.Sprintf("%v", this.Provisioned), "CapacitySpec_Provisioned", "CapacitySpec_Provisioned", 1) + `,`, - `}`, - }, "") - return s -} -func (this *CapacitySpec_OnDemand) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CapacitySpec_OnDemand{`, - `}`, - }, "") - return s -} -func (this *CapacitySpec_Provisioned) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CapacitySpec_Provisioned{`, - `Value:` + fmt.Sprintf("%v", this.Value) + `,`, - `}`, - }, "") - return s -} -func (this *Capacity) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&Capacity{`, - `CurrentMode:` + fmt.Sprintf("%v", this.CurrentMode) + `,`, - `LatestRequest:` + strings.Replace(fmt.Sprintf("%v", this.LatestRequest), "Capacity_Request", "Capacity_Request", 1) + `,`, - `}`, - }, "") - return s -} -func (this *Capacity_OnDemand_) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&Capacity_OnDemand_{`, - `OnDemand:` + strings.Replace(fmt.Sprintf("%v", this.OnDemand), "Capacity_OnDemand", "Capacity_OnDemand", 1) + `,`, - `}`, - }, "") - return s -} -func (this *Capacity_Provisioned_) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&Capacity_Provisioned_{`, - `Provisioned:` + strings.Replace(fmt.Sprintf("%v", this.Provisioned), "Capacity_Provisioned", "Capacity_Provisioned", 1) + `,`, - `}`, - }, "") - return s -} -func (this *Capacity_OnDemand) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&Capacity_OnDemand{`, - `}`, - }, "") - return s -} -func (this *Capacity_Provisioned) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&Capacity_Provisioned{`, - `CurrentValue:` + fmt.Sprintf("%v", this.CurrentValue) + `,`, - `}`, - }, "") - return s -} -func (this *Capacity_Request) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&Capacity_Request{`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `StartTime:` + strings.Replace(fmt.Sprintf("%v", this.StartTime), "Timestamp", "types.Timestamp", 1) + `,`, - `EndTime:` + strings.Replace(fmt.Sprintf("%v", this.EndTime), "Timestamp", "types.Timestamp", 1) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `Spec:` + strings.Replace(this.Spec.String(), "CapacitySpec", "CapacitySpec", 1) + `,`, - `}`, - }, "") - return s -} -func (this *NamespaceSpec) String() string { - if this == nil { - return "nil" - } - keysForCustomSearchAttributes := make([]string, 0, len(this.CustomSearchAttributes)) - for k, _ := range this.CustomSearchAttributes { - keysForCustomSearchAttributes = append(keysForCustomSearchAttributes, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForCustomSearchAttributes) - mapStringForCustomSearchAttributes := "map[string]string{" - for _, k := range keysForCustomSearchAttributes { - mapStringForCustomSearchAttributes += fmt.Sprintf("%v: %v,", k, this.CustomSearchAttributes[k]) - } - mapStringForCustomSearchAttributes += "}" - keysForSearchAttributes := make([]string, 0, len(this.SearchAttributes)) - for k, _ := range this.SearchAttributes { - keysForSearchAttributes = append(keysForSearchAttributes, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForSearchAttributes) - mapStringForSearchAttributes := "map[string]NamespaceSpec_SearchAttributeType{" - for _, k := range keysForSearchAttributes { - mapStringForSearchAttributes += fmt.Sprintf("%v: %v,", k, this.SearchAttributes[k]) - } - mapStringForSearchAttributes += "}" - s := strings.Join([]string{`&NamespaceSpec{`, - `Name:` + fmt.Sprintf("%v", this.Name) + `,`, - `Regions:` + fmt.Sprintf("%v", this.Regions) + `,`, - `RetentionDays:` + fmt.Sprintf("%v", this.RetentionDays) + `,`, - `MtlsAuth:` + strings.Replace(this.MtlsAuth.String(), "MtlsAuthSpec", "MtlsAuthSpec", 1) + `,`, - `CustomSearchAttributes:` + mapStringForCustomSearchAttributes + `,`, - `CodecServer:` + strings.Replace(this.CodecServer.String(), "CodecServerSpec", "CodecServerSpec", 1) + `,`, - `ApiKeyAuth:` + strings.Replace(this.ApiKeyAuth.String(), "ApiKeyAuthSpec", "ApiKeyAuthSpec", 1) + `,`, - `SearchAttributes:` + mapStringForSearchAttributes + `,`, - `Lifecycle:` + strings.Replace(this.Lifecycle.String(), "LifecycleSpec", "LifecycleSpec", 1) + `,`, - `HighAvailability:` + strings.Replace(this.HighAvailability.String(), "HighAvailabilitySpec", "HighAvailabilitySpec", 1) + `,`, - `ConnectivityRuleIds:` + fmt.Sprintf("%v", this.ConnectivityRuleIds) + `,`, - `CapacitySpec:` + strings.Replace(this.CapacitySpec.String(), "CapacitySpec", "CapacitySpec", 1) + `,`, - `}`, - }, "") - return s -} -func (this *Endpoints) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&Endpoints{`, - `WebAddress:` + fmt.Sprintf("%v", this.WebAddress) + `,`, - `MtlsGrpcAddress:` + fmt.Sprintf("%v", this.MtlsGrpcAddress) + `,`, - `GrpcAddress:` + fmt.Sprintf("%v", this.GrpcAddress) + `,`, - `}`, - }, "") - return s -} -func (this *Limits) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&Limits{`, - `ActionsPerSecondLimit:` + fmt.Sprintf("%v", this.ActionsPerSecondLimit) + `,`, - `RequestsPerSecondLimit:` + fmt.Sprintf("%v", this.RequestsPerSecondLimit) + `,`, - `ConcurrentTaskPollerLimit:` + fmt.Sprintf("%v", this.ConcurrentTaskPollerLimit) + `,`, - `}`, - }, "") - return s -} -func (this *AWSPrivateLinkInfo) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&AWSPrivateLinkInfo{`, - `AllowedPrincipalArns:` + fmt.Sprintf("%v", this.AllowedPrincipalArns) + `,`, - `VpcEndpointServiceNames:` + fmt.Sprintf("%v", this.VpcEndpointServiceNames) + `,`, - `}`, - }, "") - return s -} -func (this *PrivateConnectivity) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&PrivateConnectivity{`, - `Region:` + fmt.Sprintf("%v", this.Region) + `,`, - `AwsPrivateLink:` + strings.Replace(this.AwsPrivateLink.String(), "AWSPrivateLinkInfo", "AWSPrivateLinkInfo", 1) + `,`, - `}`, - }, "") - return s -} -func (this *Namespace) String() string { - if this == nil { - return "nil" - } - repeatedStringForPrivateConnectivities := "[]*PrivateConnectivity{" - for _, f := range this.PrivateConnectivities { - repeatedStringForPrivateConnectivities += strings.Replace(f.String(), "PrivateConnectivity", "PrivateConnectivity", 1) + "," - } - repeatedStringForPrivateConnectivities += "}" - repeatedStringForConnectivityRules := "[]*ConnectivityRule{" - for _, f := range this.ConnectivityRules { - repeatedStringForConnectivityRules += strings.Replace(fmt.Sprintf("%v", f), "ConnectivityRule", "v11.ConnectivityRule", 1) + "," - } - repeatedStringForConnectivityRules += "}" - keysForRegionStatus := make([]string, 0, len(this.RegionStatus)) - for k, _ := range this.RegionStatus { - keysForRegionStatus = append(keysForRegionStatus, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForRegionStatus) - mapStringForRegionStatus := "map[string]*NamespaceRegionStatus{" - for _, k := range keysForRegionStatus { - mapStringForRegionStatus += fmt.Sprintf("%v: %v,", k, this.RegionStatus[k]) - } - mapStringForRegionStatus += "}" - keysForTags := make([]string, 0, len(this.Tags)) - for k, _ := range this.Tags { - keysForTags = append(keysForTags, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForTags) - mapStringForTags := "map[string]string{" - for _, k := range keysForTags { - mapStringForTags += fmt.Sprintf("%v: %v,", k, this.Tags[k]) - } - mapStringForTags += "}" - s := strings.Join([]string{`&Namespace{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `Spec:` + strings.Replace(this.Spec.String(), "NamespaceSpec", "NamespaceSpec", 1) + `,`, - `StateDeprecated:` + fmt.Sprintf("%v", this.StateDeprecated) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `Endpoints:` + strings.Replace(this.Endpoints.String(), "Endpoints", "Endpoints", 1) + `,`, - `ActiveRegion:` + fmt.Sprintf("%v", this.ActiveRegion) + `,`, - `Limits:` + strings.Replace(this.Limits.String(), "Limits", "Limits", 1) + `,`, - `PrivateConnectivities:` + repeatedStringForPrivateConnectivities + `,`, - `CreatedTime:` + strings.Replace(fmt.Sprintf("%v", this.CreatedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `LastModifiedTime:` + strings.Replace(fmt.Sprintf("%v", this.LastModifiedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `RegionStatus:` + mapStringForRegionStatus + `,`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `ConnectivityRules:` + repeatedStringForConnectivityRules + `,`, - `Tags:` + mapStringForTags + `,`, - `Capacity:` + strings.Replace(this.Capacity.String(), "Capacity", "Capacity", 1) + `,`, - `}`, - }, "") - return s -} -func (this *NamespaceRegionStatus) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&NamespaceRegionStatus{`, - `StateDeprecated:` + fmt.Sprintf("%v", this.StateDeprecated) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `}`, - }, "") - return s -} -func (this *ExportSinkSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ExportSinkSpec{`, - `Name:` + fmt.Sprintf("%v", this.Name) + `,`, - `Enabled:` + fmt.Sprintf("%v", this.Enabled) + `,`, - `S3:` + strings.Replace(fmt.Sprintf("%v", this.S3), "S3Spec", "v12.S3Spec", 1) + `,`, - `Gcs:` + strings.Replace(fmt.Sprintf("%v", this.Gcs), "GCSSpec", "v12.GCSSpec", 1) + `,`, - `}`, - }, "") - return s -} -func (this *ExportSink) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ExportSink{`, - `Name:` + fmt.Sprintf("%v", this.Name) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `Spec:` + strings.Replace(this.Spec.String(), "ExportSinkSpec", "ExportSinkSpec", 1) + `,`, - `Health:` + fmt.Sprintf("%v", this.Health) + `,`, - `ErrorMessage:` + fmt.Sprintf("%v", this.ErrorMessage) + `,`, - `LatestDataExportTime:` + strings.Replace(fmt.Sprintf("%v", this.LatestDataExportTime), "Timestamp", "types.Timestamp", 1) + `,`, - `LastHealthCheckTime:` + strings.Replace(fmt.Sprintf("%v", this.LastHealthCheckTime), "Timestamp", "types.Timestamp", 1) + `,`, - `}`, - }, "") - return s -} -func (this *MigrationSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&MigrationSpec{`, - `MigrationEndpointId:` + fmt.Sprintf("%v", this.MigrationEndpointId) + `,`, - `Spec:` + fmt.Sprintf("%v", this.Spec) + `,`, - `}`, - }, "") - return s -} -func (this *MigrationSpec_ToCloudSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&MigrationSpec_ToCloudSpec{`, - `ToCloudSpec:` + strings.Replace(fmt.Sprintf("%v", this.ToCloudSpec), "MigrationToCloudSpec", "MigrationToCloudSpec", 1) + `,`, - `}`, - }, "") - return s -} -func (this *MigrationSpec_ToSelfHostedSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&MigrationSpec_ToSelfHostedSpec{`, - `ToSelfHostedSpec:` + strings.Replace(fmt.Sprintf("%v", this.ToSelfHostedSpec), "MigrationToSelfHostedSpec", "MigrationToSelfHostedSpec", 1) + `,`, - `}`, - }, "") - return s -} -func (this *MigrationToCloudSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&MigrationToCloudSpec{`, - `SourceNamespace:` + fmt.Sprintf("%v", this.SourceNamespace) + `,`, - `TargetNamespace:` + fmt.Sprintf("%v", this.TargetNamespace) + `,`, - `}`, - }, "") - return s -} -func (this *MigrationToSelfHostedSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&MigrationToSelfHostedSpec{`, - `SourceNamespace:` + fmt.Sprintf("%v", this.SourceNamespace) + `,`, - `TargetNamespace:` + fmt.Sprintf("%v", this.TargetNamespace) + `,`, - `}`, - }, "") - return s -} -func (this *ReplicationEstimate) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ReplicationEstimate{`, - `TimeRemainingSeconds:` + fmt.Sprintf("%v", this.TimeRemainingSeconds) + `,`, - `ReplicatedCount:` + fmt.Sprintf("%v", this.ReplicatedCount) + `,`, - `RemainingCount:` + fmt.Sprintf("%v", this.RemainingCount) + `,`, - `Rate:` + fmt.Sprintf("%v", this.Rate) + `,`, - `}`, - }, "") - return s -} -func (this *Migration) String() string { - if this == nil { - return "nil" - } - repeatedStringForReplicas := "[]*MigrationReplica{" - for _, f := range this.Replicas { - repeatedStringForReplicas += strings.Replace(f.String(), "MigrationReplica", "MigrationReplica", 1) + "," - } - repeatedStringForReplicas += "}" - s := strings.Join([]string{`&Migration{`, - `MigrationId:` + fmt.Sprintf("%v", this.MigrationId) + `,`, - `Spec:` + strings.Replace(this.Spec.String(), "MigrationSpec", "MigrationSpec", 1) + `,`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `Replicas:` + repeatedStringForReplicas + `,`, - `ReplicatedWorkflows:` + fmt.Sprintf("%v", this.ReplicatedWorkflows) + `,`, - `ReplicatedWorkflowsRemaining:` + fmt.Sprintf("%v", this.ReplicatedWorkflowsRemaining) + `,`, - `FailureMessage:` + fmt.Sprintf("%v", this.FailureMessage) + `,`, - `ReplicationEstimate:` + strings.Replace(this.ReplicationEstimate.String(), "ReplicationEstimate", "ReplicationEstimate", 1) + `,`, - `}`, - }, "") - return s -} -func (this *MigrationReplica) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&MigrationReplica{`, - `Id:` + fmt.Sprintf("%v", this.Id) + `,`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `}`, - }, "") - return s -} -func valueToStringMessage(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) -} -func (m *CertificateFilterSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CertificateFilterSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CertificateFilterSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CommonName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.CommonName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Organization", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Organization = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OrganizationalUnit", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.OrganizationalUnit = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SubjectAlternativeName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SubjectAlternativeName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MtlsAuthSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MtlsAuthSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MtlsAuthSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AcceptedClientCaDeprecated", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AcceptedClientCaDeprecated = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CertificateFilters", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.CertificateFilters = append(m.CertificateFilters, &CertificateFilterSpec{}) - if err := m.CertificateFilters[len(m.CertificateFilters)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Enabled = bool(v != 0) - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AcceptedClientCa", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AcceptedClientCa = append(m.AcceptedClientCa[:0], dAtA[iNdEx:postIndex]...) - if m.AcceptedClientCa == nil { - m.AcceptedClientCa = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ApiKeyAuthSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ApiKeyAuthSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ApiKeyAuthSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Enabled = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *LifecycleSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: LifecycleSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: LifecycleSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EnableDeleteProtection", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.EnableDeleteProtection = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CodecServerSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CodecServerSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CodecServerSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Endpoint", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Endpoint = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PassAccessToken", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.PassAccessToken = bool(v != 0) - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IncludeCrossOriginCredentials", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.IncludeCrossOriginCredentials = bool(v != 0) - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CustomErrorMessage", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CustomErrorMessage == nil { - m.CustomErrorMessage = &CodecServerSpec_CustomErrorMessage{} - } - if err := m.CustomErrorMessage.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CodecServerSpec_CustomErrorMessage) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CustomErrorMessage: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CustomErrorMessage: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Default", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Default == nil { - m.Default = &CodecServerSpec_CustomErrorMessage_ErrorMessage{} - } - if err := m.Default.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CodecServerSpec_CustomErrorMessage_ErrorMessage) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ErrorMessage: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ErrorMessage: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Message = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Link", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Link = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *HighAvailabilitySpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: HighAvailabilitySpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: HighAvailabilitySpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DisableManagedFailover", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.DisableManagedFailover = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CapacitySpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CapacitySpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CapacitySpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OnDemand", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &CapacitySpec_OnDemand{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Spec = &CapacitySpec_OnDemand_{v} - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Provisioned", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &CapacitySpec_Provisioned{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Spec = &CapacitySpec_Provisioned_{v} - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CapacitySpec_OnDemand) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: OnDemand: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: OnDemand: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CapacitySpec_Provisioned) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Provisioned: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Provisioned: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 1 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) - } - var v uint64 - if (iNdEx + 8) > l { - return io.ErrUnexpectedEOF - } - v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - m.Value = float64(math.Float64frombits(v)) - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Capacity) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Capacity: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Capacity: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OnDemand", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &Capacity_OnDemand{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.CurrentMode = &Capacity_OnDemand_{v} - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Provisioned", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &Capacity_Provisioned{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.CurrentMode = &Capacity_Provisioned_{v} - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LatestRequest", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.LatestRequest == nil { - m.LatestRequest = &Capacity_Request{} - } - if err := m.LatestRequest.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Capacity_OnDemand) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: OnDemand: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: OnDemand: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Capacity_Provisioned) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Provisioned: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Provisioned: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 1 { - return fmt.Errorf("proto: wrong wireType = %d for field CurrentValue", wireType) - } - var v uint64 - if (iNdEx + 8) > l { - return io.ErrUnexpectedEOF - } - v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - m.CurrentValue = float64(math.Float64frombits(v)) - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Capacity_Request) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Request: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Request: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= Capacity_Request_State(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.StartTime == nil { - m.StartTime = &types.Timestamp{} - } - if err := m.StartTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EndTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.EndTime == nil { - m.EndTime = &types.Timestamp{} - } - if err := m.EndTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &CapacitySpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NamespaceSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: NamespaceSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NamespaceSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Regions", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Regions = append(m.Regions, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RetentionDays", wireType) - } - m.RetentionDays = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.RetentionDays |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MtlsAuth", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.MtlsAuth == nil { - m.MtlsAuth = &MtlsAuthSpec{} - } - if err := m.MtlsAuth.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CustomSearchAttributes", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CustomSearchAttributes == nil { - m.CustomSearchAttributes = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthMessage - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthMessage - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthMessage - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthMessage - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.CustomSearchAttributes[mapkey] = mapvalue - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CodecServer", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CodecServer == nil { - m.CodecServer = &CodecServerSpec{} - } - if err := m.CodecServer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ApiKeyAuth", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ApiKeyAuth == nil { - m.ApiKeyAuth = &ApiKeyAuthSpec{} - } - if err := m.ApiKeyAuth.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SearchAttributes", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.SearchAttributes == nil { - m.SearchAttributes = make(map[string]NamespaceSpec_SearchAttributeType) - } - var mapkey string - var mapvalue NamespaceSpec_SearchAttributeType - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthMessage - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthMessage - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= NamespaceSpec_SearchAttributeType(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.SearchAttributes[mapkey] = mapvalue - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Lifecycle", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Lifecycle == nil { - m.Lifecycle = &LifecycleSpec{} - } - if err := m.Lifecycle.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HighAvailability", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.HighAvailability == nil { - m.HighAvailability = &HighAvailabilitySpec{} - } - if err := m.HighAvailability.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 11: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectivityRuleIds", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ConnectivityRuleIds = append(m.ConnectivityRuleIds, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 12: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CapacitySpec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CapacitySpec == nil { - m.CapacitySpec = &CapacitySpec{} - } - if err := m.CapacitySpec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Endpoints) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Endpoints: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Endpoints: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WebAddress", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.WebAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MtlsGrpcAddress", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.MtlsGrpcAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GrpcAddress", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GrpcAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Limits) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Limits: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Limits: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ActionsPerSecondLimit", wireType) - } - m.ActionsPerSecondLimit = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ActionsPerSecondLimit |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestsPerSecondLimit", wireType) - } - m.RequestsPerSecondLimit = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.RequestsPerSecondLimit |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ConcurrentTaskPollerLimit", wireType) - } - m.ConcurrentTaskPollerLimit = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ConcurrentTaskPollerLimit |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AWSPrivateLinkInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AWSPrivateLinkInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AWSPrivateLinkInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AllowedPrincipalArns", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AllowedPrincipalArns = append(m.AllowedPrincipalArns, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VpcEndpointServiceNames", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.VpcEndpointServiceNames = append(m.VpcEndpointServiceNames, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PrivateConnectivity) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: PrivateConnectivity: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PrivateConnectivity: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Region = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AwsPrivateLink", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AwsPrivateLink == nil { - m.AwsPrivateLink = &AWSPrivateLinkInfo{} - } - if err := m.AwsPrivateLink.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Namespace) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Namespace: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Namespace: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &NamespaceSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateDeprecated", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StateDeprecated = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Endpoints", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Endpoints == nil { - m.Endpoints = &Endpoints{} - } - if err := m.Endpoints.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ActiveRegion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ActiveRegion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Limits", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Limits == nil { - m.Limits = &Limits{} - } - if err := m.Limits.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PrivateConnectivities", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PrivateConnectivities = append(m.PrivateConnectivities, &PrivateConnectivity{}) - if err := m.PrivateConnectivities[len(m.PrivateConnectivities)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CreatedTime == nil { - m.CreatedTime = &types.Timestamp{} - } - if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 11: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastModifiedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.LastModifiedTime == nil { - m.LastModifiedTime = &types.Timestamp{} - } - if err := m.LastModifiedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 12: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RegionStatus", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RegionStatus == nil { - m.RegionStatus = make(map[string]*NamespaceRegionStatus) - } - var mapkey string - var mapvalue *NamespaceRegionStatus - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthMessage - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthMessage - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var mapmsglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapmsglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if mapmsglen < 0 { - return ErrInvalidLengthMessage - } - postmsgIndex := iNdEx + mapmsglen - if postmsgIndex < 0 { - return ErrInvalidLengthMessage - } - if postmsgIndex > l { - return io.ErrUnexpectedEOF - } - mapvalue = &NamespaceRegionStatus{} - if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { - return err - } - iNdEx = postmsgIndex - } else { - iNdEx = entryPreIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.RegionStatus[mapkey] = mapvalue - iNdEx = postIndex - case 13: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= v1.ResourceState(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 14: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectivityRules", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ConnectivityRules = append(m.ConnectivityRules, &v11.ConnectivityRule{}) - if err := m.ConnectivityRules[len(m.ConnectivityRules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 15: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Tags == nil { - m.Tags = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthMessage - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthMessage - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthMessage - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthMessage - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Tags[mapkey] = mapvalue - iNdEx = postIndex - case 16: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Capacity == nil { - m.Capacity = &Capacity{} - } - if err := m.Capacity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NamespaceRegionStatus) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: NamespaceRegionStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NamespaceRegionStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateDeprecated", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StateDeprecated = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= NamespaceRegionStatus_State(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ExportSinkSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ExportSinkSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ExportSinkSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Enabled = bool(v != 0) - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field S3", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.S3 == nil { - m.S3 = &v12.S3Spec{} - } - if err := m.S3.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Gcs", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Gcs == nil { - m.Gcs = &v12.GCSSpec{} - } - if err := m.Gcs.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ExportSink) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ExportSink: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ExportSink: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= v1.ResourceState(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &ExportSinkSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Health", wireType) - } - m.Health = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Health |= ExportSink_Health(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ErrorMessage", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ErrorMessage = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LatestDataExportTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.LatestDataExportTime == nil { - m.LatestDataExportTime = &types.Timestamp{} - } - if err := m.LatestDataExportTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastHealthCheckTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.LastHealthCheckTime == nil { - m.LastHealthCheckTime = &types.Timestamp{} - } - if err := m.LastHealthCheckTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MigrationSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MigrationSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MigrationSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MigrationEndpointId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.MigrationEndpointId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ToCloudSpec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &MigrationToCloudSpec{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Spec = &MigrationSpec_ToCloudSpec{v} - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ToSelfHostedSpec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &MigrationToSelfHostedSpec{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Spec = &MigrationSpec_ToSelfHostedSpec{v} - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MigrationToCloudSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MigrationToCloudSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MigrationToCloudSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SourceNamespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SourceNamespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TargetNamespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TargetNamespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MigrationToSelfHostedSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MigrationToSelfHostedSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MigrationToSelfHostedSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SourceNamespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SourceNamespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TargetNamespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TargetNamespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ReplicationEstimate) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ReplicationEstimate: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ReplicationEstimate: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TimeRemainingSeconds", wireType) - } - m.TimeRemainingSeconds = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TimeRemainingSeconds |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplicatedCount", wireType) - } - m.ReplicatedCount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ReplicatedCount |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RemainingCount", wireType) - } - m.RemainingCount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.RemainingCount |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 1 { - return fmt.Errorf("proto: wrong wireType = %d for field Rate", wireType) - } - var v uint64 - if (iNdEx + 8) > l { - return io.ErrUnexpectedEOF - } - v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - m.Rate = float64(math.Float64frombits(v)) - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Migration) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Migration: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Migration: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MigrationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.MigrationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &MigrationSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= Migration_State(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Replicas = append(m.Replicas, &MigrationReplica{}) - if err := m.Replicas[len(m.Replicas)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplicatedWorkflows", wireType) - } - m.ReplicatedWorkflows = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ReplicatedWorkflows |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplicatedWorkflowsRemaining", wireType) - } - m.ReplicatedWorkflowsRemaining = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ReplicatedWorkflowsRemaining |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FailureMessage", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FailureMessage = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplicationEstimate", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ReplicationEstimate == nil { - m.ReplicationEstimate = &ReplicationEstimate{} - } - if err := m.ReplicationEstimate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MigrationReplica) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MigrationReplica: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MigrationReplica: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= MigrationReplica_State(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipMessage(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthMessage - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupMessage - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthMessage - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowMessage = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group") -) diff --git a/protogen/api/cloud/nexus/v1/message.pb.go b/protogen/api/cloud/nexus/v1/message.pb.go index dbfdbea0..f7225b3e 100644 --- a/protogen/api/cloud/nexus/v1/message.pb.go +++ b/protogen/api/cloud/nexus/v1/message.pb.go @@ -1,33 +1,38 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: temporal/api/cloud/nexus/v1/message.proto package nexus import ( - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - types "github.com/gogo/protobuf/types" + proto "github.com/golang/protobuf/proto" v11 "github.com/temporalio/tcld/protogen/api/cloud/resource/v1" - v1 "github.com/temporalio/tcld/protogen/temporal/api/common/v1" - io "io" - math "math" - math_bits "math/bits" + v1 "go.temporal.io/api/common/v1" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" - strings "strings" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type EndpointSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The name of the endpoint. Must be unique within an account. // The name must match `^[a-zA-Z][a-zA-Z0-9\-]*[a-zA-Z0-9]$`. // This field is mutable. @@ -40,132 +45,125 @@ type EndpointSpec struct { PolicySpecs []*EndpointPolicySpec `protobuf:"bytes,3,rep,name=policy_specs,json=policySpecs,proto3" json:"policy_specs,omitempty"` // Deprecated: Not supported after v0.4.0 api version. Use description instead. // temporal:versioning:max_version=v0.4.0 - DescriptionDeprecated string `protobuf:"bytes,4,opt,name=description_deprecated,json=descriptionDeprecated,proto3" json:"description_deprecated,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + DescriptionDeprecated string `protobuf:"bytes,4,opt,name=description_deprecated,json=descriptionDeprecated,proto3" json:"description_deprecated,omitempty"` // The markdown description of the endpoint - optional. // temporal:versioning:min_version=v0.4.0 Description *v1.Payload `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` } -func (m *EndpointSpec) Reset() { *m = EndpointSpec{} } -func (*EndpointSpec) ProtoMessage() {} -func (*EndpointSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_799995496fe512b8, []int{0} +func (x *EndpointSpec) Reset() { + *x = EndpointSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_nexus_v1_message_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *EndpointSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *EndpointSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *EndpointSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_EndpointSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*EndpointSpec) ProtoMessage() {} + +func (x *EndpointSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_nexus_v1_message_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *EndpointSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_EndpointSpec.Merge(m, src) -} -func (m *EndpointSpec) XXX_Size() int { - return m.Size() -} -func (m *EndpointSpec) XXX_DiscardUnknown() { - xxx_messageInfo_EndpointSpec.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_EndpointSpec proto.InternalMessageInfo +// Deprecated: Use EndpointSpec.ProtoReflect.Descriptor instead. +func (*EndpointSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_nexus_v1_message_proto_rawDescGZIP(), []int{0} +} -func (m *EndpointSpec) GetName() string { - if m != nil { - return m.Name +func (x *EndpointSpec) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *EndpointSpec) GetTargetSpec() *EndpointTargetSpec { - if m != nil { - return m.TargetSpec +func (x *EndpointSpec) GetTargetSpec() *EndpointTargetSpec { + if x != nil { + return x.TargetSpec } return nil } -func (m *EndpointSpec) GetPolicySpecs() []*EndpointPolicySpec { - if m != nil { - return m.PolicySpecs +func (x *EndpointSpec) GetPolicySpecs() []*EndpointPolicySpec { + if x != nil { + return x.PolicySpecs } return nil } // Deprecated: Do not use. -func (m *EndpointSpec) GetDescriptionDeprecated() string { - if m != nil { - return m.DescriptionDeprecated +func (x *EndpointSpec) GetDescriptionDeprecated() string { + if x != nil { + return x.DescriptionDeprecated } return "" } -func (m *EndpointSpec) GetDescription() *v1.Payload { - if m != nil { - return m.Description +func (x *EndpointSpec) GetDescription() *v1.Payload { + if x != nil { + return x.Description } return nil } type EndpointTargetSpec struct { - // Types that are valid to be assigned to Variant: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Variant: // // *EndpointTargetSpec_WorkerTargetSpec Variant isEndpointTargetSpec_Variant `protobuf_oneof:"variant"` } -func (m *EndpointTargetSpec) Reset() { *m = EndpointTargetSpec{} } -func (*EndpointTargetSpec) ProtoMessage() {} -func (*EndpointTargetSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_799995496fe512b8, []int{1} -} -func (m *EndpointTargetSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *EndpointTargetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_EndpointTargetSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *EndpointTargetSpec) Reset() { + *x = EndpointTargetSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_nexus_v1_message_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *EndpointTargetSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_EndpointTargetSpec.Merge(m, src) -} -func (m *EndpointTargetSpec) XXX_Size() int { - return m.Size() -} -func (m *EndpointTargetSpec) XXX_DiscardUnknown() { - xxx_messageInfo_EndpointTargetSpec.DiscardUnknown(m) + +func (x *EndpointTargetSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_EndpointTargetSpec proto.InternalMessageInfo +func (*EndpointTargetSpec) ProtoMessage() {} -type isEndpointTargetSpec_Variant interface { - isEndpointTargetSpec_Variant() - Equal(interface{}) bool - MarshalTo([]byte) (int, error) - Size() int +func (x *EndpointTargetSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_nexus_v1_message_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type EndpointTargetSpec_WorkerTargetSpec struct { - WorkerTargetSpec *WorkerTargetSpec `protobuf:"bytes,1,opt,name=worker_target_spec,json=workerTargetSpec,proto3,oneof" json:"worker_target_spec,omitempty"` +// Deprecated: Use EndpointTargetSpec.ProtoReflect.Descriptor instead. +func (*EndpointTargetSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_nexus_v1_message_proto_rawDescGZIP(), []int{1} } -func (*EndpointTargetSpec_WorkerTargetSpec) isEndpointTargetSpec_Variant() {} - func (m *EndpointTargetSpec) GetVariant() isEndpointTargetSpec_Variant { if m != nil { return m.Variant @@ -173,125 +171,124 @@ func (m *EndpointTargetSpec) GetVariant() isEndpointTargetSpec_Variant { return nil } -func (m *EndpointTargetSpec) GetWorkerTargetSpec() *WorkerTargetSpec { - if x, ok := m.GetVariant().(*EndpointTargetSpec_WorkerTargetSpec); ok { +func (x *EndpointTargetSpec) GetWorkerTargetSpec() *WorkerTargetSpec { + if x, ok := x.GetVariant().(*EndpointTargetSpec_WorkerTargetSpec); ok { return x.WorkerTargetSpec } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*EndpointTargetSpec) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*EndpointTargetSpec_WorkerTargetSpec)(nil), - } +type isEndpointTargetSpec_Variant interface { + isEndpointTargetSpec_Variant() +} + +type EndpointTargetSpec_WorkerTargetSpec struct { + // A target spec for routing nexus requests to a specific cloud namespace worker. + WorkerTargetSpec *WorkerTargetSpec `protobuf:"bytes,1,opt,name=worker_target_spec,json=workerTargetSpec,proto3,oneof" json:"worker_target_spec,omitempty"` } +func (*EndpointTargetSpec_WorkerTargetSpec) isEndpointTargetSpec_Variant() {} + type WorkerTargetSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The target cloud namespace to route requests to. Namespace must be in same account as the endpoint. This field is mutable. NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` // The task queue on the cloud namespace to route requests to. This field is mutable. TaskQueue string `protobuf:"bytes,2,opt,name=task_queue,json=taskQueue,proto3" json:"task_queue,omitempty"` } -func (m *WorkerTargetSpec) Reset() { *m = WorkerTargetSpec{} } -func (*WorkerTargetSpec) ProtoMessage() {} -func (*WorkerTargetSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_799995496fe512b8, []int{2} +func (x *WorkerTargetSpec) Reset() { + *x = WorkerTargetSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_nexus_v1_message_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WorkerTargetSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *WorkerTargetSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WorkerTargetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_WorkerTargetSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*WorkerTargetSpec) ProtoMessage() {} + +func (x *WorkerTargetSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_nexus_v1_message_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *WorkerTargetSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_WorkerTargetSpec.Merge(m, src) -} -func (m *WorkerTargetSpec) XXX_Size() int { - return m.Size() -} -func (m *WorkerTargetSpec) XXX_DiscardUnknown() { - xxx_messageInfo_WorkerTargetSpec.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_WorkerTargetSpec proto.InternalMessageInfo +// Deprecated: Use WorkerTargetSpec.ProtoReflect.Descriptor instead. +func (*WorkerTargetSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_nexus_v1_message_proto_rawDescGZIP(), []int{2} +} -func (m *WorkerTargetSpec) GetNamespaceId() string { - if m != nil { - return m.NamespaceId +func (x *WorkerTargetSpec) GetNamespaceId() string { + if x != nil { + return x.NamespaceId } return "" } -func (m *WorkerTargetSpec) GetTaskQueue() string { - if m != nil { - return m.TaskQueue +func (x *WorkerTargetSpec) GetTaskQueue() string { + if x != nil { + return x.TaskQueue } return "" } type EndpointPolicySpec struct { - // Types that are valid to be assigned to Variant: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Variant: // // *EndpointPolicySpec_AllowedCloudNamespacePolicySpec Variant isEndpointPolicySpec_Variant `protobuf_oneof:"variant"` } -func (m *EndpointPolicySpec) Reset() { *m = EndpointPolicySpec{} } -func (*EndpointPolicySpec) ProtoMessage() {} -func (*EndpointPolicySpec) Descriptor() ([]byte, []int) { - return fileDescriptor_799995496fe512b8, []int{3} -} -func (m *EndpointPolicySpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *EndpointPolicySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_EndpointPolicySpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *EndpointPolicySpec) Reset() { + *x = EndpointPolicySpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_nexus_v1_message_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *EndpointPolicySpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_EndpointPolicySpec.Merge(m, src) -} -func (m *EndpointPolicySpec) XXX_Size() int { - return m.Size() -} -func (m *EndpointPolicySpec) XXX_DiscardUnknown() { - xxx_messageInfo_EndpointPolicySpec.DiscardUnknown(m) + +func (x *EndpointPolicySpec) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_EndpointPolicySpec proto.InternalMessageInfo +func (*EndpointPolicySpec) ProtoMessage() {} -type isEndpointPolicySpec_Variant interface { - isEndpointPolicySpec_Variant() - Equal(interface{}) bool - MarshalTo([]byte) (int, error) - Size() int +func (x *EndpointPolicySpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_nexus_v1_message_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -type EndpointPolicySpec_AllowedCloudNamespacePolicySpec struct { - AllowedCloudNamespacePolicySpec *AllowedCloudNamespacePolicySpec `protobuf:"bytes,1,opt,name=allowed_cloud_namespace_policy_spec,json=allowedCloudNamespacePolicySpec,proto3,oneof" json:"allowed_cloud_namespace_policy_spec,omitempty"` +// Deprecated: Use EndpointPolicySpec.ProtoReflect.Descriptor instead. +func (*EndpointPolicySpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_nexus_v1_message_proto_rawDescGZIP(), []int{3} } -func (*EndpointPolicySpec_AllowedCloudNamespacePolicySpec) isEndpointPolicySpec_Variant() {} - func (m *EndpointPolicySpec) GetVariant() isEndpointPolicySpec_Variant { if m != nil { return m.Variant @@ -299,66 +296,78 @@ func (m *EndpointPolicySpec) GetVariant() isEndpointPolicySpec_Variant { return nil } -func (m *EndpointPolicySpec) GetAllowedCloudNamespacePolicySpec() *AllowedCloudNamespacePolicySpec { - if x, ok := m.GetVariant().(*EndpointPolicySpec_AllowedCloudNamespacePolicySpec); ok { +func (x *EndpointPolicySpec) GetAllowedCloudNamespacePolicySpec() *AllowedCloudNamespacePolicySpec { + if x, ok := x.GetVariant().(*EndpointPolicySpec_AllowedCloudNamespacePolicySpec); ok { return x.AllowedCloudNamespacePolicySpec } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*EndpointPolicySpec) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*EndpointPolicySpec_AllowedCloudNamespacePolicySpec)(nil), - } +type isEndpointPolicySpec_Variant interface { + isEndpointPolicySpec_Variant() +} + +type EndpointPolicySpec_AllowedCloudNamespacePolicySpec struct { + // A policy spec that allows one caller namespace to access the endpoint. + AllowedCloudNamespacePolicySpec *AllowedCloudNamespacePolicySpec `protobuf:"bytes,1,opt,name=allowed_cloud_namespace_policy_spec,json=allowedCloudNamespacePolicySpec,proto3,oneof" json:"allowed_cloud_namespace_policy_spec,omitempty"` } +func (*EndpointPolicySpec_AllowedCloudNamespacePolicySpec) isEndpointPolicySpec_Variant() {} + type AllowedCloudNamespacePolicySpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace that is allowed to call into this endpoint. Calling namespace must be in same account as the endpoint. NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` } -func (m *AllowedCloudNamespacePolicySpec) Reset() { *m = AllowedCloudNamespacePolicySpec{} } -func (*AllowedCloudNamespacePolicySpec) ProtoMessage() {} -func (*AllowedCloudNamespacePolicySpec) Descriptor() ([]byte, []int) { - return fileDescriptor_799995496fe512b8, []int{4} +func (x *AllowedCloudNamespacePolicySpec) Reset() { + *x = AllowedCloudNamespacePolicySpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_nexus_v1_message_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AllowedCloudNamespacePolicySpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *AllowedCloudNamespacePolicySpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AllowedCloudNamespacePolicySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AllowedCloudNamespacePolicySpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*AllowedCloudNamespacePolicySpec) ProtoMessage() {} + +func (x *AllowedCloudNamespacePolicySpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_nexus_v1_message_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *AllowedCloudNamespacePolicySpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_AllowedCloudNamespacePolicySpec.Merge(m, src) -} -func (m *AllowedCloudNamespacePolicySpec) XXX_Size() int { - return m.Size() -} -func (m *AllowedCloudNamespacePolicySpec) XXX_DiscardUnknown() { - xxx_messageInfo_AllowedCloudNamespacePolicySpec.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_AllowedCloudNamespacePolicySpec proto.InternalMessageInfo +// Deprecated: Use AllowedCloudNamespacePolicySpec.ProtoReflect.Descriptor instead. +func (*AllowedCloudNamespacePolicySpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_nexus_v1_message_proto_rawDescGZIP(), []int{4} +} -func (m *AllowedCloudNamespacePolicySpec) GetNamespaceId() string { - if m != nil { - return m.NamespaceId +func (x *AllowedCloudNamespacePolicySpec) GetNamespaceId() string { + if x != nil { + return x.NamespaceId } return "" } // An endpoint that receives and then routes Nexus requests type Endpoint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the endpoint. This is generated by the server and is immutable. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The current version of the endpoint specification. @@ -372,2125 +381,352 @@ type Endpoint struct { // The id of any ongoing async operation that is creating, updating, or deleting the endpoint, if any. AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` // The date and time when the endpoint was created. - CreatedTime *types.Timestamp `protobuf:"bytes,6,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` + CreatedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` // The date and time when the endpoint was last modified. - LastModifiedTime *types.Timestamp `protobuf:"bytes,7,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` + LastModifiedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` // The id of the project this endpoint belongs to. // temporal:dev ProjectId string `protobuf:"bytes,8,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` } -func (m *Endpoint) Reset() { *m = Endpoint{} } -func (*Endpoint) ProtoMessage() {} -func (*Endpoint) Descriptor() ([]byte, []int) { - return fileDescriptor_799995496fe512b8, []int{5} +func (x *Endpoint) Reset() { + *x = Endpoint{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_nexus_v1_message_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Endpoint) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *Endpoint) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Endpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Endpoint.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*Endpoint) ProtoMessage() {} + +func (x *Endpoint) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_nexus_v1_message_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *Endpoint) XXX_Merge(src proto.Message) { - xxx_messageInfo_Endpoint.Merge(m, src) -} -func (m *Endpoint) XXX_Size() int { - return m.Size() -} -func (m *Endpoint) XXX_DiscardUnknown() { - xxx_messageInfo_Endpoint.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_Endpoint proto.InternalMessageInfo +// Deprecated: Use Endpoint.ProtoReflect.Descriptor instead. +func (*Endpoint) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_nexus_v1_message_proto_rawDescGZIP(), []int{5} +} -func (m *Endpoint) GetId() string { - if m != nil { - return m.Id +func (x *Endpoint) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *Endpoint) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *Endpoint) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *Endpoint) GetSpec() *EndpointSpec { - if m != nil { - return m.Spec +func (x *Endpoint) GetSpec() *EndpointSpec { + if x != nil { + return x.Spec } return nil } -func (m *Endpoint) GetState() v11.ResourceState { - if m != nil { - return m.State +func (x *Endpoint) GetState() v11.ResourceState { + if x != nil { + return x.State } return v11.RESOURCE_STATE_UNSPECIFIED } -func (m *Endpoint) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *Endpoint) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } -func (m *Endpoint) GetCreatedTime() *types.Timestamp { - if m != nil { - return m.CreatedTime +func (x *Endpoint) GetCreatedTime() *timestamppb.Timestamp { + if x != nil { + return x.CreatedTime } return nil } -func (m *Endpoint) GetLastModifiedTime() *types.Timestamp { - if m != nil { - return m.LastModifiedTime +func (x *Endpoint) GetLastModifiedTime() *timestamppb.Timestamp { + if x != nil { + return x.LastModifiedTime } return nil } -func (m *Endpoint) GetProjectId() string { - if m != nil { - return m.ProjectId +func (x *Endpoint) GetProjectId() string { + if x != nil { + return x.ProjectId } return "" } -func init() { - proto.RegisterType((*EndpointSpec)(nil), "temporal.api.cloud.nexus.v1.EndpointSpec") - proto.RegisterType((*EndpointTargetSpec)(nil), "temporal.api.cloud.nexus.v1.EndpointTargetSpec") - proto.RegisterType((*WorkerTargetSpec)(nil), "temporal.api.cloud.nexus.v1.WorkerTargetSpec") - proto.RegisterType((*EndpointPolicySpec)(nil), "temporal.api.cloud.nexus.v1.EndpointPolicySpec") - proto.RegisterType((*AllowedCloudNamespacePolicySpec)(nil), "temporal.api.cloud.nexus.v1.AllowedCloudNamespacePolicySpec") - proto.RegisterType((*Endpoint)(nil), "temporal.api.cloud.nexus.v1.Endpoint") +var File_temporal_api_cloud_nexus_v1_message_proto protoreflect.FileDescriptor + +var file_temporal_api_cloud_nexus_v1_message_proto_rawDesc = []byte{ + 0x0a, 0x29, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x65, 0x78, 0x75, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x6e, 0x65, 0x78, 0x75, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x24, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, 0x31, + 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, + 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc6, 0x02, + 0x0a, 0x0c, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x12, 0x12, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x73, 0x70, 0x65, + 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x78, + 0x75, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x53, 0x70, 0x65, 0x63, 0x12, 0x52, 0x0a, 0x0c, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x73, + 0x70, 0x65, 0x63, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x6e, 0x65, 0x78, 0x75, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x70, 0x65, 0x63, 0x52, 0x0b, 0x70, 0x6f, 0x6c, + 0x69, 0x63, 0x79, 0x53, 0x70, 0x65, 0x63, 0x73, 0x12, 0x39, 0x0a, 0x16, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, + 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x15, 0x64, 0x65, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, + 0x74, 0x65, 0x64, 0x12, 0x41, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, + 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x7e, 0x0a, 0x12, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x70, 0x65, 0x63, 0x12, 0x5d, 0x0a, 0x12, + 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x73, 0x70, + 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, + 0x78, 0x75, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x53, 0x70, 0x65, 0x63, 0x48, 0x00, 0x52, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x65, + 0x72, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x70, 0x65, 0x63, 0x42, 0x09, 0x0a, 0x07, 0x76, + 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x22, 0x54, 0x0a, 0x10, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, + 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x70, 0x65, 0x63, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, + 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x51, 0x75, 0x65, 0x75, 0x65, 0x22, 0xae, 0x01, 0x0a, + 0x12, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, + 0x70, 0x65, 0x63, 0x12, 0x8c, 0x01, 0x0a, 0x23, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, + 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x3c, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x78, 0x75, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x70, 0x65, 0x63, 0x48, + 0x00, 0x52, 0x1f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x70, + 0x65, 0x63, 0x42, 0x09, 0x0a, 0x07, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x22, 0x44, 0x0a, + 0x1f, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x70, 0x65, 0x63, + 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x49, 0x64, 0x22, 0x9f, 0x03, 0x0a, 0x08, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3d, 0x0a, 0x04, 0x73, + 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, + 0x65, 0x78, 0x75, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x43, 0x0a, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, + 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x73, 0x79, + 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x3d, 0x0a, + 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, + 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x12, + 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, + 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x49, 0x64, 0x42, 0xe9, 0x01, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x6e, 0x65, 0x78, 0x75, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x27, 0x67, 0x6f, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x65, 0x78, 0x75, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x6e, 0x65, 0x78, + 0x75, 0x73, 0xa2, 0x02, 0x04, 0x54, 0x41, 0x43, 0x4e, 0xaa, 0x02, 0x1b, 0x54, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x41, 0x70, 0x69, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4e, + 0x65, 0x78, 0x75, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1b, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4e, 0x65, 0x78, + 0x75, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x27, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4e, 0x65, 0x78, 0x75, 0x73, + 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, + 0x02, 0x1f, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, + 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x4e, 0x65, 0x78, 0x75, 0x73, 0x3a, 0x3a, 0x56, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func init() { - proto.RegisterFile("temporal/api/cloud/nexus/v1/message.proto", fileDescriptor_799995496fe512b8) -} - -var fileDescriptor_799995496fe512b8 = []byte{ - // 753 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xcd, 0x4e, 0xdb, 0x4a, - 0x14, 0xf6, 0x24, 0xfc, 0x65, 0x12, 0x71, 0xa3, 0x91, 0xee, 0x55, 0xc4, 0x15, 0x0e, 0xe4, 0x5e, - 0xe9, 0x82, 0xc4, 0xb5, 0x95, 0x76, 0x55, 0xb7, 0x2c, 0x12, 0xa8, 0x04, 0x0b, 0x68, 0x6a, 0x22, - 0x2a, 0x55, 0xaa, 0xac, 0xc1, 0x1e, 0xa2, 0x29, 0xb6, 0x67, 0xea, 0x99, 0x84, 0xb2, 0xa9, 0xfa, - 0x00, 0x5d, 0xf4, 0x0d, 0xba, 0xad, 0xba, 0xe8, 0x63, 0x54, 0x5d, 0xd2, 0x1d, 0xcb, 0x12, 0x36, - 0x55, 0x57, 0x3c, 0x42, 0x35, 0xe3, 0x38, 0x49, 0x01, 0x05, 0x76, 0xe3, 0x33, 0xdf, 0xf7, 0xcd, - 0xf9, 0xce, 0x39, 0x3e, 0x70, 0x55, 0x92, 0x88, 0xb3, 0x04, 0x87, 0x36, 0xe6, 0xd4, 0xf6, 0x43, - 0xd6, 0x0d, 0xec, 0x98, 0xbc, 0xee, 0x0a, 0xbb, 0x57, 0xb7, 0x23, 0x22, 0x04, 0xee, 0x10, 0x8b, - 0x27, 0x4c, 0x32, 0xf4, 0x77, 0x06, 0xb5, 0x30, 0xa7, 0x96, 0x86, 0x5a, 0x1a, 0x6a, 0xf5, 0xea, - 0x0b, 0xff, 0xfe, 0xae, 0xc3, 0xa2, 0x88, 0xc5, 0xd7, 0x24, 0x16, 0xd6, 0x6e, 0x78, 0x2d, 0x21, - 0x82, 0x75, 0x13, 0x9f, 0x5c, 0x47, 0x57, 0x3b, 0x8c, 0x75, 0x42, 0x62, 0xeb, 0xaf, 0x83, 0xee, - 0xa1, 0x2d, 0x69, 0x44, 0x84, 0xc4, 0x11, 0x4f, 0x01, 0xb5, 0x2f, 0x39, 0x58, 0x7a, 0x1c, 0x07, - 0x9c, 0xd1, 0x58, 0xee, 0x71, 0xe2, 0x23, 0x04, 0xa7, 0x62, 0x1c, 0x91, 0x0a, 0x58, 0x02, 0x2b, - 0x05, 0x57, 0x9f, 0x51, 0x0b, 0x16, 0x25, 0x4e, 0x3a, 0x44, 0x7a, 0x82, 0x13, 0xbf, 0x92, 0x5b, - 0x02, 0x2b, 0xc5, 0x7b, 0xb6, 0x35, 0xc1, 0x8c, 0x95, 0x69, 0xb6, 0x35, 0x4f, 0x29, 0xbb, 0x50, - 0x0e, 0xcf, 0xc8, 0x85, 0x25, 0xce, 0x42, 0xea, 0x9f, 0x68, 0x45, 0x51, 0xc9, 0x2f, 0xe5, 0xef, - 0x2c, 0xd9, 0xd2, 0x44, 0x2d, 0x59, 0xe4, 0xc3, 0xb3, 0x40, 0x0f, 0xe0, 0x5f, 0x01, 0x11, 0x7e, - 0x42, 0xb9, 0xa4, 0x2c, 0xf6, 0x02, 0xc2, 0x13, 0xe2, 0x63, 0x49, 0x82, 0xca, 0x94, 0xf2, 0xd2, - 0xcc, 0x55, 0x80, 0xfb, 0xe7, 0x18, 0x62, 0x73, 0x08, 0x40, 0x0d, 0x58, 0x1c, 0xbb, 0xa8, 0x4c, - 0x6b, 0x83, 0xd5, 0x2b, 0xd9, 0xe8, 0x86, 0xa8, 0x44, 0x5a, 0xf8, 0x24, 0x64, 0x38, 0x70, 0xc7, - 0x39, 0xb5, 0x37, 0x10, 0x5d, 0xf7, 0x8c, 0x5e, 0x40, 0x74, 0xcc, 0x92, 0x23, 0x92, 0x78, 0xe3, - 0x05, 0x04, 0x5a, 0xff, 0xff, 0x89, 0x6e, 0x9f, 0x69, 0xda, 0x48, 0x6a, 0xcb, 0x70, 0xcb, 0xc7, - 0x57, 0x62, 0xcd, 0x02, 0x9c, 0xed, 0xe1, 0x84, 0xe2, 0x58, 0xd6, 0xda, 0xb0, 0x7c, 0x95, 0x82, - 0x96, 0x61, 0x49, 0xf5, 0x4f, 0x70, 0xec, 0x13, 0x8f, 0x06, 0x83, 0x9e, 0x16, 0x87, 0xb1, 0xed, - 0x00, 0x2d, 0x42, 0x28, 0xb1, 0x38, 0xf2, 0x5e, 0x75, 0x49, 0x97, 0xe8, 0xce, 0x16, 0xdc, 0x82, - 0x8a, 0x3c, 0x55, 0x81, 0xda, 0x67, 0x30, 0xb2, 0x35, 0xaa, 0x3b, 0x7a, 0x07, 0xe0, 0x3f, 0x38, - 0x0c, 0xd9, 0x31, 0x09, 0x3c, 0x9d, 0xb7, 0x37, 0x7a, 0x67, 0xac, 0xaf, 0x03, 0xa3, 0x8f, 0x26, - 0x1a, 0x6d, 0xa4, 0x3a, 0x1b, 0x2a, 0xba, 0x9b, 0xa9, 0x8c, 0xde, 0xda, 0x32, 0xdc, 0x2a, 0x9e, - 0x0c, 0x19, 0x2f, 0xc3, 0x26, 0xac, 0xde, 0x22, 0x78, 0x87, 0xaa, 0xd4, 0x3e, 0xe4, 0xe1, 0x5c, - 0x66, 0x1b, 0xcd, 0xc3, 0xdc, 0x10, 0x95, 0xa3, 0x01, 0x5a, 0x85, 0xe5, 0xec, 0x87, 0xf3, 0x7a, - 0x24, 0x11, 0x6a, 0x62, 0xd2, 0xc2, 0xfd, 0x91, 0xc5, 0xf7, 0xd3, 0x30, 0x5a, 0x87, 0x53, 0xba, - 0x0e, 0x79, 0x5d, 0x87, 0xd5, 0x3b, 0x8d, 0xb7, 0x1e, 0x6c, 0x4d, 0x43, 0x1b, 0x70, 0x5a, 0x48, - 0x2c, 0x89, 0x1e, 0xe0, 0xf9, 0x9b, 0x07, 0x26, 0x7b, 0x52, 0x49, 0xb8, 0x83, 0xf3, 0x9e, 0x22, - 0xb9, 0x29, 0x17, 0xad, 0x41, 0x84, 0xc5, 0x49, 0xec, 0x7b, 0x8c, 0x93, 0x04, 0xeb, 0x5f, 0x83, - 0x06, 0x7a, 0xc4, 0x0b, 0x6e, 0x59, 0xdf, 0x3c, 0xc9, 0x2e, 0xb6, 0x03, 0xb4, 0x0e, 0x4b, 0x7e, - 0x42, 0xd4, 0x4f, 0xe1, 0xa9, 0x55, 0x51, 0x99, 0xd1, 0x99, 0x2f, 0x58, 0xe9, 0x1e, 0xb1, 0xb2, - 0x3d, 0x62, 0xb5, 0xb3, 0x3d, 0xe2, 0x16, 0x07, 0x78, 0x15, 0x41, 0x5b, 0x10, 0x85, 0x58, 0x48, - 0x2f, 0x62, 0x01, 0x3d, 0xa4, 0x99, 0xc8, 0xec, 0xad, 0x22, 0x65, 0xc5, 0xda, 0x19, 0x90, 0xb4, - 0xd2, 0x22, 0x84, 0x3c, 0x61, 0x2f, 0x89, 0x2f, 0x55, 0xba, 0x73, 0xe9, 0x60, 0x0e, 0x22, 0xdb, - 0x41, 0xf3, 0x1b, 0x38, 0x3d, 0x37, 0x8d, 0xb3, 0x73, 0xd3, 0xb8, 0x3c, 0x37, 0xc1, 0xdb, 0xbe, - 0x09, 0x3e, 0xf6, 0x4d, 0xf0, 0xb5, 0x6f, 0x82, 0xd3, 0xbe, 0x09, 0xbe, 0xf7, 0x4d, 0xf0, 0xa3, - 0x6f, 0x1a, 0x97, 0x7d, 0x13, 0xbc, 0xbf, 0x30, 0x8d, 0xd3, 0x0b, 0xd3, 0x38, 0xbb, 0x30, 0x0d, - 0x68, 0x52, 0x36, 0xa9, 0x09, 0xcd, 0xd2, 0x4e, 0xba, 0x3e, 0x5b, 0x2a, 0xc5, 0x16, 0x78, 0xfe, - 0x5f, 0x67, 0x0c, 0x4f, 0xd9, 0x0d, 0x1b, 0xfe, 0xa1, 0x3e, 0x7c, 0xca, 0x2d, 0xb6, 0x07, 0x30, - 0xca, 0xac, 0x06, 0xa7, 0x96, 0x1e, 0x3f, 0x6b, 0x57, 0x0b, 0xef, 0xd7, 0x7f, 0xe6, 0x96, 0x47, - 0xf7, 0x8e, 0xd3, 0xe0, 0xd4, 0x71, 0x34, 0xc2, 0x71, 0x34, 0xc4, 0x71, 0xf6, 0xeb, 0x07, 0x33, - 0xba, 0x30, 0xf7, 0x7f, 0x05, 0x00, 0x00, 0xff, 0xff, 0x4b, 0x84, 0x2d, 0xf9, 0x51, 0x06, 0x00, - 0x00, -} - -func (this *EndpointSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*EndpointSpec) - if !ok { - that2, ok := that.(EndpointSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Name != that1.Name { - return false - } - if !this.TargetSpec.Equal(that1.TargetSpec) { - return false - } - if len(this.PolicySpecs) != len(that1.PolicySpecs) { - return false - } - for i := range this.PolicySpecs { - if !this.PolicySpecs[i].Equal(that1.PolicySpecs[i]) { - return false - } - } - if this.DescriptionDeprecated != that1.DescriptionDeprecated { - return false - } - if !this.Description.Equal(that1.Description) { - return false - } - return true -} -func (this *EndpointTargetSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*EndpointTargetSpec) - if !ok { - that2, ok := that.(EndpointTargetSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if that1.Variant == nil { - if this.Variant != nil { - return false - } - } else if this.Variant == nil { - return false - } else if !this.Variant.Equal(that1.Variant) { - return false - } - return true -} -func (this *EndpointTargetSpec_WorkerTargetSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*EndpointTargetSpec_WorkerTargetSpec) - if !ok { - that2, ok := that.(EndpointTargetSpec_WorkerTargetSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.WorkerTargetSpec.Equal(that1.WorkerTargetSpec) { - return false - } - return true -} -func (this *WorkerTargetSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*WorkerTargetSpec) - if !ok { - that2, ok := that.(WorkerTargetSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.NamespaceId != that1.NamespaceId { - return false - } - if this.TaskQueue != that1.TaskQueue { - return false - } - return true -} -func (this *EndpointPolicySpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*EndpointPolicySpec) - if !ok { - that2, ok := that.(EndpointPolicySpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if that1.Variant == nil { - if this.Variant != nil { - return false - } - } else if this.Variant == nil { - return false - } else if !this.Variant.Equal(that1.Variant) { - return false - } - return true -} -func (this *EndpointPolicySpec_AllowedCloudNamespacePolicySpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*EndpointPolicySpec_AllowedCloudNamespacePolicySpec) - if !ok { - that2, ok := that.(EndpointPolicySpec_AllowedCloudNamespacePolicySpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AllowedCloudNamespacePolicySpec.Equal(that1.AllowedCloudNamespacePolicySpec) { - return false - } - return true -} -func (this *AllowedCloudNamespacePolicySpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*AllowedCloudNamespacePolicySpec) - if !ok { - that2, ok := that.(AllowedCloudNamespacePolicySpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.NamespaceId != that1.NamespaceId { - return false - } - return true -} -func (this *Endpoint) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*Endpoint) - if !ok { - that2, ok := that.(Endpoint) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Id != that1.Id { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.State != that1.State { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - if !this.CreatedTime.Equal(that1.CreatedTime) { - return false - } - if !this.LastModifiedTime.Equal(that1.LastModifiedTime) { - return false - } - if this.ProjectId != that1.ProjectId { - return false - } - return true -} -func (this *EndpointSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 9) - s = append(s, "&nexus.EndpointSpec{") - s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") - if this.TargetSpec != nil { - s = append(s, "TargetSpec: "+fmt.Sprintf("%#v", this.TargetSpec)+",\n") - } - if this.PolicySpecs != nil { - s = append(s, "PolicySpecs: "+fmt.Sprintf("%#v", this.PolicySpecs)+",\n") - } - s = append(s, "DescriptionDeprecated: "+fmt.Sprintf("%#v", this.DescriptionDeprecated)+",\n") - if this.Description != nil { - s = append(s, "Description: "+fmt.Sprintf("%#v", this.Description)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *EndpointTargetSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&nexus.EndpointTargetSpec{") - if this.Variant != nil { - s = append(s, "Variant: "+fmt.Sprintf("%#v", this.Variant)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *EndpointTargetSpec_WorkerTargetSpec) GoString() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&nexus.EndpointTargetSpec_WorkerTargetSpec{` + - `WorkerTargetSpec:` + fmt.Sprintf("%#v", this.WorkerTargetSpec) + `}`}, ", ") - return s -} -func (this *WorkerTargetSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&nexus.WorkerTargetSpec{") - s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n") - s = append(s, "TaskQueue: "+fmt.Sprintf("%#v", this.TaskQueue)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *EndpointPolicySpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&nexus.EndpointPolicySpec{") - if this.Variant != nil { - s = append(s, "Variant: "+fmt.Sprintf("%#v", this.Variant)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *EndpointPolicySpec_AllowedCloudNamespacePolicySpec) GoString() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&nexus.EndpointPolicySpec_AllowedCloudNamespacePolicySpec{` + - `AllowedCloudNamespacePolicySpec:` + fmt.Sprintf("%#v", this.AllowedCloudNamespacePolicySpec) + `}`}, ", ") - return s -} -func (this *AllowedCloudNamespacePolicySpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&nexus.AllowedCloudNamespacePolicySpec{") - s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *Endpoint) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 12) - s = append(s, "&nexus.Endpoint{") - s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - if this.CreatedTime != nil { - s = append(s, "CreatedTime: "+fmt.Sprintf("%#v", this.CreatedTime)+",\n") - } - if this.LastModifiedTime != nil { - s = append(s, "LastModifiedTime: "+fmt.Sprintf("%#v", this.LastModifiedTime)+",\n") - } - s = append(s, "ProjectId: "+fmt.Sprintf("%#v", this.ProjectId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func valueToGoStringMessage(v interface{}, typ string) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) -} -func (m *EndpointSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *EndpointSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} +var ( + file_temporal_api_cloud_nexus_v1_message_proto_rawDescOnce sync.Once + file_temporal_api_cloud_nexus_v1_message_proto_rawDescData = file_temporal_api_cloud_nexus_v1_message_proto_rawDesc +) -func (m *EndpointSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Description != nil { - { - size, err := m.Description.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if len(m.DescriptionDeprecated) > 0 { - i -= len(m.DescriptionDeprecated) - copy(dAtA[i:], m.DescriptionDeprecated) - i = encodeVarintMessage(dAtA, i, uint64(len(m.DescriptionDeprecated))) - i-- - dAtA[i] = 0x22 - } - if len(m.PolicySpecs) > 0 { - for iNdEx := len(m.PolicySpecs) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.PolicySpecs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - if m.TargetSpec != nil { - { - size, err := m.TargetSpec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa +func file_temporal_api_cloud_nexus_v1_message_proto_rawDescGZIP() []byte { + file_temporal_api_cloud_nexus_v1_message_proto_rawDescOnce.Do(func() { + file_temporal_api_cloud_nexus_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_temporal_api_cloud_nexus_v1_message_proto_rawDescData) + }) + return file_temporal_api_cloud_nexus_v1_message_proto_rawDescData +} + +var file_temporal_api_cloud_nexus_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_temporal_api_cloud_nexus_v1_message_proto_goTypes = []interface{}{ + (*EndpointSpec)(nil), // 0: temporal.api.cloud.nexus.v1.EndpointSpec + (*EndpointTargetSpec)(nil), // 1: temporal.api.cloud.nexus.v1.EndpointTargetSpec + (*WorkerTargetSpec)(nil), // 2: temporal.api.cloud.nexus.v1.WorkerTargetSpec + (*EndpointPolicySpec)(nil), // 3: temporal.api.cloud.nexus.v1.EndpointPolicySpec + (*AllowedCloudNamespacePolicySpec)(nil), // 4: temporal.api.cloud.nexus.v1.AllowedCloudNamespacePolicySpec + (*Endpoint)(nil), // 5: temporal.api.cloud.nexus.v1.Endpoint + (*v1.Payload)(nil), // 6: temporal.api.common.v1.Payload + (v11.ResourceState)(0), // 7: temporal.api.cloud.resource.v1.ResourceState + (*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp +} +var file_temporal_api_cloud_nexus_v1_message_proto_depIdxs = []int32{ + 1, // 0: temporal.api.cloud.nexus.v1.EndpointSpec.target_spec:type_name -> temporal.api.cloud.nexus.v1.EndpointTargetSpec + 3, // 1: temporal.api.cloud.nexus.v1.EndpointSpec.policy_specs:type_name -> temporal.api.cloud.nexus.v1.EndpointPolicySpec + 6, // 2: temporal.api.cloud.nexus.v1.EndpointSpec.description:type_name -> temporal.api.common.v1.Payload + 2, // 3: temporal.api.cloud.nexus.v1.EndpointTargetSpec.worker_target_spec:type_name -> temporal.api.cloud.nexus.v1.WorkerTargetSpec + 4, // 4: temporal.api.cloud.nexus.v1.EndpointPolicySpec.allowed_cloud_namespace_policy_spec:type_name -> temporal.api.cloud.nexus.v1.AllowedCloudNamespacePolicySpec + 0, // 5: temporal.api.cloud.nexus.v1.Endpoint.spec:type_name -> temporal.api.cloud.nexus.v1.EndpointSpec + 7, // 6: temporal.api.cloud.nexus.v1.Endpoint.state:type_name -> temporal.api.cloud.resource.v1.ResourceState + 8, // 7: temporal.api.cloud.nexus.v1.Endpoint.created_time:type_name -> google.protobuf.Timestamp + 8, // 8: temporal.api.cloud.nexus.v1.Endpoint.last_modified_time:type_name -> google.protobuf.Timestamp + 9, // [9:9] is the sub-list for method output_type + 9, // [9:9] is the sub-list for method input_type + 9, // [9:9] is the sub-list for extension type_name + 9, // [9:9] is the sub-list for extension extendee + 0, // [0:9] is the sub-list for field type_name +} + +func init() { file_temporal_api_cloud_nexus_v1_message_proto_init() } +func file_temporal_api_cloud_nexus_v1_message_proto_init() { + if File_temporal_api_cloud_nexus_v1_message_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_temporal_api_cloud_nexus_v1_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EndpointSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_nexus_v1_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EndpointTargetSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_nexus_v1_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WorkerTargetSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_nexus_v1_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EndpointPolicySpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_nexus_v1_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AllowedCloudNamespacePolicySpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_nexus_v1_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Endpoint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_temporal_api_cloud_nexus_v1_message_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*EndpointTargetSpec_WorkerTargetSpec)(nil), } - return len(dAtA) - i, nil -} - -func (m *EndpointTargetSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + file_temporal_api_cloud_nexus_v1_message_proto_msgTypes[3].OneofWrappers = []interface{}{ + (*EndpointPolicySpec_AllowedCloudNamespacePolicySpec)(nil), } - return dAtA[:n], nil -} - -func (m *EndpointTargetSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_temporal_api_cloud_nexus_v1_message_proto_rawDesc, + NumEnums: 0, + NumMessages: 6, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_temporal_api_cloud_nexus_v1_message_proto_goTypes, + DependencyIndexes: file_temporal_api_cloud_nexus_v1_message_proto_depIdxs, + MessageInfos: file_temporal_api_cloud_nexus_v1_message_proto_msgTypes, + }.Build() + File_temporal_api_cloud_nexus_v1_message_proto = out.File + file_temporal_api_cloud_nexus_v1_message_proto_rawDesc = nil + file_temporal_api_cloud_nexus_v1_message_proto_goTypes = nil + file_temporal_api_cloud_nexus_v1_message_proto_depIdxs = nil } - -func (m *EndpointTargetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Variant != nil { - { - size := m.Variant.Size() - i -= size - if _, err := m.Variant.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - return len(dAtA) - i, nil -} - -func (m *EndpointTargetSpec_WorkerTargetSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *EndpointTargetSpec_WorkerTargetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.WorkerTargetSpec != nil { - { - size, err := m.WorkerTargetSpec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} -func (m *WorkerTargetSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *WorkerTargetSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *WorkerTargetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.TaskQueue) > 0 { - i -= len(m.TaskQueue) - copy(dAtA[i:], m.TaskQueue) - i = encodeVarintMessage(dAtA, i, uint64(len(m.TaskQueue))) - i-- - dAtA[i] = 0x12 - } - if len(m.NamespaceId) > 0 { - i -= len(m.NamespaceId) - copy(dAtA[i:], m.NamespaceId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.NamespaceId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *EndpointPolicySpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *EndpointPolicySpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *EndpointPolicySpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Variant != nil { - { - size := m.Variant.Size() - i -= size - if _, err := m.Variant.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - return len(dAtA) - i, nil -} - -func (m *EndpointPolicySpec_AllowedCloudNamespacePolicySpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *EndpointPolicySpec_AllowedCloudNamespacePolicySpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.AllowedCloudNamespacePolicySpec != nil { - { - size, err := m.AllowedCloudNamespacePolicySpec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} -func (m *AllowedCloudNamespacePolicySpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AllowedCloudNamespacePolicySpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AllowedCloudNamespacePolicySpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NamespaceId) > 0 { - i -= len(m.NamespaceId) - copy(dAtA[i:], m.NamespaceId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.NamespaceId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Endpoint) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Endpoint) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Endpoint) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ProjectId) > 0 { - i -= len(m.ProjectId) - copy(dAtA[i:], m.ProjectId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ProjectId))) - i-- - dAtA[i] = 0x42 - } - if m.LastModifiedTime != nil { - { - size, err := m.LastModifiedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if m.CreatedTime != nil { - { - size, err := m.CreatedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x2a - } - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x20 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintMessage(dAtA []byte, offset int, v uint64) int { - offset -= sovMessage(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *EndpointSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.TargetSpec != nil { - l = m.TargetSpec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if len(m.PolicySpecs) > 0 { - for _, e := range m.PolicySpecs { - l = e.Size() - n += 1 + l + sovMessage(uint64(l)) - } - } - l = len(m.DescriptionDeprecated) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Description != nil { - l = m.Description.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *EndpointTargetSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Variant != nil { - n += m.Variant.Size() - } - return n -} - -func (m *EndpointTargetSpec_WorkerTargetSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.WorkerTargetSpec != nil { - l = m.WorkerTargetSpec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} -func (m *WorkerTargetSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.NamespaceId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.TaskQueue) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *EndpointPolicySpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Variant != nil { - n += m.Variant.Size() - } - return n -} - -func (m *EndpointPolicySpec_AllowedCloudNamespacePolicySpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AllowedCloudNamespacePolicySpec != nil { - l = m.AllowedCloudNamespacePolicySpec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} -func (m *AllowedCloudNamespacePolicySpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.NamespaceId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *Endpoint) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.CreatedTime != nil { - l = m.CreatedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.LastModifiedTime != nil { - l = m.LastModifiedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.ProjectId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func sovMessage(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozMessage(x uint64) (n int) { - return sovMessage(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (this *EndpointSpec) String() string { - if this == nil { - return "nil" - } - repeatedStringForPolicySpecs := "[]*EndpointPolicySpec{" - for _, f := range this.PolicySpecs { - repeatedStringForPolicySpecs += strings.Replace(f.String(), "EndpointPolicySpec", "EndpointPolicySpec", 1) + "," - } - repeatedStringForPolicySpecs += "}" - s := strings.Join([]string{`&EndpointSpec{`, - `Name:` + fmt.Sprintf("%v", this.Name) + `,`, - `TargetSpec:` + strings.Replace(this.TargetSpec.String(), "EndpointTargetSpec", "EndpointTargetSpec", 1) + `,`, - `PolicySpecs:` + repeatedStringForPolicySpecs + `,`, - `DescriptionDeprecated:` + fmt.Sprintf("%v", this.DescriptionDeprecated) + `,`, - `Description:` + strings.Replace(fmt.Sprintf("%v", this.Description), "Payload", "v1.Payload", 1) + `,`, - `}`, - }, "") - return s -} -func (this *EndpointTargetSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&EndpointTargetSpec{`, - `Variant:` + fmt.Sprintf("%v", this.Variant) + `,`, - `}`, - }, "") - return s -} -func (this *EndpointTargetSpec_WorkerTargetSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&EndpointTargetSpec_WorkerTargetSpec{`, - `WorkerTargetSpec:` + strings.Replace(fmt.Sprintf("%v", this.WorkerTargetSpec), "WorkerTargetSpec", "WorkerTargetSpec", 1) + `,`, - `}`, - }, "") - return s -} -func (this *WorkerTargetSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&WorkerTargetSpec{`, - `NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`, - `TaskQueue:` + fmt.Sprintf("%v", this.TaskQueue) + `,`, - `}`, - }, "") - return s -} -func (this *EndpointPolicySpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&EndpointPolicySpec{`, - `Variant:` + fmt.Sprintf("%v", this.Variant) + `,`, - `}`, - }, "") - return s -} -func (this *EndpointPolicySpec_AllowedCloudNamespacePolicySpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&EndpointPolicySpec_AllowedCloudNamespacePolicySpec{`, - `AllowedCloudNamespacePolicySpec:` + strings.Replace(fmt.Sprintf("%v", this.AllowedCloudNamespacePolicySpec), "AllowedCloudNamespacePolicySpec", "AllowedCloudNamespacePolicySpec", 1) + `,`, - `}`, - }, "") - return s -} -func (this *AllowedCloudNamespacePolicySpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&AllowedCloudNamespacePolicySpec{`, - `NamespaceId:` + fmt.Sprintf("%v", this.NamespaceId) + `,`, - `}`, - }, "") - return s -} -func (this *Endpoint) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&Endpoint{`, - `Id:` + fmt.Sprintf("%v", this.Id) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `Spec:` + strings.Replace(this.Spec.String(), "EndpointSpec", "EndpointSpec", 1) + `,`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `CreatedTime:` + strings.Replace(fmt.Sprintf("%v", this.CreatedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `LastModifiedTime:` + strings.Replace(fmt.Sprintf("%v", this.LastModifiedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `ProjectId:` + fmt.Sprintf("%v", this.ProjectId) + `,`, - `}`, - }, "") - return s -} -func valueToStringMessage(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) -} -func (m *EndpointSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: EndpointSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: EndpointSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TargetSpec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.TargetSpec == nil { - m.TargetSpec = &EndpointTargetSpec{} - } - if err := m.TargetSpec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PolicySpecs", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PolicySpecs = append(m.PolicySpecs, &EndpointPolicySpec{}) - if err := m.PolicySpecs[len(m.PolicySpecs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DescriptionDeprecated", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DescriptionDeprecated = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Description == nil { - m.Description = &v1.Payload{} - } - if err := m.Description.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *EndpointTargetSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: EndpointTargetSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: EndpointTargetSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WorkerTargetSpec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &WorkerTargetSpec{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Variant = &EndpointTargetSpec_WorkerTargetSpec{v} - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *WorkerTargetSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: WorkerTargetSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: WorkerTargetSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NamespaceId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NamespaceId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TaskQueue", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TaskQueue = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *EndpointPolicySpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: EndpointPolicySpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: EndpointPolicySpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AllowedCloudNamespacePolicySpec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &AllowedCloudNamespacePolicySpec{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Variant = &EndpointPolicySpec_AllowedCloudNamespacePolicySpec{v} - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AllowedCloudNamespacePolicySpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AllowedCloudNamespacePolicySpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AllowedCloudNamespacePolicySpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NamespaceId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NamespaceId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Endpoint) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Endpoint: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Endpoint: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &EndpointSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= v11.ResourceState(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CreatedTime == nil { - m.CreatedTime = &types.Timestamp{} - } - if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastModifiedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.LastModifiedTime == nil { - m.LastModifiedTime = &types.Timestamp{} - } - if err := m.LastModifiedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ProjectId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipMessage(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthMessage - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupMessage - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthMessage - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowMessage = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group") -) diff --git a/protogen/api/cloud/operation/v1/message.pb.go b/protogen/api/cloud/operation/v1/message.pb.go index f45807c7..5e7dd93c 100644 --- a/protogen/api/cloud/operation/v1/message.pb.go +++ b/protogen/api/cloud/operation/v1/message.pb.go @@ -1,233 +1,328 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: temporal/api/cloud/operation/v1/message.proto package operation import ( - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - types "github.com/gogo/protobuf/types" - io "io" - math "math" - math_bits "math/bits" + proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + anypb "google.golang.org/protobuf/types/known/anypb" + durationpb "google.golang.org/protobuf/types/known/durationpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" - strconv "strconv" - strings "strings" + "strconv" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type AsyncOperation_State int32 const ( STATE_UNSPECIFIED AsyncOperation_State = 0 - STATE_PENDING AsyncOperation_State = 1 - STATE_IN_PROGRESS AsyncOperation_State = 2 - STATE_FAILED AsyncOperation_State = 3 - STATE_CANCELLED AsyncOperation_State = 4 - STATE_FULFILLED AsyncOperation_State = 5 - STATE_REJECTED AsyncOperation_State = 6 + STATE_PENDING AsyncOperation_State = 1 // The operation is pending. + STATE_IN_PROGRESS AsyncOperation_State = 2 // The operation is in progress. + STATE_FAILED AsyncOperation_State = 3 // The operation failed, check failure_reason for more details. + STATE_CANCELLED AsyncOperation_State = 4 // The operation was cancelled. + STATE_FULFILLED AsyncOperation_State = 5 // The operation was fulfilled. + STATE_REJECTED AsyncOperation_State = 6 // The operation was rejected. ) -var AsyncOperation_State_name = map[int32]string{ - 0: "StateUnspecified", - 1: "StatePending", - 2: "StateInProgress", - 3: "StateFailed", - 4: "StateCancelled", - 5: "StateFulfilled", - 6: "StateRejected", +// Enum value maps for AsyncOperation_State. +var ( + AsyncOperation_State_name = map[int32]string{ + 0: "StateUnspecified", + 1: "StatePending", + 2: "StateInProgress", + 3: "StateFailed", + 4: "StateCancelled", + 5: "StateFulfilled", + 6: "StateRejected", + } + AsyncOperation_State_value = map[string]int32{ + "StateUnspecified": 0, + "StatePending": 1, + "StateInProgress": 2, + "StateFailed": 3, + "StateCancelled": 4, + "StateFulfilled": 5, + "StateRejected": 6, + } +) + +func (x AsyncOperation_State) Enum() *AsyncOperation_State { + p := new(AsyncOperation_State) + *p = x + return p } -var AsyncOperation_State_value = map[string]int32{ - "StateUnspecified": 0, - "StatePending": 1, - "StateInProgress": 2, - "StateFailed": 3, - "StateCancelled": 4, - "StateFulfilled": 5, - "StateRejected": 6, +func (x AsyncOperation_State) String() string { + switch x { + case STATE_UNSPECIFIED: + return "StateUnspecified" + case STATE_PENDING: + return "StatePending" + case STATE_IN_PROGRESS: + return "StateInProgress" + case STATE_FAILED: + return "StateFailed" + case STATE_CANCELLED: + return "StateCancelled" + case STATE_FULFILLED: + return "StateFulfilled" + case STATE_REJECTED: + return "StateRejected" + default: + return strconv.Itoa(int(x)) + } + } +func (AsyncOperation_State) Descriptor() protoreflect.EnumDescriptor { + return file_temporal_api_cloud_operation_v1_message_proto_enumTypes[0].Descriptor() +} + +func (AsyncOperation_State) Type() protoreflect.EnumType { + return &file_temporal_api_cloud_operation_v1_message_proto_enumTypes[0] +} + +func (x AsyncOperation_State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AsyncOperation_State.Descriptor instead. func (AsyncOperation_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e895f88c45383e9d, []int{0, 0} + return file_temporal_api_cloud_operation_v1_message_proto_rawDescGZIP(), []int{0, 0} } type AsyncOperation_ApprovalStatus_State int32 const ( APPROVAL_STATE_UNSPECIFIED AsyncOperation_ApprovalStatus_State = 0 - APPROVAL_STATE_PENDING AsyncOperation_ApprovalStatus_State = 1 - APPROVAL_STATE_APPROVED AsyncOperation_ApprovalStatus_State = 2 - APPROVAL_STATE_REJECTED AsyncOperation_ApprovalStatus_State = 3 - APPROVAL_STATE_EXPIRED AsyncOperation_ApprovalStatus_State = 4 + APPROVAL_STATE_PENDING AsyncOperation_ApprovalStatus_State = 1 // The required approvals for this operation are pending. + APPROVAL_STATE_APPROVED AsyncOperation_ApprovalStatus_State = 2 // The required approvals for this operation are approved. + APPROVAL_STATE_REJECTED AsyncOperation_ApprovalStatus_State = 3 // The required approvals for this operation are rejected. + APPROVAL_STATE_EXPIRED AsyncOperation_ApprovalStatus_State = 4 // The required approvals for this operation have expired. +) + +// Enum value maps for AsyncOperation_ApprovalStatus_State. +var ( + AsyncOperation_ApprovalStatus_State_name = map[int32]string{ + 0: "ApprovalStateUnspecified", + 1: "ApprovalStatePending", + 2: "ApprovalStateApproved", + 3: "ApprovalStateRejected", + 4: "ApprovalStateExpired", + } + AsyncOperation_ApprovalStatus_State_value = map[string]int32{ + "ApprovalStateUnspecified": 0, + "ApprovalStatePending": 1, + "ApprovalStateApproved": 2, + "ApprovalStateRejected": 3, + "ApprovalStateExpired": 4, + } ) -var AsyncOperation_ApprovalStatus_State_name = map[int32]string{ - 0: "ApprovalStateUnspecified", - 1: "ApprovalStatePending", - 2: "ApprovalStateApproved", - 3: "ApprovalStateRejected", - 4: "ApprovalStateExpired", +func (x AsyncOperation_ApprovalStatus_State) Enum() *AsyncOperation_ApprovalStatus_State { + p := new(AsyncOperation_ApprovalStatus_State) + *p = x + return p +} + +func (x AsyncOperation_ApprovalStatus_State) String() string { + switch x { + case APPROVAL_STATE_UNSPECIFIED: + return "ApprovalStateUnspecified" + case APPROVAL_STATE_PENDING: + return "ApprovalStatePending" + case APPROVAL_STATE_APPROVED: + return "ApprovalStateApproved" + case APPROVAL_STATE_REJECTED: + return "ApprovalStateRejected" + case APPROVAL_STATE_EXPIRED: + return "ApprovalStateExpired" + default: + return strconv.Itoa(int(x)) + } + +} + +func (AsyncOperation_ApprovalStatus_State) Descriptor() protoreflect.EnumDescriptor { + return file_temporal_api_cloud_operation_v1_message_proto_enumTypes[1].Descriptor() } -var AsyncOperation_ApprovalStatus_State_value = map[string]int32{ - "ApprovalStateUnspecified": 0, - "ApprovalStatePending": 1, - "ApprovalStateApproved": 2, - "ApprovalStateRejected": 3, - "ApprovalStateExpired": 4, +func (AsyncOperation_ApprovalStatus_State) Type() protoreflect.EnumType { + return &file_temporal_api_cloud_operation_v1_message_proto_enumTypes[1] } +func (x AsyncOperation_ApprovalStatus_State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AsyncOperation_ApprovalStatus_State.Descriptor instead. func (AsyncOperation_ApprovalStatus_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e895f88c45383e9d, []int{0, 0, 0} + return file_temporal_api_cloud_operation_v1_message_proto_rawDescGZIP(), []int{0, 0, 0} } type AsyncOperation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The operation id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The current state of this operation // Possible values are: pending, in_progress, failed, cancelled, fulfilled // Deprecated: Use the state field instead. // temporal:versioning:max_version=v0.3.0 - StateDeprecated string `protobuf:"bytes,2,opt,name=state_deprecated,json=stateDeprecated,proto3" json:"state_deprecated,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + StateDeprecated string `protobuf:"bytes,2,opt,name=state_deprecated,json=stateDeprecated,proto3" json:"state_deprecated,omitempty"` // The current state of this operation. // temporal:versioning:min_version=v0.3.0 // temporal:enums:replaces=state_deprecated State AsyncOperation_State `protobuf:"varint,9,opt,name=state,proto3,enum=temporal.api.cloud.operation.v1.AsyncOperation_State" json:"state,omitempty"` // The recommended duration to check back for an update in the operation's state. - CheckDuration *types.Duration `protobuf:"bytes,3,opt,name=check_duration,json=checkDuration,proto3" json:"check_duration,omitempty"` + CheckDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=check_duration,json=checkDuration,proto3" json:"check_duration,omitempty"` // The type of operation being performed. OperationType string `protobuf:"bytes,4,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"` // The input to the operation being performed. // // (-- api-linter: core::0146::any=disabled --) - OperationInput *types.Any `protobuf:"bytes,5,opt,name=operation_input,json=operationInput,proto3" json:"operation_input,omitempty"` + OperationInput *anypb.Any `protobuf:"bytes,5,opt,name=operation_input,json=operationInput,proto3" json:"operation_input,omitempty"` // If the operation failed, the reason for the failure. FailureReason string `protobuf:"bytes,6,opt,name=failure_reason,json=failureReason,proto3" json:"failure_reason,omitempty"` // The date and time when the operation initiated. - StartedTime *types.Timestamp `protobuf:"bytes,7,opt,name=started_time,json=startedTime,proto3" json:"started_time,omitempty"` + StartedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=started_time,json=startedTime,proto3" json:"started_time,omitempty"` // The date and time when the operation completed. - FinishedTime *types.Timestamp `protobuf:"bytes,8,opt,name=finished_time,json=finishedTime,proto3" json:"finished_time,omitempty"` + FinishedTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=finished_time,json=finishedTime,proto3" json:"finished_time,omitempty"` // The approval status of the operation, if any. // temporal:dev Approval *AsyncOperation_ApprovalStatus `protobuf:"bytes,10,opt,name=approval,proto3" json:"approval,omitempty"` } -func (m *AsyncOperation) Reset() { *m = AsyncOperation{} } -func (*AsyncOperation) ProtoMessage() {} -func (*AsyncOperation) Descriptor() ([]byte, []int) { - return fileDescriptor_e895f88c45383e9d, []int{0} +func (x *AsyncOperation) Reset() { + *x = AsyncOperation{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_operation_v1_message_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AsyncOperation) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *AsyncOperation) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AsyncOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AsyncOperation.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*AsyncOperation) ProtoMessage() {} + +func (x *AsyncOperation) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_operation_v1_message_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *AsyncOperation) XXX_Merge(src proto.Message) { - xxx_messageInfo_AsyncOperation.Merge(m, src) -} -func (m *AsyncOperation) XXX_Size() int { - return m.Size() -} -func (m *AsyncOperation) XXX_DiscardUnknown() { - xxx_messageInfo_AsyncOperation.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_AsyncOperation proto.InternalMessageInfo +// Deprecated: Use AsyncOperation.ProtoReflect.Descriptor instead. +func (*AsyncOperation) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_operation_v1_message_proto_rawDescGZIP(), []int{0} +} -func (m *AsyncOperation) GetId() string { - if m != nil { - return m.Id +func (x *AsyncOperation) GetId() string { + if x != nil { + return x.Id } return "" } // Deprecated: Do not use. -func (m *AsyncOperation) GetStateDeprecated() string { - if m != nil { - return m.StateDeprecated +func (x *AsyncOperation) GetStateDeprecated() string { + if x != nil { + return x.StateDeprecated } return "" } -func (m *AsyncOperation) GetState() AsyncOperation_State { - if m != nil { - return m.State +func (x *AsyncOperation) GetState() AsyncOperation_State { + if x != nil { + return x.State } return STATE_UNSPECIFIED } -func (m *AsyncOperation) GetCheckDuration() *types.Duration { - if m != nil { - return m.CheckDuration +func (x *AsyncOperation) GetCheckDuration() *durationpb.Duration { + if x != nil { + return x.CheckDuration } return nil } -func (m *AsyncOperation) GetOperationType() string { - if m != nil { - return m.OperationType +func (x *AsyncOperation) GetOperationType() string { + if x != nil { + return x.OperationType } return "" } -func (m *AsyncOperation) GetOperationInput() *types.Any { - if m != nil { - return m.OperationInput +func (x *AsyncOperation) GetOperationInput() *anypb.Any { + if x != nil { + return x.OperationInput } return nil } -func (m *AsyncOperation) GetFailureReason() string { - if m != nil { - return m.FailureReason +func (x *AsyncOperation) GetFailureReason() string { + if x != nil { + return x.FailureReason } return "" } -func (m *AsyncOperation) GetStartedTime() *types.Timestamp { - if m != nil { - return m.StartedTime +func (x *AsyncOperation) GetStartedTime() *timestamppb.Timestamp { + if x != nil { + return x.StartedTime } return nil } -func (m *AsyncOperation) GetFinishedTime() *types.Timestamp { - if m != nil { - return m.FinishedTime +func (x *AsyncOperation) GetFinishedTime() *timestamppb.Timestamp { + if x != nil { + return x.FinishedTime } return nil } -func (m *AsyncOperation) GetApproval() *AsyncOperation_ApprovalStatus { - if m != nil { - return m.Approval +func (x *AsyncOperation) GetApproval() *AsyncOperation_ApprovalStatus { + if x != nil { + return x.Approval } return nil } // temporal:dev type AsyncOperation_ApprovalStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The current state of the approval. State AsyncOperation_ApprovalStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=temporal.api.cloud.operation.v1.AsyncOperation_ApprovalStatus_State" json:"state,omitempty"` // The outcome of the approval. @@ -235,1087 +330,236 @@ type AsyncOperation_ApprovalStatus struct { Outcome string `protobuf:"bytes,2,opt,name=outcome,proto3" json:"outcome,omitempty"` } -func (m *AsyncOperation_ApprovalStatus) Reset() { *m = AsyncOperation_ApprovalStatus{} } -func (*AsyncOperation_ApprovalStatus) ProtoMessage() {} -func (*AsyncOperation_ApprovalStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_e895f88c45383e9d, []int{0, 0} -} -func (m *AsyncOperation_ApprovalStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AsyncOperation_ApprovalStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AsyncOperation_ApprovalStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *AsyncOperation_ApprovalStatus) Reset() { + *x = AsyncOperation_ApprovalStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_operation_v1_message_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *AsyncOperation_ApprovalStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_AsyncOperation_ApprovalStatus.Merge(m, src) -} -func (m *AsyncOperation_ApprovalStatus) XXX_Size() int { - return m.Size() -} -func (m *AsyncOperation_ApprovalStatus) XXX_DiscardUnknown() { - xxx_messageInfo_AsyncOperation_ApprovalStatus.DiscardUnknown(m) -} -var xxx_messageInfo_AsyncOperation_ApprovalStatus proto.InternalMessageInfo - -func (m *AsyncOperation_ApprovalStatus) GetState() AsyncOperation_ApprovalStatus_State { - if m != nil { - return m.State - } - return APPROVAL_STATE_UNSPECIFIED -} - -func (m *AsyncOperation_ApprovalStatus) GetOutcome() string { - if m != nil { - return m.Outcome - } - return "" -} - -func init() { - proto.RegisterEnum("temporal.api.cloud.operation.v1.AsyncOperation_State", AsyncOperation_State_name, AsyncOperation_State_value) - proto.RegisterEnum("temporal.api.cloud.operation.v1.AsyncOperation_ApprovalStatus_State", AsyncOperation_ApprovalStatus_State_name, AsyncOperation_ApprovalStatus_State_value) - proto.RegisterType((*AsyncOperation)(nil), "temporal.api.cloud.operation.v1.AsyncOperation") - proto.RegisterType((*AsyncOperation_ApprovalStatus)(nil), "temporal.api.cloud.operation.v1.AsyncOperation.ApprovalStatus") -} - -func init() { - proto.RegisterFile("temporal/api/cloud/operation/v1/message.proto", fileDescriptor_e895f88c45383e9d) -} - -var fileDescriptor_e895f88c45383e9d = []byte{ - // 708 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0x4b, 0x4f, 0xdb, 0x4a, - 0x14, 0xce, 0x18, 0xc2, 0x63, 0x48, 0x82, 0x99, 0xfb, 0x32, 0xb9, 0xd2, 0xc0, 0x8d, 0x84, 0xc4, - 0x06, 0x5b, 0xe1, 0xaa, 0x1b, 0x57, 0xb4, 0x35, 0xb1, 0x83, 0xdc, 0xa6, 0xc1, 0x72, 0x02, 0xaa, - 0xd8, 0x58, 0x26, 0x19, 0xc2, 0xa8, 0x49, 0xc6, 0xb2, 0x1d, 0xa4, 0xec, 0xba, 0xeb, 0xb6, 0xcb, - 0x76, 0xdb, 0x55, 0xd5, 0x5f, 0xd2, 0x25, 0x4b, 0x96, 0x25, 0xa8, 0x52, 0xd5, 0x15, 0x3f, 0xa1, - 0xf2, 0x38, 0x76, 0x4a, 0xa0, 0x42, 0x55, 0x97, 0xf3, 0x3d, 0xce, 0x77, 0x8e, 0xce, 0xb1, 0xe1, - 0x56, 0x48, 0x7a, 0x1e, 0xf3, 0xdd, 0xae, 0xe2, 0x7a, 0x54, 0x69, 0x75, 0xd9, 0xa0, 0xad, 0x30, - 0x8f, 0xf8, 0x6e, 0x48, 0x59, 0x5f, 0x39, 0x2b, 0x2b, 0x3d, 0x12, 0x04, 0x6e, 0x87, 0xc8, 0x9e, - 0xcf, 0x42, 0x86, 0xd6, 0x12, 0xb9, 0xec, 0x7a, 0x54, 0xe6, 0x72, 0x39, 0x95, 0xcb, 0x67, 0xe5, - 0x22, 0xee, 0x30, 0xd6, 0xe9, 0x12, 0x85, 0xcb, 0x8f, 0x07, 0x27, 0x4a, 0x7b, 0x30, 0x26, 0x39, - 0x52, 0x5c, 0x9b, 0xe6, 0x43, 0xda, 0x23, 0x41, 0xe8, 0xf6, 0xbc, 0xb1, 0x60, 0x75, 0x5a, 0xe0, - 0xf6, 0x87, 0x31, 0x55, 0x7a, 0xbd, 0x00, 0x0b, 0x5a, 0x30, 0xec, 0xb7, 0xf6, 0x93, 0x44, 0x54, - 0x80, 0x02, 0x6d, 0x4b, 0x60, 0x1d, 0x6c, 0x2e, 0xda, 0x02, 0x6d, 0xa3, 0x2d, 0x28, 0x06, 0xa1, - 0x1b, 0x12, 0xa7, 0x4d, 0x3c, 0x9f, 0xb4, 0xdc, 0x90, 0xb4, 0x25, 0x21, 0x62, 0x77, 0x05, 0x09, - 0xd8, 0xcb, 0x9c, 0xd3, 0x53, 0x0a, 0x3d, 0x83, 0x59, 0x0e, 0x49, 0x8b, 0xeb, 0x60, 0xb3, 0xb0, - 0xfd, 0x40, 0xbe, 0x67, 0x3c, 0xf9, 0x66, 0xbc, 0xdc, 0x88, 0xcc, 0x76, 0x5c, 0x03, 0x3d, 0x81, - 0x85, 0xd6, 0x29, 0x69, 0xbd, 0x74, 0x92, 0x91, 0xa5, 0x99, 0x75, 0xb0, 0xb9, 0xb4, 0xbd, 0x2a, - 0xc7, 0x23, 0xc9, 0xc9, 0x48, 0xb2, 0x3e, 0x16, 0xd8, 0x79, 0x6e, 0x48, 0x9e, 0x68, 0x03, 0x16, - 0xd2, 0x34, 0x27, 0x1c, 0x7a, 0x44, 0x9a, 0xe5, 0x93, 0xe5, 0x53, 0xb4, 0x39, 0xf4, 0x08, 0xda, - 0x81, 0xcb, 0x13, 0x19, 0xed, 0x7b, 0x83, 0x50, 0xca, 0xf2, 0xa4, 0x3f, 0x6f, 0x25, 0x69, 0xfd, - 0xa1, 0x3d, 0xa9, 0x69, 0x46, 0xda, 0x28, 0xe5, 0xc4, 0xa5, 0xdd, 0x81, 0x4f, 0x1c, 0x9f, 0xb8, - 0x01, 0xeb, 0x4b, 0x73, 0x71, 0xca, 0x18, 0xb5, 0x39, 0x88, 0x76, 0x60, 0x2e, 0x08, 0x5d, 0x3f, - 0x24, 0x6d, 0x27, 0xda, 0x91, 0x34, 0xcf, 0x23, 0x8a, 0xb7, 0x22, 0x9a, 0xc9, 0x02, 0xed, 0xa5, - 0xb1, 0x3e, 0x42, 0xd0, 0x63, 0x98, 0x3f, 0xa1, 0x7d, 0x1a, 0x9c, 0x26, 0xfe, 0x85, 0x7b, 0xfd, - 0xb9, 0xc4, 0xc0, 0x0b, 0x1c, 0xc1, 0x05, 0xd7, 0xf3, 0x7c, 0x76, 0xe6, 0x76, 0x25, 0xc8, 0xbd, - 0x8f, 0x7e, 0x75, 0x3d, 0xda, 0xd8, 0x1f, 0xad, 0x69, 0x10, 0xd8, 0x69, 0xbd, 0xe2, 0x7b, 0x01, - 0x16, 0x6e, 0x92, 0xe8, 0x28, 0x39, 0x05, 0xc0, 0x4f, 0x41, 0xff, 0xbd, 0xac, 0x9b, 0x97, 0x21, - 0xc1, 0x79, 0x36, 0x08, 0x5b, 0xac, 0x47, 0xe2, 0x63, 0xb4, 0x93, 0x67, 0xe9, 0x1d, 0x80, 0x59, - 0x2e, 0x45, 0x18, 0x16, 0x35, 0xcb, 0xb2, 0xf7, 0x0f, 0xb5, 0x9a, 0xd3, 0x68, 0x6a, 0x4d, 0xc3, - 0x39, 0xa8, 0x37, 0x2c, 0xa3, 0x62, 0x56, 0x4d, 0x43, 0x17, 0x33, 0xa8, 0x08, 0xff, 0x9e, 0xe2, - 0x2d, 0xa3, 0xae, 0x9b, 0xf5, 0x3d, 0x11, 0xa0, 0x7f, 0xe1, 0x3f, 0x53, 0x5c, 0xfc, 0x34, 0x74, - 0x51, 0xb8, 0x83, 0xb4, 0x8d, 0xa7, 0x46, 0xa5, 0x69, 0xe8, 0xe2, 0xcc, 0x1d, 0x55, 0x8d, 0x17, - 0x96, 0x69, 0x1b, 0xba, 0x38, 0x5b, 0x7a, 0x9b, 0xf6, 0xf6, 0x17, 0x5c, 0xb9, 0xab, 0xa5, 0x15, - 0x98, 0x9f, 0xee, 0x24, 0x55, 0x9a, 0x75, 0xc7, 0xb2, 0xf7, 0xf7, 0x6c, 0xa3, 0xd1, 0x10, 0x05, - 0x24, 0xc2, 0x5c, 0x0c, 0x57, 0x35, 0xb3, 0xc6, 0x83, 0xff, 0x80, 0xcb, 0x31, 0x52, 0xd1, 0xea, - 0x15, 0xa3, 0x16, 0x81, 0xb3, 0x13, 0xb0, 0x7a, 0x50, 0xab, 0x9a, 0x1c, 0xcc, 0x22, 0x04, 0x0b, - 0x53, 0x6d, 0xcf, 0xed, 0x7e, 0x01, 0xe7, 0x97, 0x38, 0x73, 0x71, 0x89, 0x33, 0xd7, 0x97, 0x18, - 0xbc, 0x1a, 0x61, 0xf0, 0x61, 0x84, 0xc1, 0xa7, 0x11, 0x06, 0xe7, 0x23, 0x0c, 0x3e, 0x8f, 0x30, - 0xf8, 0x3a, 0xc2, 0x99, 0xeb, 0x11, 0x06, 0x6f, 0xae, 0x70, 0xe6, 0xfc, 0x0a, 0x67, 0x2e, 0xae, - 0x70, 0x06, 0x96, 0x28, 0xbb, 0x6f, 0xad, 0xbb, 0xb9, 0xe7, 0xf1, 0x0f, 0xcf, 0x8a, 0xee, 0xd3, - 0x02, 0x47, 0x4a, 0xe7, 0x07, 0x0f, 0x65, 0x3f, 0xf9, 0x4d, 0x3e, 0x4c, 0x1f, 0x1f, 0x85, 0xff, - 0x9a, 0x63, 0x39, 0x65, 0xb2, 0xe6, 0x51, 0xb9, 0xc2, 0x43, 0x26, 0x97, 0x72, 0x58, 0xfe, 0x26, - 0x6c, 0x4c, 0x34, 0xaa, 0xaa, 0x79, 0x54, 0x55, 0xb9, 0x4a, 0x55, 0x53, 0x99, 0xaa, 0x1e, 0x96, - 0x8f, 0xe7, 0xf8, 0x57, 0xf2, 0xff, 0xf7, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc0, 0x43, 0x88, 0x2d, - 0xa6, 0x05, 0x00, 0x00, +func (x *AsyncOperation_ApprovalStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x AsyncOperation_State) String() string { - s, ok := AsyncOperation_State_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x AsyncOperation_ApprovalStatus_State) String() string { - s, ok := AsyncOperation_ApprovalStatus_State_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (this *AsyncOperation) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*AsyncOperation) - if !ok { - that2, ok := that.(AsyncOperation) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Id != that1.Id { - return false - } - if this.StateDeprecated != that1.StateDeprecated { - return false - } - if this.State != that1.State { - return false - } - if !this.CheckDuration.Equal(that1.CheckDuration) { - return false - } - if this.OperationType != that1.OperationType { - return false - } - if !this.OperationInput.Equal(that1.OperationInput) { - return false - } - if this.FailureReason != that1.FailureReason { - return false - } - if !this.StartedTime.Equal(that1.StartedTime) { - return false - } - if !this.FinishedTime.Equal(that1.FinishedTime) { - return false - } - if !this.Approval.Equal(that1.Approval) { - return false - } - return true -} -func (this *AsyncOperation_ApprovalStatus) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*AsyncOperation_ApprovalStatus) - if !ok { - that2, ok := that.(AsyncOperation_ApprovalStatus) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.State != that1.State { - return false - } - if this.Outcome != that1.Outcome { - return false - } - return true -} -func (this *AsyncOperation) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 14) - s = append(s, "&operation.AsyncOperation{") - s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") - s = append(s, "StateDeprecated: "+fmt.Sprintf("%#v", this.StateDeprecated)+",\n") - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - if this.CheckDuration != nil { - s = append(s, "CheckDuration: "+fmt.Sprintf("%#v", this.CheckDuration)+",\n") - } - s = append(s, "OperationType: "+fmt.Sprintf("%#v", this.OperationType)+",\n") - if this.OperationInput != nil { - s = append(s, "OperationInput: "+fmt.Sprintf("%#v", this.OperationInput)+",\n") - } - s = append(s, "FailureReason: "+fmt.Sprintf("%#v", this.FailureReason)+",\n") - if this.StartedTime != nil { - s = append(s, "StartedTime: "+fmt.Sprintf("%#v", this.StartedTime)+",\n") - } - if this.FinishedTime != nil { - s = append(s, "FinishedTime: "+fmt.Sprintf("%#v", this.FinishedTime)+",\n") - } - if this.Approval != nil { - s = append(s, "Approval: "+fmt.Sprintf("%#v", this.Approval)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *AsyncOperation_ApprovalStatus) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&operation.AsyncOperation_ApprovalStatus{") - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - s = append(s, "Outcome: "+fmt.Sprintf("%#v", this.Outcome)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func valueToGoStringMessage(v interface{}, typ string) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) -} -func (m *AsyncOperation) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AsyncOperation) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} +func (*AsyncOperation_ApprovalStatus) ProtoMessage() {} -func (m *AsyncOperation) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Approval != nil { - { - size, err := m.Approval.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x52 - } - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x48 - } - if m.FinishedTime != nil { - { - size, err := m.FinishedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) +func (x *AsyncOperation_ApprovalStatus) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_operation_v1_message_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - i-- - dAtA[i] = 0x42 + return ms } - if m.StartedTime != nil { - { - size, err := m.StartedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if len(m.FailureReason) > 0 { - i -= len(m.FailureReason) - copy(dAtA[i:], m.FailureReason) - i = encodeVarintMessage(dAtA, i, uint64(len(m.FailureReason))) - i-- - dAtA[i] = 0x32 - } - if m.OperationInput != nil { - { - size, err := m.OperationInput.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if len(m.OperationType) > 0 { - i -= len(m.OperationType) - copy(dAtA[i:], m.OperationType) - i = encodeVarintMessage(dAtA, i, uint64(len(m.OperationType))) - i-- - dAtA[i] = 0x22 - } - if m.CheckDuration != nil { - { - size, err := m.CheckDuration.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.StateDeprecated) > 0 { - i -= len(m.StateDeprecated) - copy(dAtA[i:], m.StateDeprecated) - i = encodeVarintMessage(dAtA, i, uint64(len(m.StateDeprecated))) - i-- - dAtA[i] = 0x12 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AsyncOperation_ApprovalStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AsyncOperation_ApprovalStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return mi.MessageOf(x) } -func (m *AsyncOperation_ApprovalStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Outcome) > 0 { - i -= len(m.Outcome) - copy(dAtA[i:], m.Outcome) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Outcome))) - i-- - dAtA[i] = 0x12 - } - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil +// Deprecated: Use AsyncOperation_ApprovalStatus.ProtoReflect.Descriptor instead. +func (*AsyncOperation_ApprovalStatus) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_operation_v1_message_proto_rawDescGZIP(), []int{0, 0} } -func encodeVarintMessage(dAtA []byte, offset int, v uint64) int { - offset -= sovMessage(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *AsyncOperation) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.StateDeprecated) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.CheckDuration != nil { - l = m.CheckDuration.Size() - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.OperationType) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) +func (x *AsyncOperation_ApprovalStatus) GetState() AsyncOperation_ApprovalStatus_State { + if x != nil { + return x.State } - if m.OperationInput != nil { - l = m.OperationInput.Size() - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.FailureReason) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.StartedTime != nil { - l = m.StartedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.FinishedTime != nil { - l = m.FinishedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) - } - if m.Approval != nil { - l = m.Approval.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n + return APPROVAL_STATE_UNSPECIFIED } -func (m *AsyncOperation_ApprovalStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) +func (x *AsyncOperation_ApprovalStatus) GetOutcome() string { + if x != nil { + return x.Outcome } - l = len(m.Outcome) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n + return "" } -func sovMessage(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozMessage(x uint64) (n int) { - return sovMessage(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (this *AsyncOperation) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&AsyncOperation{`, - `Id:` + fmt.Sprintf("%v", this.Id) + `,`, - `StateDeprecated:` + fmt.Sprintf("%v", this.StateDeprecated) + `,`, - `CheckDuration:` + strings.Replace(fmt.Sprintf("%v", this.CheckDuration), "Duration", "types.Duration", 1) + `,`, - `OperationType:` + fmt.Sprintf("%v", this.OperationType) + `,`, - `OperationInput:` + strings.Replace(fmt.Sprintf("%v", this.OperationInput), "Any", "types.Any", 1) + `,`, - `FailureReason:` + fmt.Sprintf("%v", this.FailureReason) + `,`, - `StartedTime:` + strings.Replace(fmt.Sprintf("%v", this.StartedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `FinishedTime:` + strings.Replace(fmt.Sprintf("%v", this.FinishedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `Approval:` + strings.Replace(fmt.Sprintf("%v", this.Approval), "AsyncOperation_ApprovalStatus", "AsyncOperation_ApprovalStatus", 1) + `,`, - `}`, - }, "") - return s -} -func (this *AsyncOperation_ApprovalStatus) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&AsyncOperation_ApprovalStatus{`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `Outcome:` + fmt.Sprintf("%v", this.Outcome) + `,`, - `}`, - }, "") - return s -} -func valueToStringMessage(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) +var File_temporal_api_cloud_operation_v1_message_proto protoreflect.FileDescriptor + +var file_temporal_api_cloud_operation_v1_message_proto_rawDesc = []byte{ + 0x0a, 0x2d, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, + 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x1f, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, + 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x87, 0x08, 0x0a, + 0x0e, 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x2d, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, + 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x4b, + 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x35, 0x2e, + 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, + 0x41, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x40, 0x0a, 0x0e, 0x63, + 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, + 0x63, 0x68, 0x65, 0x63, 0x6b, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, + 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x3d, 0x0a, 0x0f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x41, 0x6e, 0x79, 0x52, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, + 0x70, 0x75, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x72, + 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x66, 0x61, 0x69, + 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x3d, 0x0a, 0x0c, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x66, 0x69, 0x6e, + 0x69, 0x73, 0x68, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x66, 0x69, + 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x5a, 0x0a, 0x08, 0x61, 0x70, + 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, + 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x70, + 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x08, 0x61, 0x70, + 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x1a, 0xa2, 0x02, 0x0a, 0x0e, 0x41, 0x70, 0x70, 0x72, 0x6f, + 0x76, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x5a, 0x0a, 0x05, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x44, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x79, 0x6e, 0x63, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, + 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x63, 0x6f, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x63, 0x6f, 0x6d, 0x65, 0x22, + 0x99, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x41, 0x50, 0x50, + 0x52, 0x4f, 0x56, 0x41, 0x4c, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, + 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x50, 0x50, + 0x52, 0x4f, 0x56, 0x41, 0x4c, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x45, 0x4e, 0x44, + 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x41, + 0x4c, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x45, 0x44, + 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x41, 0x4c, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x03, 0x12, + 0x1a, 0x0a, 0x16, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x41, 0x4c, 0x5f, 0x53, 0x54, 0x41, 0x54, + 0x45, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x04, 0x22, 0x98, 0x01, 0x0a, 0x05, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, + 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, + 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, + 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, + 0x52, 0x45, 0x53, 0x53, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, + 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x54, + 0x45, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12, 0x13, 0x0a, + 0x0f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x55, 0x4c, 0x46, 0x49, 0x4c, 0x4c, 0x45, 0x44, + 0x10, 0x05, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x4a, 0x45, + 0x43, 0x54, 0x45, 0x44, 0x10, 0x06, 0x42, 0x85, 0x02, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x42, 0x0c, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, + 0x67, 0x6f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x69, 0x6f, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x3b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xa2, + 0x02, 0x04, 0x54, 0x41, 0x43, 0x4f, 0xaa, 0x02, 0x1f, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, + 0x6c, 0x2e, 0x41, 0x70, 0x69, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1f, 0x54, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x2b, 0x54, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x23, 0x54, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, + 0x3a, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func (m *AsyncOperation) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AsyncOperation: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AsyncOperation: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateDeprecated", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StateDeprecated = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CheckDuration", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CheckDuration == nil { - m.CheckDuration = &types.Duration{} - } - if err := m.CheckDuration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OperationType", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.OperationType = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OperationInput", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.OperationInput == nil { - m.OperationInput = &types.Any{} - } - if err := m.OperationInput.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FailureReason", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FailureReason = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StartedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.StartedTime == nil { - m.StartedTime = &types.Timestamp{} - } - if err := m.StartedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FinishedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.FinishedTime == nil { - m.FinishedTime = &types.Timestamp{} - } - if err := m.FinishedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= AsyncOperation_State(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Approval", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Approval == nil { - m.Approval = &AsyncOperation_ApprovalStatus{} - } - if err := m.Approval.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AsyncOperation_ApprovalStatus) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ApprovalStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ApprovalStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= AsyncOperation_ApprovalStatus_State(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Outcome", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Outcome = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } +var ( + file_temporal_api_cloud_operation_v1_message_proto_rawDescOnce sync.Once + file_temporal_api_cloud_operation_v1_message_proto_rawDescData = file_temporal_api_cloud_operation_v1_message_proto_rawDesc +) - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipMessage(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break +func file_temporal_api_cloud_operation_v1_message_proto_rawDescGZIP() []byte { + file_temporal_api_cloud_operation_v1_message_proto_rawDescOnce.Do(func() { + file_temporal_api_cloud_operation_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_temporal_api_cloud_operation_v1_message_proto_rawDescData) + }) + return file_temporal_api_cloud_operation_v1_message_proto_rawDescData +} + +var file_temporal_api_cloud_operation_v1_message_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_temporal_api_cloud_operation_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_temporal_api_cloud_operation_v1_message_proto_goTypes = []interface{}{ + (AsyncOperation_State)(0), // 0: temporal.api.cloud.operation.v1.AsyncOperation.State + (AsyncOperation_ApprovalStatus_State)(0), // 1: temporal.api.cloud.operation.v1.AsyncOperation.ApprovalStatus.State + (*AsyncOperation)(nil), // 2: temporal.api.cloud.operation.v1.AsyncOperation + (*AsyncOperation_ApprovalStatus)(nil), // 3: temporal.api.cloud.operation.v1.AsyncOperation.ApprovalStatus + (*durationpb.Duration)(nil), // 4: google.protobuf.Duration + (*anypb.Any)(nil), // 5: google.protobuf.Any + (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp +} +var file_temporal_api_cloud_operation_v1_message_proto_depIdxs = []int32{ + 0, // 0: temporal.api.cloud.operation.v1.AsyncOperation.state:type_name -> temporal.api.cloud.operation.v1.AsyncOperation.State + 4, // 1: temporal.api.cloud.operation.v1.AsyncOperation.check_duration:type_name -> google.protobuf.Duration + 5, // 2: temporal.api.cloud.operation.v1.AsyncOperation.operation_input:type_name -> google.protobuf.Any + 6, // 3: temporal.api.cloud.operation.v1.AsyncOperation.started_time:type_name -> google.protobuf.Timestamp + 6, // 4: temporal.api.cloud.operation.v1.AsyncOperation.finished_time:type_name -> google.protobuf.Timestamp + 3, // 5: temporal.api.cloud.operation.v1.AsyncOperation.approval:type_name -> temporal.api.cloud.operation.v1.AsyncOperation.ApprovalStatus + 1, // 6: temporal.api.cloud.operation.v1.AsyncOperation.ApprovalStatus.state:type_name -> temporal.api.cloud.operation.v1.AsyncOperation.ApprovalStatus.State + 7, // [7:7] is the sub-list for method output_type + 7, // [7:7] is the sub-list for method input_type + 7, // [7:7] is the sub-list for extension type_name + 7, // [7:7] is the sub-list for extension extendee + 0, // [0:7] is the sub-list for field type_name +} + +func init() { file_temporal_api_cloud_operation_v1_message_proto_init() } +func file_temporal_api_cloud_operation_v1_message_proto_init() { + if File_temporal_api_cloud_operation_v1_message_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_temporal_api_cloud_operation_v1_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AsyncOperation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil } } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } + file_temporal_api_cloud_operation_v1_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AsyncOperation_ApprovalStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthMessage - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupMessage - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthMessage - } - if depth == 0 { - return iNdEx, nil } } - return 0, io.ErrUnexpectedEOF + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_temporal_api_cloud_operation_v1_message_proto_rawDesc, + NumEnums: 2, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_temporal_api_cloud_operation_v1_message_proto_goTypes, + DependencyIndexes: file_temporal_api_cloud_operation_v1_message_proto_depIdxs, + EnumInfos: file_temporal_api_cloud_operation_v1_message_proto_enumTypes, + MessageInfos: file_temporal_api_cloud_operation_v1_message_proto_msgTypes, + }.Build() + File_temporal_api_cloud_operation_v1_message_proto = out.File + file_temporal_api_cloud_operation_v1_message_proto_rawDesc = nil + file_temporal_api_cloud_operation_v1_message_proto_goTypes = nil + file_temporal_api_cloud_operation_v1_message_proto_depIdxs = nil } - -var ( - ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowMessage = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group") -) diff --git a/protogen/api/cloud/project/v1/message.pb.go b/protogen/api/cloud/project/v1/message.pb.go index 6b2d4f3f..11822760 100644 --- a/protogen/api/cloud/project/v1/message.pb.go +++ b/protogen/api/cloud/project/v1/message.pb.go @@ -1,33 +1,38 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: temporal/api/cloud/project/v1/message.proto package project import ( - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - types "github.com/gogo/protobuf/types" + proto "github.com/golang/protobuf/proto" v1 "github.com/temporalio/tcld/protogen/api/cloud/resource/v1" - io "io" - math "math" - math_bits "math/bits" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" - strings "strings" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 // temporal:dev type ProjectSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The display name of the project. DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // A description of the project. @@ -36,106 +41,114 @@ type ProjectSpec struct { Lifecycle *LifecycleSpec `protobuf:"bytes,3,opt,name=lifecycle,proto3" json:"lifecycle,omitempty"` } -func (m *ProjectSpec) Reset() { *m = ProjectSpec{} } -func (*ProjectSpec) ProtoMessage() {} -func (*ProjectSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_cb40f20c7ee7fc39, []int{0} +func (x *ProjectSpec) Reset() { + *x = ProjectSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_project_v1_message_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProjectSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *ProjectSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProjectSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ProjectSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*ProjectSpec) ProtoMessage() {} + +func (x *ProjectSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_project_v1_message_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *ProjectSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProjectSpec.Merge(m, src) -} -func (m *ProjectSpec) XXX_Size() int { - return m.Size() -} -func (m *ProjectSpec) XXX_DiscardUnknown() { - xxx_messageInfo_ProjectSpec.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_ProjectSpec proto.InternalMessageInfo +// Deprecated: Use ProjectSpec.ProtoReflect.Descriptor instead. +func (*ProjectSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_project_v1_message_proto_rawDescGZIP(), []int{0} +} -func (m *ProjectSpec) GetDisplayName() string { - if m != nil { - return m.DisplayName +func (x *ProjectSpec) GetDisplayName() string { + if x != nil { + return x.DisplayName } return "" } -func (m *ProjectSpec) GetDescription() string { - if m != nil { - return m.Description +func (x *ProjectSpec) GetDescription() string { + if x != nil { + return x.Description } return "" } -func (m *ProjectSpec) GetLifecycle() *LifecycleSpec { - if m != nil { - return m.Lifecycle +func (x *ProjectSpec) GetLifecycle() *LifecycleSpec { + if x != nil { + return x.Lifecycle } return nil } // temporal:dev type LifecycleSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // If true, the project cannot be deleted. EnableDeleteProtection bool `protobuf:"varint,1,opt,name=enable_delete_protection,json=enableDeleteProtection,proto3" json:"enable_delete_protection,omitempty"` } -func (m *LifecycleSpec) Reset() { *m = LifecycleSpec{} } -func (*LifecycleSpec) ProtoMessage() {} -func (*LifecycleSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_cb40f20c7ee7fc39, []int{1} +func (x *LifecycleSpec) Reset() { + *x = LifecycleSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_project_v1_message_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LifecycleSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *LifecycleSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LifecycleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_LifecycleSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*LifecycleSpec) ProtoMessage() {} + +func (x *LifecycleSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_project_v1_message_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *LifecycleSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_LifecycleSpec.Merge(m, src) -} -func (m *LifecycleSpec) XXX_Size() int { - return m.Size() -} -func (m *LifecycleSpec) XXX_DiscardUnknown() { - xxx_messageInfo_LifecycleSpec.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_LifecycleSpec proto.InternalMessageInfo +// Deprecated: Use LifecycleSpec.ProtoReflect.Descriptor instead. +func (*LifecycleSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_project_v1_message_proto_rawDescGZIP(), []int{1} +} -func (m *LifecycleSpec) GetEnableDeleteProtection() bool { - if m != nil { - return m.EnableDeleteProtection +func (x *LifecycleSpec) GetEnableDeleteProtection() bool { + if x != nil { + return x.EnableDeleteProtection } return false } // temporal:dev type Project struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the user Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The project specification @@ -149,1174 +162,255 @@ type Project struct { // The id of the async operation that is creating/updating/deleting the project, if any AsyncOperationId string `protobuf:"bytes,5,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` // The date and time when the project was created - CreatedTime *types.Timestamp `protobuf:"bytes,6,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` + CreatedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` // The date and time when the project was last modified // Will not be set if the project has never been modified - LastModifiedTime *types.Timestamp `protobuf:"bytes,7,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` + LastModifiedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` } -func (m *Project) Reset() { *m = Project{} } -func (*Project) ProtoMessage() {} -func (*Project) Descriptor() ([]byte, []int) { - return fileDescriptor_cb40f20c7ee7fc39, []int{2} +func (x *Project) Reset() { + *x = Project{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_project_v1_message_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Project) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *Project) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Project.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*Project) ProtoMessage() {} + +func (x *Project) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_project_v1_message_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *Project) XXX_Merge(src proto.Message) { - xxx_messageInfo_Project.Merge(m, src) -} -func (m *Project) XXX_Size() int { - return m.Size() -} -func (m *Project) XXX_DiscardUnknown() { - xxx_messageInfo_Project.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_Project proto.InternalMessageInfo +// Deprecated: Use Project.ProtoReflect.Descriptor instead. +func (*Project) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_project_v1_message_proto_rawDescGZIP(), []int{2} +} -func (m *Project) GetId() string { - if m != nil { - return m.Id +func (x *Project) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *Project) GetSpec() *ProjectSpec { - if m != nil { - return m.Spec +func (x *Project) GetSpec() *ProjectSpec { + if x != nil { + return x.Spec } return nil } -func (m *Project) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *Project) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *Project) GetState() v1.ResourceState { - if m != nil { - return m.State +func (x *Project) GetState() v1.ResourceState { + if x != nil { + return x.State } return v1.RESOURCE_STATE_UNSPECIFIED } -func (m *Project) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId +func (x *Project) GetAsyncOperationId() string { + if x != nil { + return x.AsyncOperationId } return "" } -func (m *Project) GetCreatedTime() *types.Timestamp { - if m != nil { - return m.CreatedTime +func (x *Project) GetCreatedTime() *timestamppb.Timestamp { + if x != nil { + return x.CreatedTime } return nil } -func (m *Project) GetLastModifiedTime() *types.Timestamp { - if m != nil { - return m.LastModifiedTime +func (x *Project) GetLastModifiedTime() *timestamppb.Timestamp { + if x != nil { + return x.LastModifiedTime } return nil } -func init() { - proto.RegisterType((*ProjectSpec)(nil), "temporal.api.cloud.project.v1.ProjectSpec") - proto.RegisterType((*LifecycleSpec)(nil), "temporal.api.cloud.project.v1.LifecycleSpec") - proto.RegisterType((*Project)(nil), "temporal.api.cloud.project.v1.Project") -} - -func init() { - proto.RegisterFile("temporal/api/cloud/project/v1/message.proto", fileDescriptor_cb40f20c7ee7fc39) -} - -var fileDescriptor_cb40f20c7ee7fc39 = []byte{ - // 558 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x53, 0x4f, 0x4f, 0xd4, 0x40, - 0x14, 0xef, 0x2c, 0xff, 0x64, 0x8a, 0x48, 0xe6, 0x60, 0x1a, 0x12, 0x87, 0x15, 0x2f, 0x28, 0x38, - 0xcd, 0xe2, 0xc5, 0xd4, 0x68, 0x02, 0x78, 0x10, 0x23, 0x4a, 0x0a, 0xe1, 0xe0, 0xa5, 0x19, 0xda, - 0xc7, 0x66, 0x4c, 0xbb, 0x33, 0x69, 0xcb, 0x26, 0x7b, 0xe3, 0x23, 0xf8, 0x09, 0x3c, 0x1b, 0x3f, - 0x89, 0xc7, 0x3d, 0x92, 0x78, 0x71, 0xbb, 0x17, 0xe3, 0x89, 0x8f, 0x60, 0x66, 0x3a, 0x75, 0x31, - 0x6e, 0xe0, 0x36, 0x7d, 0xbf, 0x3f, 0xf3, 0x7e, 0xf3, 0x5e, 0xf1, 0x66, 0x09, 0x99, 0x92, 0x39, - 0x4f, 0x7d, 0xae, 0x84, 0x1f, 0xa7, 0xf2, 0x3c, 0xf1, 0x55, 0x2e, 0x3f, 0x41, 0x5c, 0xfa, 0xfd, - 0x8e, 0x9f, 0x41, 0x51, 0xf0, 0x2e, 0x30, 0x95, 0xcb, 0x52, 0x92, 0x07, 0x0d, 0x99, 0x71, 0x25, - 0x98, 0x21, 0x33, 0x4b, 0x66, 0xfd, 0xce, 0xea, 0xd6, 0x14, 0xaf, 0x1c, 0x0a, 0x79, 0x9e, 0xc7, - 0xf0, 0x9f, 0xd9, 0xea, 0x5a, 0x57, 0xca, 0x6e, 0x0a, 0xbe, 0xf9, 0x3a, 0x3d, 0x3f, 0xf3, 0x4b, - 0x91, 0x41, 0x51, 0xf2, 0x4c, 0xd5, 0x84, 0xf5, 0x2f, 0x08, 0xbb, 0x87, 0xb5, 0xfb, 0x91, 0x82, - 0x98, 0x3c, 0xc4, 0x4b, 0x89, 0x28, 0x54, 0xca, 0x07, 0x51, 0x8f, 0x67, 0xe0, 0xa1, 0x36, 0xda, - 0x58, 0x0c, 0x5d, 0x5b, 0x7b, 0xcf, 0x33, 0x20, 0x6d, 0xec, 0x26, 0x50, 0xc4, 0xb9, 0x50, 0xa5, - 0x90, 0x3d, 0xaf, 0x65, 0x19, 0x93, 0x12, 0x79, 0x8b, 0x17, 0x53, 0x71, 0x06, 0xf1, 0x20, 0x4e, - 0xc1, 0x9b, 0x69, 0xa3, 0x0d, 0x77, 0x7b, 0x8b, 0xdd, 0x18, 0x8b, 0xbd, 0x6b, 0xf8, 0xba, 0x8b, - 0x70, 0x22, 0x5f, 0xdf, 0xc7, 0x77, 0xff, 0xc1, 0xc8, 0x73, 0xec, 0x41, 0x8f, 0x9f, 0xa6, 0x10, - 0x25, 0x90, 0x42, 0x09, 0x91, 0x0e, 0x02, 0xb1, 0xe9, 0x45, 0x77, 0x7b, 0x27, 0xbc, 0x5f, 0xe3, - 0xaf, 0x0d, 0x7c, 0xf8, 0x17, 0x5d, 0xbf, 0x98, 0xc1, 0x0b, 0x36, 0x2b, 0x59, 0xc6, 0x2d, 0x91, - 0xd8, 0x74, 0x2d, 0x91, 0x90, 0x57, 0x78, 0xb6, 0x50, 0x10, 0x9b, 0x34, 0xee, 0xf6, 0x93, 0x5b, - 0xba, 0xbd, 0xf6, 0x62, 0xa1, 0xd1, 0x91, 0xc7, 0x78, 0xa5, 0x99, 0x42, 0xd4, 0x87, 0xbc, 0xd0, - 0xdd, 0xcc, 0x18, 0xf7, 0x7b, 0x4d, 0xfd, 0xa4, 0x2e, 0x93, 0x3d, 0x3c, 0x57, 0x94, 0xbc, 0x04, - 0x6f, 0xb6, 0x8d, 0x36, 0x96, 0xb7, 0x9f, 0x4e, 0xbb, 0xab, 0xd1, 0xe8, 0xcb, 0x42, 0x7b, 0x3e, - 0xd2, 0xa2, 0xb0, 0xd6, 0x92, 0x2d, 0x4c, 0x78, 0x31, 0xe8, 0xc5, 0x91, 0x54, 0x90, 0x73, 0x1d, - 0x2f, 0x12, 0x89, 0x37, 0x67, 0x6e, 0x5c, 0x31, 0xc8, 0x87, 0x06, 0xd8, 0x4f, 0xc8, 0x4b, 0xbc, - 0x14, 0xe7, 0xc0, 0x4b, 0x48, 0x22, 0xbd, 0x00, 0xde, 0xbc, 0x49, 0xb9, 0xca, 0xea, 0xed, 0x60, - 0xcd, 0x76, 0xb0, 0xe3, 0x66, 0x3b, 0x42, 0xd7, 0xf2, 0x75, 0x85, 0xbc, 0xc1, 0x24, 0xe5, 0x45, - 0x19, 0x65, 0x32, 0x11, 0x67, 0xa2, 0x31, 0x59, 0xb8, 0xd5, 0x64, 0x45, 0xab, 0x0e, 0xac, 0x48, - 0x97, 0x77, 0x7f, 0xa0, 0xe1, 0x88, 0x3a, 0x97, 0x23, 0xea, 0x5c, 0x8d, 0x28, 0xba, 0xa8, 0x28, - 0xfa, 0x5a, 0x51, 0xf4, 0xbd, 0xa2, 0x68, 0x58, 0x51, 0xf4, 0xb3, 0xa2, 0xe8, 0x57, 0x45, 0x9d, - 0xab, 0x8a, 0xa2, 0xcf, 0x63, 0xea, 0x0c, 0xc7, 0xd4, 0xb9, 0x1c, 0x53, 0x07, 0xb7, 0x85, 0xbc, - 0x79, 0x22, 0xbb, 0x4b, 0x07, 0xf5, 0xde, 0xeb, 0x71, 0xcb, 0x43, 0xf4, 0x71, 0xb3, 0x7b, 0x4d, - 0x21, 0xe4, 0xd4, 0x1f, 0xef, 0x85, 0x3d, 0x7e, 0x6b, 0xad, 0x1d, 0x5b, 0xaa, 0x90, 0x6c, 0x47, - 0x09, 0xb6, 0x67, 0xec, 0xed, 0x94, 0xd9, 0x49, 0xe7, 0x77, 0xeb, 0xd1, 0x84, 0x11, 0x04, 0x3b, - 0x4a, 0x04, 0x81, 0xe1, 0x04, 0x81, 0x25, 0x05, 0xc1, 0x49, 0xe7, 0x74, 0xde, 0xbc, 0xc1, 0xb3, - 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x82, 0x42, 0x4e, 0xcc, 0xf0, 0x03, 0x00, 0x00, -} - -func (this *ProjectSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*ProjectSpec) - if !ok { - that2, ok := that.(ProjectSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.DisplayName != that1.DisplayName { - return false - } - if this.Description != that1.Description { - return false - } - if !this.Lifecycle.Equal(that1.Lifecycle) { - return false - } - return true -} -func (this *LifecycleSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*LifecycleSpec) - if !ok { - that2, ok := that.(LifecycleSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.EnableDeleteProtection != that1.EnableDeleteProtection { - return false - } - return true -} -func (this *Project) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*Project) - if !ok { - that2, ok := that.(Project) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Id != that1.Id { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.State != that1.State { - return false - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } - if !this.CreatedTime.Equal(that1.CreatedTime) { - return false - } - if !this.LastModifiedTime.Equal(that1.LastModifiedTime) { - return false - } - return true -} -func (this *ProjectSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&project.ProjectSpec{") - s = append(s, "DisplayName: "+fmt.Sprintf("%#v", this.DisplayName)+",\n") - s = append(s, "Description: "+fmt.Sprintf("%#v", this.Description)+",\n") - if this.Lifecycle != nil { - s = append(s, "Lifecycle: "+fmt.Sprintf("%#v", this.Lifecycle)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *LifecycleSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&project.LifecycleSpec{") - s = append(s, "EnableDeleteProtection: "+fmt.Sprintf("%#v", this.EnableDeleteProtection)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *Project) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 11) - s = append(s, "&project.Project{") - s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - s = append(s, "AsyncOperationId: "+fmt.Sprintf("%#v", this.AsyncOperationId)+",\n") - if this.CreatedTime != nil { - s = append(s, "CreatedTime: "+fmt.Sprintf("%#v", this.CreatedTime)+",\n") - } - if this.LastModifiedTime != nil { - s = append(s, "LastModifiedTime: "+fmt.Sprintf("%#v", this.LastModifiedTime)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func valueToGoStringMessage(v interface{}, typ string) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) -} -func (m *ProjectSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ProjectSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ProjectSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Lifecycle != nil { - { - size, err := m.Lifecycle.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.Description) > 0 { - i -= len(m.Description) - copy(dAtA[i:], m.Description) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Description))) - i-- - dAtA[i] = 0x12 - } - if len(m.DisplayName) > 0 { - i -= len(m.DisplayName) - copy(dAtA[i:], m.DisplayName) - i = encodeVarintMessage(dAtA, i, uint64(len(m.DisplayName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *LifecycleSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *LifecycleSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *LifecycleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.EnableDeleteProtection { - i-- - if m.EnableDeleteProtection { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *Project) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Project) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Project) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.LastModifiedTime != nil { - { - size, err := m.LastModifiedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if m.CreatedTime != nil { - { - size, err := m.CreatedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if len(m.AsyncOperationId) > 0 { - i -= len(m.AsyncOperationId) - copy(dAtA[i:], m.AsyncOperationId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.AsyncOperationId))) - i-- - dAtA[i] = 0x2a - } - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x20 - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintMessage(dAtA []byte, offset int, v uint64) int { - offset -= sovMessage(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *ProjectSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.DisplayName) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.Description) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Lifecycle != nil { - l = m.Lifecycle.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *LifecycleSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.EnableDeleteProtection { - n += 2 - } - return n -} - -func (m *Project) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) - } - l = len(m.AsyncOperationId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.CreatedTime != nil { - l = m.CreatedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.LastModifiedTime != nil { - l = m.LastModifiedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func sovMessage(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozMessage(x uint64) (n int) { - return sovMessage(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (this *ProjectSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ProjectSpec{`, - `DisplayName:` + fmt.Sprintf("%v", this.DisplayName) + `,`, - `Description:` + fmt.Sprintf("%v", this.Description) + `,`, - `Lifecycle:` + strings.Replace(this.Lifecycle.String(), "LifecycleSpec", "LifecycleSpec", 1) + `,`, - `}`, - }, "") - return s +var File_temporal_api_cloud_project_v1_message_proto protoreflect.FileDescriptor + +var file_temporal_api_cloud_project_v1_message_proto_rawDesc = []byte{ + 0x0a, 0x2b, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x76, 0x31, 0x2f, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x74, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x2c, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9e, 0x01, 0x0a, 0x0b, + 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x70, 0x65, 0x63, 0x12, 0x21, 0x0a, 0x0c, 0x64, + 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, + 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x4a, 0x0a, 0x09, 0x6c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x53, 0x70, 0x65, + 0x63, 0x52, 0x09, 0x6c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x22, 0x49, 0x0a, 0x0d, + 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x38, 0x0a, + 0x18, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x70, + 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x16, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, + 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x80, 0x03, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x02, 0x69, 0x64, 0x12, 0x3e, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2a, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, + 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, + 0x70, 0x65, 0x63, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x43, + 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, + 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x6f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x10, 0x61, 0x73, 0x79, 0x6e, 0x63, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x12, 0x3d, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x48, 0x0a, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, + 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x6f, + 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x42, 0xf7, 0x01, 0x0a, 0x21, 0x63, + 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, + 0x42, 0x0c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x2b, 0x67, 0x6f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x69, 0x6f, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0xa2, 0x02, 0x04, + 0x54, 0x41, 0x43, 0x50, 0xaa, 0x02, 0x1d, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x41, 0x70, 0x69, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1d, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x5c, + 0x41, 0x70, 0x69, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x29, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x5c, + 0x41, 0x70, 0x69, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x21, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x3a, 0x3a, 0x41, 0x70, 0x69, + 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func (this *LifecycleSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&LifecycleSpec{`, - `EnableDeleteProtection:` + fmt.Sprintf("%v", this.EnableDeleteProtection) + `,`, - `}`, - }, "") - return s -} -func (this *Project) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&Project{`, - `Id:` + fmt.Sprintf("%v", this.Id) + `,`, - `Spec:` + strings.Replace(this.Spec.String(), "ProjectSpec", "ProjectSpec", 1) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `CreatedTime:` + strings.Replace(fmt.Sprintf("%v", this.CreatedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `LastModifiedTime:` + strings.Replace(fmt.Sprintf("%v", this.LastModifiedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `}`, - }, "") - return s -} -func valueToStringMessage(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) -} -func (m *ProjectSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ProjectSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProjectSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DisplayName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DisplayName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Description = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Lifecycle", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Lifecycle == nil { - m.Lifecycle = &LifecycleSpec{} - } - if err := m.Lifecycle.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *LifecycleSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: LifecycleSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: LifecycleSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EnableDeleteProtection", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.EnableDeleteProtection = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } +var ( + file_temporal_api_cloud_project_v1_message_proto_rawDescOnce sync.Once + file_temporal_api_cloud_project_v1_message_proto_rawDescData = file_temporal_api_cloud_project_v1_message_proto_rawDesc +) - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Project) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Project: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Project: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &ProjectSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= v1.ResourceState(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage +func file_temporal_api_cloud_project_v1_message_proto_rawDescGZIP() []byte { + file_temporal_api_cloud_project_v1_message_proto_rawDescOnce.Do(func() { + file_temporal_api_cloud_project_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_temporal_api_cloud_project_v1_message_proto_rawDescData) + }) + return file_temporal_api_cloud_project_v1_message_proto_rawDescData +} + +var file_temporal_api_cloud_project_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_temporal_api_cloud_project_v1_message_proto_goTypes = []interface{}{ + (*ProjectSpec)(nil), // 0: temporal.api.cloud.project.v1.ProjectSpec + (*LifecycleSpec)(nil), // 1: temporal.api.cloud.project.v1.LifecycleSpec + (*Project)(nil), // 2: temporal.api.cloud.project.v1.Project + (v1.ResourceState)(0), // 3: temporal.api.cloud.resource.v1.ResourceState + (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp +} +var file_temporal_api_cloud_project_v1_message_proto_depIdxs = []int32{ + 1, // 0: temporal.api.cloud.project.v1.ProjectSpec.lifecycle:type_name -> temporal.api.cloud.project.v1.LifecycleSpec + 0, // 1: temporal.api.cloud.project.v1.Project.spec:type_name -> temporal.api.cloud.project.v1.ProjectSpec + 3, // 2: temporal.api.cloud.project.v1.Project.state:type_name -> temporal.api.cloud.resource.v1.ResourceState + 4, // 3: temporal.api.cloud.project.v1.Project.created_time:type_name -> google.protobuf.Timestamp + 4, // 4: temporal.api.cloud.project.v1.Project.last_modified_time:type_name -> google.protobuf.Timestamp + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_temporal_api_cloud_project_v1_message_proto_init() } +func file_temporal_api_cloud_project_v1_message_proto_init() { + if File_temporal_api_cloud_project_v1_message_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_temporal_api_cloud_project_v1_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CreatedTime == nil { - m.CreatedTime = &types.Timestamp{} - } - if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastModifiedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.LastModifiedTime == nil { - m.LastModifiedTime = &types.Timestamp{} - } - if err := m.LastModifiedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipMessage(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break + file_temporal_api_cloud_project_v1_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LifecycleSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil } } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } + file_temporal_api_cloud_project_v1_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Project); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthMessage - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupMessage - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthMessage - } - if depth == 0 { - return iNdEx, nil } } - return 0, io.ErrUnexpectedEOF + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_temporal_api_cloud_project_v1_message_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_temporal_api_cloud_project_v1_message_proto_goTypes, + DependencyIndexes: file_temporal_api_cloud_project_v1_message_proto_depIdxs, + MessageInfos: file_temporal_api_cloud_project_v1_message_proto_msgTypes, + }.Build() + File_temporal_api_cloud_project_v1_message_proto = out.File + file_temporal_api_cloud_project_v1_message_proto_rawDesc = nil + file_temporal_api_cloud_project_v1_message_proto_goTypes = nil + file_temporal_api_cloud_project_v1_message_proto_depIdxs = nil } - -var ( - ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowMessage = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group") -) diff --git a/protogen/api/cloud/region/v1/message.pb.go b/protogen/api/cloud/region/v1/message.pb.go index 8ddf28e5..17610a2a 100644 --- a/protogen/api/cloud/region/v1/message.pb.go +++ b/protogen/api/cloud/region/v1/message.pb.go @@ -1,29 +1,30 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: temporal/api/cloud/region/v1/message.proto package region import ( - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - io "io" - math "math" - math_bits "math/bits" + proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" - strconv "strconv" - strings "strings" + "strconv" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 // The cloud provider that's hosting the region. type Region_CloudProvider int32 @@ -34,30 +35,71 @@ const ( CLOUD_PROVIDER_GCP Region_CloudProvider = 2 ) -var Region_CloudProvider_name = map[int32]string{ - 0: "CloudProviderUnspecified", - 1: "CloudProviderAws", - 2: "CloudProviderGcp", +// Enum value maps for Region_CloudProvider. +var ( + Region_CloudProvider_name = map[int32]string{ + 0: "CloudProviderUnspecified", + 1: "CloudProviderAws", + 2: "CloudProviderGcp", + } + Region_CloudProvider_value = map[string]int32{ + "CloudProviderUnspecified": 0, + "CloudProviderAws": 1, + "CloudProviderGcp": 2, + } +) + +func (x Region_CloudProvider) Enum() *Region_CloudProvider { + p := new(Region_CloudProvider) + *p = x + return p } -var Region_CloudProvider_value = map[string]int32{ - "CloudProviderUnspecified": 0, - "CloudProviderAws": 1, - "CloudProviderGcp": 2, +func (x Region_CloudProvider) String() string { + switch x { + case CLOUD_PROVIDER_UNSPECIFIED: + return "CloudProviderUnspecified" + case CLOUD_PROVIDER_AWS: + return "CloudProviderAws" + case CLOUD_PROVIDER_GCP: + return "CloudProviderGcp" + default: + return strconv.Itoa(int(x)) + } + +} + +func (Region_CloudProvider) Descriptor() protoreflect.EnumDescriptor { + return file_temporal_api_cloud_region_v1_message_proto_enumTypes[0].Descriptor() +} + +func (Region_CloudProvider) Type() protoreflect.EnumType { + return &file_temporal_api_cloud_region_v1_message_proto_enumTypes[0] +} + +func (x Region_CloudProvider) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use Region_CloudProvider.Descriptor instead. func (Region_CloudProvider) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ec4b65943296208a, []int{0, 0} + return file_temporal_api_cloud_region_v1_message_proto_rawDescGZIP(), []int{0, 0} } type Region struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The id of the temporal cloud region. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The name of the cloud provider that's hosting the region. // Currently only "aws" is supported. // Deprecated: Use cloud_provider instead. // temporal:versioning:max_version=v0.3.0 - CloudProviderDeprecated string `protobuf:"bytes,2,opt,name=cloud_provider_deprecated,json=cloudProviderDeprecated,proto3" json:"cloud_provider_deprecated,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + CloudProviderDeprecated string `protobuf:"bytes,2,opt,name=cloud_provider_deprecated,json=cloudProviderDeprecated,proto3" json:"cloud_provider_deprecated,omitempty"` // The cloud provider that's hosting the region. // temporal:versioning:min_version=v0.3.0 // temporal:enums:replaces=cloud_provider_deprecated @@ -69,650 +111,211 @@ type Region struct { // The allow list of connection between the current region with a target region. // temporal:dev ConnectableRegionIds []string `protobuf:"bytes,6,rep,name=connectable_region_ids,json=connectableRegionIds,proto3" json:"connectable_region_ids,omitempty"` + // The maximum number of replicas allowed in this region. + // temporal:dev + MaxInRegionReplicas int32 `protobuf:"varint,7,opt,name=max_in_region_replicas,json=maxInRegionReplicas,proto3" json:"max_in_region_replicas,omitempty"` } -func (m *Region) Reset() { *m = Region{} } -func (*Region) ProtoMessage() {} -func (*Region) Descriptor() ([]byte, []int) { - return fileDescriptor_ec4b65943296208a, []int{0} +func (x *Region) Reset() { + *x = Region{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_region_v1_message_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Region) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *Region) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Region) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Region.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*Region) ProtoMessage() {} + +func (x *Region) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_region_v1_message_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *Region) XXX_Merge(src proto.Message) { - xxx_messageInfo_Region.Merge(m, src) -} -func (m *Region) XXX_Size() int { - return m.Size() -} -func (m *Region) XXX_DiscardUnknown() { - xxx_messageInfo_Region.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_Region proto.InternalMessageInfo +// Deprecated: Use Region.ProtoReflect.Descriptor instead. +func (*Region) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_region_v1_message_proto_rawDescGZIP(), []int{0} +} -func (m *Region) GetId() string { - if m != nil { - return m.Id +func (x *Region) GetId() string { + if x != nil { + return x.Id } return "" } // Deprecated: Do not use. -func (m *Region) GetCloudProviderDeprecated() string { - if m != nil { - return m.CloudProviderDeprecated +func (x *Region) GetCloudProviderDeprecated() string { + if x != nil { + return x.CloudProviderDeprecated } return "" } -func (m *Region) GetCloudProvider() Region_CloudProvider { - if m != nil { - return m.CloudProvider +func (x *Region) GetCloudProvider() Region_CloudProvider { + if x != nil { + return x.CloudProvider } return CLOUD_PROVIDER_UNSPECIFIED } -func (m *Region) GetCloudProviderRegion() string { - if m != nil { - return m.CloudProviderRegion +func (x *Region) GetCloudProviderRegion() string { + if x != nil { + return x.CloudProviderRegion } return "" } -func (m *Region) GetLocation() string { - if m != nil { - return m.Location +func (x *Region) GetLocation() string { + if x != nil { + return x.Location } return "" } -func (m *Region) GetConnectableRegionIds() []string { - if m != nil { - return m.ConnectableRegionIds +func (x *Region) GetConnectableRegionIds() []string { + if x != nil { + return x.ConnectableRegionIds } return nil } -func init() { - proto.RegisterEnum("temporal.api.cloud.region.v1.Region_CloudProvider", Region_CloudProvider_name, Region_CloudProvider_value) - proto.RegisterType((*Region)(nil), "temporal.api.cloud.region.v1.Region") -} - -func init() { - proto.RegisterFile("temporal/api/cloud/region/v1/message.proto", fileDescriptor_ec4b65943296208a) -} - -var fileDescriptor_ec4b65943296208a = []byte{ - // 436 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0xd2, 0xc1, 0x6e, 0xd3, 0x30, - 0x18, 0x07, 0xf0, 0x38, 0x85, 0x8a, 0x59, 0xac, 0xaa, 0x0c, 0x8c, 0x30, 0x21, 0x53, 0xf5, 0x54, - 0x38, 0x38, 0x6a, 0xe1, 0x64, 0x24, 0xa4, 0xb6, 0x29, 0x28, 0x12, 0xb0, 0x28, 0x63, 0x45, 0x70, - 0x89, 0xb2, 0xd8, 0xaa, 0x2c, 0x65, 0xb5, 0x95, 0x84, 0x9e, 0x79, 0x04, 0xce, 0x3c, 0x01, 0xe2, - 0x49, 0x38, 0xf6, 0x84, 0x76, 0xa4, 0xe9, 0x05, 0x71, 0xda, 0x23, 0xa0, 0xda, 0xd9, 0xd6, 0x4c, - 0xd3, 0x6e, 0x71, 0xfc, 0xfb, 0xbe, 0xfc, 0x63, 0x7f, 0xf0, 0x59, 0xc1, 0x4f, 0x94, 0xcc, 0xe2, - 0xd4, 0x8d, 0x95, 0x70, 0x93, 0x54, 0x7e, 0x61, 0x6e, 0xc6, 0x67, 0x42, 0xce, 0xdd, 0x45, 0xdf, - 0x3d, 0xe1, 0x79, 0x1e, 0xcf, 0x38, 0x51, 0x99, 0x2c, 0x24, 0x7a, 0x7c, 0x6e, 0x49, 0xac, 0x04, - 0xd1, 0x96, 0x18, 0x4b, 0x16, 0xfd, 0xee, 0xf7, 0x06, 0x6c, 0x86, 0x7a, 0x85, 0x5a, 0xd0, 0x16, - 0xcc, 0x01, 0x1d, 0xd0, 0xdb, 0x09, 0x6d, 0xc1, 0xd0, 0x2b, 0xf8, 0x48, 0xeb, 0x48, 0x65, 0x72, - 0x21, 0x18, 0xcf, 0x22, 0xc6, 0x55, 0xc6, 0x93, 0xb8, 0xe0, 0xcc, 0xb1, 0x37, 0x6c, 0x64, 0x3b, - 0x20, 0x7c, 0xa8, 0x51, 0x50, 0x19, 0xef, 0x82, 0xa0, 0x4f, 0xb0, 0x55, 0xaf, 0x77, 0x6e, 0x77, - 0x40, 0xaf, 0x35, 0x18, 0x90, 0x9b, 0x12, 0x11, 0x93, 0x86, 0x8c, 0xb7, 0xbb, 0x86, 0xbb, 0xb5, - 0x8f, 0xa0, 0x01, 0x7c, 0x70, 0x25, 0x9a, 0xa9, 0x77, 0x1a, 0x3a, 0xfd, 0xbd, 0x9a, 0xae, 0x7e, - 0x6f, 0x1f, 0xde, 0x49, 0x65, 0x12, 0x17, 0x1b, 0x76, 0x4b, 0xb3, 0x8b, 0x35, 0x7a, 0x01, 0xf7, - 0x12, 0x39, 0x9f, 0xf3, 0xa4, 0x88, 0x8f, 0x53, 0x5e, 0x35, 0x8b, 0x04, 0xcb, 0x9d, 0x66, 0xa7, - 0xd1, 0xdb, 0x09, 0xef, 0x6f, 0xed, 0x9a, 0x76, 0x3e, 0xcb, 0xbb, 0x11, 0xdc, 0xad, 0xa5, 0x44, - 0x18, 0xee, 0x8f, 0xdf, 0x1e, 0x1c, 0x79, 0x51, 0x10, 0x1e, 0x4c, 0x7d, 0x6f, 0x12, 0x46, 0x47, - 0xef, 0x0f, 0x83, 0xc9, 0xd8, 0x7f, 0xed, 0x4f, 0xbc, 0xb6, 0x85, 0xf6, 0x20, 0xba, 0xb2, 0x3f, - 0xfc, 0x78, 0xd8, 0x06, 0xd7, 0xbc, 0x7f, 0x33, 0x0e, 0xda, 0xf6, 0xe8, 0x37, 0x58, 0xae, 0xb0, - 0x75, 0xba, 0xc2, 0xd6, 0xd9, 0x0a, 0x83, 0xaf, 0x25, 0x06, 0x3f, 0x4a, 0x0c, 0x7e, 0x95, 0x18, - 0x2c, 0x4b, 0x0c, 0xfe, 0x94, 0x18, 0xfc, 0x2d, 0xb1, 0x75, 0x56, 0x62, 0xf0, 0x6d, 0x8d, 0xad, - 0xe5, 0x1a, 0x5b, 0xa7, 0x6b, 0x6c, 0xc1, 0x27, 0x42, 0xde, 0x78, 0xc4, 0xa3, 0xbb, 0xef, 0xcc, - 0x84, 0x04, 0x9b, 0x01, 0x09, 0xc0, 0xe7, 0xa7, 0xb3, 0xad, 0x02, 0x21, 0xaf, 0x1b, 0xaa, 0x97, - 0xe6, 0xe9, 0xa7, 0x8d, 0x3f, 0x54, 0x50, 0x48, 0x32, 0x54, 0xc2, 0xdc, 0xd3, 0xf9, 0xa5, 0x4d, - 0xfb, 0xff, 0xec, 0xee, 0x25, 0xa0, 0x74, 0xa8, 0x04, 0xa5, 0x9a, 0x50, 0x6a, 0x0c, 0xa5, 0xd3, - 0xfe, 0x71, 0x53, 0x8f, 0xe6, 0xf3, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0x22, 0x37, 0x77, 0xe4, - 0xc8, 0x02, 0x00, 0x00, -} - -func (x Region_CloudProvider) String() string { - s, ok := Region_CloudProvider_name[int32(x)] - if ok { - return s +func (x *Region) GetMaxInRegionReplicas() int32 { + if x != nil { + return x.MaxInRegionReplicas } - return strconv.Itoa(int(x)) + return 0 } -func (this *Region) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*Region) - if !ok { - that2, ok := that.(Region) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Id != that1.Id { - return false - } - if this.CloudProviderDeprecated != that1.CloudProviderDeprecated { - return false - } - if this.CloudProvider != that1.CloudProvider { - return false - } - if this.CloudProviderRegion != that1.CloudProviderRegion { - return false - } - if this.Location != that1.Location { - return false - } - if len(this.ConnectableRegionIds) != len(that1.ConnectableRegionIds) { - return false - } - for i := range this.ConnectableRegionIds { - if this.ConnectableRegionIds[i] != that1.ConnectableRegionIds[i] { - return false - } - } - return true -} -func (this *Region) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 10) - s = append(s, "®ion.Region{") - s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n") - s = append(s, "CloudProviderDeprecated: "+fmt.Sprintf("%#v", this.CloudProviderDeprecated)+",\n") - s = append(s, "CloudProvider: "+fmt.Sprintf("%#v", this.CloudProvider)+",\n") - s = append(s, "CloudProviderRegion: "+fmt.Sprintf("%#v", this.CloudProviderRegion)+",\n") - s = append(s, "Location: "+fmt.Sprintf("%#v", this.Location)+",\n") - s = append(s, "ConnectableRegionIds: "+fmt.Sprintf("%#v", this.ConnectableRegionIds)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func valueToGoStringMessage(v interface{}, typ string) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) -} -func (m *Region) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} +var File_temporal_api_cloud_region_v1_message_proto protoreflect.FileDescriptor -func (m *Region) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +var file_temporal_api_cloud_region_v1_message_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x74, 0x65, + 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x22, 0xcf, 0x03, 0x0a, 0x06, 0x52, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3e, 0x0a, 0x19, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, + 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x17, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x44, 0x65, 0x70, 0x72, 0x65, + 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x59, 0x0a, 0x0e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, + 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x52, 0x0d, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x12, 0x32, 0x0a, 0x15, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x13, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x34, 0x0a, 0x16, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, + 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x14, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x12, 0x33, 0x0a, 0x16, 0x6d, 0x61, 0x78, 0x5f, 0x69, 0x6e, + 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x6d, 0x61, 0x78, 0x49, 0x6e, 0x52, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x22, 0x5f, 0x0a, 0x0d, 0x43, + 0x6c, 0x6f, 0x75, 0x64, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x1a, + 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52, 0x5f, 0x55, + 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, + 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52, 0x5f, 0x41, + 0x57, 0x53, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x50, 0x52, + 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52, 0x5f, 0x47, 0x43, 0x50, 0x10, 0x02, 0x42, 0xf0, 0x01, 0x0a, + 0x20, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x76, + 0x31, 0x42, 0x0c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x29, 0x67, 0x6f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x69, + 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0xa2, 0x02, 0x04, 0x54, + 0x41, 0x43, 0x52, 0xaa, 0x02, 0x1c, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x41, + 0x70, 0x69, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, + 0x56, 0x31, 0xca, 0x02, 0x1c, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x5c, 0x41, 0x70, + 0x69, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5c, 0x56, + 0x31, 0xe2, 0x02, 0x28, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x5c, 0x41, 0x70, 0x69, + 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, + 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x20, 0x54, + 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x43, 0x6c, + 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func (m *Region) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ConnectableRegionIds) > 0 { - for iNdEx := len(m.ConnectableRegionIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ConnectableRegionIds[iNdEx]) - copy(dAtA[i:], m.ConnectableRegionIds[iNdEx]) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ConnectableRegionIds[iNdEx]))) - i-- - dAtA[i] = 0x32 - } - } - if m.CloudProvider != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.CloudProvider)) - i-- - dAtA[i] = 0x28 - } - if len(m.Location) > 0 { - i -= len(m.Location) - copy(dAtA[i:], m.Location) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Location))) - i-- - dAtA[i] = 0x22 - } - if len(m.CloudProviderRegion) > 0 { - i -= len(m.CloudProviderRegion) - copy(dAtA[i:], m.CloudProviderRegion) - i = encodeVarintMessage(dAtA, i, uint64(len(m.CloudProviderRegion))) - i-- - dAtA[i] = 0x1a - } - if len(m.CloudProviderDeprecated) > 0 { - i -= len(m.CloudProviderDeprecated) - copy(dAtA[i:], m.CloudProviderDeprecated) - i = encodeVarintMessage(dAtA, i, uint64(len(m.CloudProviderDeprecated))) - i-- - dAtA[i] = 0x12 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} +var ( + file_temporal_api_cloud_region_v1_message_proto_rawDescOnce sync.Once + file_temporal_api_cloud_region_v1_message_proto_rawDescData = file_temporal_api_cloud_region_v1_message_proto_rawDesc +) -func encodeVarintMessage(dAtA []byte, offset int, v uint64) int { - offset -= sovMessage(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *Region) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.CloudProviderDeprecated) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.CloudProviderRegion) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.Location) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.CloudProvider != 0 { - n += 1 + sovMessage(uint64(m.CloudProvider)) - } - if len(m.ConnectableRegionIds) > 0 { - for _, s := range m.ConnectableRegionIds { - l = len(s) - n += 1 + l + sovMessage(uint64(l)) - } - } - return n +func file_temporal_api_cloud_region_v1_message_proto_rawDescGZIP() []byte { + file_temporal_api_cloud_region_v1_message_proto_rawDescOnce.Do(func() { + file_temporal_api_cloud_region_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_temporal_api_cloud_region_v1_message_proto_rawDescData) + }) + return file_temporal_api_cloud_region_v1_message_proto_rawDescData } -func sovMessage(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozMessage(x uint64) (n int) { - return sovMessage(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +var file_temporal_api_cloud_region_v1_message_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_temporal_api_cloud_region_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_temporal_api_cloud_region_v1_message_proto_goTypes = []interface{}{ + (Region_CloudProvider)(0), // 0: temporal.api.cloud.region.v1.Region.CloudProvider + (*Region)(nil), // 1: temporal.api.cloud.region.v1.Region +} +var file_temporal_api_cloud_region_v1_message_proto_depIdxs = []int32{ + 0, // 0: temporal.api.cloud.region.v1.Region.cloud_provider:type_name -> temporal.api.cloud.region.v1.Region.CloudProvider + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name } -func (this *Region) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&Region{`, - `Id:` + fmt.Sprintf("%v", this.Id) + `,`, - `CloudProviderDeprecated:` + fmt.Sprintf("%v", this.CloudProviderDeprecated) + `,`, - `CloudProviderRegion:` + fmt.Sprintf("%v", this.CloudProviderRegion) + `,`, - `Location:` + fmt.Sprintf("%v", this.Location) + `,`, - `CloudProvider:` + fmt.Sprintf("%v", this.CloudProvider) + `,`, - `ConnectableRegionIds:` + fmt.Sprintf("%v", this.ConnectableRegionIds) + `,`, - `}`, - }, "") - return s -} -func valueToStringMessage(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) -} -func (m *Region) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Region: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Region: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CloudProviderDeprecated", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.CloudProviderDeprecated = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CloudProviderRegion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.CloudProviderRegion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Location", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Location = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CloudProvider", wireType) - } - m.CloudProvider = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CloudProvider |= Region_CloudProvider(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectableRegionIds", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ConnectableRegionIds = append(m.ConnectableRegionIds, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipMessage(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } +func init() { file_temporal_api_cloud_region_v1_message_proto_init() } +func file_temporal_api_cloud_region_v1_message_proto_init() { + if File_temporal_api_cloud_region_v1_message_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_temporal_api_cloud_region_v1_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Region); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthMessage - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupMessage - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthMessage - } - if depth == 0 { - return iNdEx, nil } } - return 0, io.ErrUnexpectedEOF + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_temporal_api_cloud_region_v1_message_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_temporal_api_cloud_region_v1_message_proto_goTypes, + DependencyIndexes: file_temporal_api_cloud_region_v1_message_proto_depIdxs, + EnumInfos: file_temporal_api_cloud_region_v1_message_proto_enumTypes, + MessageInfos: file_temporal_api_cloud_region_v1_message_proto_msgTypes, + }.Build() + File_temporal_api_cloud_region_v1_message_proto = out.File + file_temporal_api_cloud_region_v1_message_proto_rawDesc = nil + file_temporal_api_cloud_region_v1_message_proto_goTypes = nil + file_temporal_api_cloud_region_v1_message_proto_depIdxs = nil } - -var ( - ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowMessage = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group") -) diff --git a/protogen/api/cloud/resource/v1/message.pb.go b/protogen/api/cloud/resource/v1/message.pb.go index 7d09596c..ebe597eb 100644 --- a/protogen/api/cloud/resource/v1/message.pb.go +++ b/protogen/api/cloud/resource/v1/message.pb.go @@ -1,115 +1,225 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: temporal/api/cloud/resource/v1/message.proto package resource import ( - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - math "math" - strconv "strconv" + proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + "strconv" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type ResourceState int32 const ( RESOURCE_STATE_UNSPECIFIED ResourceState = 0 - RESOURCE_STATE_ACTIVATING ResourceState = 1 - RESOURCE_STATE_ACTIVATION_FAILED ResourceState = 2 - RESOURCE_STATE_ACTIVE ResourceState = 3 - RESOURCE_STATE_UPDATING ResourceState = 4 - RESOURCE_STATE_UPDATE_FAILED ResourceState = 5 - RESOURCE_STATE_DELETING ResourceState = 6 - RESOURCE_STATE_DELETE_FAILED ResourceState = 7 - RESOURCE_STATE_DELETED ResourceState = 8 - RESOURCE_STATE_SUSPENDED ResourceState = 9 - RESOURCE_STATE_EXPIRED ResourceState = 10 + RESOURCE_STATE_ACTIVATING ResourceState = 1 // The resource is being activated. + RESOURCE_STATE_ACTIVATION_FAILED ResourceState = 2 // The resource failed to activate. This is an error state. Reach out to support for remediation. + RESOURCE_STATE_ACTIVE ResourceState = 3 // The resource is active and ready to use. + RESOURCE_STATE_UPDATING ResourceState = 4 // The resource is being updated. + RESOURCE_STATE_UPDATE_FAILED ResourceState = 5 // The resource failed to update. This is an error state. Reach out to support for remediation. + RESOURCE_STATE_DELETING ResourceState = 6 // The resource is being deleted. + RESOURCE_STATE_DELETE_FAILED ResourceState = 7 // The resource failed to delete. This is an error state. Reach out to support for remediation. + RESOURCE_STATE_DELETED ResourceState = 8 // The resource has been deleted. + RESOURCE_STATE_SUSPENDED ResourceState = 9 // The resource is suspended and not available for use. Reach out to support for remediation. + RESOURCE_STATE_EXPIRED ResourceState = 10 // The resource has expired and is no longer available for use. +) + +// Enum value maps for ResourceState. +var ( + ResourceState_name = map[int32]string{ + 0: "ResourceStateUnspecified", + 1: "ResourceStateActivating", + 2: "ResourceStateActivationFailed", + 3: "ResourceStateActive", + 4: "ResourceStateUpdating", + 5: "ResourceStateUpdateFailed", + 6: "ResourceStateDeleting", + 7: "ResourceStateDeleteFailed", + 8: "ResourceStateDeleted", + 9: "ResourceStateSuspended", + 10: "ResourceStateExpired", + } + ResourceState_value = map[string]int32{ + "ResourceStateUnspecified": 0, + "ResourceStateActivating": 1, + "ResourceStateActivationFailed": 2, + "ResourceStateActive": 3, + "ResourceStateUpdating": 4, + "ResourceStateUpdateFailed": 5, + "ResourceStateDeleting": 6, + "ResourceStateDeleteFailed": 7, + "ResourceStateDeleted": 8, + "ResourceStateSuspended": 9, + "ResourceStateExpired": 10, + } ) -var ResourceState_name = map[int32]string{ - 0: "Unspecified", - 1: "Activating", - 2: "ActivationFailed", - 3: "Active", - 4: "Updating", - 5: "UpdateFailed", - 6: "Deleting", - 7: "DeleteFailed", - 8: "Deleted", - 9: "Suspended", - 10: "Expired", +func (x ResourceState) Enum() *ResourceState { + p := new(ResourceState) + *p = x + return p } -var ResourceState_value = map[string]int32{ - "Unspecified": 0, - "Activating": 1, - "ActivationFailed": 2, - "Active": 3, - "Updating": 4, - "UpdateFailed": 5, - "Deleting": 6, - "DeleteFailed": 7, - "Deleted": 8, - "Suspended": 9, - "Expired": 10, +func (x ResourceState) String() string { + switch x { + case RESOURCE_STATE_UNSPECIFIED: + return "Unspecified" + case RESOURCE_STATE_ACTIVATING: + return "Activating" + case RESOURCE_STATE_ACTIVATION_FAILED: + return "ActivationFailed" + case RESOURCE_STATE_ACTIVE: + return "Active" + case RESOURCE_STATE_UPDATING: + return "Updating" + case RESOURCE_STATE_UPDATE_FAILED: + return "UpdateFailed" + case RESOURCE_STATE_DELETING: + return "Deleting" + case RESOURCE_STATE_DELETE_FAILED: + return "DeleteFailed" + case RESOURCE_STATE_DELETED: + return "Deleted" + case RESOURCE_STATE_SUSPENDED: + + // Deprecated: Use ResourceState.Descriptor instead. + return "Suspended" + case RESOURCE_STATE_EXPIRED: + return "Expired" + default: + return strconv.Itoa(int(x)) + } + +} + +func (ResourceState) Descriptor() protoreflect.EnumDescriptor { + return file_temporal_api_cloud_resource_v1_message_proto_enumTypes[0].Descriptor() +} + +func (ResourceState) Type() protoreflect.EnumType { + return &file_temporal_api_cloud_resource_v1_message_proto_enumTypes[0] +} + +func (x ResourceState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } func (ResourceState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1f9ad71e764361c3, []int{0} + return file_temporal_api_cloud_resource_v1_message_proto_rawDescGZIP(), []int{0} } -func init() { - proto.RegisterEnum("temporal.api.cloud.resource.v1.ResourceState", ResourceState_name, ResourceState_value) +var File_temporal_api_cloud_resource_v1_message_proto protoreflect.FileDescriptor + +var file_temporal_api_cloud_resource_v1_message_proto_rawDesc = []byte{ + 0x0a, 0x2c, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x76, 0x31, + 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, + 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2a, 0xe3, + 0x02, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, + 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, + 0x24, 0x0a, 0x20, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, + 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x41, 0x49, + 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x19, 0x0a, 0x15, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, + 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x03, + 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x20, 0x0a, + 0x1c, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, + 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, + 0x1b, 0x0a, 0x17, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, + 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x06, 0x12, 0x20, 0x0a, 0x1c, + 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, + 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x07, 0x12, 0x1a, + 0x0a, 0x16, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, + 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x08, 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x45, + 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x55, 0x53, + 0x50, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x09, 0x12, 0x1a, 0x0a, 0x16, 0x52, 0x45, 0x53, 0x4f, + 0x55, 0x52, 0x43, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, + 0x45, 0x44, 0x10, 0x0a, 0x42, 0xfe, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2d, 0x67, 0x6f, 0x2e, + 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x76, + 0x31, 0x3b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0xa2, 0x02, 0x04, 0x54, 0x41, 0x43, + 0x52, 0xaa, 0x02, 0x1e, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x41, 0x70, 0x69, + 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, + 0x56, 0x31, 0xca, 0x02, 0x1e, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x5c, 0x41, 0x70, + 0x69, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x2a, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x5c, 0x41, + 0x70, 0x69, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x22, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x3a, 0x3a, 0x41, 0x70, 0x69, + 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func init() { - proto.RegisterFile("temporal/api/cloud/resource/v1/message.proto", fileDescriptor_1f9ad71e764361c3) +var ( + file_temporal_api_cloud_resource_v1_message_proto_rawDescOnce sync.Once + file_temporal_api_cloud_resource_v1_message_proto_rawDescData = file_temporal_api_cloud_resource_v1_message_proto_rawDesc +) + +func file_temporal_api_cloud_resource_v1_message_proto_rawDescGZIP() []byte { + file_temporal_api_cloud_resource_v1_message_proto_rawDescOnce.Do(func() { + file_temporal_api_cloud_resource_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_temporal_api_cloud_resource_v1_message_proto_rawDescData) + }) + return file_temporal_api_cloud_resource_v1_message_proto_rawDescData } -var fileDescriptor_1f9ad71e764361c3 = []byte{ - // 385 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x4f, 0x6b, 0xe2, 0x40, - 0x18, 0xc6, 0x33, 0xd9, 0x5d, 0x77, 0x77, 0xd8, 0x85, 0x30, 0xb0, 0x7f, 0x74, 0xdd, 0xc1, 0x05, - 0x4f, 0x4b, 0x3b, 0x21, 0xf4, 0x36, 0x3d, 0xc5, 0xcc, 0x58, 0x02, 0x36, 0x86, 0x24, 0x4a, 0xe9, - 0x45, 0x52, 0x1b, 0x24, 0xa0, 0x4c, 0x88, 0xd1, 0x73, 0x3f, 0x42, 0x3f, 0x46, 0xe9, 0x27, 0xe9, - 0xd1, 0xa3, 0x47, 0x4d, 0x2e, 0xa5, 0x27, 0x3f, 0x42, 0x69, 0x34, 0x6d, 0x91, 0xb4, 0xb7, 0x19, - 0x9e, 0xdf, 0xef, 0x7d, 0x0f, 0xef, 0x03, 0x0f, 0x92, 0x60, 0x12, 0x89, 0xd8, 0x1f, 0xab, 0x7e, - 0x14, 0xaa, 0xc3, 0xb1, 0x98, 0x5d, 0xaa, 0x71, 0x30, 0x15, 0xb3, 0x78, 0x18, 0xa8, 0x73, 0x4d, - 0x9d, 0x04, 0xd3, 0xa9, 0x3f, 0x0a, 0x48, 0x14, 0x8b, 0x44, 0x20, 0x5c, 0xd0, 0xc4, 0x8f, 0x42, - 0x92, 0xd3, 0xa4, 0xa0, 0xc9, 0x5c, 0xfb, 0x9f, 0xc9, 0xf0, 0xbb, 0xb3, 0xfb, 0xbb, 0x89, 0x9f, - 0x04, 0x08, 0xc3, 0x9a, 0xc3, 0xdd, 0x6e, 0xcf, 0x31, 0xf8, 0xc0, 0xf5, 0x74, 0x8f, 0x0f, 0x7a, - 0x96, 0x6b, 0x73, 0xc3, 0x6c, 0x9b, 0x9c, 0x29, 0x12, 0xfa, 0x0b, 0xab, 0x7b, 0xb9, 0x6e, 0x78, - 0x66, 0x5f, 0xf7, 0x4c, 0xeb, 0x44, 0x01, 0xa8, 0x09, 0x1b, 0x6f, 0xc4, 0x5d, 0x6b, 0xd0, 0xd6, - 0xcd, 0x0e, 0x67, 0x8a, 0x8c, 0xaa, 0xf0, 0x47, 0x19, 0xc5, 0x95, 0x0f, 0xe8, 0x0f, 0xfc, 0xb5, - 0xbf, 0xdf, 0x66, 0xdb, 0xe9, 0x1f, 0x51, 0x03, 0xd6, 0xcb, 0x42, 0x5e, 0x4c, 0xfe, 0x54, 0xa2, - 0x33, 0xde, 0xe1, 0xb9, 0x5e, 0x29, 0xd1, 0xf3, 0xf0, 0x59, 0xff, 0x8c, 0x6a, 0xf0, 0x67, 0x29, - 0xc1, 0x94, 0x2f, 0xa8, 0x0e, 0x7f, 0xef, 0x65, 0x6e, 0xcf, 0xb5, 0xb9, 0xc5, 0x38, 0x53, 0xbe, - 0x96, 0x98, 0xfc, 0xcc, 0x36, 0x1d, 0xce, 0x14, 0xd8, 0x5a, 0x81, 0xc5, 0x1a, 0x4b, 0xcb, 0x35, - 0x96, 0x36, 0x6b, 0x0c, 0xae, 0x52, 0x0c, 0x6e, 0x52, 0x0c, 0xee, 0x52, 0x0c, 0x16, 0x29, 0x06, - 0xab, 0x14, 0x83, 0xfb, 0x14, 0x4b, 0x9b, 0x14, 0x83, 0xeb, 0x0c, 0x4b, 0x8b, 0x0c, 0x4b, 0xcb, - 0x0c, 0x4b, 0xf0, 0x5f, 0x28, 0xc8, 0xfb, 0xf7, 0x6b, 0x7d, 0x3b, 0xdd, 0x9e, 0xdb, 0x7e, 0xba, - 0xb6, 0x0d, 0xce, 0x0f, 0x47, 0xaf, 0x94, 0x50, 0x94, 0x77, 0xe4, 0xb8, 0x78, 0xdf, 0xca, 0x0d, - 0x6f, 0x07, 0x87, 0x82, 0xe8, 0x51, 0x48, 0x8c, 0x7c, 0x43, 0xd1, 0x08, 0xd2, 0xd7, 0x1e, 0xe4, - 0xe6, 0x0b, 0x42, 0xa9, 0x1e, 0x85, 0x94, 0xe6, 0x10, 0xa5, 0x05, 0x45, 0x69, 0x5f, 0xbb, 0xa8, - 0xe4, 0x7d, 0x3b, 0x7a, 0x0c, 0x00, 0x00, 0xff, 0xff, 0x31, 0x5f, 0xa6, 0xe2, 0x9f, 0x02, 0x00, - 0x00, +var file_temporal_api_cloud_resource_v1_message_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_temporal_api_cloud_resource_v1_message_proto_goTypes = []interface{}{ + (ResourceState)(0), // 0: temporal.api.cloud.resource.v1.ResourceState +} +var file_temporal_api_cloud_resource_v1_message_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name } -func (x ResourceState) String() string { - s, ok := ResourceState_name[int32(x)] - if ok { - return s +func init() { file_temporal_api_cloud_resource_v1_message_proto_init() } +func file_temporal_api_cloud_resource_v1_message_proto_init() { + if File_temporal_api_cloud_resource_v1_message_proto != nil { + return } - return strconv.Itoa(int(x)) + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_temporal_api_cloud_resource_v1_message_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_temporal_api_cloud_resource_v1_message_proto_goTypes, + DependencyIndexes: file_temporal_api_cloud_resource_v1_message_proto_depIdxs, + EnumInfos: file_temporal_api_cloud_resource_v1_message_proto_enumTypes, + }.Build() + File_temporal_api_cloud_resource_v1_message_proto = out.File + file_temporal_api_cloud_resource_v1_message_proto_rawDesc = nil + file_temporal_api_cloud_resource_v1_message_proto_goTypes = nil + file_temporal_api_cloud_resource_v1_message_proto_depIdxs = nil } diff --git a/protogen/api/cloud/sink/v1/message.pb.go b/protogen/api/cloud/sink/v1/message.pb.go index ee278206..b46c4af0 100644 --- a/protogen/api/cloud/sink/v1/message.pb.go +++ b/protogen/api/cloud/sink/v1/message.pb.go @@ -1,30 +1,35 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: temporal/api/cloud/sink/v1/message.proto package sink import ( - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - io "io" - math "math" - math_bits "math/bits" + proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" - strings "strings" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type S3Spec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The IAM role that Temporal Cloud assumes for writing records to the customer's S3 bucket. RoleName string `protobuf:"bytes,1,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` // The name of the destination S3 bucket where Temporal will send data. @@ -37,74 +42,78 @@ type S3Spec struct { AwsAccountId string `protobuf:"bytes,5,opt,name=aws_account_id,json=awsAccountId,proto3" json:"aws_account_id,omitempty"` } -func (m *S3Spec) Reset() { *m = S3Spec{} } -func (*S3Spec) ProtoMessage() {} -func (*S3Spec) Descriptor() ([]byte, []int) { - return fileDescriptor_b248175bea0f2dac, []int{0} +func (x *S3Spec) Reset() { + *x = S3Spec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_sink_v1_message_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *S3Spec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *S3Spec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *S3Spec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_S3Spec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*S3Spec) ProtoMessage() {} + +func (x *S3Spec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_sink_v1_message_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *S3Spec) XXX_Merge(src proto.Message) { - xxx_messageInfo_S3Spec.Merge(m, src) -} -func (m *S3Spec) XXX_Size() int { - return m.Size() -} -func (m *S3Spec) XXX_DiscardUnknown() { - xxx_messageInfo_S3Spec.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_S3Spec proto.InternalMessageInfo +// Deprecated: Use S3Spec.ProtoReflect.Descriptor instead. +func (*S3Spec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_sink_v1_message_proto_rawDescGZIP(), []int{0} +} -func (m *S3Spec) GetRoleName() string { - if m != nil { - return m.RoleName +func (x *S3Spec) GetRoleName() string { + if x != nil { + return x.RoleName } return "" } -func (m *S3Spec) GetBucketName() string { - if m != nil { - return m.BucketName +func (x *S3Spec) GetBucketName() string { + if x != nil { + return x.BucketName } return "" } -func (m *S3Spec) GetRegion() string { - if m != nil { - return m.Region +func (x *S3Spec) GetRegion() string { + if x != nil { + return x.Region } return "" } -func (m *S3Spec) GetKmsArn() string { - if m != nil { - return m.KmsArn +func (x *S3Spec) GetKmsArn() string { + if x != nil { + return x.KmsArn } return "" } -func (m *S3Spec) GetAwsAccountId() string { - if m != nil { - return m.AwsAccountId +func (x *S3Spec) GetAwsAccountId() string { + if x != nil { + return x.AwsAccountId } return "" } type GCSSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The customer service account ID that Temporal Cloud impersonates for writing records to the customer's GCS bucket. SaId string `protobuf:"bytes,1,opt,name=sa_id,json=saId,proto3" json:"sa_id,omitempty"` // The name of the destination GCS bucket where Temporal will send data. @@ -115,67 +124,71 @@ type GCSSpec struct { Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` } -func (m *GCSSpec) Reset() { *m = GCSSpec{} } -func (*GCSSpec) ProtoMessage() {} -func (*GCSSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_b248175bea0f2dac, []int{1} +func (x *GCSSpec) Reset() { + *x = GCSSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_sink_v1_message_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GCSSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *GCSSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GCSSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GCSSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*GCSSpec) ProtoMessage() {} + +func (x *GCSSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_sink_v1_message_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GCSSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_GCSSpec.Merge(m, src) -} -func (m *GCSSpec) XXX_Size() int { - return m.Size() -} -func (m *GCSSpec) XXX_DiscardUnknown() { - xxx_messageInfo_GCSSpec.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_GCSSpec proto.InternalMessageInfo +// Deprecated: Use GCSSpec.ProtoReflect.Descriptor instead. +func (*GCSSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_sink_v1_message_proto_rawDescGZIP(), []int{1} +} -func (m *GCSSpec) GetSaId() string { - if m != nil { - return m.SaId +func (x *GCSSpec) GetSaId() string { + if x != nil { + return x.SaId } return "" } -func (m *GCSSpec) GetBucketName() string { - if m != nil { - return m.BucketName +func (x *GCSSpec) GetBucketName() string { + if x != nil { + return x.BucketName } return "" } -func (m *GCSSpec) GetGcpProjectId() string { - if m != nil { - return m.GcpProjectId +func (x *GCSSpec) GetGcpProjectId() string { + if x != nil { + return x.GcpProjectId } return "" } -func (m *GCSSpec) GetRegion() string { - if m != nil { - return m.Region +func (x *GCSSpec) GetRegion() string { + if x != nil { + return x.Region } return "" } type KinesisSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The role Temporal Cloud assumes when writing records to Kinesis RoleName string `protobuf:"bytes,1,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` // Destination Kinesis endpoint arn for temporal to send data to. @@ -184,60 +197,64 @@ type KinesisSpec struct { Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` } -func (m *KinesisSpec) Reset() { *m = KinesisSpec{} } -func (*KinesisSpec) ProtoMessage() {} -func (*KinesisSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_b248175bea0f2dac, []int{2} +func (x *KinesisSpec) Reset() { + *x = KinesisSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_sink_v1_message_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *KinesisSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *KinesisSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *KinesisSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_KinesisSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*KinesisSpec) ProtoMessage() {} + +func (x *KinesisSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_sink_v1_message_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *KinesisSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_KinesisSpec.Merge(m, src) -} -func (m *KinesisSpec) XXX_Size() int { - return m.Size() -} -func (m *KinesisSpec) XXX_DiscardUnknown() { - xxx_messageInfo_KinesisSpec.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_KinesisSpec proto.InternalMessageInfo +// Deprecated: Use KinesisSpec.ProtoReflect.Descriptor instead. +func (*KinesisSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_sink_v1_message_proto_rawDescGZIP(), []int{2} +} -func (m *KinesisSpec) GetRoleName() string { - if m != nil { - return m.RoleName +func (x *KinesisSpec) GetRoleName() string { + if x != nil { + return x.RoleName } return "" } -func (m *KinesisSpec) GetDestinationUri() string { - if m != nil { - return m.DestinationUri +func (x *KinesisSpec) GetDestinationUri() string { + if x != nil { + return x.DestinationUri } return "" } -func (m *KinesisSpec) GetRegion() string { - if m != nil { - return m.Region +func (x *KinesisSpec) GetRegion() string { + if x != nil { + return x.Region } return "" } type PubSubSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The customer service account id that Temporal Cloud impersonates for writing records to customer's pubsub topic ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // Destination pubsub topic name for us @@ -246,1434 +263,214 @@ type PubSubSpec struct { GcpProjectId string `protobuf:"bytes,3,opt,name=gcp_project_id,json=gcpProjectId,proto3" json:"gcp_project_id,omitempty"` } -func (m *PubSubSpec) Reset() { *m = PubSubSpec{} } -func (*PubSubSpec) ProtoMessage() {} -func (*PubSubSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_b248175bea0f2dac, []int{3} -} -func (m *PubSubSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PubSubSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PubSubSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PubSubSpec) Reset() { + *x = PubSubSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_sink_v1_message_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PubSubSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_PubSubSpec.Merge(m, src) -} -func (m *PubSubSpec) XXX_Size() int { - return m.Size() -} -func (m *PubSubSpec) XXX_DiscardUnknown() { - xxx_messageInfo_PubSubSpec.DiscardUnknown(m) -} - -var xxx_messageInfo_PubSubSpec proto.InternalMessageInfo - -func (m *PubSubSpec) GetServiceAccountId() string { - if m != nil { - return m.ServiceAccountId - } - return "" -} - -func (m *PubSubSpec) GetTopicName() string { - if m != nil { - return m.TopicName - } - return "" -} - -func (m *PubSubSpec) GetGcpProjectId() string { - if m != nil { - return m.GcpProjectId - } - return "" -} -func init() { - proto.RegisterType((*S3Spec)(nil), "temporal.api.cloud.sink.v1.S3Spec") - proto.RegisterType((*GCSSpec)(nil), "temporal.api.cloud.sink.v1.GCSSpec") - proto.RegisterType((*KinesisSpec)(nil), "temporal.api.cloud.sink.v1.KinesisSpec") - proto.RegisterType((*PubSubSpec)(nil), "temporal.api.cloud.sink.v1.PubSubSpec") -} - -func init() { - proto.RegisterFile("temporal/api/cloud/sink/v1/message.proto", fileDescriptor_b248175bea0f2dac) -} - -var fileDescriptor_b248175bea0f2dac = []byte{ - // 471 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x41, 0x8b, 0xd3, 0x40, - 0x1c, 0xc5, 0x33, 0xb5, 0xdb, 0xb5, 0xff, 0x2d, 0x55, 0x22, 0x68, 0x51, 0x77, 0x5c, 0xca, 0x8a, - 0x7b, 0x90, 0x84, 0xb2, 0xb7, 0x78, 0xea, 0xee, 0x41, 0x8a, 0x28, 0xc5, 0xe8, 0x1e, 0xbc, 0x84, - 0xe9, 0x64, 0x08, 0x63, 0x9a, 0xcc, 0x30, 0x93, 0x74, 0x4f, 0xa2, 0x1f, 0xc1, 0x2f, 0xe0, 0x5d, - 0xfc, 0x24, 0x1e, 0x3c, 0xf4, 0xb8, 0x47, 0x9b, 0x5e, 0xc4, 0xd3, 0x7e, 0x04, 0xc9, 0x4c, 0xd5, - 0x80, 0x2c, 0xf5, 0x14, 0xf2, 0xde, 0x8f, 0xf9, 0x3f, 0x1e, 0x0f, 0x8e, 0x0a, 0x96, 0x49, 0xa1, - 0xc8, 0xdc, 0x27, 0x92, 0xfb, 0x74, 0x2e, 0xca, 0xd8, 0xd7, 0x3c, 0x4f, 0xfd, 0xc5, 0xc8, 0xcf, - 0x98, 0xd6, 0x24, 0x61, 0x9e, 0x54, 0xa2, 0x10, 0xee, 0xdd, 0xdf, 0xa4, 0x47, 0x24, 0xf7, 0x0c, - 0xe9, 0xd5, 0xa4, 0xb7, 0x18, 0x0d, 0x3f, 0x21, 0xe8, 0x84, 0xc7, 0xa1, 0x64, 0xd4, 0xbd, 0x07, - 0x5d, 0x25, 0xe6, 0x2c, 0xca, 0x49, 0xc6, 0x06, 0xe8, 0x00, 0x1d, 0x75, 0x5f, 0x5e, 0xaf, 0x85, - 0x17, 0x24, 0x63, 0xee, 0x03, 0xd8, 0x9b, 0x95, 0x34, 0x65, 0x85, 0xb5, 0x5b, 0xc6, 0x06, 0x2b, - 0x19, 0xe0, 0x36, 0x74, 0x14, 0x4b, 0xb8, 0xc8, 0x07, 0xd7, 0x8c, 0xb7, 0xf9, 0x73, 0xef, 0xc0, - 0x6e, 0x9a, 0xe9, 0x88, 0xa8, 0x7c, 0xd0, 0xb6, 0x46, 0x9a, 0xe9, 0xb1, 0xca, 0xdd, 0x43, 0xe8, - 0x93, 0x73, 0x1d, 0x11, 0x4a, 0x45, 0x99, 0x17, 0x11, 0x8f, 0x07, 0x3b, 0xc6, 0xef, 0x91, 0x73, - 0x3d, 0xb6, 0xe2, 0x24, 0x1e, 0xbe, 0x83, 0xdd, 0xa7, 0xa7, 0xa1, 0xc9, 0x77, 0x0b, 0x76, 0x34, - 0xa9, 0x39, 0x9b, 0xad, 0xad, 0xc9, 0x24, 0xde, 0x9e, 0xeb, 0x10, 0xfa, 0x09, 0x95, 0x91, 0x54, - 0xe2, 0x2d, 0xa3, 0xe6, 0x8c, 0xcd, 0xd7, 0x4b, 0xa8, 0x9c, 0x5a, 0x71, 0x12, 0x37, 0xd2, 0xb7, - 0x9b, 0xe9, 0x87, 0x29, 0xec, 0x3d, 0xe3, 0x39, 0xd3, 0x5c, 0x6f, 0xaf, 0xe8, 0x11, 0xdc, 0x88, - 0x99, 0x2e, 0x78, 0x4e, 0x0a, 0x2e, 0xf2, 0xa8, 0x54, 0x7c, 0x13, 0xa7, 0xdf, 0x90, 0x5f, 0x2b, - 0x7e, 0x55, 0x55, 0xc3, 0xf7, 0x00, 0xd3, 0x72, 0x16, 0x96, 0x33, 0x73, 0xeb, 0x31, 0xb8, 0x9a, - 0xa9, 0x05, 0xa7, 0xac, 0xd9, 0x91, 0x3d, 0x7a, 0x73, 0xe3, 0xfc, 0xe9, 0xc9, 0xdd, 0x07, 0x28, - 0x84, 0xe4, 0xb4, 0x59, 0x43, 0xd7, 0x28, 0xff, 0xdf, 0xc2, 0xc9, 0x37, 0xb4, 0x5c, 0x61, 0xe7, - 0x62, 0x85, 0x9d, 0xcb, 0x15, 0x46, 0x1f, 0x2a, 0x8c, 0x3e, 0x57, 0x18, 0x7d, 0xad, 0x30, 0x5a, - 0x56, 0x18, 0x7d, 0xaf, 0x30, 0xfa, 0x51, 0x61, 0xe7, 0xb2, 0xc2, 0xe8, 0xe3, 0x1a, 0x3b, 0xcb, - 0x35, 0x76, 0x2e, 0xd6, 0xd8, 0x81, 0x7d, 0x2e, 0xbc, 0xab, 0x27, 0x76, 0xd2, 0x7b, 0x6e, 0xd7, - 0x38, 0xad, 0xc7, 0x38, 0x45, 0x6f, 0x1e, 0x26, 0x0d, 0x9c, 0x8b, 0x7f, 0xe7, 0xfb, 0xa4, 0xfe, - 0x7e, 0x69, 0xdd, 0x7f, 0xb5, 0x81, 0xb8, 0xf0, 0xc6, 0x92, 0x7b, 0xa7, 0xe6, 0xd5, 0xb0, 0x7e, - 0xf5, 0x6c, 0xf4, 0xb3, 0x75, 0xf0, 0xd7, 0x0e, 0x82, 0xb1, 0xe4, 0x41, 0x60, 0x80, 0x20, 0xa8, - 0x89, 0x20, 0x38, 0x1b, 0xcd, 0x3a, 0x66, 0xfe, 0xc7, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0x31, - 0x1d, 0x86, 0x85, 0x2a, 0x03, 0x00, 0x00, -} - -func (this *S3Spec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*S3Spec) - if !ok { - that2, ok := that.(S3Spec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.RoleName != that1.RoleName { - return false - } - if this.BucketName != that1.BucketName { - return false - } - if this.Region != that1.Region { - return false - } - if this.KmsArn != that1.KmsArn { - return false - } - if this.AwsAccountId != that1.AwsAccountId { - return false - } - return true -} -func (this *GCSSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*GCSSpec) - if !ok { - that2, ok := that.(GCSSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.SaId != that1.SaId { - return false - } - if this.BucketName != that1.BucketName { - return false - } - if this.GcpProjectId != that1.GcpProjectId { - return false - } - if this.Region != that1.Region { - return false - } - return true +func (x *PubSubSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *KinesisSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*KinesisSpec) - if !ok { - that2, ok := that.(KinesisSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.RoleName != that1.RoleName { - return false - } - if this.DestinationUri != that1.DestinationUri { - return false - } - if this.Region != that1.Region { - return false - } - return true -} -func (this *PubSubSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } +func (*PubSubSpec) ProtoMessage() {} - that1, ok := that.(*PubSubSpec) - if !ok { - that2, ok := that.(PubSubSpec) - if ok { - that1 = &that2 - } else { - return false +func (x *PubSubSpec) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_sink_v1_message_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.ServiceAccountId != that1.ServiceAccountId { - return false - } - if this.TopicName != that1.TopicName { - return false - } - if this.GcpProjectId != that1.GcpProjectId { - return false - } - return true -} -func (this *S3Spec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 9) - s = append(s, "&sink.S3Spec{") - s = append(s, "RoleName: "+fmt.Sprintf("%#v", this.RoleName)+",\n") - s = append(s, "BucketName: "+fmt.Sprintf("%#v", this.BucketName)+",\n") - s = append(s, "Region: "+fmt.Sprintf("%#v", this.Region)+",\n") - s = append(s, "KmsArn: "+fmt.Sprintf("%#v", this.KmsArn)+",\n") - s = append(s, "AwsAccountId: "+fmt.Sprintf("%#v", this.AwsAccountId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GCSSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&sink.GCSSpec{") - s = append(s, "SaId: "+fmt.Sprintf("%#v", this.SaId)+",\n") - s = append(s, "BucketName: "+fmt.Sprintf("%#v", this.BucketName)+",\n") - s = append(s, "GcpProjectId: "+fmt.Sprintf("%#v", this.GcpProjectId)+",\n") - s = append(s, "Region: "+fmt.Sprintf("%#v", this.Region)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *KinesisSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&sink.KinesisSpec{") - s = append(s, "RoleName: "+fmt.Sprintf("%#v", this.RoleName)+",\n") - s = append(s, "DestinationUri: "+fmt.Sprintf("%#v", this.DestinationUri)+",\n") - s = append(s, "Region: "+fmt.Sprintf("%#v", this.Region)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *PubSubSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&sink.PubSubSpec{") - s = append(s, "ServiceAccountId: "+fmt.Sprintf("%#v", this.ServiceAccountId)+",\n") - s = append(s, "TopicName: "+fmt.Sprintf("%#v", this.TopicName)+",\n") - s = append(s, "GcpProjectId: "+fmt.Sprintf("%#v", this.GcpProjectId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func valueToGoStringMessage(v interface{}, typ string) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) -} -func (m *S3Spec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *S3Spec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *S3Spec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AwsAccountId) > 0 { - i -= len(m.AwsAccountId) - copy(dAtA[i:], m.AwsAccountId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.AwsAccountId))) - i-- - dAtA[i] = 0x2a - } - if len(m.KmsArn) > 0 { - i -= len(m.KmsArn) - copy(dAtA[i:], m.KmsArn) - i = encodeVarintMessage(dAtA, i, uint64(len(m.KmsArn))) - i-- - dAtA[i] = 0x22 - } - if len(m.Region) > 0 { - i -= len(m.Region) - copy(dAtA[i:], m.Region) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Region))) - i-- - dAtA[i] = 0x1a - } - if len(m.BucketName) > 0 { - i -= len(m.BucketName) - copy(dAtA[i:], m.BucketName) - i = encodeVarintMessage(dAtA, i, uint64(len(m.BucketName))) - i-- - dAtA[i] = 0x12 - } - if len(m.RoleName) > 0 { - i -= len(m.RoleName) - copy(dAtA[i:], m.RoleName) - i = encodeVarintMessage(dAtA, i, uint64(len(m.RoleName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GCSSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GCSSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GCSSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Region) > 0 { - i -= len(m.Region) - copy(dAtA[i:], m.Region) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Region))) - i-- - dAtA[i] = 0x22 - } - if len(m.GcpProjectId) > 0 { - i -= len(m.GcpProjectId) - copy(dAtA[i:], m.GcpProjectId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.GcpProjectId))) - i-- - dAtA[i] = 0x1a - } - if len(m.BucketName) > 0 { - i -= len(m.BucketName) - copy(dAtA[i:], m.BucketName) - i = encodeVarintMessage(dAtA, i, uint64(len(m.BucketName))) - i-- - dAtA[i] = 0x12 - } - if len(m.SaId) > 0 { - i -= len(m.SaId) - copy(dAtA[i:], m.SaId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.SaId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *KinesisSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *KinesisSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *KinesisSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Region) > 0 { - i -= len(m.Region) - copy(dAtA[i:], m.Region) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Region))) - i-- - dAtA[i] = 0x1a - } - if len(m.DestinationUri) > 0 { - i -= len(m.DestinationUri) - copy(dAtA[i:], m.DestinationUri) - i = encodeVarintMessage(dAtA, i, uint64(len(m.DestinationUri))) - i-- - dAtA[i] = 0x12 - } - if len(m.RoleName) > 0 { - i -= len(m.RoleName) - copy(dAtA[i:], m.RoleName) - i = encodeVarintMessage(dAtA, i, uint64(len(m.RoleName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *PubSubSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PubSubSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PubSubSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.GcpProjectId) > 0 { - i -= len(m.GcpProjectId) - copy(dAtA[i:], m.GcpProjectId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.GcpProjectId))) - i-- - dAtA[i] = 0x1a - } - if len(m.TopicName) > 0 { - i -= len(m.TopicName) - copy(dAtA[i:], m.TopicName) - i = encodeVarintMessage(dAtA, i, uint64(len(m.TopicName))) - i-- - dAtA[i] = 0x12 - } - if len(m.ServiceAccountId) > 0 { - i -= len(m.ServiceAccountId) - copy(dAtA[i:], m.ServiceAccountId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ServiceAccountId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintMessage(dAtA []byte, offset int, v uint64) int { - offset -= sovMessage(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *S3Spec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.RoleName) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.BucketName) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.Region) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.KmsArn) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.AwsAccountId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n + return mi.MessageOf(x) } -func (m *GCSSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.SaId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.BucketName) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.GcpProjectId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.Region) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n +// Deprecated: Use PubSubSpec.ProtoReflect.Descriptor instead. +func (*PubSubSpec) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_sink_v1_message_proto_rawDescGZIP(), []int{3} } -func (m *KinesisSpec) Size() (n int) { - if m == nil { - return 0 +func (x *PubSubSpec) GetServiceAccountId() string { + if x != nil { + return x.ServiceAccountId } - var l int - _ = l - l = len(m.RoleName) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.DestinationUri) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.Region) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n + return "" } -func (m *PubSubSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ServiceAccountId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) +func (x *PubSubSpec) GetTopicName() string { + if x != nil { + return x.TopicName } - l = len(m.TopicName) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.GcpProjectId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n + return "" } -func sovMessage(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozMessage(x uint64) (n int) { - return sovMessage(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (this *S3Spec) String() string { - if this == nil { - return "nil" +func (x *PubSubSpec) GetGcpProjectId() string { + if x != nil { + return x.GcpProjectId } - s := strings.Join([]string{`&S3Spec{`, - `RoleName:` + fmt.Sprintf("%v", this.RoleName) + `,`, - `BucketName:` + fmt.Sprintf("%v", this.BucketName) + `,`, - `Region:` + fmt.Sprintf("%v", this.Region) + `,`, - `KmsArn:` + fmt.Sprintf("%v", this.KmsArn) + `,`, - `AwsAccountId:` + fmt.Sprintf("%v", this.AwsAccountId) + `,`, - `}`, - }, "") - return s -} -func (this *GCSSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GCSSpec{`, - `SaId:` + fmt.Sprintf("%v", this.SaId) + `,`, - `BucketName:` + fmt.Sprintf("%v", this.BucketName) + `,`, - `GcpProjectId:` + fmt.Sprintf("%v", this.GcpProjectId) + `,`, - `Region:` + fmt.Sprintf("%v", this.Region) + `,`, - `}`, - }, "") - return s -} -func (this *KinesisSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&KinesisSpec{`, - `RoleName:` + fmt.Sprintf("%v", this.RoleName) + `,`, - `DestinationUri:` + fmt.Sprintf("%v", this.DestinationUri) + `,`, - `Region:` + fmt.Sprintf("%v", this.Region) + `,`, - `}`, - }, "") - return s -} -func (this *PubSubSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&PubSubSpec{`, - `ServiceAccountId:` + fmt.Sprintf("%v", this.ServiceAccountId) + `,`, - `TopicName:` + fmt.Sprintf("%v", this.TopicName) + `,`, - `GcpProjectId:` + fmt.Sprintf("%v", this.GcpProjectId) + `,`, - `}`, - }, "") - return s -} -func valueToStringMessage(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) + return "" } -func (m *S3Spec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: S3Spec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: S3Spec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RoleName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RoleName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BucketName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.BucketName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Region = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field KmsArn", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.KmsArn = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AwsAccountId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AwsAccountId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil +var File_temporal_api_cloud_sink_v1_message_proto protoreflect.FileDescriptor + +var file_temporal_api_cloud_sink_v1_message_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x69, 0x6e, 0x6b, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, + 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x22, 0x9d, 0x01, 0x0a, 0x06, 0x53, 0x33, 0x53, 0x70, 0x65, + 0x63, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, + 0x0a, 0x0b, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x6b, 0x6d, 0x73, 0x5f, 0x61, + 0x72, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6b, 0x6d, 0x73, 0x41, 0x72, 0x6e, + 0x12, 0x24, 0x0a, 0x0e, 0x61, 0x77, 0x73, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x77, 0x73, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x7d, 0x0a, 0x07, 0x47, 0x43, 0x53, 0x53, 0x70, 0x65, + 0x63, 0x12, 0x13, 0x0a, 0x05, 0x73, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x73, 0x61, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x75, 0x63, + 0x6b, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x67, 0x63, 0x70, 0x5f, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0c, 0x67, 0x63, 0x70, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, + 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x22, 0x6b, 0x0a, 0x0b, 0x4b, 0x69, 0x6e, 0x65, 0x73, 0x69, 0x73, + 0x53, 0x70, 0x65, 0x63, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x65, 0x73, 0x74, + 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x72, 0x69, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x22, 0x7f, 0x0a, 0x0a, 0x50, 0x75, 0x62, 0x53, 0x75, 0x62, 0x53, 0x70, 0x65, 0x63, + 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1d, + 0x0a, 0x0a, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, + 0x0e, 0x67, 0x63, 0x70, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x67, 0x63, 0x70, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x49, 0x64, 0x42, 0xe2, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, + 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x25, 0x67, 0x6f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, + 0x72, 0x61, 0x6c, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2f, 0x73, 0x69, 0x6e, 0x6b, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x69, 0x6e, 0x6b, 0xa2, 0x02, 0x04, + 0x54, 0x41, 0x43, 0x53, 0xaa, 0x02, 0x1a, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, + 0x41, 0x70, 0x69, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x69, 0x6e, 0x6b, 0x2e, 0x56, + 0x31, 0xca, 0x02, 0x1a, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x5c, 0x41, 0x70, 0x69, + 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x69, 0x6e, 0x6b, 0x5c, 0x56, 0x31, 0xe2, 0x02, + 0x26, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x43, 0x6c, + 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x69, 0x6e, 0x6b, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, + 0x53, 0x69, 0x6e, 0x6b, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func (m *GCSSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GCSSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GCSSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SaId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SaId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BucketName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.BucketName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GcpProjectId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GcpProjectId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Region = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *KinesisSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: KinesisSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: KinesisSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RoleName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RoleName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DestinationUri", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DestinationUri = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Region = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } +var ( + file_temporal_api_cloud_sink_v1_message_proto_rawDescOnce sync.Once + file_temporal_api_cloud_sink_v1_message_proto_rawDescData = file_temporal_api_cloud_sink_v1_message_proto_rawDesc +) - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PubSubSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF +func file_temporal_api_cloud_sink_v1_message_proto_rawDescGZIP() []byte { + file_temporal_api_cloud_sink_v1_message_proto_rawDescOnce.Do(func() { + file_temporal_api_cloud_sink_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_temporal_api_cloud_sink_v1_message_proto_rawDescData) + }) + return file_temporal_api_cloud_sink_v1_message_proto_rawDescData +} + +var file_temporal_api_cloud_sink_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_temporal_api_cloud_sink_v1_message_proto_goTypes = []interface{}{ + (*S3Spec)(nil), // 0: temporal.api.cloud.sink.v1.S3Spec + (*GCSSpec)(nil), // 1: temporal.api.cloud.sink.v1.GCSSpec + (*KinesisSpec)(nil), // 2: temporal.api.cloud.sink.v1.KinesisSpec + (*PubSubSpec)(nil), // 3: temporal.api.cloud.sink.v1.PubSubSpec +} +var file_temporal_api_cloud_sink_v1_message_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_temporal_api_cloud_sink_v1_message_proto_init() } +func file_temporal_api_cloud_sink_v1_message_proto_init() { + if File_temporal_api_cloud_sink_v1_message_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_temporal_api_cloud_sink_v1_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*S3Spec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: PubSubSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PubSubSpec: illegal tag %d (wire type %d)", fieldNum, wire) } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TopicName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TopicName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GcpProjectId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage + file_temporal_api_cloud_sink_v1_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GCSSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GcpProjectId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipMessage(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break + file_temporal_api_cloud_sink_v1_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KinesisSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil } } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthMessage - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupMessage + file_temporal_api_cloud_sink_v1_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PubSubSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthMessage - } - if depth == 0 { - return iNdEx, nil } } - return 0, io.ErrUnexpectedEOF + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_temporal_api_cloud_sink_v1_message_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_temporal_api_cloud_sink_v1_message_proto_goTypes, + DependencyIndexes: file_temporal_api_cloud_sink_v1_message_proto_depIdxs, + MessageInfos: file_temporal_api_cloud_sink_v1_message_proto_msgTypes, + }.Build() + File_temporal_api_cloud_sink_v1_message_proto = out.File + file_temporal_api_cloud_sink_v1_message_proto_rawDesc = nil + file_temporal_api_cloud_sink_v1_message_proto_goTypes = nil + file_temporal_api_cloud_sink_v1_message_proto_depIdxs = nil } - -var ( - ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowMessage = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group") -) diff --git a/protogen/api/cloud/usage/v1/message.pb.go b/protogen/api/cloud/usage/v1/message.pb.go index 7c7757cd..5a4c4125 100644 --- a/protogen/api/cloud/usage/v1/message.pb.go +++ b/protogen/api/cloud/usage/v1/message.pb.go @@ -1,31 +1,31 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: temporal/api/cloud/usage/v1/message.proto package usage import ( - encoding_binary "encoding/binary" - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - types "github.com/gogo/protobuf/types" - io "io" - math "math" - math_bits "math/bits" + proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" - strconv "strconv" - strings "strings" + "strconv" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type RecordType int32 @@ -36,22 +36,59 @@ const ( RECORD_TYPE_RETAINED_STORAGE RecordType = 3 ) -var RecordType_name = map[int32]string{ - 0: "Unspecified", - 1: "Actions", - 2: "ActiveStorage", - 3: "RetainedStorage", +// Enum value maps for RecordType. +var ( + RecordType_name = map[int32]string{ + 0: "RecordTypeUnspecified", + 1: "RecordTypeActions", + 2: "RecordTypeActiveStorage", + 3: "RecordTypeRetainedStorage", + } + RecordType_value = map[string]int32{ + "RecordTypeUnspecified": 0, + "RecordTypeActions": 1, + "RecordTypeActiveStorage": 2, + "RecordTypeRetainedStorage": 3, + } +) + +func (x RecordType) Enum() *RecordType { + p := new(RecordType) + *p = x + return p +} + +func (x RecordType) String() string { + switch x { + case RECORD_TYPE_UNSPECIFIED: + return "Unspecified" + case RECORD_TYPE_ACTIONS: + return "Actions" + case RECORD_TYPE_ACTIVE_STORAGE: + return "ActiveStorage" + case RECORD_TYPE_RETAINED_STORAGE: + return "RetainedStorage" + default: + return strconv.Itoa(int(x)) + } + +} + +func (RecordType) Descriptor() protoreflect.EnumDescriptor { + return file_temporal_api_cloud_usage_v1_message_proto_enumTypes[0].Descriptor() +} + +func (RecordType) Type() protoreflect.EnumType { + return &file_temporal_api_cloud_usage_v1_message_proto_enumTypes[0] } -var RecordType_value = map[string]int32{ - "Unspecified": 0, - "Actions": 1, - "ActiveStorage": 2, - "RetainedStorage": 3, +func (x RecordType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use RecordType.Descriptor instead. func (RecordType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9315f0953a0b0c9b, []int{0} + return file_temporal_api_cloud_usage_v1_message_proto_rawDescGZIP(), []int{0} } type RecordUnit int32 @@ -62,20 +99,55 @@ const ( RECORD_UNIT_BYTE_SECONDS RecordUnit = 2 ) -var RecordUnit_name = map[int32]string{ - 0: "Unspecified", - 1: "Number", - 2: "ByteSeconds", +// Enum value maps for RecordUnit. +var ( + RecordUnit_name = map[int32]string{ + 0: "RecordUnitUnspecified", + 1: "RecordUnitNumber", + 2: "RecordUnitByteSeconds", + } + RecordUnit_value = map[string]int32{ + "RecordUnitUnspecified": 0, + "RecordUnitNumber": 1, + "RecordUnitByteSeconds": 2, + } +) + +func (x RecordUnit) Enum() *RecordUnit { + p := new(RecordUnit) + *p = x + return p +} + +func (x RecordUnit) String() string { + switch x { + case RECORD_UNIT_UNSPECIFIED: + return "Unspecified" + case RECORD_UNIT_NUMBER: + return "Number" + case RECORD_UNIT_BYTE_SECONDS: + return "ByteSeconds" + default: + return strconv.Itoa(int(x)) + } + +} + +func (RecordUnit) Descriptor() protoreflect.EnumDescriptor { + return file_temporal_api_cloud_usage_v1_message_proto_enumTypes[1].Descriptor() } -var RecordUnit_value = map[string]int32{ - "Unspecified": 0, - "Number": 1, - "ByteSeconds": 2, +func (RecordUnit) Type() protoreflect.EnumType { + return &file_temporal_api_cloud_usage_v1_message_proto_enumTypes[1] } +func (x RecordUnit) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use RecordUnit.Descriptor instead. func (RecordUnit) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9315f0953a0b0c9b, []int{1} + return file_temporal_api_cloud_usage_v1_message_proto_rawDescGZIP(), []int{1} } type GroupByKey int32 @@ -85,25 +157,62 @@ const ( GROUP_BY_KEY_NAMESPACE GroupByKey = 1 ) -var GroupByKey_name = map[int32]string{ - 0: "Unspecified", - 1: "Namespace", +// Enum value maps for GroupByKey. +var ( + GroupByKey_name = map[int32]string{ + 0: "GroupByKeyUnspecified", + 1: "GroupByKeyNamespace", + } + GroupByKey_value = map[string]int32{ + "GroupByKeyUnspecified": 0, + "GroupByKeyNamespace": 1, + } +) + +func (x GroupByKey) Enum() *GroupByKey { + p := new(GroupByKey) + *p = x + return p +} + +func (x GroupByKey) String() string { + switch x { + case GROUP_BY_KEY_UNSPECIFIED: + return "Unspecified" + case GROUP_BY_KEY_NAMESPACE: + return "Namespace" + default: + return strconv.Itoa(int(x)) + } + +} + +func (GroupByKey) Descriptor() protoreflect.EnumDescriptor { + return file_temporal_api_cloud_usage_v1_message_proto_enumTypes[2].Descriptor() +} + +func (GroupByKey) Type() protoreflect.EnumType { + return &file_temporal_api_cloud_usage_v1_message_proto_enumTypes[2] } -var GroupByKey_value = map[string]int32{ - "Unspecified": 0, - "Namespace": 1, +func (x GroupByKey) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use GroupByKey.Descriptor instead. func (GroupByKey) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9315f0953a0b0c9b, []int{2} + return file_temporal_api_cloud_usage_v1_message_proto_rawDescGZIP(), []int{2} } type Summary struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Start of UTC day for now (inclusive) - StartTime *types.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // End of UTC day for now (exclusive) - EndTime *types.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Records grouped by namespace RecordGroups []*RecordGroup `protobuf:"bytes,3,rep,name=record_groups,json=recordGroups,proto3" json:"record_groups,omitempty"` // True if data for given time window is not fully available yet (e.g. delays) @@ -111,1456 +220,438 @@ type Summary struct { Incomplete bool `protobuf:"varint,4,opt,name=incomplete,proto3" json:"incomplete,omitempty"` } -func (m *Summary) Reset() { *m = Summary{} } -func (*Summary) ProtoMessage() {} -func (*Summary) Descriptor() ([]byte, []int) { - return fileDescriptor_9315f0953a0b0c9b, []int{0} +func (x *Summary) Reset() { + *x = Summary{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_usage_v1_message_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Summary) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *Summary) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Summary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Summary.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*Summary) ProtoMessage() {} + +func (x *Summary) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_usage_v1_message_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *Summary) XXX_Merge(src proto.Message) { - xxx_messageInfo_Summary.Merge(m, src) -} -func (m *Summary) XXX_Size() int { - return m.Size() -} -func (m *Summary) XXX_DiscardUnknown() { - xxx_messageInfo_Summary.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_Summary proto.InternalMessageInfo +// Deprecated: Use Summary.ProtoReflect.Descriptor instead. +func (*Summary) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_usage_v1_message_proto_rawDescGZIP(), []int{0} +} -func (m *Summary) GetStartTime() *types.Timestamp { - if m != nil { - return m.StartTime +func (x *Summary) GetStartTime() *timestamppb.Timestamp { + if x != nil { + return x.StartTime } return nil } -func (m *Summary) GetEndTime() *types.Timestamp { - if m != nil { - return m.EndTime +func (x *Summary) GetEndTime() *timestamppb.Timestamp { + if x != nil { + return x.EndTime } return nil } -func (m *Summary) GetRecordGroups() []*RecordGroup { - if m != nil { - return m.RecordGroups +func (x *Summary) GetRecordGroups() []*RecordGroup { + if x != nil { + return x.RecordGroups } return nil } -func (m *Summary) GetIncomplete() bool { - if m != nil { - return m.Incomplete +func (x *Summary) GetIncomplete() bool { + if x != nil { + return x.Incomplete } return false } type RecordGroup struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // GroupBy keys and their values for this record group. Multiple fields are combined with logical AND. GroupBys []*GroupBy `protobuf:"bytes,1,rep,name=group_bys,json=groupBys,proto3" json:"group_bys,omitempty"` Records []*Record `protobuf:"bytes,2,rep,name=records,proto3" json:"records,omitempty"` } -func (m *RecordGroup) Reset() { *m = RecordGroup{} } -func (*RecordGroup) ProtoMessage() {} -func (*RecordGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_9315f0953a0b0c9b, []int{1} -} -func (m *RecordGroup) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *RecordGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RecordGroup.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *RecordGroup) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecordGroup.Merge(m, src) -} -func (m *RecordGroup) XXX_Size() int { - return m.Size() -} -func (m *RecordGroup) XXX_DiscardUnknown() { - xxx_messageInfo_RecordGroup.DiscardUnknown(m) -} - -var xxx_messageInfo_RecordGroup proto.InternalMessageInfo - -func (m *RecordGroup) GetGroupBys() []*GroupBy { - if m != nil { - return m.GroupBys +func (x *RecordGroup) Reset() { + *x = RecordGroup{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_usage_v1_message_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *RecordGroup) GetRecords() []*Record { - if m != nil { - return m.Records - } - return nil +func (x *RecordGroup) String() string { + return protoimpl.X.MessageStringOf(x) } -type GroupBy struct { - Key GroupByKey `protobuf:"varint,1,opt,name=key,proto3,enum=temporal.api.cloud.usage.v1.GroupByKey" json:"key,omitempty"` - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` -} - -func (m *GroupBy) Reset() { *m = GroupBy{} } -func (*GroupBy) ProtoMessage() {} -func (*GroupBy) Descriptor() ([]byte, []int) { - return fileDescriptor_9315f0953a0b0c9b, []int{2} -} -func (m *GroupBy) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GroupBy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GroupBy.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *GroupBy) XXX_Merge(src proto.Message) { - xxx_messageInfo_GroupBy.Merge(m, src) -} -func (m *GroupBy) XXX_Size() int { - return m.Size() -} -func (m *GroupBy) XXX_DiscardUnknown() { - xxx_messageInfo_GroupBy.DiscardUnknown(m) -} - -var xxx_messageInfo_GroupBy proto.InternalMessageInfo - -func (m *GroupBy) GetKey() GroupByKey { - if m != nil { - return m.Key - } - return GROUP_BY_KEY_UNSPECIFIED -} - -func (m *GroupBy) GetValue() string { - if m != nil { - return m.Value - } - return "" -} - -type Record struct { - Type RecordType `protobuf:"varint,1,opt,name=type,proto3,enum=temporal.api.cloud.usage.v1.RecordType" json:"type,omitempty"` - Unit RecordUnit `protobuf:"varint,2,opt,name=unit,proto3,enum=temporal.api.cloud.usage.v1.RecordUnit" json:"unit,omitempty"` - Value float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"` -} +func (*RecordGroup) ProtoMessage() {} -func (m *Record) Reset() { *m = Record{} } -func (*Record) ProtoMessage() {} -func (*Record) Descriptor() ([]byte, []int) { - return fileDescriptor_9315f0953a0b0c9b, []int{3} -} -func (m *Record) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Record.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (x *RecordGroup) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_usage_v1_message_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *Record) XXX_Merge(src proto.Message) { - xxx_messageInfo_Record.Merge(m, src) -} -func (m *Record) XXX_Size() int { - return m.Size() -} -func (m *Record) XXX_DiscardUnknown() { - xxx_messageInfo_Record.DiscardUnknown(m) -} - -var xxx_messageInfo_Record proto.InternalMessageInfo - -func (m *Record) GetType() RecordType { - if m != nil { - return m.Type - } - return RECORD_TYPE_UNSPECIFIED + return mi.MessageOf(x) } -func (m *Record) GetUnit() RecordUnit { - if m != nil { - return m.Unit - } - return RECORD_UNIT_UNSPECIFIED +// Deprecated: Use RecordGroup.ProtoReflect.Descriptor instead. +func (*RecordGroup) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_usage_v1_message_proto_rawDescGZIP(), []int{1} } -func (m *Record) GetValue() float64 { - if m != nil { - return m.Value +func (x *RecordGroup) GetGroupBys() []*GroupBy { + if x != nil { + return x.GroupBys } - return 0 -} - -func init() { - proto.RegisterEnum("temporal.api.cloud.usage.v1.RecordType", RecordType_name, RecordType_value) - proto.RegisterEnum("temporal.api.cloud.usage.v1.RecordUnit", RecordUnit_name, RecordUnit_value) - proto.RegisterEnum("temporal.api.cloud.usage.v1.GroupByKey", GroupByKey_name, GroupByKey_value) - proto.RegisterType((*Summary)(nil), "temporal.api.cloud.usage.v1.Summary") - proto.RegisterType((*RecordGroup)(nil), "temporal.api.cloud.usage.v1.RecordGroup") - proto.RegisterType((*GroupBy)(nil), "temporal.api.cloud.usage.v1.GroupBy") - proto.RegisterType((*Record)(nil), "temporal.api.cloud.usage.v1.Record") -} - -func init() { - proto.RegisterFile("temporal/api/cloud/usage/v1/message.proto", fileDescriptor_9315f0953a0b0c9b) -} - -var fileDescriptor_9315f0953a0b0c9b = []byte{ - // 655 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0x4f, 0x4f, 0x13, 0x41, - 0x18, 0xc6, 0x3b, 0x2d, 0x52, 0x78, 0x41, 0xd3, 0x8c, 0x06, 0x9a, 0x82, 0x63, 0xad, 0x26, 0x54, - 0x0e, 0xdb, 0x14, 0xe3, 0x81, 0x25, 0x1e, 0xb6, 0xed, 0x40, 0x1a, 0xd2, 0x3f, 0x99, 0x6e, 0x49, - 0xca, 0x65, 0xb3, 0xd0, 0xb1, 0xd9, 0xd8, 0xed, 0x6e, 0xf6, 0x0f, 0xc9, 0xde, 0x3c, 0x78, 0xd7, - 0xa3, 0x1f, 0xc1, 0xf8, 0x49, 0x3c, 0xe2, 0x8d, 0xa3, 0x2c, 0x17, 0xc3, 0x89, 0x8f, 0x60, 0x76, - 0x96, 0xda, 0x95, 0x18, 0xec, 0x6d, 0x66, 0xde, 0xe7, 0xf7, 0xbc, 0xcf, 0xce, 0x64, 0x5f, 0x78, - 0xe5, 0x71, 0xd3, 0xb6, 0x1c, 0x7d, 0x5c, 0xd1, 0x6d, 0xa3, 0x72, 0x3a, 0xb6, 0xfc, 0x61, 0xc5, - 0x77, 0xf5, 0x11, 0xaf, 0x9c, 0x55, 0x2b, 0x26, 0x77, 0xa3, 0xa5, 0x64, 0x3b, 0x96, 0x67, 0xe1, - 0x8d, 0xa9, 0x54, 0xd2, 0x6d, 0x43, 0x12, 0x52, 0x49, 0x48, 0xa5, 0xb3, 0x6a, 0xe1, 0xd9, 0xc8, - 0xb2, 0x46, 0x63, 0x5e, 0x11, 0xd2, 0x13, 0xff, 0x5d, 0xc5, 0x33, 0x4c, 0xee, 0x7a, 0xba, 0x69, - 0xc7, 0x74, 0xe9, 0x1a, 0x41, 0xb6, 0xe7, 0x9b, 0xa6, 0xee, 0x04, 0x78, 0x17, 0xc0, 0xf5, 0x74, - 0xc7, 0xd3, 0x22, 0x51, 0x1e, 0x15, 0x51, 0x79, 0x65, 0xa7, 0x20, 0xc5, 0x0e, 0xd2, 0xd4, 0x41, - 0x52, 0xa7, 0x0e, 0x6c, 0x59, 0xa8, 0xa3, 0x3d, 0x7e, 0x03, 0x4b, 0x7c, 0x32, 0x8c, 0xc1, 0xf4, - 0x7f, 0xc1, 0x2c, 0x9f, 0x0c, 0x05, 0xd6, 0x82, 0x87, 0x0e, 0x3f, 0xb5, 0x9c, 0xa1, 0x36, 0x72, - 0x2c, 0xdf, 0x76, 0xf3, 0x99, 0x62, 0xa6, 0xbc, 0xb2, 0x53, 0x96, 0xee, 0xf9, 0x26, 0x89, 0x09, - 0xe2, 0x20, 0x02, 0xd8, 0xaa, 0x33, 0xdb, 0xb8, 0x98, 0x00, 0x18, 0x93, 0x53, 0xcb, 0xb4, 0xc7, - 0xdc, 0xe3, 0xf9, 0x85, 0x22, 0x2a, 0x2f, 0xb1, 0xc4, 0x49, 0xe9, 0x13, 0x82, 0x95, 0x04, 0x8d, - 0x15, 0x58, 0x16, 0x7d, 0xb5, 0x93, 0xc0, 0xcd, 0x23, 0xd1, 0xfa, 0xe5, 0xbd, 0xad, 0x05, 0x56, - 0x0b, 0xd8, 0xd2, 0x28, 0x5e, 0xb8, 0xf8, 0x2d, 0x64, 0xe3, 0x08, 0x6e, 0x3e, 0x2d, 0x0c, 0x5e, - 0xcc, 0x91, 0x9d, 0x4d, 0x99, 0xd2, 0x31, 0x64, 0x6f, 0x3d, 0xf1, 0x2e, 0x64, 0xde, 0xf3, 0x40, - 0x5c, 0xfb, 0xa3, 0x9d, 0xad, 0x79, 0x62, 0x1c, 0xf2, 0x80, 0x45, 0x0c, 0x7e, 0x02, 0x0f, 0xce, - 0xf4, 0xb1, 0x1f, 0x5f, 0xfd, 0x32, 0x8b, 0x37, 0xa5, 0x2f, 0x08, 0x16, 0xe3, 0x7e, 0x78, 0x0f, - 0x16, 0xbc, 0xc0, 0xe6, 0x73, 0x99, 0xc7, 0x88, 0x1a, 0xd8, 0x9c, 0x09, 0x28, 0x82, 0xfd, 0x89, - 0xe1, 0x09, 0xf3, 0xf9, 0xe0, 0xfe, 0xc4, 0xf0, 0x98, 0x80, 0x66, 0xd1, 0x32, 0x45, 0x54, 0x46, - 0xb7, 0xd1, 0xb6, 0x3f, 0x22, 0x80, 0x59, 0x1f, 0xbc, 0x01, 0xeb, 0x8c, 0xd6, 0x3b, 0xac, 0xa1, - 0xa9, 0x83, 0x2e, 0xd5, 0xfa, 0xed, 0x5e, 0x97, 0xd6, 0x9b, 0xfb, 0x4d, 0xda, 0xc8, 0xa5, 0xf0, - 0x3a, 0x3c, 0x4e, 0x16, 0x95, 0xba, 0xda, 0xec, 0xb4, 0x7b, 0x39, 0x84, 0x09, 0x14, 0xee, 0x16, - 0x8e, 0xa8, 0xd6, 0x53, 0x3b, 0x4c, 0x39, 0xa0, 0xb9, 0x34, 0x2e, 0xc2, 0x66, 0xb2, 0xce, 0xa8, - 0xaa, 0x34, 0xdb, 0xb4, 0xf1, 0x47, 0x91, 0xd9, 0xd6, 0xa6, 0x29, 0xa2, 0xc0, 0x89, 0x14, 0xfd, - 0x76, 0x53, 0xbd, 0x93, 0x62, 0x0d, 0x70, 0xb2, 0xd8, 0xee, 0xb7, 0x6a, 0x94, 0xe5, 0x10, 0xde, - 0x84, 0x7c, 0xf2, 0xbc, 0x36, 0x50, 0xa9, 0xd6, 0xa3, 0xf5, 0x4e, 0xbb, 0xd1, 0xcb, 0xa5, 0xb7, - 0xf7, 0x01, 0x66, 0x6f, 0x15, 0x69, 0x0f, 0x58, 0xa7, 0xdf, 0xd5, 0x6a, 0x03, 0xed, 0x90, 0x0e, - 0xee, 0x74, 0x28, 0xc0, 0xda, 0x5f, 0xd5, 0xb6, 0xd2, 0xa2, 0xbd, 0xae, 0x52, 0xa7, 0x39, 0x54, - 0xfb, 0x81, 0xce, 0x2f, 0x49, 0xea, 0xe2, 0x92, 0xa4, 0x6e, 0x2e, 0x09, 0xfa, 0x10, 0x12, 0xf4, - 0x35, 0x24, 0xe8, 0x7b, 0x48, 0xd0, 0x79, 0x48, 0xd0, 0xcf, 0x90, 0xa0, 0x5f, 0x21, 0x49, 0xdd, - 0x84, 0x04, 0x7d, 0xbe, 0x22, 0xa9, 0xf3, 0x2b, 0x92, 0xba, 0xb8, 0x22, 0x29, 0x20, 0x86, 0x75, - 0xdf, 0x6b, 0xd5, 0x56, 0x5b, 0xf1, 0x24, 0xe9, 0x46, 0xbf, 0x68, 0x17, 0x1d, 0x6f, 0x8d, 0x12, - 0x7a, 0xc3, 0xfa, 0xc7, 0xec, 0xd9, 0x13, 0x8b, 0x6f, 0xe9, 0xa7, 0xea, 0xad, 0xcc, 0xb0, 0x24, - 0xc5, 0x36, 0xa4, 0xba, 0x30, 0xee, 0x0b, 0xe3, 0xa3, 0xea, 0x75, 0xfa, 0xf9, 0xac, 0x2e, 0xcb, - 0x8a, 0x6d, 0xc8, 0xb2, 0x50, 0xc8, 0xb2, 0x90, 0xc8, 0xf2, 0x51, 0xf5, 0x64, 0x51, 0x0c, 0x86, - 0xd7, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x77, 0x04, 0xc7, 0xa1, 0xeb, 0x04, 0x00, 0x00, + return nil } -func (x RecordType) String() string { - s, ok := RecordType_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x RecordUnit) String() string { - s, ok := RecordUnit_name[int32(x)] - if ok { - return s +func (x *RecordGroup) GetRecords() []*Record { + if x != nil { + return x.Records } - return strconv.Itoa(int(x)) -} -func (x GroupByKey) String() string { - s, ok := GroupByKey_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) + return nil } -func (this *Summary) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*Summary) - if !ok { - that2, ok := that.(Summary) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.StartTime.Equal(that1.StartTime) { - return false - } - if !this.EndTime.Equal(that1.EndTime) { - return false - } - if len(this.RecordGroups) != len(that1.RecordGroups) { - return false - } - for i := range this.RecordGroups { - if !this.RecordGroups[i].Equal(that1.RecordGroups[i]) { - return false - } - } - if this.Incomplete != that1.Incomplete { - return false - } - return true -} -func (this *RecordGroup) Equal(that interface{}) bool { - if that == nil { - return this == nil - } +type GroupBy struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields - that1, ok := that.(*RecordGroup) - if !ok { - that2, ok := that.(RecordGroup) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.GroupBys) != len(that1.GroupBys) { - return false - } - for i := range this.GroupBys { - if !this.GroupBys[i].Equal(that1.GroupBys[i]) { - return false - } - } - if len(this.Records) != len(that1.Records) { - return false - } - for i := range this.Records { - if !this.Records[i].Equal(that1.Records[i]) { - return false - } - } - return true + Key GroupByKey `protobuf:"varint,1,opt,name=key,proto3,enum=temporal.api.cloud.usage.v1.GroupByKey" json:"key,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } -func (this *GroupBy) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GroupBy) - if !ok { - that2, ok := that.(GroupBy) - if ok { - that1 = &that2 - } else { - return false - } +func (x *GroupBy) Reset() { + *x = GroupBy{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_usage_v1_message_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Key != that1.Key { - return false - } - if this.Value != that1.Value { - return false - } - return true } -func (this *Record) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*Record) - if !ok { - that2, ok := that.(Record) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Type != that1.Type { - return false - } - if this.Unit != that1.Unit { - return false - } - if this.Value != that1.Value { - return false - } - return true -} -func (this *Summary) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&usage.Summary{") - if this.StartTime != nil { - s = append(s, "StartTime: "+fmt.Sprintf("%#v", this.StartTime)+",\n") - } - if this.EndTime != nil { - s = append(s, "EndTime: "+fmt.Sprintf("%#v", this.EndTime)+",\n") - } - if this.RecordGroups != nil { - s = append(s, "RecordGroups: "+fmt.Sprintf("%#v", this.RecordGroups)+",\n") - } - s = append(s, "Incomplete: "+fmt.Sprintf("%#v", this.Incomplete)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *RecordGroup) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&usage.RecordGroup{") - if this.GroupBys != nil { - s = append(s, "GroupBys: "+fmt.Sprintf("%#v", this.GroupBys)+",\n") - } - if this.Records != nil { - s = append(s, "Records: "+fmt.Sprintf("%#v", this.Records)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GroupBy) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&usage.GroupBy{") - s = append(s, "Key: "+fmt.Sprintf("%#v", this.Key)+",\n") - s = append(s, "Value: "+fmt.Sprintf("%#v", this.Value)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *Record) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&usage.Record{") - s = append(s, "Type: "+fmt.Sprintf("%#v", this.Type)+",\n") - s = append(s, "Unit: "+fmt.Sprintf("%#v", this.Unit)+",\n") - s = append(s, "Value: "+fmt.Sprintf("%#v", this.Value)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func valueToGoStringMessage(v interface{}, typ string) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) -} -func (m *Summary) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (x *GroupBy) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Summary) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} +func (*GroupBy) ProtoMessage() {} -func (m *Summary) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Incomplete { - i-- - if m.Incomplete { - dAtA[i] = 1 - } else { - dAtA[i] = 0 +func (x *GroupBy) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_usage_v1_message_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - i-- - dAtA[i] = 0x20 + return ms } - if len(m.RecordGroups) > 0 { - for iNdEx := len(m.RecordGroups) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.RecordGroups[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - if m.EndTime != nil { - { - size, err := m.EndTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.StartTime != nil { - { - size, err := m.StartTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *RecordGroup) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil + return mi.MessageOf(x) } -func (m *RecordGroup) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +// Deprecated: Use GroupBy.ProtoReflect.Descriptor instead. +func (*GroupBy) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_usage_v1_message_proto_rawDescGZIP(), []int{2} } -func (m *RecordGroup) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Records) > 0 { - for iNdEx := len(m.Records) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Records[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.GroupBys) > 0 { - for iNdEx := len(m.GroupBys) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.GroupBys[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } +func (x *GroupBy) GetKey() GroupByKey { + if x != nil { + return x.Key } - return len(dAtA) - i, nil + return GROUP_BY_KEY_UNSPECIFIED } -func (m *GroupBy) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *GroupBy) GetValue() string { + if x != nil { + return x.Value } - return dAtA[:n], nil + return "" } -func (m *GroupBy) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} +type Record struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GroupBy) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Value) > 0 { - i -= len(m.Value) - copy(dAtA[i:], m.Value) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Value))) - i-- - dAtA[i] = 0x12 - } - if m.Key != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.Key)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil + Type RecordType `protobuf:"varint,1,opt,name=type,proto3,enum=temporal.api.cloud.usage.v1.RecordType" json:"type,omitempty"` + Unit RecordUnit `protobuf:"varint,2,opt,name=unit,proto3,enum=temporal.api.cloud.usage.v1.RecordUnit" json:"unit,omitempty"` + Value float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"` } -func (m *Record) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *Record) Reset() { + *x = Record{} + if protoimpl.UnsafeEnabled { + mi := &file_temporal_api_cloud_usage_v1_message_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return dAtA[:n], nil } -func (m *Record) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Record) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Value != 0 { - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value)))) - i-- - dAtA[i] = 0x19 - } - if m.Unit != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.Unit)) - i-- - dAtA[i] = 0x10 - } - if m.Type != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.Type)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil +func (x *Record) String() string { + return protoimpl.X.MessageStringOf(x) } -func encodeVarintMessage(dAtA []byte, offset int, v uint64) int { - offset -= sovMessage(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *Summary) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.StartTime != nil { - l = m.StartTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.EndTime != nil { - l = m.EndTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if len(m.RecordGroups) > 0 { - for _, e := range m.RecordGroups { - l = e.Size() - n += 1 + l + sovMessage(uint64(l)) - } - } - if m.Incomplete { - n += 2 - } - return n -} +func (*Record) ProtoMessage() {} -func (m *RecordGroup) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.GroupBys) > 0 { - for _, e := range m.GroupBys { - l = e.Size() - n += 1 + l + sovMessage(uint64(l)) - } - } - if len(m.Records) > 0 { - for _, e := range m.Records { - l = e.Size() - n += 1 + l + sovMessage(uint64(l)) +func (x *Record) ProtoReflect() protoreflect.Message { + mi := &file_temporal_api_cloud_usage_v1_message_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - return n + return mi.MessageOf(x) } -func (m *GroupBy) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Key != 0 { - n += 1 + sovMessage(uint64(m.Key)) - } - l = len(m.Value) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *Record) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Type != 0 { - n += 1 + sovMessage(uint64(m.Type)) - } - if m.Unit != 0 { - n += 1 + sovMessage(uint64(m.Unit)) - } - if m.Value != 0 { - n += 9 - } - return n +// Deprecated: Use Record.ProtoReflect.Descriptor instead. +func (*Record) Descriptor() ([]byte, []int) { + return file_temporal_api_cloud_usage_v1_message_proto_rawDescGZIP(), []int{3} } -func sovMessage(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozMessage(x uint64) (n int) { - return sovMessage(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (this *Summary) String() string { - if this == nil { - return "nil" - } - repeatedStringForRecordGroups := "[]*RecordGroup{" - for _, f := range this.RecordGroups { - repeatedStringForRecordGroups += strings.Replace(f.String(), "RecordGroup", "RecordGroup", 1) + "," - } - repeatedStringForRecordGroups += "}" - s := strings.Join([]string{`&Summary{`, - `StartTime:` + strings.Replace(fmt.Sprintf("%v", this.StartTime), "Timestamp", "types.Timestamp", 1) + `,`, - `EndTime:` + strings.Replace(fmt.Sprintf("%v", this.EndTime), "Timestamp", "types.Timestamp", 1) + `,`, - `RecordGroups:` + repeatedStringForRecordGroups + `,`, - `Incomplete:` + fmt.Sprintf("%v", this.Incomplete) + `,`, - `}`, - }, "") - return s -} -func (this *RecordGroup) String() string { - if this == nil { - return "nil" +func (x *Record) GetType() RecordType { + if x != nil { + return x.Type } - repeatedStringForGroupBys := "[]*GroupBy{" - for _, f := range this.GroupBys { - repeatedStringForGroupBys += strings.Replace(f.String(), "GroupBy", "GroupBy", 1) + "," - } - repeatedStringForGroupBys += "}" - repeatedStringForRecords := "[]*Record{" - for _, f := range this.Records { - repeatedStringForRecords += strings.Replace(f.String(), "Record", "Record", 1) + "," - } - repeatedStringForRecords += "}" - s := strings.Join([]string{`&RecordGroup{`, - `GroupBys:` + repeatedStringForGroupBys + `,`, - `Records:` + repeatedStringForRecords + `,`, - `}`, - }, "") - return s -} -func (this *GroupBy) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GroupBy{`, - `Key:` + fmt.Sprintf("%v", this.Key) + `,`, - `Value:` + fmt.Sprintf("%v", this.Value) + `,`, - `}`, - }, "") - return s -} -func (this *Record) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&Record{`, - `Type:` + fmt.Sprintf("%v", this.Type) + `,`, - `Unit:` + fmt.Sprintf("%v", this.Unit) + `,`, - `Value:` + fmt.Sprintf("%v", this.Value) + `,`, - `}`, - }, "") - return s -} -func valueToStringMessage(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) -} -func (m *Summary) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Summary: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Summary: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.StartTime == nil { - m.StartTime = &types.Timestamp{} - } - if err := m.StartTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EndTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.EndTime == nil { - m.EndTime = &types.Timestamp{} - } - if err := m.EndTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RecordGroups", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RecordGroups = append(m.RecordGroups, &RecordGroup{}) - if err := m.RecordGroups[len(m.RecordGroups)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Incomplete", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Incomplete = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil + return RECORD_TYPE_UNSPECIFIED } -func (m *RecordGroup) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RecordGroup: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RecordGroup: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupBys", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GroupBys = append(m.GroupBys, &GroupBy{}) - if err := m.GroupBys[len(m.GroupBys)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Records", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Records = append(m.Records, &Record{}) - if err := m.Records[len(m.Records)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF +func (x *Record) GetUnit() RecordUnit { + if x != nil { + return x.Unit } - return nil + return RECORD_UNIT_UNSPECIFIED } -func (m *GroupBy) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GroupBy: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GroupBy: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) - } - m.Key = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Key |= GroupByKey(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Value = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF +func (x *Record) GetValue() float64 { + if x != nil { + return x.Value } - return nil + return 0 } -func (m *Record) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Record: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Record: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) - } - m.Type = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Type |= RecordType(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Unit", wireType) - } - m.Unit = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Unit |= RecordUnit(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 1 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) - } - var v uint64 - if (iNdEx + 8) > l { - return io.ErrUnexpectedEOF - } - v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - m.Value = float64(math.Float64frombits(v)) - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipMessage(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthMessage - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupMessage - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthMessage - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF +var File_temporal_api_cloud_usage_v1_message_proto protoreflect.FileDescriptor + +var file_temporal_api_cloud_usage_v1_message_proto_rawDesc = []byte{ + 0x0a, 0x29, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xea, 0x01, 0x0a, 0x07, 0x53, 0x75, + 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, + 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4d, 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63, + 0x6f, 0x72, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0c, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x70, + 0x6c, 0x65, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x6e, 0x63, 0x6f, + 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x22, 0x8f, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x41, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, + 0x62, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x74, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x75, + 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x52, + 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x73, 0x12, 0x3d, 0x0a, 0x07, 0x72, 0x65, 0x63, + 0x6f, 0x72, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, + 0x07, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x22, 0x5a, 0x0a, 0x07, 0x47, 0x72, 0x6f, 0x75, + 0x70, 0x42, 0x79, 0x12, 0x39, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x27, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x22, 0x98, 0x01, 0x0a, 0x06, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, + 0x3b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, + 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, + 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x3b, 0x0a, 0x04, + 0x75, 0x6e, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x74, 0x65, 0x6d, + 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x55, + 0x6e, 0x69, 0x74, 0x52, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2a, + 0x84, 0x01, 0x0a, 0x0a, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, + 0x0a, 0x17, 0x52, 0x45, 0x43, 0x4f, 0x52, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, + 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x52, + 0x45, 0x43, 0x4f, 0x52, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, + 0x4e, 0x53, 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x45, 0x43, 0x4f, 0x52, 0x44, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x53, 0x54, 0x4f, 0x52, 0x41, + 0x47, 0x45, 0x10, 0x02, 0x12, 0x20, 0x0a, 0x1c, 0x52, 0x45, 0x43, 0x4f, 0x52, 0x44, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x44, 0x5f, 0x53, 0x54, 0x4f, + 0x52, 0x41, 0x47, 0x45, 0x10, 0x03, 0x2a, 0x5f, 0x0a, 0x0a, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, + 0x55, 0x6e, 0x69, 0x74, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x45, 0x43, 0x4f, 0x52, 0x44, 0x5f, 0x55, + 0x4e, 0x49, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, + 0x00, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x45, 0x43, 0x4f, 0x52, 0x44, 0x5f, 0x55, 0x4e, 0x49, 0x54, + 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x45, 0x43, + 0x4f, 0x52, 0x44, 0x5f, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x42, 0x59, 0x54, 0x45, 0x5f, 0x53, 0x45, + 0x43, 0x4f, 0x4e, 0x44, 0x53, 0x10, 0x02, 0x2a, 0x46, 0x0a, 0x0a, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x42, 0x79, 0x4b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x18, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x42, + 0x59, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, + 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x42, 0x59, 0x5f, + 0x4b, 0x45, 0x59, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x53, 0x50, 0x41, 0x43, 0x45, 0x10, 0x01, 0x42, + 0xe9, 0x01, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, + 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x27, 0x67, 0x6f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, + 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x75, 0x73, + 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x75, 0x73, 0x61, 0x67, 0x65, 0xa2, 0x02, 0x04, 0x54, + 0x41, 0x43, 0x55, 0xaa, 0x02, 0x1b, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x41, + 0x70, 0x69, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x55, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x56, + 0x31, 0xca, 0x02, 0x1b, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x5c, 0x41, 0x70, 0x69, + 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x55, 0x73, 0x61, 0x67, 0x65, 0x5c, 0x56, 0x31, 0xe2, + 0x02, 0x27, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x43, + 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x55, 0x73, 0x61, 0x67, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, + 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1f, 0x54, 0x65, 0x6d, 0x70, + 0x6f, 0x72, 0x61, 0x6c, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, + 0x3a, 0x3a, 0x55, 0x73, 0x61, 0x67, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, } var ( - ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowMessage = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group") + file_temporal_api_cloud_usage_v1_message_proto_rawDescOnce sync.Once + file_temporal_api_cloud_usage_v1_message_proto_rawDescData = file_temporal_api_cloud_usage_v1_message_proto_rawDesc ) + +func file_temporal_api_cloud_usage_v1_message_proto_rawDescGZIP() []byte { + file_temporal_api_cloud_usage_v1_message_proto_rawDescOnce.Do(func() { + file_temporal_api_cloud_usage_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_temporal_api_cloud_usage_v1_message_proto_rawDescData) + }) + return file_temporal_api_cloud_usage_v1_message_proto_rawDescData +} + +var file_temporal_api_cloud_usage_v1_message_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_temporal_api_cloud_usage_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_temporal_api_cloud_usage_v1_message_proto_goTypes = []interface{}{ + (RecordType)(0), // 0: temporal.api.cloud.usage.v1.RecordType + (RecordUnit)(0), // 1: temporal.api.cloud.usage.v1.RecordUnit + (GroupByKey)(0), // 2: temporal.api.cloud.usage.v1.GroupByKey + (*Summary)(nil), // 3: temporal.api.cloud.usage.v1.Summary + (*RecordGroup)(nil), // 4: temporal.api.cloud.usage.v1.RecordGroup + (*GroupBy)(nil), // 5: temporal.api.cloud.usage.v1.GroupBy + (*Record)(nil), // 6: temporal.api.cloud.usage.v1.Record + (*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp +} +var file_temporal_api_cloud_usage_v1_message_proto_depIdxs = []int32{ + 7, // 0: temporal.api.cloud.usage.v1.Summary.start_time:type_name -> google.protobuf.Timestamp + 7, // 1: temporal.api.cloud.usage.v1.Summary.end_time:type_name -> google.protobuf.Timestamp + 4, // 2: temporal.api.cloud.usage.v1.Summary.record_groups:type_name -> temporal.api.cloud.usage.v1.RecordGroup + 5, // 3: temporal.api.cloud.usage.v1.RecordGroup.group_bys:type_name -> temporal.api.cloud.usage.v1.GroupBy + 6, // 4: temporal.api.cloud.usage.v1.RecordGroup.records:type_name -> temporal.api.cloud.usage.v1.Record + 2, // 5: temporal.api.cloud.usage.v1.GroupBy.key:type_name -> temporal.api.cloud.usage.v1.GroupByKey + 0, // 6: temporal.api.cloud.usage.v1.Record.type:type_name -> temporal.api.cloud.usage.v1.RecordType + 1, // 7: temporal.api.cloud.usage.v1.Record.unit:type_name -> temporal.api.cloud.usage.v1.RecordUnit + 8, // [8:8] is the sub-list for method output_type + 8, // [8:8] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name +} + +func init() { file_temporal_api_cloud_usage_v1_message_proto_init() } +func file_temporal_api_cloud_usage_v1_message_proto_init() { + if File_temporal_api_cloud_usage_v1_message_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_temporal_api_cloud_usage_v1_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Summary); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_usage_v1_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RecordGroup); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_usage_v1_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GroupBy); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_temporal_api_cloud_usage_v1_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Record); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_temporal_api_cloud_usage_v1_message_proto_rawDesc, + NumEnums: 3, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_temporal_api_cloud_usage_v1_message_proto_goTypes, + DependencyIndexes: file_temporal_api_cloud_usage_v1_message_proto_depIdxs, + EnumInfos: file_temporal_api_cloud_usage_v1_message_proto_enumTypes, + MessageInfos: file_temporal_api_cloud_usage_v1_message_proto_msgTypes, + }.Build() + File_temporal_api_cloud_usage_v1_message_proto = out.File + file_temporal_api_cloud_usage_v1_message_proto_rawDesc = nil + file_temporal_api_cloud_usage_v1_message_proto_goTypes = nil + file_temporal_api_cloud_usage_v1_message_proto_depIdxs = nil +} diff --git a/protogen/api/common/v1/message.pb.go b/protogen/api/common/v1/message.pb.go index 6973a69f..b378238b 100644 --- a/protogen/api/common/v1/message.pb.go +++ b/protogen/api/common/v1/message.pb.go @@ -1,30 +1,31 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: api/common/v1/message.proto package common import ( - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - types "github.com/gogo/protobuf/types" - io "io" - math "math" - math_bits "math/bits" + proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" reflect "reflect" - strconv "strconv" - strings "strings" + "strconv" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type FailoverType int32 @@ -34,20 +35,55 @@ const ( FAILOVER_TYPE_FORCE FailoverType = 2 ) -var FailoverType_name = map[int32]string{ - 0: "Unspecified", - 1: "Graceful", - 2: "Force", +// Enum value maps for FailoverType. +var ( + FailoverType_name = map[int32]string{ + 0: "FailoverTypeUnspecified", + 1: "FailoverTypeGraceful", + 2: "FailoverTypeForce", + } + FailoverType_value = map[string]int32{ + "FailoverTypeUnspecified": 0, + "FailoverTypeGraceful": 1, + "FailoverTypeForce": 2, + } +) + +func (x FailoverType) Enum() *FailoverType { + p := new(FailoverType) + *p = x + return p +} + +func (x FailoverType) String() string { + switch x { + case FAILOVER_TYPE_UNSPECIFIED: + return "Unspecified" + case FAILOVER_TYPE_GRACEFUL: + return "Graceful" + case FAILOVER_TYPE_FORCE: + return "Force" + default: + return strconv.Itoa(int(x)) + } + } -var FailoverType_value = map[string]int32{ - "Unspecified": 0, - "Graceful": 1, - "Force": 2, +func (FailoverType) Descriptor() protoreflect.EnumDescriptor { + return file_api_common_v1_message_proto_enumTypes[0].Descriptor() } +func (FailoverType) Type() protoreflect.EnumType { + return &file_api_common_v1_message_proto_enumTypes[0] +} + +func (x FailoverType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use FailoverType.Descriptor instead. func (FailoverType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_df4c2c740e1454e5, []int{0} + return file_api_common_v1_message_proto_rawDescGZIP(), []int{0} } type FailoverStatus int32 @@ -58,20 +94,55 @@ const ( FAILOVER_STATUS_FAILED FailoverStatus = 2 ) -var FailoverStatus_name = map[int32]string{ - 0: "Unspecified", - 1: "Succeeded", - 2: "Failed", +// Enum value maps for FailoverStatus. +var ( + FailoverStatus_name = map[int32]string{ + 0: "FailoverStatusUnspecified", + 1: "FailoverStatusSucceeded", + 2: "FailoverStatusFailed", + } + FailoverStatus_value = map[string]int32{ + "FailoverStatusUnspecified": 0, + "FailoverStatusSucceeded": 1, + "FailoverStatusFailed": 2, + } +) + +func (x FailoverStatus) Enum() *FailoverStatus { + p := new(FailoverStatus) + *p = x + return p +} + +func (x FailoverStatus) String() string { + switch x { + case FAILOVER_STATUS_UNSPECIFIED: + return "Unspecified" + case FAILOVER_STATUS_SUCCEEDED: + return "Succeeded" + case FAILOVER_STATUS_FAILED: + return "Failed" + default: + return strconv.Itoa(int(x)) + } + +} + +func (FailoverStatus) Descriptor() protoreflect.EnumDescriptor { + return file_api_common_v1_message_proto_enumTypes[1].Descriptor() +} + +func (FailoverStatus) Type() protoreflect.EnumType { + return &file_api_common_v1_message_proto_enumTypes[1] } -var FailoverStatus_value = map[string]int32{ - "Unspecified": 0, - "Succeeded": 1, - "Failed": 2, +func (x FailoverStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use FailoverStatus.Descriptor instead. func (FailoverStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_df4c2c740e1454e5, []int{1} + return file_api_common_v1_message_proto_rawDescGZIP(), []int{1} } type FailoverReason int32 @@ -84,24 +155,63 @@ const ( FAILOVER_REASON_RESET FailoverReason = 4 ) -var FailoverReason_name = map[int32]string{ - 0: "Unspecified", - 1: "Outage", - 2: "Degradation", - 3: "UserRequest", - 4: "Reset", +// Enum value maps for FailoverReason. +var ( + FailoverReason_name = map[int32]string{ + 0: "FailoverReasonUnspecified", + 1: "FailoverReasonOutage", + 2: "FailoverReasonDegradation", + 3: "FailoverReasonUserRequest", + 4: "FailoverReasonReset", + } + FailoverReason_value = map[string]int32{ + "FailoverReasonUnspecified": 0, + "FailoverReasonOutage": 1, + "FailoverReasonDegradation": 2, + "FailoverReasonUserRequest": 3, + "FailoverReasonReset": 4, + } +) + +func (x FailoverReason) Enum() *FailoverReason { + p := new(FailoverReason) + *p = x + return p +} + +func (x FailoverReason) String() string { + switch x { + case FAILOVER_REASON_UNSPECIFIED: + return "Unspecified" + case FAILOVER_REASON_OUTAGE: + return "Outage" + case FAILOVER_REASON_DEGRADATION: + return "Degradation" + case FAILOVER_REASON_USER_REQUEST: + return "UserRequest" + case FAILOVER_REASON_RESET: + return "Reset" + default: + return strconv.Itoa(int(x)) + } + +} + +func (FailoverReason) Descriptor() protoreflect.EnumDescriptor { + return file_api_common_v1_message_proto_enumTypes[2].Descriptor() +} + +func (FailoverReason) Type() protoreflect.EnumType { + return &file_api_common_v1_message_proto_enumTypes[2] } -var FailoverReason_value = map[string]int32{ - "Unspecified": 0, - "Outage": 1, - "Degradation": 2, - "UserRequest": 3, - "Reset": 4, +func (x FailoverReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use FailoverReason.Descriptor instead. func (FailoverReason) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_df4c2c740e1454e5, []int{2} + return file_api_common_v1_message_proto_rawDescGZIP(), []int{2} } type ReplicaState int32 @@ -118,32 +228,80 @@ const ( REPLICA_STATE_FAILOVER_FAILED ReplicaState = 8 ) -var ReplicaState_name = map[int32]string{ - 0: "Unspecified", - 1: "Activating", - 2: "ActivationFailed", - 3: "Activated", - 4: "Deactivating", - 5: "DeactivationFailed", - 6: "Deactivated", - 7: "FailoverInProgress", - 8: "FailoverFailed", -} - -var ReplicaState_value = map[string]int32{ - "Unspecified": 0, - "Activating": 1, - "ActivationFailed": 2, - "Activated": 3, - "Deactivating": 4, - "DeactivationFailed": 5, - "Deactivated": 6, - "FailoverInProgress": 7, - "FailoverFailed": 8, +// Enum value maps for ReplicaState. +var ( + ReplicaState_name = map[int32]string{ + 0: "ReplicaStateUnspecified", + 1: "ReplicaStateActivating", + 2: "ReplicaStateActivationFailed", + 3: "ReplicaStateActivated", + 4: "ReplicaStateDeactivating", + 5: "ReplicaStateDeactivationFailed", + 6: "ReplicaStateDeactivated", + 7: "ReplicaStateFailoverInProgress", + 8: "ReplicaStateFailoverFailed", + } + ReplicaState_value = map[string]int32{ + "ReplicaStateUnspecified": 0, + "ReplicaStateActivating": 1, + "ReplicaStateActivationFailed": 2, + "ReplicaStateActivated": 3, + "ReplicaStateDeactivating": 4, + "ReplicaStateDeactivationFailed": 5, + "ReplicaStateDeactivated": 6, + "ReplicaStateFailoverInProgress": 7, + "ReplicaStateFailoverFailed": 8, + } +) + +func (x ReplicaState) Enum() *ReplicaState { + p := new(ReplicaState) + *p = x + return p +} + +func (x ReplicaState) String() string { + switch x { + case REPLICA_STATE_UNSPECIFIED: + return "Unspecified" + case REPLICA_STATE_ACTIVATING: + return "Activating" + case REPLICA_STATE_ACTIVATION_FAILED: + return "ActivationFailed" + case REPLICA_STATE_ACTIVATED: + return "Activated" + case REPLICA_STATE_DEACTIVATING: + return "Deactivating" + case REPLICA_STATE_DEACTIVATION_FAILED: + return "DeactivationFailed" + case REPLICA_STATE_DEACTIVATED: + return "Deactivated" + case REPLICA_STATE_FAILOVER_IN_PROGRESS: + return "FailoverInProgress" + + // Deprecated: Use ReplicaState.Descriptor instead. + case REPLICA_STATE_FAILOVER_FAILED: + return "FailoverFailed" + default: + return strconv.Itoa(int(x)) + } + +} + +func (ReplicaState) Descriptor() protoreflect.EnumDescriptor { + return file_api_common_v1_message_proto_enumTypes[3].Descriptor() +} + +func (ReplicaState) Type() protoreflect.EnumType { + return &file_api_common_v1_message_proto_enumTypes[3] +} + +func (x ReplicaState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } func (ReplicaState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_df4c2c740e1454e5, []int{3} + return file_api_common_v1_message_proto_rawDescGZIP(), []int{3} } type ReplicaMode int32 @@ -154,20 +312,55 @@ const ( REPLICA_MODE_PASSIVE ReplicaMode = 2 ) -var ReplicaMode_name = map[int32]string{ - 0: "Unspecified", - 1: "Active", - 2: "Passive", +// Enum value maps for ReplicaMode. +var ( + ReplicaMode_name = map[int32]string{ + 0: "ReplicaModeUnspecified", + 1: "ReplicaModeActive", + 2: "ReplicaModePassive", + } + ReplicaMode_value = map[string]int32{ + "ReplicaModeUnspecified": 0, + "ReplicaModeActive": 1, + "ReplicaModePassive": 2, + } +) + +func (x ReplicaMode) Enum() *ReplicaMode { + p := new(ReplicaMode) + *p = x + return p +} + +func (x ReplicaMode) String() string { + switch x { + case REPLICA_MODE_UNSPECIFIED: + return "Unspecified" + case REPLICA_MODE_ACTIVE: + return "Active" + case REPLICA_MODE_PASSIVE: + return "Passive" + default: + return strconv.Itoa(int(x)) + } + } -var ReplicaMode_value = map[string]int32{ - "Unspecified": 0, - "Active": 1, - "Passive": 2, +func (ReplicaMode) Descriptor() protoreflect.EnumDescriptor { + return file_api_common_v1_message_proto_enumTypes[4].Descriptor() } +func (ReplicaMode) Type() protoreflect.EnumType { + return &file_api_common_v1_message_proto_enumTypes[4] +} + +func (x ReplicaMode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ReplicaMode.Descriptor instead. func (ReplicaMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_df4c2c740e1454e5, []int{4} + return file_api_common_v1_message_proto_rawDescGZIP(), []int{4} } type ReplicaHealthStatus int32 @@ -178,20 +371,55 @@ const ( REPLICA_HEALTH_STATUS_NOT_HEALTHY ReplicaHealthStatus = 2 ) -var ReplicaHealthStatus_name = map[int32]string{ - 0: "Unspecified", - 1: "Healthy", - 2: "NotHealthy", +// Enum value maps for ReplicaHealthStatus. +var ( + ReplicaHealthStatus_name = map[int32]string{ + 0: "ReplicaHealthStatusUnspecified", + 1: "ReplicaHealthStatusHealthy", + 2: "ReplicaHealthStatusNotHealthy", + } + ReplicaHealthStatus_value = map[string]int32{ + "ReplicaHealthStatusUnspecified": 0, + "ReplicaHealthStatusHealthy": 1, + "ReplicaHealthStatusNotHealthy": 2, + } +) + +func (x ReplicaHealthStatus) Enum() *ReplicaHealthStatus { + p := new(ReplicaHealthStatus) + *p = x + return p } -var ReplicaHealthStatus_value = map[string]int32{ - "Unspecified": 0, - "Healthy": 1, - "NotHealthy": 2, +func (x ReplicaHealthStatus) String() string { + switch x { + case REPLICA_HEALTH_STATUS_UNSPECIFIED: + return "Unspecified" + case REPLICA_HEALTH_STATUS_HEALTHY: + return "Healthy" + case REPLICA_HEALTH_STATUS_NOT_HEALTHY: + return "NotHealthy" + default: + return strconv.Itoa(int(x)) + } + } +func (ReplicaHealthStatus) Descriptor() protoreflect.EnumDescriptor { + return file_api_common_v1_message_proto_enumTypes[5].Descriptor() +} + +func (ReplicaHealthStatus) Type() protoreflect.EnumType { + return &file_api_common_v1_message_proto_enumTypes[5] +} + +func (x ReplicaHealthStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ReplicaHealthStatus.Descriptor instead. func (ReplicaHealthStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_df4c2c740e1454e5, []int{5} + return file_api_common_v1_message_proto_rawDescGZIP(), []int{5} } type RegionID_CloudProvider int32 @@ -202,140 +430,189 @@ const ( CLOUD_PROVIDER_GCP RegionID_CloudProvider = 2 ) -var RegionID_CloudProvider_name = map[int32]string{ - 0: "CloudProviderUnspecified", - 1: "CloudProviderAws", - 2: "CloudProviderGcp", +// Enum value maps for RegionID_CloudProvider. +var ( + RegionID_CloudProvider_name = map[int32]string{ + 0: "CloudProviderUnspecified", + 1: "CloudProviderAws", + 2: "CloudProviderGcp", + } + RegionID_CloudProvider_value = map[string]int32{ + "CloudProviderUnspecified": 0, + "CloudProviderAws": 1, + "CloudProviderGcp": 2, + } +) + +func (x RegionID_CloudProvider) Enum() *RegionID_CloudProvider { + p := new(RegionID_CloudProvider) + *p = x + return p } -var RegionID_CloudProvider_value = map[string]int32{ - "CloudProviderUnspecified": 0, - "CloudProviderAws": 1, - "CloudProviderGcp": 2, +func (x RegionID_CloudProvider) String() string { + switch x { + case CLOUD_PROVIDER_UNSPECIFIED: + return "CloudProviderUnspecified" + case CLOUD_PROVIDER_AWS: + return "CloudProviderAws" + case CLOUD_PROVIDER_GCP: + return "CloudProviderGcp" + default: + return strconv.Itoa(int(x)) + } + } +func (RegionID_CloudProvider) Descriptor() protoreflect.EnumDescriptor { + return file_api_common_v1_message_proto_enumTypes[6].Descriptor() +} + +func (RegionID_CloudProvider) Type() protoreflect.EnumType { + return &file_api_common_v1_message_proto_enumTypes[6] +} + +func (x RegionID_CloudProvider) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use RegionID_CloudProvider.Descriptor instead. func (RegionID_CloudProvider) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_df4c2c740e1454e5, []int{1, 0} + return file_api_common_v1_message_proto_rawDescGZIP(), []int{1, 0} } // (-- api-linter: core::0123::resource-annotation=disabled --) type Region struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The flag indicates if the region supports global namespace. - SupportGlobalNamespace bool `protobuf:"varint,3,opt,name=support_global_namespace,json=supportGlobalNamespace,proto3" json:"support_global_namespace,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + SupportGlobalNamespace bool `protobuf:"varint,3,opt,name=support_global_namespace,json=supportGlobalNamespace,proto3" json:"support_global_namespace,omitempty"` // The allow list of connection between the current region with a target region. ConnectableRegions []*RegionID `protobuf:"bytes,4,rep,name=connectable_regions,json=connectableRegions,proto3" json:"connectable_regions,omitempty"` // Region id including cloud provider and region name. RegionId *RegionID `protobuf:"bytes,5,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` } -func (m *Region) Reset() { *m = Region{} } -func (*Region) ProtoMessage() {} -func (*Region) Descriptor() ([]byte, []int) { - return fileDescriptor_df4c2c740e1454e5, []int{0} -} -func (m *Region) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Region) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Region.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Region) Reset() { + *x = Region{} + if protoimpl.UnsafeEnabled { + mi := &file_api_common_v1_message_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Region) XXX_Merge(src proto.Message) { - xxx_messageInfo_Region.Merge(m, src) -} -func (m *Region) XXX_Size() int { - return m.Size() + +func (x *Region) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Region) XXX_DiscardUnknown() { - xxx_messageInfo_Region.DiscardUnknown(m) + +func (*Region) ProtoMessage() {} + +func (x *Region) ProtoReflect() protoreflect.Message { + mi := &file_api_common_v1_message_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Region proto.InternalMessageInfo +// Deprecated: Use Region.ProtoReflect.Descriptor instead. +func (*Region) Descriptor() ([]byte, []int) { + return file_api_common_v1_message_proto_rawDescGZIP(), []int{0} +} // Deprecated: Do not use. -func (m *Region) GetSupportGlobalNamespace() bool { - if m != nil { - return m.SupportGlobalNamespace +func (x *Region) GetSupportGlobalNamespace() bool { + if x != nil { + return x.SupportGlobalNamespace } return false } -func (m *Region) GetConnectableRegions() []*RegionID { - if m != nil { - return m.ConnectableRegions +func (x *Region) GetConnectableRegions() []*RegionID { + if x != nil { + return x.ConnectableRegions } return nil } -func (m *Region) GetRegionId() *RegionID { - if m != nil { - return m.RegionId +func (x *Region) GetRegionId() *RegionID { + if x != nil { + return x.RegionId } return nil } type RegionID struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Cloud-specific region name. E.g., us-west-2 for AWS and europe-west1 for GCP. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Enum of the provider, we may use this to replace the string field. E.g. aws, gcp, azure Provider RegionID_CloudProvider `protobuf:"varint,3,opt,name=provider,proto3,enum=api.common.v1.RegionID_CloudProvider" json:"provider,omitempty"` } -func (m *RegionID) Reset() { *m = RegionID{} } -func (*RegionID) ProtoMessage() {} -func (*RegionID) Descriptor() ([]byte, []int) { - return fileDescriptor_df4c2c740e1454e5, []int{1} -} -func (m *RegionID) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *RegionID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RegionID.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *RegionID) Reset() { + *x = RegionID{} + if protoimpl.UnsafeEnabled { + mi := &file_api_common_v1_message_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *RegionID) XXX_Merge(src proto.Message) { - xxx_messageInfo_RegionID.Merge(m, src) -} -func (m *RegionID) XXX_Size() int { - return m.Size() + +func (x *RegionID) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RegionID) XXX_DiscardUnknown() { - xxx_messageInfo_RegionID.DiscardUnknown(m) + +func (*RegionID) ProtoMessage() {} + +func (x *RegionID) ProtoReflect() protoreflect.Message { + mi := &file_api_common_v1_message_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RegionID proto.InternalMessageInfo +// Deprecated: Use RegionID.ProtoReflect.Descriptor instead. +func (*RegionID) Descriptor() ([]byte, []int) { + return file_api_common_v1_message_proto_rawDescGZIP(), []int{1} +} -func (m *RegionID) GetName() string { - if m != nil { - return m.Name +func (x *RegionID) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *RegionID) GetProvider() RegionID_CloudProvider { - if m != nil { - return m.Provider +func (x *RegionID) GetProvider() RegionID_CloudProvider { + if x != nil { + return x.Provider } return CLOUD_PROVIDER_UNSPECIFIED } type ReplicaStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The replica located region Region *RegionID `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` // The workflow number to be copied to the replica. @@ -343,7 +620,7 @@ type ReplicaStatus struct { // The workflow number that already replicated to the replica. ReplicatedWorkflowCount int64 `protobuf:"varint,3,opt,name=replicated_workflow_count,json=replicatedWorkflowCount,proto3" json:"replicated_workflow_count,omitempty"` // The estimated time when this replica is ready. - EstimatedCompletionDuration *types.Duration `protobuf:"bytes,4,opt,name=estimated_completion_duration,json=estimatedCompletionDuration,proto3" json:"estimated_completion_duration,omitempty"` + EstimatedCompletionDuration *durationpb.Duration `protobuf:"bytes,4,opt,name=estimated_completion_duration,json=estimatedCompletionDuration,proto3" json:"estimated_completion_duration,omitempty"` // The current status of a replica. State ReplicaState `protobuf:"varint,5,opt,name=state,proto3,enum=api.common.v1.ReplicaState" json:"state,omitempty"` // Whether the replica is active or passive. @@ -352,1225 +629,324 @@ type ReplicaStatus struct { HealthStatus ReplicaHealthStatus `protobuf:"varint,7,opt,name=health_status,json=healthStatus,proto3,enum=api.common.v1.ReplicaHealthStatus" json:"health_status,omitempty"` } -func (m *ReplicaStatus) Reset() { *m = ReplicaStatus{} } -func (*ReplicaStatus) ProtoMessage() {} -func (*ReplicaStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_df4c2c740e1454e5, []int{2} -} -func (m *ReplicaStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ReplicaStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ReplicaStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ReplicaStatus) Reset() { + *x = ReplicaStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_api_common_v1_message_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ReplicaStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReplicaStatus.Merge(m, src) -} -func (m *ReplicaStatus) XXX_Size() int { - return m.Size() + +func (x *ReplicaStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ReplicaStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ReplicaStatus.DiscardUnknown(m) + +func (*ReplicaStatus) ProtoMessage() {} + +func (x *ReplicaStatus) ProtoReflect() protoreflect.Message { + mi := &file_api_common_v1_message_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ReplicaStatus proto.InternalMessageInfo +// Deprecated: Use ReplicaStatus.ProtoReflect.Descriptor instead. +func (*ReplicaStatus) Descriptor() ([]byte, []int) { + return file_api_common_v1_message_proto_rawDescGZIP(), []int{2} +} -func (m *ReplicaStatus) GetRegion() *RegionID { - if m != nil { - return m.Region +func (x *ReplicaStatus) GetRegion() *RegionID { + if x != nil { + return x.Region } return nil } -func (m *ReplicaStatus) GetToBeReplicatedWorkflowCount() int64 { - if m != nil { - return m.ToBeReplicatedWorkflowCount +func (x *ReplicaStatus) GetToBeReplicatedWorkflowCount() int64 { + if x != nil { + return x.ToBeReplicatedWorkflowCount } return 0 } -func (m *ReplicaStatus) GetReplicatedWorkflowCount() int64 { - if m != nil { - return m.ReplicatedWorkflowCount +func (x *ReplicaStatus) GetReplicatedWorkflowCount() int64 { + if x != nil { + return x.ReplicatedWorkflowCount } return 0 } -func (m *ReplicaStatus) GetEstimatedCompletionDuration() *types.Duration { - if m != nil { - return m.EstimatedCompletionDuration +func (x *ReplicaStatus) GetEstimatedCompletionDuration() *durationpb.Duration { + if x != nil { + return x.EstimatedCompletionDuration } return nil } -func (m *ReplicaStatus) GetState() ReplicaState { - if m != nil { - return m.State +func (x *ReplicaStatus) GetState() ReplicaState { + if x != nil { + return x.State } return REPLICA_STATE_UNSPECIFIED } -func (m *ReplicaStatus) GetMode() ReplicaMode { - if m != nil { - return m.Mode +func (x *ReplicaStatus) GetMode() ReplicaMode { + if x != nil { + return x.Mode } return REPLICA_MODE_UNSPECIFIED } -func (m *ReplicaStatus) GetHealthStatus() ReplicaHealthStatus { - if m != nil { - return m.HealthStatus +func (x *ReplicaStatus) GetHealthStatus() ReplicaHealthStatus { + if x != nil { + return x.HealthStatus } return REPLICA_HEALTH_STATUS_UNSPECIFIED } -func init() { - proto.RegisterEnum("api.common.v1.FailoverType", FailoverType_name, FailoverType_value) - proto.RegisterEnum("api.common.v1.FailoverStatus", FailoverStatus_name, FailoverStatus_value) - proto.RegisterEnum("api.common.v1.FailoverReason", FailoverReason_name, FailoverReason_value) - proto.RegisterEnum("api.common.v1.ReplicaState", ReplicaState_name, ReplicaState_value) - proto.RegisterEnum("api.common.v1.ReplicaMode", ReplicaMode_name, ReplicaMode_value) - proto.RegisterEnum("api.common.v1.ReplicaHealthStatus", ReplicaHealthStatus_name, ReplicaHealthStatus_value) - proto.RegisterEnum("api.common.v1.RegionID_CloudProvider", RegionID_CloudProvider_name, RegionID_CloudProvider_value) - proto.RegisterType((*Region)(nil), "api.common.v1.Region") - proto.RegisterType((*RegionID)(nil), "api.common.v1.RegionID") - proto.RegisterType((*ReplicaStatus)(nil), "api.common.v1.ReplicaStatus") -} - -func init() { proto.RegisterFile("api/common/v1/message.proto", fileDescriptor_df4c2c740e1454e5) } - -var fileDescriptor_df4c2c740e1454e5 = []byte{ - // 927 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x95, 0x3f, 0x6f, 0xdb, 0x46, - 0x18, 0xc6, 0x75, 0x94, 0xe2, 0x28, 0x17, 0xdb, 0x20, 0xce, 0xad, 0x4d, 0x5b, 0x31, 0xad, 0xa8, - 0x48, 0x61, 0x68, 0xa0, 0x60, 0xb7, 0x53, 0xdb, 0x85, 0x26, 0xcf, 0x32, 0x03, 0x45, 0x54, 0x8f, - 0x94, 0x83, 0x14, 0x68, 0x09, 0x4a, 0xba, 0xc8, 0x42, 0x29, 0x1d, 0x41, 0x52, 0x0e, 0xba, 0x75, - 0xea, 0xdc, 0x8f, 0x51, 0xa0, 0xdf, 0xa1, 0x73, 0x96, 0x02, 0x46, 0xa7, 0x8c, 0xb5, 0xbc, 0x74, - 0xcc, 0x47, 0x28, 0x78, 0xa4, 0x18, 0x51, 0x96, 0xbc, 0xf1, 0xf8, 0xfc, 0x9e, 0x7b, 0xef, 0xfd, - 0xc3, 0x23, 0xac, 0xb8, 0xfe, 0xa8, 0xd1, 0x67, 0xe3, 0x31, 0x9b, 0x34, 0xae, 0x4f, 0x1a, 0x63, - 0x1a, 0x86, 0xee, 0x90, 0x2a, 0x7e, 0xc0, 0x22, 0x86, 0xb6, 0x5c, 0x7f, 0xa4, 0x24, 0xa2, 0x72, - 0x7d, 0x72, 0x20, 0x0f, 0x19, 0x1b, 0x7a, 0xb4, 0xc1, 0xc5, 0xde, 0xf4, 0x6d, 0x63, 0x30, 0x0d, - 0xdc, 0x68, 0xc4, 0x26, 0x09, 0x5e, 0xfb, 0x07, 0xc0, 0x0d, 0x42, 0x87, 0x23, 0x36, 0x41, 0xdf, - 0x41, 0x29, 0x9c, 0xfa, 0x3e, 0x0b, 0x22, 0x67, 0xe8, 0xb1, 0x9e, 0xeb, 0x39, 0x13, 0x77, 0x4c, - 0x43, 0xdf, 0xed, 0x53, 0xa9, 0x58, 0x05, 0xc7, 0xe5, 0x33, 0x41, 0x02, 0x64, 0x37, 0x65, 0x9a, - 0x1c, 0x69, 0xcf, 0x09, 0x74, 0x01, 0x77, 0xfa, 0x6c, 0x32, 0xa1, 0xfd, 0xc8, 0xed, 0x79, 0xd4, - 0x09, 0xf8, 0x9e, 0xa1, 0x54, 0xaa, 0x16, 0x8f, 0x9f, 0x9e, 0xee, 0x29, 0xb9, 0x53, 0x29, 0x49, - 0x44, 0x43, 0x27, 0x68, 0xc1, 0x93, 0xbc, 0x0c, 0xd1, 0xd7, 0xf0, 0x49, 0xe2, 0x76, 0x46, 0x03, - 0xe9, 0x51, 0x15, 0x3c, 0xe4, 0x2f, 0x27, 0xa4, 0x31, 0x78, 0x59, 0x2a, 0x03, 0x51, 0x78, 0x59, - 0x2a, 0x0b, 0x62, 0xb1, 0xf6, 0x1e, 0xc0, 0xf2, 0x1c, 0x41, 0x08, 0x96, 0xe2, 0x3c, 0x24, 0xa1, - 0x0a, 0x8e, 0x9f, 0x10, 0xfe, 0x8c, 0x54, 0x58, 0xf6, 0x03, 0x76, 0x3d, 0x1a, 0xd0, 0x80, 0xa7, - 0xb6, 0x7d, 0xfa, 0x62, 0x4d, 0x04, 0x45, 0xf3, 0xd8, 0x74, 0xd0, 0x49, 0x61, 0x92, 0xd9, 0x6a, - 0x0e, 0xdc, 0xca, 0x49, 0x48, 0x86, 0x07, 0x5a, 0xcb, 0xec, 0xea, 0x4e, 0x87, 0x98, 0x97, 0x86, - 0x8e, 0x89, 0xd3, 0x6d, 0x5b, 0x1d, 0xac, 0x19, 0xe7, 0x06, 0xd6, 0xc5, 0x02, 0xda, 0x85, 0x68, - 0x49, 0x57, 0x5f, 0x5b, 0x22, 0x58, 0xf1, 0xbe, 0xa9, 0x75, 0x78, 0x2a, 0x40, 0x14, 0x6a, 0x7f, - 0x17, 0xe1, 0x16, 0xa1, 0xbe, 0x37, 0xea, 0xbb, 0x56, 0xe4, 0x46, 0xd3, 0x10, 0x35, 0xe0, 0x46, - 0x92, 0xb4, 0x04, 0x1e, 0xae, 0x4d, 0x8a, 0x21, 0x1d, 0x1e, 0x45, 0xcc, 0xe9, 0xc5, 0x3d, 0xe1, - 0xfb, 0x44, 0x74, 0xe0, 0xbc, 0x63, 0xc1, 0xcf, 0x6f, 0x3d, 0xf6, 0xce, 0xe9, 0xb3, 0xe9, 0x24, - 0xe2, 0xb5, 0x29, 0x92, 0x4a, 0xc4, 0xce, 0x28, 0xc9, 0xa0, 0xd7, 0x29, 0xa3, 0xc5, 0x08, 0xfa, - 0x06, 0xee, 0xaf, 0xf7, 0x17, 0xb9, 0x7f, 0x2f, 0x58, 0xe3, 0xfd, 0x11, 0x1e, 0xd2, 0x30, 0x1a, - 0x8d, 0xb9, 0xb5, 0xcf, 0xc6, 0xbe, 0x47, 0xe3, 0x11, 0x74, 0xe6, 0xb3, 0x28, 0x95, 0x78, 0x26, - 0xfb, 0x4a, 0x32, 0xac, 0xca, 0x7c, 0x58, 0x15, 0x3d, 0x05, 0x48, 0x25, 0xf3, 0x6b, 0x99, 0x7d, - 0x2e, 0xa2, 0x13, 0xf8, 0x28, 0x8c, 0xdc, 0x88, 0xf2, 0x61, 0xd9, 0x3e, 0xad, 0xdc, 0x2b, 0x48, - 0x56, 0x3e, 0x4a, 0x12, 0x12, 0x29, 0xb0, 0x34, 0x66, 0x03, 0x2a, 0x6d, 0x70, 0xc7, 0xc1, 0x6a, - 0xc7, 0x2b, 0x36, 0xa0, 0x84, 0x73, 0xa8, 0x09, 0xb7, 0xae, 0xa8, 0xeb, 0x45, 0x57, 0x4e, 0xc8, - 0xbb, 0x20, 0x3d, 0xe6, 0xc6, 0xda, 0x6a, 0xe3, 0x05, 0x47, 0x93, 0x7e, 0x91, 0xcd, 0xab, 0x85, - 0x55, 0xbd, 0x07, 0x37, 0xcf, 0xdd, 0x91, 0xc7, 0xae, 0x69, 0x60, 0xff, 0xe2, 0x53, 0x74, 0x08, - 0xf7, 0xcf, 0x55, 0xa3, 0x65, 0x5e, 0x62, 0xe2, 0xd8, 0x6f, 0x3a, 0x78, 0x69, 0x68, 0x0e, 0xe0, - 0x6e, 0x5e, 0x6e, 0x12, 0x55, 0xc3, 0xe7, 0xdd, 0x96, 0x08, 0xd0, 0x1e, 0xdc, 0xc9, 0x6b, 0xe7, - 0x26, 0xd1, 0xb0, 0x28, 0xd4, 0x3d, 0xb8, 0x3d, 0x8f, 0x91, 0xce, 0xcc, 0x11, 0xac, 0x64, 0xa8, - 0x65, 0xab, 0x76, 0xd7, 0x5a, 0x8a, 0xb3, 0x78, 0x8c, 0x14, 0xb0, 0xba, 0x9a, 0x86, 0xb1, 0x8e, - 0x75, 0x11, 0xe4, 0x8e, 0x91, 0xca, 0xf1, 0x1a, 0xeb, 0xa2, 0x50, 0xff, 0x13, 0x7c, 0x0a, 0x47, - 0xa8, 0x1b, 0xb2, 0x49, 0x2e, 0x1c, 0xc1, 0xaa, 0x65, 0xb6, 0x1f, 0x48, 0x2b, 0x05, 0xcc, 0xae, - 0xad, 0x36, 0xb1, 0x08, 0x56, 0x99, 0x75, 0xdc, 0x24, 0xaa, 0xae, 0xda, 0x86, 0xd9, 0x16, 0x05, - 0x54, 0x85, 0xcf, 0xee, 0xed, 0x6e, 0xf1, 0xe7, 0xef, 0xbb, 0xd8, 0xb2, 0xc5, 0x22, 0xda, 0x87, - 0x9f, 0x2f, 0x13, 0x04, 0x5b, 0xd8, 0x16, 0x4b, 0xf5, 0xbf, 0x04, 0xb8, 0xb9, 0x38, 0x10, 0x71, - 0xe6, 0x04, 0x77, 0x5a, 0x86, 0xa6, 0xf2, 0xcc, 0x96, 0x1b, 0xf0, 0x0c, 0x4a, 0x79, 0x59, 0xd5, - 0x6c, 0xe3, 0x52, 0xb5, 0x8d, 0x76, 0x53, 0x04, 0xe8, 0x0b, 0x78, 0xb4, 0x5a, 0x35, 0xdb, 0x59, - 0x81, 0x50, 0x05, 0xee, 0xad, 0x84, 0xb0, 0x2e, 0x16, 0xe3, 0x5b, 0x23, 0x2f, 0xea, 0x78, 0x21, - 0x42, 0x09, 0xbd, 0x80, 0xcf, 0xd7, 0xe9, 0x9f, 0x62, 0x3c, 0xba, 0x9f, 0x45, 0x86, 0x61, 0x5d, - 0xdc, 0x40, 0x5f, 0xc2, 0x5a, 0x5e, 0xce, 0xca, 0x63, 0xb4, 0xe3, 0x7b, 0xa7, 0x49, 0xb0, 0x65, - 0x89, 0x8f, 0xd1, 0x73, 0x78, 0xb8, 0x86, 0x4b, 0x23, 0x95, 0xeb, 0x3f, 0xc1, 0xa7, 0x0b, 0x9f, - 0xc7, 0x62, 0x7d, 0x5e, 0x99, 0xfa, 0x72, 0xf5, 0xf6, 0xe0, 0x4e, 0x4e, 0xe5, 0x67, 0x8a, 0x9b, - 0x2c, 0xc1, 0xcf, 0x72, 0x42, 0x47, 0xb5, 0xac, 0x58, 0x11, 0xea, 0xbf, 0x01, 0xb8, 0xb3, 0xe2, - 0x33, 0x5a, 0x2c, 0xc4, 0x05, 0x56, 0x5b, 0xf6, 0xc5, 0xea, 0x41, 0x5e, 0xc8, 0x20, 0x8f, 0x25, - 0xab, 0x37, 0x22, 0x58, 0xbf, 0x53, 0xdb, 0xb4, 0x33, 0x4c, 0x38, 0xbb, 0xbc, 0xb9, 0x95, 0x0b, - 0x1f, 0x6e, 0xe5, 0xc2, 0xc7, 0x5b, 0x19, 0xfc, 0x3a, 0x93, 0xc1, 0x1f, 0x33, 0x19, 0xbc, 0x9f, - 0xc9, 0xe0, 0x66, 0x26, 0x83, 0x7f, 0x67, 0x32, 0xf8, 0x6f, 0x26, 0x17, 0x3e, 0xce, 0x64, 0xf0, - 0xfb, 0x9d, 0x5c, 0xb8, 0xb9, 0x93, 0x0b, 0x1f, 0xee, 0xe4, 0xc2, 0x0f, 0xd5, 0x68, 0xec, 0x07, - 0x9e, 0xd2, 0x8f, 0x7f, 0x0d, 0x8d, 0xdc, 0x7f, 0xfa, 0xdb, 0xe4, 0xa9, 0xb7, 0xc1, 0x6f, 0xb7, - 0xaf, 0xfe, 0x0f, 0x00, 0x00, 0xff, 0xff, 0x01, 0x59, 0x94, 0x67, 0xc6, 0x07, 0x00, 0x00, -} - -func (x FailoverType) String() string { - s, ok := FailoverType_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x FailoverStatus) String() string { - s, ok := FailoverStatus_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x FailoverReason) String() string { - s, ok := FailoverReason_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x ReplicaState) String() string { - s, ok := ReplicaState_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x ReplicaMode) String() string { - s, ok := ReplicaMode_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x ReplicaHealthStatus) String() string { - s, ok := ReplicaHealthStatus_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x RegionID_CloudProvider) String() string { - s, ok := RegionID_CloudProvider_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (this *Region) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*Region) - if !ok { - that2, ok := that.(Region) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.SupportGlobalNamespace != that1.SupportGlobalNamespace { - return false - } - if len(this.ConnectableRegions) != len(that1.ConnectableRegions) { - return false - } - for i := range this.ConnectableRegions { - if !this.ConnectableRegions[i].Equal(that1.ConnectableRegions[i]) { - return false - } - } - if !this.RegionId.Equal(that1.RegionId) { - return false - } - return true -} -func (this *RegionID) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*RegionID) - if !ok { - that2, ok := that.(RegionID) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Name != that1.Name { - return false - } - if this.Provider != that1.Provider { - return false - } - return true -} -func (this *ReplicaStatus) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*ReplicaStatus) - if !ok { - that2, ok := that.(ReplicaStatus) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Region.Equal(that1.Region) { - return false - } - if this.ToBeReplicatedWorkflowCount != that1.ToBeReplicatedWorkflowCount { - return false - } - if this.ReplicatedWorkflowCount != that1.ReplicatedWorkflowCount { - return false - } - if !this.EstimatedCompletionDuration.Equal(that1.EstimatedCompletionDuration) { - return false - } - if this.State != that1.State { - return false - } - if this.Mode != that1.Mode { - return false - } - if this.HealthStatus != that1.HealthStatus { - return false - } - return true -} -func (this *Region) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&common.Region{") - s = append(s, "SupportGlobalNamespace: "+fmt.Sprintf("%#v", this.SupportGlobalNamespace)+",\n") - if this.ConnectableRegions != nil { - s = append(s, "ConnectableRegions: "+fmt.Sprintf("%#v", this.ConnectableRegions)+",\n") - } - if this.RegionId != nil { - s = append(s, "RegionId: "+fmt.Sprintf("%#v", this.RegionId)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *RegionID) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&common.RegionID{") - s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") - s = append(s, "Provider: "+fmt.Sprintf("%#v", this.Provider)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ReplicaStatus) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 11) - s = append(s, "&common.ReplicaStatus{") - if this.Region != nil { - s = append(s, "Region: "+fmt.Sprintf("%#v", this.Region)+",\n") - } - s = append(s, "ToBeReplicatedWorkflowCount: "+fmt.Sprintf("%#v", this.ToBeReplicatedWorkflowCount)+",\n") - s = append(s, "ReplicatedWorkflowCount: "+fmt.Sprintf("%#v", this.ReplicatedWorkflowCount)+",\n") - if this.EstimatedCompletionDuration != nil { - s = append(s, "EstimatedCompletionDuration: "+fmt.Sprintf("%#v", this.EstimatedCompletionDuration)+",\n") - } - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - s = append(s, "Mode: "+fmt.Sprintf("%#v", this.Mode)+",\n") - s = append(s, "HealthStatus: "+fmt.Sprintf("%#v", this.HealthStatus)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func valueToGoStringMessage(v interface{}, typ string) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) -} -func (m *Region) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Region) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Region) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.RegionId != nil { - { - size, err := m.RegionId.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if len(m.ConnectableRegions) > 0 { - for iNdEx := len(m.ConnectableRegions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ConnectableRegions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - } - if m.SupportGlobalNamespace { - i-- - if m.SupportGlobalNamespace { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 - } - return len(dAtA) - i, nil -} - -func (m *RegionID) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RegionID) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RegionID) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Provider != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.Provider)) - i-- - dAtA[i] = 0x18 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0x12 - } - return len(dAtA) - i, nil -} - -func (m *ReplicaStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ReplicaStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +var File_api_common_v1_message_proto protoreflect.FileDescriptor + +var file_api_common_v1_message_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x1a, 0x1e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd2, 0x01, 0x0a, + 0x06, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x0a, 0x18, 0x73, 0x75, 0x70, 0x70, 0x6f, + 0x72, 0x74, 0x5f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x16, 0x73, + 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x48, 0x0a, 0x13, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x52, 0x12, 0x63, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x34, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x52, 0x08, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x02, 0x10, + 0x03, 0x22, 0xc8, 0x01, 0x0a, 0x08, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x12, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x2e, 0x43, 0x6c, + 0x6f, 0x75, 0x64, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x08, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0x5f, 0x0a, 0x0d, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x1a, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, + 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, + 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, + 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52, 0x5f, 0x41, 0x57, 0x53, 0x10, 0x01, 0x12, 0x16, + 0x0a, 0x12, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52, + 0x5f, 0x47, 0x43, 0x50, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0xcd, 0x03, 0x0a, + 0x0d, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2f, + 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, + 0x44, 0x0a, 0x1f, 0x74, 0x6f, 0x5f, 0x62, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x65, 0x64, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1b, 0x74, 0x6f, 0x42, 0x65, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3a, 0x0a, 0x19, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x65, 0x64, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x64, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x5d, 0x0a, 0x1d, 0x65, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x63, + 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x1b, 0x65, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, + 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x31, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, + 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, + 0x6f, 0x64, 0x65, 0x12, 0x47, 0x0a, 0x0d, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0c, + 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2a, 0x62, 0x0a, 0x0c, + 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, + 0x46, 0x41, 0x49, 0x4c, 0x4f, 0x56, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, + 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x46, + 0x41, 0x49, 0x4c, 0x4f, 0x56, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x52, 0x41, + 0x43, 0x45, 0x46, 0x55, 0x4c, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x46, 0x41, 0x49, 0x4c, 0x4f, + 0x56, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x4f, 0x52, 0x43, 0x45, 0x10, 0x02, + 0x2a, 0x6c, 0x0a, 0x0e, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x1b, 0x46, 0x41, 0x49, 0x4c, 0x4f, 0x56, 0x45, 0x52, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, + 0x44, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x46, 0x41, 0x49, 0x4c, 0x4f, 0x56, 0x45, 0x52, 0x5f, + 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, + 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x46, 0x41, 0x49, 0x4c, 0x4f, 0x56, 0x45, 0x52, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x2a, 0xab, + 0x01, 0x0a, 0x0e, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x12, 0x1f, 0x0a, 0x1b, 0x46, 0x41, 0x49, 0x4c, 0x4f, 0x56, 0x45, 0x52, 0x5f, 0x52, 0x45, + 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, + 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x46, 0x41, 0x49, 0x4c, 0x4f, 0x56, 0x45, 0x52, 0x5f, 0x52, + 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4f, 0x55, 0x54, 0x41, 0x47, 0x45, 0x10, 0x01, 0x12, 0x1f, + 0x0a, 0x1b, 0x46, 0x41, 0x49, 0x4c, 0x4f, 0x56, 0x45, 0x52, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, + 0x4e, 0x5f, 0x44, 0x45, 0x47, 0x52, 0x41, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x02, 0x12, + 0x20, 0x0a, 0x1c, 0x46, 0x41, 0x49, 0x4c, 0x4f, 0x56, 0x45, 0x52, 0x5f, 0x52, 0x45, 0x41, 0x53, + 0x4f, 0x4e, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, + 0x03, 0x12, 0x19, 0x0a, 0x15, 0x46, 0x41, 0x49, 0x4c, 0x4f, 0x56, 0x45, 0x52, 0x5f, 0x52, 0x45, + 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x53, 0x45, 0x54, 0x10, 0x04, 0x2a, 0xbe, 0x02, 0x0a, + 0x0c, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, + 0x19, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, + 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, + 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x41, 0x43, + 0x54, 0x49, 0x56, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x23, 0x0a, 0x1f, 0x52, 0x45, + 0x50, 0x4c, 0x49, 0x43, 0x41, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, + 0x56, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, + 0x1b, 0x0a, 0x17, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, + 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x45, 0x44, 0x10, 0x03, 0x12, 0x1e, 0x0a, 0x1a, + 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x45, + 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x25, 0x0a, 0x21, + 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x45, + 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, + 0x44, 0x10, 0x05, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x45, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x45, 0x44, + 0x10, 0x06, 0x12, 0x26, 0x0a, 0x22, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x5f, 0x53, 0x54, + 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x4f, 0x56, 0x45, 0x52, 0x5f, 0x49, 0x4e, 0x5f, + 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x07, 0x12, 0x21, 0x0a, 0x1d, 0x52, 0x45, + 0x50, 0x4c, 0x49, 0x43, 0x41, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, + 0x4f, 0x56, 0x45, 0x52, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x08, 0x2a, 0x5e, 0x0a, + 0x0b, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x18, + 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, + 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x45, + 0x50, 0x4c, 0x49, 0x43, 0x41, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, + 0x45, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x5f, 0x4d, + 0x4f, 0x44, 0x45, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x49, 0x56, 0x45, 0x10, 0x02, 0x2a, 0x86, 0x01, + 0x0a, 0x13, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x25, 0x0a, 0x21, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, + 0x5f, 0x48, 0x45, 0x41, 0x4c, 0x54, 0x48, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, + 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x21, 0x0a, 0x1d, + 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x5f, 0x48, 0x45, 0x41, 0x4c, 0x54, 0x48, 0x5f, 0x53, + 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x48, 0x45, 0x41, 0x4c, 0x54, 0x48, 0x59, 0x10, 0x01, 0x12, + 0x25, 0x0a, 0x21, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x5f, 0x48, 0x45, 0x41, 0x4c, 0x54, + 0x48, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x48, 0x45, 0x41, + 0x4c, 0x54, 0x48, 0x59, 0x10, 0x02, 0x42, 0x99, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x20, 0x74, 0x6d, + 0x70, 0x72, 0x6c, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0xa2, 0x02, + 0x03, 0x41, 0x43, 0x58, 0xaa, 0x02, 0x0d, 0x41, 0x70, 0x69, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0d, 0x41, 0x70, 0x69, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x19, 0x41, 0x70, 0x69, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x0f, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3a, 0x3a, + 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func (m *ReplicaStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.HealthStatus != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.HealthStatus)) - i-- - dAtA[i] = 0x38 - } - if m.Mode != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.Mode)) - i-- - dAtA[i] = 0x30 - } - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x28 - } - if m.EstimatedCompletionDuration != nil { - { - size, err := m.EstimatedCompletionDuration.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if m.ReplicatedWorkflowCount != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.ReplicatedWorkflowCount)) - i-- - dAtA[i] = 0x18 - } - if m.ToBeReplicatedWorkflowCount != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.ToBeReplicatedWorkflowCount)) - i-- - dAtA[i] = 0x10 - } - if m.Region != nil { - { - size, err := m.Region.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintMessage(dAtA []byte, offset int, v uint64) int { - offset -= sovMessage(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *Region) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.SupportGlobalNamespace { - n += 2 - } - if len(m.ConnectableRegions) > 0 { - for _, e := range m.ConnectableRegions { - l = e.Size() - n += 1 + l + sovMessage(uint64(l)) - } - } - if m.RegionId != nil { - l = m.RegionId.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *RegionID) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Provider != 0 { - n += 1 + sovMessage(uint64(m.Provider)) - } - return n -} - -func (m *ReplicaStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Region != nil { - l = m.Region.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.ToBeReplicatedWorkflowCount != 0 { - n += 1 + sovMessage(uint64(m.ToBeReplicatedWorkflowCount)) - } - if m.ReplicatedWorkflowCount != 0 { - n += 1 + sovMessage(uint64(m.ReplicatedWorkflowCount)) - } - if m.EstimatedCompletionDuration != nil { - l = m.EstimatedCompletionDuration.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) - } - if m.Mode != 0 { - n += 1 + sovMessage(uint64(m.Mode)) - } - if m.HealthStatus != 0 { - n += 1 + sovMessage(uint64(m.HealthStatus)) - } - return n -} - -func sovMessage(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozMessage(x uint64) (n int) { - return sovMessage(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (this *Region) String() string { - if this == nil { - return "nil" - } - repeatedStringForConnectableRegions := "[]*RegionID{" - for _, f := range this.ConnectableRegions { - repeatedStringForConnectableRegions += strings.Replace(f.String(), "RegionID", "RegionID", 1) + "," - } - repeatedStringForConnectableRegions += "}" - s := strings.Join([]string{`&Region{`, - `SupportGlobalNamespace:` + fmt.Sprintf("%v", this.SupportGlobalNamespace) + `,`, - `ConnectableRegions:` + repeatedStringForConnectableRegions + `,`, - `RegionId:` + strings.Replace(this.RegionId.String(), "RegionID", "RegionID", 1) + `,`, - `}`, - }, "") - return s -} -func (this *RegionID) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&RegionID{`, - `Name:` + fmt.Sprintf("%v", this.Name) + `,`, - `Provider:` + fmt.Sprintf("%v", this.Provider) + `,`, - `}`, - }, "") - return s -} -func (this *ReplicaStatus) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ReplicaStatus{`, - `Region:` + strings.Replace(this.Region.String(), "RegionID", "RegionID", 1) + `,`, - `ToBeReplicatedWorkflowCount:` + fmt.Sprintf("%v", this.ToBeReplicatedWorkflowCount) + `,`, - `ReplicatedWorkflowCount:` + fmt.Sprintf("%v", this.ReplicatedWorkflowCount) + `,`, - `EstimatedCompletionDuration:` + strings.Replace(fmt.Sprintf("%v", this.EstimatedCompletionDuration), "Duration", "types.Duration", 1) + `,`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `Mode:` + fmt.Sprintf("%v", this.Mode) + `,`, - `HealthStatus:` + fmt.Sprintf("%v", this.HealthStatus) + `,`, - `}`, - }, "") - return s -} -func valueToStringMessage(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) -} -func (m *Region) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Region: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Region: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SupportGlobalNamespace", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.SupportGlobalNamespace = bool(v != 0) - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectableRegions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ConnectableRegions = append(m.ConnectableRegions, &RegionID{}) - if err := m.ConnectableRegions[len(m.ConnectableRegions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RegionId", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RegionId == nil { - m.RegionId = &RegionID{} - } - if err := m.RegionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RegionID) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RegionID: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RegionID: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) - } - m.Provider = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Provider |= RegionID_CloudProvider(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } +var ( + file_api_common_v1_message_proto_rawDescOnce sync.Once + file_api_common_v1_message_proto_rawDescData = file_api_common_v1_message_proto_rawDesc +) - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ReplicaStatus) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF +func file_api_common_v1_message_proto_rawDescGZIP() []byte { + file_api_common_v1_message_proto_rawDescOnce.Do(func() { + file_api_common_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_common_v1_message_proto_rawDescData) + }) + return file_api_common_v1_message_proto_rawDescData +} + +var file_api_common_v1_message_proto_enumTypes = make([]protoimpl.EnumInfo, 7) +var file_api_common_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_api_common_v1_message_proto_goTypes = []interface{}{ + (FailoverType)(0), // 0: api.common.v1.FailoverType + (FailoverStatus)(0), // 1: api.common.v1.FailoverStatus + (FailoverReason)(0), // 2: api.common.v1.FailoverReason + (ReplicaState)(0), // 3: api.common.v1.ReplicaState + (ReplicaMode)(0), // 4: api.common.v1.ReplicaMode + (ReplicaHealthStatus)(0), // 5: api.common.v1.ReplicaHealthStatus + (RegionID_CloudProvider)(0), // 6: api.common.v1.RegionID.CloudProvider + (*Region)(nil), // 7: api.common.v1.Region + (*RegionID)(nil), // 8: api.common.v1.RegionID + (*ReplicaStatus)(nil), // 9: api.common.v1.ReplicaStatus + (*durationpb.Duration)(nil), // 10: google.protobuf.Duration +} +var file_api_common_v1_message_proto_depIdxs = []int32{ + 8, // 0: api.common.v1.Region.connectable_regions:type_name -> api.common.v1.RegionID + 8, // 1: api.common.v1.Region.region_id:type_name -> api.common.v1.RegionID + 6, // 2: api.common.v1.RegionID.provider:type_name -> api.common.v1.RegionID.CloudProvider + 8, // 3: api.common.v1.ReplicaStatus.region:type_name -> api.common.v1.RegionID + 10, // 4: api.common.v1.ReplicaStatus.estimated_completion_duration:type_name -> google.protobuf.Duration + 3, // 5: api.common.v1.ReplicaStatus.state:type_name -> api.common.v1.ReplicaState + 4, // 6: api.common.v1.ReplicaStatus.mode:type_name -> api.common.v1.ReplicaMode + 5, // 7: api.common.v1.ReplicaStatus.health_status:type_name -> api.common.v1.ReplicaHealthStatus + 8, // [8:8] is the sub-list for method output_type + 8, // [8:8] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name +} + +func init() { file_api_common_v1_message_proto_init() } +func file_api_common_v1_message_proto_init() { + if File_api_common_v1_message_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_api_common_v1_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Region); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ReplicaStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ReplicaStatus: illegal tag %d (wire type %d)", fieldNum, wire) } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Region == nil { - m.Region = &RegionID{} - } - if err := m.Region.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ToBeReplicatedWorkflowCount", wireType) - } - m.ToBeReplicatedWorkflowCount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ToBeReplicatedWorkflowCount |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplicatedWorkflowCount", wireType) - } - m.ReplicatedWorkflowCount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ReplicatedWorkflowCount |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EstimatedCompletionDuration", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.EstimatedCompletionDuration == nil { - m.EstimatedCompletionDuration = &types.Duration{} - } - if err := m.EstimatedCompletionDuration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= ReplicaState(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType) - } - m.Mode = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Mode |= ReplicaMode(b&0x7F) << shift - if b < 0x80 { - break - } + file_api_common_v1_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegionID); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field HealthStatus", wireType) - } - m.HealthStatus = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.HealthStatus |= ReplicaHealthStatus(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipMessage(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF + file_api_common_v1_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReplicaStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthMessage - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupMessage - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthMessage - } - if depth == 0 { - return iNdEx, nil } } - return 0, io.ErrUnexpectedEOF + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_api_common_v1_message_proto_rawDesc, + NumEnums: 7, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_api_common_v1_message_proto_goTypes, + DependencyIndexes: file_api_common_v1_message_proto_depIdxs, + EnumInfos: file_api_common_v1_message_proto_enumTypes, + MessageInfos: file_api_common_v1_message_proto_msgTypes, + }.Build() + File_api_common_v1_message_proto = out.File + file_api_common_v1_message_proto_rawDesc = nil + file_api_common_v1_message_proto_goTypes = nil + file_api_common_v1_message_proto_depIdxs = nil } - -var ( - ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowMessage = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group") -) diff --git a/protogen/api/namespace/v1/message.pb.go b/protogen/api/namespace/v1/message.pb.go index 961d93f7..2e0e8bc8 100644 --- a/protogen/api/namespace/v1/message.pb.go +++ b/protogen/api/namespace/v1/message.pb.go @@ -1,35 +1,35 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: api/namespace/v1/message.proto package namespace import ( - fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - reflect "reflect" - strconv "strconv" - strings "strings" - - proto "github.com/gogo/protobuf/proto" - github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" - types "github.com/gogo/protobuf/types" - descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" - v11 "github.com/temporalio/tcld/protogen/api/cloud/connectivityrule/v1" + proto "github.com/golang/protobuf/proto" v1 "github.com/temporalio/tcld/protogen/api/common/v1" + v11 "github.com/temporalio/tcld/protogen/api/cloud/connectivityrule/v1" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + descriptorpb "google.golang.org/protobuf/types/descriptorpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" + reflect "reflect" + "strconv" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type SearchAttributeType int32 @@ -44,30 +44,75 @@ const ( SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST SearchAttributeType = 7 ) -var SearchAttributeType_name = map[int32]string{ - 0: "Unspecified", - 1: "Keyword", - 2: "Text", - 3: "Int", - 4: "Double", - 5: "Datetime", - 6: "Bool", - 7: "KeywordList", +// Enum value maps for SearchAttributeType. +var ( + SearchAttributeType_name = map[int32]string{ + 0: "SearchAttributeTypeUnspecified", + 1: "SearchAttributeTypeKeyword", + 2: "SearchAttributeTypeText", + 3: "SearchAttributeTypeInt", + 4: "SearchAttributeTypeDouble", + 5: "SearchAttributeTypeDatetime", + 6: "SearchAttributeTypeBool", + 7: "SearchAttributeTypeKeywordList", + } + SearchAttributeType_value = map[string]int32{ + "SearchAttributeTypeUnspecified": 0, + "SearchAttributeTypeKeyword": 1, + "SearchAttributeTypeText": 2, + "SearchAttributeTypeInt": 3, + "SearchAttributeTypeDouble": 4, + "SearchAttributeTypeDatetime": 5, + "SearchAttributeTypeBool": 6, + "SearchAttributeTypeKeywordList": 7, + } +) + +func (x SearchAttributeType) Enum() *SearchAttributeType { + p := new(SearchAttributeType) + *p = x + return p +} + +func (x SearchAttributeType) String() string { + switch x { + case SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED: + return "Unspecified" + case SEARCH_ATTRIBUTE_TYPE_KEYWORD: + return "Keyword" + case SEARCH_ATTRIBUTE_TYPE_TEXT: + return "Text" + case SEARCH_ATTRIBUTE_TYPE_INT: + return "Int" + case SEARCH_ATTRIBUTE_TYPE_DOUBLE: + return "Double" + case SEARCH_ATTRIBUTE_TYPE_DATETIME: + return "Datetime" + case SEARCH_ATTRIBUTE_TYPE_BOOL: + return "Bool" + case SEARCH_ATTRIBUTE_TYPE_KEYWORD_LIST: + return "KeywordList" + default: + return strconv.Itoa(int(x)) + } + } -var SearchAttributeType_value = map[string]int32{ - "Unspecified": 0, - "Keyword": 1, - "Text": 2, - "Int": 3, - "Double": 4, - "Datetime": 5, - "Bool": 6, - "KeywordList": 7, +func (SearchAttributeType) Descriptor() protoreflect.EnumDescriptor { + return file_api_namespace_v1_message_proto_enumTypes[0].Descriptor() } +func (SearchAttributeType) Type() protoreflect.EnumType { + return &file_api_namespace_v1_message_proto_enumTypes[0] +} + +func (x SearchAttributeType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use SearchAttributeType.Descriptor instead. func (SearchAttributeType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_56458b48206aa18d, []int{0} + return file_api_namespace_v1_message_proto_rawDescGZIP(), []int{0} } type State int32 @@ -87,38 +132,93 @@ const ( STATE_SUSPENDED State = 11 ) -var State_name = map[int32]string{ - 0: "Unspecified", - 1: "Activating", - 2: "ActivationFailed", - 3: "Active", - 4: "Updating", - 5: "UpdateFailed", - 6: "Deleting", - 7: "DeleteFailed", - 8: "Deleted", - 9: "Suspending", - 10: "SuspendFailed", - 11: "Suspended", -} - -var State_value = map[string]int32{ - "Unspecified": 0, - "Activating": 1, - "ActivationFailed": 2, - "Active": 3, - "Updating": 4, - "UpdateFailed": 5, - "Deleting": 6, - "DeleteFailed": 7, - "Deleted": 8, - "Suspending": 9, - "SuspendFailed": 10, - "Suspended": 11, +// Enum value maps for State. +var ( + State_name = map[int32]string{ + 0: "StateUnspecified", + 1: "StateActivating", + 2: "StateActivationFailed", + 3: "StateActive", + 4: "StateUpdating", + 5: "StateUpdateFailed", + 6: "StateDeleting", + 7: "StateDeleteFailed", + 8: "StateDeleted", + 9: "StateSuspending", + 10: "StateSuspendFailed", + 11: "StateSuspended", + } + State_value = map[string]int32{ + "StateUnspecified": 0, + "StateActivating": 1, + "StateActivationFailed": 2, + "StateActive": 3, + "StateUpdating": 4, + "StateUpdateFailed": 5, + "StateDeleting": 6, + "StateDeleteFailed": 7, + "StateDeleted": 8, + "StateSuspending": 9, + "StateSuspendFailed": 10, + "StateSuspended": 11, + } +) + +func (x State) Enum() *State { + p := new(State) + *p = x + return p +} + +func (x State) String() string { + switch x { + case STATE_UNSPECIFIED: + return "Unspecified" + case STATE_ACTIVATING: + return "Activating" + case STATE_ACTIVATION_FAILED: + return "ActivationFailed" + case STATE_ACTIVE: + return "Active" + case STATE_UPDATING: + return "Updating" + case STATE_UPDATE_FAILED: + return "UpdateFailed" + case STATE_DELETING: + return "Deleting" + case STATE_DELETE_FAILED: + return "DeleteFailed" + case STATE_DELETED: + return "Deleted" + case STATE_SUSPENDING: + return "Suspending" + case + + // Deprecated: Use State.Descriptor instead. + STATE_SUSPEND_FAILED: + return "SuspendFailed" + case STATE_SUSPENDED: + return "Suspended" + default: + return strconv.Itoa(int(x)) + } + +} + +func (State) Descriptor() protoreflect.EnumDescriptor { + return file_api_namespace_v1_message_proto_enumTypes[1].Descriptor() +} + +func (State) Type() protoreflect.EnumType { + return &file_api_namespace_v1_message_proto_enumTypes[1] +} + +func (x State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } func (State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_56458b48206aa18d, []int{1} + return file_api_namespace_v1_message_proto_rawDescGZIP(), []int{1} } type Environment int32 @@ -130,22 +230,59 @@ const ( ENVIRONMENT_PROD Environment = 3 ) -var Environment_name = map[int32]string{ - 0: "Unspecified", - 1: "Dev", - 2: "Test", - 3: "Prod", +// Enum value maps for Environment. +var ( + Environment_name = map[int32]string{ + 0: "EnvironmentUnspecified", + 1: "EnvironmentDev", + 2: "EnvironmentTest", + 3: "EnvironmentProd", + } + Environment_value = map[string]int32{ + "EnvironmentUnspecified": 0, + "EnvironmentDev": 1, + "EnvironmentTest": 2, + "EnvironmentProd": 3, + } +) + +func (x Environment) Enum() *Environment { + p := new(Environment) + *p = x + return p +} + +func (x Environment) String() string { + switch x { + case ENVIRONMENT_UNSPECIFIED: + return "Unspecified" + case ENVIRONMENT_DEV: + return "Dev" + case ENVIRONMENT_TEST: + return "Test" + case ENVIRONMENT_PROD: + return "Prod" + default: + return strconv.Itoa(int(x)) + } + +} + +func (Environment) Descriptor() protoreflect.EnumDescriptor { + return file_api_namespace_v1_message_proto_enumTypes[2].Descriptor() +} + +func (Environment) Type() protoreflect.EnumType { + return &file_api_namespace_v1_message_proto_enumTypes[2] } -var Environment_value = map[string]int32{ - "Unspecified": 0, - "Dev": 1, - "Test": 2, - "Prod": 3, +func (x Environment) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use Environment.Descriptor instead. func (Environment) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_56458b48206aa18d, []int{2} + return file_api_namespace_v1_message_proto_rawDescGZIP(), []int{2} } type AuthMethod int32 @@ -158,27 +295,70 @@ const ( AUTH_METHOD_API_KEY_OR_MTLS AuthMethod = 4 ) -var AuthMethod_name = map[int32]string{ - 0: "Unspecified", - 1: "Restricted", - 2: "Mtls", - 3: "ApiKey", - 4: "ApiKeyOrMtls", +// Enum value maps for AuthMethod. +var ( + AuthMethod_name = map[int32]string{ + 0: "AuthMethodUnspecified", + 1: "AuthMethodRestricted", + 2: "AuthMethodMtls", + 3: "AuthMethodApiKey", + 4: "AuthMethodApiKeyOrMtls", + } + AuthMethod_value = map[string]int32{ + "AuthMethodUnspecified": 0, + "AuthMethodRestricted": 1, + "AuthMethodMtls": 2, + "AuthMethodApiKey": 3, + "AuthMethodApiKeyOrMtls": 4, + } +) + +func (x AuthMethod) Enum() *AuthMethod { + p := new(AuthMethod) + *p = x + return p +} + +func (x AuthMethod) String() string { + switch x { + case AUTH_METHOD_UNSPECIFIED: + return "Unspecified" + case AUTH_METHOD_RESTRICTED: + return "Restricted" + case AUTH_METHOD_MTLS: + return "Mtls" + case AUTH_METHOD_API_KEY: + return "ApiKey" + case AUTH_METHOD_API_KEY_OR_MTLS: + return "ApiKeyOrMtls" + default: + return strconv.Itoa(int(x)) + } + +} + +func (AuthMethod) Descriptor() protoreflect.EnumDescriptor { + return file_api_namespace_v1_message_proto_enumTypes[3].Descriptor() } -var AuthMethod_value = map[string]int32{ - "Unspecified": 0, - "Restricted": 1, - "Mtls": 2, - "ApiKey": 3, - "ApiKeyOrMtls": 4, +func (AuthMethod) Type() protoreflect.EnumType { + return &file_api_namespace_v1_message_proto_enumTypes[3] } +func (x AuthMethod) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AuthMethod.Descriptor instead. func (AuthMethod) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_56458b48206aa18d, []int{3} + return file_api_namespace_v1_message_proto_rawDescGZIP(), []int{3} } type NamespaceSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the base64 encoded ca cert(s) that the clients can use for authentication and authorization AcceptedClientCa string `protobuf:"bytes,2,opt,name=accepted_client_ca,json=acceptedClientCa,proto3" json:"accepted_client_ca,omitempty"` // the num of days the workflows' data will be retained for @@ -194,7 +374,9 @@ type NamespaceSpec struct { // codec server property spec needed for user to set and retrieve CodecSpec *CodecServerPropertySpec `protobuf:"bytes,8,opt,name=codec_spec,json=codecSpec,proto3" json:"codec_spec,omitempty"` // the regions where the namespace is (or will be) located - PassiveRegions []string `protobuf:"bytes,9,rep,name=passive_regions,json=passiveRegions,proto3" json:"passive_regions,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + PassiveRegions []string `protobuf:"bytes,9,rep,name=passive_regions,json=passiveRegions,proto3" json:"passive_regions,omitempty"` // the authentication method(s) configured for the namespace. AuthMethod AuthMethod `protobuf:"varint,13,opt,name=auth_method,json=authMethod,proto3,enum=api.namespace.v1.AuthMethod" json:"auth_method,omitempty"` // use the new region id for region and cloud provider @@ -212,219 +394,231 @@ type NamespaceSpec struct { ConnectivityRuleIds []string `protobuf:"bytes,18,rep,name=connectivity_rule_ids,json=connectivityRuleIds,proto3" json:"connectivity_rule_ids,omitempty"` } -func (m *NamespaceSpec) Reset() { *m = NamespaceSpec{} } -func (*NamespaceSpec) ProtoMessage() {} -func (*NamespaceSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_56458b48206aa18d, []int{0} -} -func (m *NamespaceSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NamespaceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NamespaceSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NamespaceSpec) Reset() { + *x = NamespaceSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespace_v1_message_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NamespaceSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamespaceSpec.Merge(m, src) -} -func (m *NamespaceSpec) XXX_Size() int { - return m.Size() + +func (x *NamespaceSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NamespaceSpec) XXX_DiscardUnknown() { - xxx_messageInfo_NamespaceSpec.DiscardUnknown(m) + +func (*NamespaceSpec) ProtoMessage() {} + +func (x *NamespaceSpec) ProtoReflect() protoreflect.Message { + mi := &file_api_namespace_v1_message_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NamespaceSpec proto.InternalMessageInfo +// Deprecated: Use NamespaceSpec.ProtoReflect.Descriptor instead. +func (*NamespaceSpec) Descriptor() ([]byte, []int) { + return file_api_namespace_v1_message_proto_rawDescGZIP(), []int{0} +} -func (m *NamespaceSpec) GetAcceptedClientCa() string { - if m != nil { - return m.AcceptedClientCa +func (x *NamespaceSpec) GetAcceptedClientCa() string { + if x != nil { + return x.AcceptedClientCa } return "" } -func (m *NamespaceSpec) GetRetentionDays() int32 { - if m != nil { - return m.RetentionDays +func (x *NamespaceSpec) GetRetentionDays() int32 { + if x != nil { + return x.RetentionDays } return 0 } -func (m *NamespaceSpec) GetSearchAttributes() map[string]SearchAttributeType { - if m != nil { - return m.SearchAttributes +func (x *NamespaceSpec) GetSearchAttributes() map[string]SearchAttributeType { + if x != nil { + return x.SearchAttributes } return nil } -func (m *NamespaceSpec) GetCertificateFilters() []*CertificateFilterSpec { - if m != nil { - return m.CertificateFilters +func (x *NamespaceSpec) GetCertificateFilters() []*CertificateFilterSpec { + if x != nil { + return x.CertificateFilters } return nil } -func (m *NamespaceSpec) GetEnvironment() Environment { - if m != nil { - return m.Environment +func (x *NamespaceSpec) GetEnvironment() Environment { + if x != nil { + return x.Environment } return ENVIRONMENT_UNSPECIFIED } -func (m *NamespaceSpec) GetCodecSpec() *CodecServerPropertySpec { - if m != nil { - return m.CodecSpec +func (x *NamespaceSpec) GetCodecSpec() *CodecServerPropertySpec { + if x != nil { + return x.CodecSpec } return nil } // Deprecated: Do not use. -func (m *NamespaceSpec) GetPassiveRegions() []string { - if m != nil { - return m.PassiveRegions +func (x *NamespaceSpec) GetPassiveRegions() []string { + if x != nil { + return x.PassiveRegions } return nil } -func (m *NamespaceSpec) GetAuthMethod() AuthMethod { - if m != nil { - return m.AuthMethod +func (x *NamespaceSpec) GetAuthMethod() AuthMethod { + if x != nil { + return x.AuthMethod } return AUTH_METHOD_UNSPECIFIED } -func (m *NamespaceSpec) GetRegionId() *v1.RegionID { - if m != nil { - return m.RegionId +func (x *NamespaceSpec) GetRegionId() *v1.RegionID { + if x != nil { + return x.RegionId } return nil } -func (m *NamespaceSpec) GetLifecycle() *LifecycleSpec { - if m != nil { - return m.Lifecycle +func (x *NamespaceSpec) GetLifecycle() *LifecycleSpec { + if x != nil { + return x.Lifecycle } return nil } -func (m *NamespaceSpec) GetHighAvailability() *HighAvailabilitySpec { - if m != nil { - return m.HighAvailability +func (x *NamespaceSpec) GetHighAvailability() *HighAvailabilitySpec { + if x != nil { + return x.HighAvailability } return nil } -func (m *NamespaceSpec) GetPassiveRegionIds() []*v1.RegionID { - if m != nil { - return m.PassiveRegionIds +func (x *NamespaceSpec) GetPassiveRegionIds() []*v1.RegionID { + if x != nil { + return x.PassiveRegionIds } return nil } -func (m *NamespaceSpec) GetConnectivityRuleIds() []string { - if m != nil { - return m.ConnectivityRuleIds +func (x *NamespaceSpec) GetConnectivityRuleIds() []string { + if x != nil { + return x.ConnectivityRuleIds } return nil } type HighAvailabilitySpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Flag to disable managed failover for the namespace. DisableManagedFailover bool `protobuf:"varint,1,opt,name=disable_managed_failover,json=disableManagedFailover,proto3" json:"disable_managed_failover,omitempty"` } -func (m *HighAvailabilitySpec) Reset() { *m = HighAvailabilitySpec{} } -func (*HighAvailabilitySpec) ProtoMessage() {} -func (*HighAvailabilitySpec) Descriptor() ([]byte, []int) { - return fileDescriptor_56458b48206aa18d, []int{1} -} -func (m *HighAvailabilitySpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *HighAvailabilitySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_HighAvailabilitySpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *HighAvailabilitySpec) Reset() { + *x = HighAvailabilitySpec{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespace_v1_message_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *HighAvailabilitySpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_HighAvailabilitySpec.Merge(m, src) -} -func (m *HighAvailabilitySpec) XXX_Size() int { - return m.Size() + +func (x *HighAvailabilitySpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HighAvailabilitySpec) XXX_DiscardUnknown() { - xxx_messageInfo_HighAvailabilitySpec.DiscardUnknown(m) + +func (*HighAvailabilitySpec) ProtoMessage() {} + +func (x *HighAvailabilitySpec) ProtoReflect() protoreflect.Message { + mi := &file_api_namespace_v1_message_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_HighAvailabilitySpec proto.InternalMessageInfo +// Deprecated: Use HighAvailabilitySpec.ProtoReflect.Descriptor instead. +func (*HighAvailabilitySpec) Descriptor() ([]byte, []int) { + return file_api_namespace_v1_message_proto_rawDescGZIP(), []int{1} +} -func (m *HighAvailabilitySpec) GetDisableManagedFailover() bool { - if m != nil { - return m.DisableManagedFailover +func (x *HighAvailabilitySpec) GetDisableManagedFailover() bool { + if x != nil { + return x.DisableManagedFailover } return false } type LifecycleSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Flag to enable delete protection for the namespace. EnableDeleteProtection bool `protobuf:"varint,1,opt,name=enable_delete_protection,json=enableDeleteProtection,proto3" json:"enable_delete_protection,omitempty"` } -func (m *LifecycleSpec) Reset() { *m = LifecycleSpec{} } -func (*LifecycleSpec) ProtoMessage() {} -func (*LifecycleSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_56458b48206aa18d, []int{2} -} -func (m *LifecycleSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *LifecycleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_LifecycleSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *LifecycleSpec) Reset() { + *x = LifecycleSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespace_v1_message_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *LifecycleSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_LifecycleSpec.Merge(m, src) -} -func (m *LifecycleSpec) XXX_Size() int { - return m.Size() + +func (x *LifecycleSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LifecycleSpec) XXX_DiscardUnknown() { - xxx_messageInfo_LifecycleSpec.DiscardUnknown(m) + +func (*LifecycleSpec) ProtoMessage() {} + +func (x *LifecycleSpec) ProtoReflect() protoreflect.Message { + mi := &file_api_namespace_v1_message_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_LifecycleSpec proto.InternalMessageInfo +// Deprecated: Use LifecycleSpec.ProtoReflect.Descriptor instead. +func (*LifecycleSpec) Descriptor() ([]byte, []int) { + return file_api_namespace_v1_message_proto_rawDescGZIP(), []int{2} +} -func (m *LifecycleSpec) GetEnableDeleteProtection() bool { - if m != nil { - return m.EnableDeleteProtection +func (x *LifecycleSpec) GetEnableDeleteProtection() bool { + if x != nil { + return x.EnableDeleteProtection } return false } type CodecServerPropertySpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // server endpoints Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // whether to pass access token, i.e. jwt @@ -435,165 +629,64 @@ type CodecServerPropertySpec struct { CustomErrorMessage *CodecServerPropertySpec_CustomErrorMessage `protobuf:"bytes,4,opt,name=custom_error_message,json=customErrorMessage,proto3" json:"custom_error_message,omitempty"` } -func (m *CodecServerPropertySpec) Reset() { *m = CodecServerPropertySpec{} } -func (*CodecServerPropertySpec) ProtoMessage() {} -func (*CodecServerPropertySpec) Descriptor() ([]byte, []int) { - return fileDescriptor_56458b48206aa18d, []int{3} -} -func (m *CodecServerPropertySpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CodecServerPropertySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CodecServerPropertySpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *CodecServerPropertySpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_CodecServerPropertySpec.Merge(m, src) -} -func (m *CodecServerPropertySpec) XXX_Size() int { - return m.Size() -} -func (m *CodecServerPropertySpec) XXX_DiscardUnknown() { - xxx_messageInfo_CodecServerPropertySpec.DiscardUnknown(m) -} - -var xxx_messageInfo_CodecServerPropertySpec proto.InternalMessageInfo - -func (m *CodecServerPropertySpec) GetEndpoint() string { - if m != nil { - return m.Endpoint - } - return "" -} - -func (m *CodecServerPropertySpec) GetPassAccessToken() bool { - if m != nil { - return m.PassAccessToken - } - return false -} - -func (m *CodecServerPropertySpec) GetIncludeCredentials() bool { - if m != nil { - return m.IncludeCredentials +func (x *CodecServerPropertySpec) Reset() { + *x = CodecServerPropertySpec{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespace_v1_message_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return false } -func (m *CodecServerPropertySpec) GetCustomErrorMessage() *CodecServerPropertySpec_CustomErrorMessage { - if m != nil { - return m.CustomErrorMessage - } - return nil +func (x *CodecServerPropertySpec) String() string { + return protoimpl.X.MessageStringOf(x) } -type CodecServerPropertySpec_CustomErrorMessage struct { - // The error message to display by default for any remote codec server errors. - Default *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage `protobuf:"bytes,1,opt,name=default,proto3" json:"default,omitempty"` -} +func (*CodecServerPropertySpec) ProtoMessage() {} -func (m *CodecServerPropertySpec_CustomErrorMessage) Reset() { - *m = CodecServerPropertySpec_CustomErrorMessage{} -} -func (*CodecServerPropertySpec_CustomErrorMessage) ProtoMessage() {} -func (*CodecServerPropertySpec_CustomErrorMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_56458b48206aa18d, []int{3, 0} -} -func (m *CodecServerPropertySpec_CustomErrorMessage) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CodecServerPropertySpec_CustomErrorMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CodecServerPropertySpec_CustomErrorMessage.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (x *CodecServerPropertySpec) ProtoReflect() protoreflect.Message { + mi := &file_api_namespace_v1_message_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *CodecServerPropertySpec_CustomErrorMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_CodecServerPropertySpec_CustomErrorMessage.Merge(m, src) -} -func (m *CodecServerPropertySpec_CustomErrorMessage) XXX_Size() int { - return m.Size() -} -func (m *CodecServerPropertySpec_CustomErrorMessage) XXX_DiscardUnknown() { - xxx_messageInfo_CodecServerPropertySpec_CustomErrorMessage.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_CodecServerPropertySpec_CustomErrorMessage proto.InternalMessageInfo - -func (m *CodecServerPropertySpec_CustomErrorMessage) GetDefault() *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage { - if m != nil { - return m.Default - } - return nil +// Deprecated: Use CodecServerPropertySpec.ProtoReflect.Descriptor instead. +func (*CodecServerPropertySpec) Descriptor() ([]byte, []int) { + return file_api_namespace_v1_message_proto_rawDescGZIP(), []int{3} } -type CodecServerPropertySpec_CustomErrorMessage_ErrorMessage struct { - // A message to display. - Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` - // A link that is displayed along side the configured message. - Link string `protobuf:"bytes,2,opt,name=link,proto3" json:"link,omitempty"` +func (x *CodecServerPropertySpec) GetEndpoint() string { + if x != nil { + return x.Endpoint + } + return "" } -func (m *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) Reset() { - *m = CodecServerPropertySpec_CustomErrorMessage_ErrorMessage{} -} -func (*CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) ProtoMessage() {} -func (*CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_56458b48206aa18d, []int{3, 0, 0} -} -func (m *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CodecServerPropertySpec_CustomErrorMessage_ErrorMessage.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CodecServerPropertySpec) GetPassAccessToken() bool { + if x != nil { + return x.PassAccessToken } + return false } -func (m *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) XXX_Merge(src proto.Message) { - xxx_messageInfo_CodecServerPropertySpec_CustomErrorMessage_ErrorMessage.Merge(m, src) -} -func (m *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) XXX_Size() int { - return m.Size() -} -func (m *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) XXX_DiscardUnknown() { - xxx_messageInfo_CodecServerPropertySpec_CustomErrorMessage_ErrorMessage.DiscardUnknown(m) -} - -var xxx_messageInfo_CodecServerPropertySpec_CustomErrorMessage_ErrorMessage proto.InternalMessageInfo -func (m *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) GetMessage() string { - if m != nil { - return m.Message +func (x *CodecServerPropertySpec) GetIncludeCredentials() bool { + if x != nil { + return x.IncludeCredentials } - return "" + return false } -func (m *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) GetLink() string { - if m != nil { - return m.Link +func (x *CodecServerPropertySpec) GetCustomErrorMessage() *CodecServerPropertySpec_CustomErrorMessage { + if x != nil { + return x.CustomErrorMessage } - return "" + return nil } // a filter matches a certificate if the specified fields on the filter match the corresponding @@ -601,6 +694,10 @@ func (m *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) GetLink() stri // by the server. A field is either an exact string match, a prefix match (field starts with '*') or a // suffix match (field ends with a '*') type CertificateFilterSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // (-- api-linter: core::0122::name-suffix=disabled --) CommonName string `protobuf:"bytes,1,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"` Organization string `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"` @@ -609,67 +706,71 @@ type CertificateFilterSpec struct { SubjectAlternativeName string `protobuf:"bytes,4,opt,name=subject_alternative_name,json=subjectAlternativeName,proto3" json:"subject_alternative_name,omitempty"` } -func (m *CertificateFilterSpec) Reset() { *m = CertificateFilterSpec{} } -func (*CertificateFilterSpec) ProtoMessage() {} -func (*CertificateFilterSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_56458b48206aa18d, []int{4} -} -func (m *CertificateFilterSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CertificateFilterSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CertificateFilterSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CertificateFilterSpec) Reset() { + *x = CertificateFilterSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespace_v1_message_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CertificateFilterSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_CertificateFilterSpec.Merge(m, src) -} -func (m *CertificateFilterSpec) XXX_Size() int { - return m.Size() + +func (x *CertificateFilterSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CertificateFilterSpec) XXX_DiscardUnknown() { - xxx_messageInfo_CertificateFilterSpec.DiscardUnknown(m) + +func (*CertificateFilterSpec) ProtoMessage() {} + +func (x *CertificateFilterSpec) ProtoReflect() protoreflect.Message { + mi := &file_api_namespace_v1_message_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CertificateFilterSpec proto.InternalMessageInfo +// Deprecated: Use CertificateFilterSpec.ProtoReflect.Descriptor instead. +func (*CertificateFilterSpec) Descriptor() ([]byte, []int) { + return file_api_namespace_v1_message_proto_rawDescGZIP(), []int{4} +} -func (m *CertificateFilterSpec) GetCommonName() string { - if m != nil { - return m.CommonName +func (x *CertificateFilterSpec) GetCommonName() string { + if x != nil { + return x.CommonName } return "" } -func (m *CertificateFilterSpec) GetOrganization() string { - if m != nil { - return m.Organization +func (x *CertificateFilterSpec) GetOrganization() string { + if x != nil { + return x.Organization } return "" } -func (m *CertificateFilterSpec) GetOrganizationalUnit() string { - if m != nil { - return m.OrganizationalUnit +func (x *CertificateFilterSpec) GetOrganizationalUnit() string { + if x != nil { + return x.OrganizationalUnit } return "" } -func (m *CertificateFilterSpec) GetSubjectAlternativeName() string { - if m != nil { - return m.SubjectAlternativeName +func (x *CertificateFilterSpec) GetSubjectAlternativeName() string { + if x != nil { + return x.SubjectAlternativeName } return "" } type NamespaceURI struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the web ui address Web string `protobuf:"bytes,1,opt,name=web,proto3" json:"web,omitempty"` // the per namespace grpc address @@ -682,161 +783,169 @@ type NamespaceURI struct { PassiveRegionalGrpcAddresses []string `protobuf:"bytes,5,rep,name=passive_regional_grpc_addresses,json=passiveRegionalGrpcAddresses,proto3" json:"passive_regional_grpc_addresses,omitempty"` } -func (m *NamespaceURI) Reset() { *m = NamespaceURI{} } -func (*NamespaceURI) ProtoMessage() {} -func (*NamespaceURI) Descriptor() ([]byte, []int) { - return fileDescriptor_56458b48206aa18d, []int{5} -} -func (m *NamespaceURI) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NamespaceURI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NamespaceURI.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NamespaceURI) Reset() { + *x = NamespaceURI{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespace_v1_message_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NamespaceURI) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamespaceURI.Merge(m, src) -} -func (m *NamespaceURI) XXX_Size() int { - return m.Size() + +func (x *NamespaceURI) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NamespaceURI) XXX_DiscardUnknown() { - xxx_messageInfo_NamespaceURI.DiscardUnknown(m) + +func (*NamespaceURI) ProtoMessage() {} + +func (x *NamespaceURI) ProtoReflect() protoreflect.Message { + mi := &file_api_namespace_v1_message_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NamespaceURI proto.InternalMessageInfo +// Deprecated: Use NamespaceURI.ProtoReflect.Descriptor instead. +func (*NamespaceURI) Descriptor() ([]byte, []int) { + return file_api_namespace_v1_message_proto_rawDescGZIP(), []int{5} +} -func (m *NamespaceURI) GetWeb() string { - if m != nil { - return m.Web +func (x *NamespaceURI) GetWeb() string { + if x != nil { + return x.Web } return "" } -func (m *NamespaceURI) GetGrpc() string { - if m != nil { - return m.Grpc +func (x *NamespaceURI) GetGrpc() string { + if x != nil { + return x.Grpc } return "" } -func (m *NamespaceURI) GetVpcEndpointServiceNames() []string { - if m != nil { - return m.VpcEndpointServiceNames +func (x *NamespaceURI) GetVpcEndpointServiceNames() []string { + if x != nil { + return x.VpcEndpointServiceNames } return nil } -func (m *NamespaceURI) GetRegionalGrpc() string { - if m != nil { - return m.RegionalGrpc +func (x *NamespaceURI) GetRegionalGrpc() string { + if x != nil { + return x.RegionalGrpc } return "" } -func (m *NamespaceURI) GetPassiveRegionalGrpcAddresses() []string { - if m != nil { - return m.PassiveRegionalGrpcAddresses +func (x *NamespaceURI) GetPassiveRegionalGrpcAddresses() []string { + if x != nil { + return x.PassiveRegionalGrpcAddresses } return nil } type NamespaceEnvelope struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the namespace may be throttled if its APS exceeds the limit - ActionsPerSecondLimit *types.Int32Value `protobuf:"bytes,4,opt,name=actions_per_second_limit,json=actionsPerSecondLimit,proto3" json:"actions_per_second_limit,omitempty"` + ActionsPerSecondLimit *wrapperspb.Int32Value `protobuf:"bytes,4,opt,name=actions_per_second_limit,json=actionsPerSecondLimit,proto3" json:"actions_per_second_limit,omitempty"` // if set, this amount of APS was being throttled - ThrottledActionsPerSecond *types.Int32Value `protobuf:"bytes,5,opt,name=throttled_actions_per_second,json=throttledActionsPerSecond,proto3" json:"throttled_actions_per_second,omitempty"` + ThrottledActionsPerSecond *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=throttled_actions_per_second,json=throttledActionsPerSecond,proto3" json:"throttled_actions_per_second,omitempty"` // when the throttled APS was last updated - ThrottledActionsPerSecondLastUpdatedTime *types.Timestamp `protobuf:"bytes,6,opt,name=throttled_actions_per_second_last_updated_time,json=throttledActionsPerSecondLastUpdatedTime,proto3" json:"throttled_actions_per_second_last_updated_time,omitempty"` + ThrottledActionsPerSecondLastUpdatedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=throttled_actions_per_second_last_updated_time,json=throttledActionsPerSecondLastUpdatedTime,proto3" json:"throttled_actions_per_second_last_updated_time,omitempty"` // Similar to above, but for frontend RPS. - FrontendRpsLimit *types.Int32Value `protobuf:"bytes,7,opt,name=frontend_rps_limit,json=frontendRpsLimit,proto3" json:"frontend_rps_limit,omitempty"` - ThrottledFrontendRps *types.Int32Value `protobuf:"bytes,8,opt,name=throttled_frontend_rps,json=throttledFrontendRps,proto3" json:"throttled_frontend_rps,omitempty"` - ThrottledFrontendRpsLastUpdatedTime *types.Timestamp `protobuf:"bytes,9,opt,name=throttled_frontend_rps_last_updated_time,json=throttledFrontendRpsLastUpdatedTime,proto3" json:"throttled_frontend_rps_last_updated_time,omitempty"` + FrontendRpsLimit *wrapperspb.Int32Value `protobuf:"bytes,7,opt,name=frontend_rps_limit,json=frontendRpsLimit,proto3" json:"frontend_rps_limit,omitempty"` + ThrottledFrontendRps *wrapperspb.Int32Value `protobuf:"bytes,8,opt,name=throttled_frontend_rps,json=throttledFrontendRps,proto3" json:"throttled_frontend_rps,omitempty"` + ThrottledFrontendRpsLastUpdatedTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=throttled_frontend_rps_last_updated_time,json=throttledFrontendRpsLastUpdatedTime,proto3" json:"throttled_frontend_rps_last_updated_time,omitempty"` } -func (m *NamespaceEnvelope) Reset() { *m = NamespaceEnvelope{} } -func (*NamespaceEnvelope) ProtoMessage() {} -func (*NamespaceEnvelope) Descriptor() ([]byte, []int) { - return fileDescriptor_56458b48206aa18d, []int{6} -} -func (m *NamespaceEnvelope) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NamespaceEnvelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NamespaceEnvelope.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NamespaceEnvelope) Reset() { + *x = NamespaceEnvelope{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespace_v1_message_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NamespaceEnvelope) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamespaceEnvelope.Merge(m, src) -} -func (m *NamespaceEnvelope) XXX_Size() int { - return m.Size() + +func (x *NamespaceEnvelope) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NamespaceEnvelope) XXX_DiscardUnknown() { - xxx_messageInfo_NamespaceEnvelope.DiscardUnknown(m) + +func (*NamespaceEnvelope) ProtoMessage() {} + +func (x *NamespaceEnvelope) ProtoReflect() protoreflect.Message { + mi := &file_api_namespace_v1_message_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NamespaceEnvelope proto.InternalMessageInfo +// Deprecated: Use NamespaceEnvelope.ProtoReflect.Descriptor instead. +func (*NamespaceEnvelope) Descriptor() ([]byte, []int) { + return file_api_namespace_v1_message_proto_rawDescGZIP(), []int{6} +} -func (m *NamespaceEnvelope) GetActionsPerSecondLimit() *types.Int32Value { - if m != nil { - return m.ActionsPerSecondLimit +func (x *NamespaceEnvelope) GetActionsPerSecondLimit() *wrapperspb.Int32Value { + if x != nil { + return x.ActionsPerSecondLimit } return nil } -func (m *NamespaceEnvelope) GetThrottledActionsPerSecond() *types.Int32Value { - if m != nil { - return m.ThrottledActionsPerSecond +func (x *NamespaceEnvelope) GetThrottledActionsPerSecond() *wrapperspb.Int32Value { + if x != nil { + return x.ThrottledActionsPerSecond } return nil } -func (m *NamespaceEnvelope) GetThrottledActionsPerSecondLastUpdatedTime() *types.Timestamp { - if m != nil { - return m.ThrottledActionsPerSecondLastUpdatedTime +func (x *NamespaceEnvelope) GetThrottledActionsPerSecondLastUpdatedTime() *timestamppb.Timestamp { + if x != nil { + return x.ThrottledActionsPerSecondLastUpdatedTime } return nil } -func (m *NamespaceEnvelope) GetFrontendRpsLimit() *types.Int32Value { - if m != nil { - return m.FrontendRpsLimit +func (x *NamespaceEnvelope) GetFrontendRpsLimit() *wrapperspb.Int32Value { + if x != nil { + return x.FrontendRpsLimit } return nil } -func (m *NamespaceEnvelope) GetThrottledFrontendRps() *types.Int32Value { - if m != nil { - return m.ThrottledFrontendRps +func (x *NamespaceEnvelope) GetThrottledFrontendRps() *wrapperspb.Int32Value { + if x != nil { + return x.ThrottledFrontendRps } return nil } -func (m *NamespaceEnvelope) GetThrottledFrontendRpsLastUpdatedTime() *types.Timestamp { - if m != nil { - return m.ThrottledFrontendRpsLastUpdatedTime +func (x *NamespaceEnvelope) GetThrottledFrontendRpsLastUpdatedTime() *timestamppb.Timestamp { + if x != nil { + return x.ThrottledFrontendRpsLastUpdatedTime } return nil } type NamespaceRegion struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // region id, including cloud provider RegionId *v1.RegionID `protobuf:"bytes,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` // the replica mode of the namespace in the region @@ -845,60 +954,64 @@ type NamespaceRegion struct { ReplicaState v1.ReplicaState `protobuf:"varint,3,opt,name=replica_state,json=replicaState,proto3,enum=api.common.v1.ReplicaState" json:"replica_state,omitempty"` } -func (m *NamespaceRegion) Reset() { *m = NamespaceRegion{} } -func (*NamespaceRegion) ProtoMessage() {} -func (*NamespaceRegion) Descriptor() ([]byte, []int) { - return fileDescriptor_56458b48206aa18d, []int{7} -} -func (m *NamespaceRegion) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NamespaceRegion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NamespaceRegion.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *NamespaceRegion) Reset() { + *x = NamespaceRegion{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespace_v1_message_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *NamespaceRegion) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamespaceRegion.Merge(m, src) -} -func (m *NamespaceRegion) XXX_Size() int { - return m.Size() + +func (x *NamespaceRegion) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NamespaceRegion) XXX_DiscardUnknown() { - xxx_messageInfo_NamespaceRegion.DiscardUnknown(m) + +func (*NamespaceRegion) ProtoMessage() {} + +func (x *NamespaceRegion) ProtoReflect() protoreflect.Message { + mi := &file_api_namespace_v1_message_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NamespaceRegion proto.InternalMessageInfo +// Deprecated: Use NamespaceRegion.ProtoReflect.Descriptor instead. +func (*NamespaceRegion) Descriptor() ([]byte, []int) { + return file_api_namespace_v1_message_proto_rawDescGZIP(), []int{7} +} -func (m *NamespaceRegion) GetRegionId() *v1.RegionID { - if m != nil { - return m.RegionId +func (x *NamespaceRegion) GetRegionId() *v1.RegionID { + if x != nil { + return x.RegionId } return nil } -func (m *NamespaceRegion) GetReplicaMode() v1.ReplicaMode { - if m != nil { - return m.ReplicaMode +func (x *NamespaceRegion) GetReplicaMode() v1.ReplicaMode { + if x != nil { + return x.ReplicaMode } return v1.REPLICA_MODE_UNSPECIFIED } -func (m *NamespaceRegion) GetReplicaState() v1.ReplicaState { - if m != nil { - return m.ReplicaState +func (x *NamespaceRegion) GetReplicaState() v1.ReplicaState { + if x != nil { + return x.ReplicaState } return v1.REPLICA_STATE_UNSPECIFIED } type Namespace struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the namespace Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // the current version of the namespace specification @@ -911,7 +1024,7 @@ type Namespace struct { // the id of the request that is creating/updating the namespace, if any RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // the date and time when the namespace was last modified - LastModifiedTime *types.Timestamp `protobuf:"bytes,6,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` + LastModifiedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"` // the web uri for the namespace Uri *NamespaceURI `protobuf:"bytes,7,opt,name=uri,proto3" json:"uri,omitempty"` // namespace envelope is a list of service level agreements (SLAs) that can be provided around a given namespace @@ -926,4744 +1039,794 @@ type Namespace struct { Tags map[string]string `protobuf:"bytes,15,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *Namespace) Reset() { *m = Namespace{} } -func (*Namespace) ProtoMessage() {} -func (*Namespace) Descriptor() ([]byte, []int) { - return fileDescriptor_56458b48206aa18d, []int{8} -} -func (m *Namespace) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Namespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Namespace.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *Namespace) Reset() { + *x = Namespace{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespace_v1_message_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *Namespace) XXX_Merge(src proto.Message) { - xxx_messageInfo_Namespace.Merge(m, src) -} -func (m *Namespace) XXX_Size() int { - return m.Size() + +func (x *Namespace) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Namespace) XXX_DiscardUnknown() { - xxx_messageInfo_Namespace.DiscardUnknown(m) + +func (*Namespace) ProtoMessage() {} + +func (x *Namespace) ProtoReflect() protoreflect.Message { + mi := &file_api_namespace_v1_message_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Namespace proto.InternalMessageInfo +// Deprecated: Use Namespace.ProtoReflect.Descriptor instead. +func (*Namespace) Descriptor() ([]byte, []int) { + return file_api_namespace_v1_message_proto_rawDescGZIP(), []int{8} +} -func (m *Namespace) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *Namespace) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *Namespace) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *Namespace) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *Namespace) GetSpec() *NamespaceSpec { - if m != nil { - return m.Spec +func (x *Namespace) GetSpec() *NamespaceSpec { + if x != nil { + return x.Spec } return nil } -func (m *Namespace) GetState() State { - if m != nil { - return m.State +func (x *Namespace) GetState() State { + if x != nil { + return x.State } return STATE_UNSPECIFIED } -func (m *Namespace) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *Namespace) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } -func (m *Namespace) GetLastModifiedTime() *types.Timestamp { - if m != nil { - return m.LastModifiedTime +func (x *Namespace) GetLastModifiedTime() *timestamppb.Timestamp { + if x != nil { + return x.LastModifiedTime } return nil } -func (m *Namespace) GetUri() *NamespaceURI { - if m != nil { - return m.Uri +func (x *Namespace) GetUri() *NamespaceURI { + if x != nil { + return x.Uri } return nil } -func (m *Namespace) GetEnvelope() *NamespaceEnvelope { - if m != nil { - return m.Envelope +func (x *Namespace) GetEnvelope() *NamespaceEnvelope { + if x != nil { + return x.Envelope } return nil } -func (m *Namespace) GetAllowedPrincipals() []string { - if m != nil { - return m.AllowedPrincipals +func (x *Namespace) GetAllowedPrincipals() []string { + if x != nil { + return x.AllowedPrincipals } return nil } -func (m *Namespace) GetRegions() []*NamespaceRegion { - if m != nil { - return m.Regions +func (x *Namespace) GetRegions() []*NamespaceRegion { + if x != nil { + return x.Regions } return nil } -func (m *Namespace) GetConnectivityRules() []*v11.ConnectivityRule { - if m != nil { - return m.ConnectivityRules +func (x *Namespace) GetConnectivityRules() []*v11.ConnectivityRule { + if x != nil { + return x.ConnectivityRules } return nil } -func (m *Namespace) GetTags() map[string]string { - if m != nil { - return m.Tags +func (x *Namespace) GetTags() map[string]string { + if x != nil { + return x.Tags } return nil } -var E_ApiVersion = &proto.ExtensionDesc{ - ExtendedType: (*descriptor.FileOptions)(nil), - ExtensionType: (*string)(nil), - Field: 52000, - Name: "api.namespace.v1.api_version", - Tag: "bytes,52000,opt,name=api_version", - Filename: "api/namespace/v1/message.proto", -} - -func init() { - proto.RegisterEnum("api.namespace.v1.SearchAttributeType", SearchAttributeType_name, SearchAttributeType_value) - proto.RegisterEnum("api.namespace.v1.State", State_name, State_value) - proto.RegisterEnum("api.namespace.v1.Environment", Environment_name, Environment_value) - proto.RegisterEnum("api.namespace.v1.AuthMethod", AuthMethod_name, AuthMethod_value) - proto.RegisterType((*NamespaceSpec)(nil), "api.namespace.v1.NamespaceSpec") - proto.RegisterMapType((map[string]SearchAttributeType)(nil), "api.namespace.v1.NamespaceSpec.SearchAttributesEntry") - proto.RegisterType((*HighAvailabilitySpec)(nil), "api.namespace.v1.HighAvailabilitySpec") - proto.RegisterType((*LifecycleSpec)(nil), "api.namespace.v1.LifecycleSpec") - proto.RegisterType((*CodecServerPropertySpec)(nil), "api.namespace.v1.CodecServerPropertySpec") - proto.RegisterType((*CodecServerPropertySpec_CustomErrorMessage)(nil), "api.namespace.v1.CodecServerPropertySpec.CustomErrorMessage") - proto.RegisterType((*CodecServerPropertySpec_CustomErrorMessage_ErrorMessage)(nil), "api.namespace.v1.CodecServerPropertySpec.CustomErrorMessage.ErrorMessage") - proto.RegisterType((*CertificateFilterSpec)(nil), "api.namespace.v1.CertificateFilterSpec") - proto.RegisterType((*NamespaceURI)(nil), "api.namespace.v1.NamespaceURI") - proto.RegisterType((*NamespaceEnvelope)(nil), "api.namespace.v1.NamespaceEnvelope") - proto.RegisterType((*NamespaceRegion)(nil), "api.namespace.v1.NamespaceRegion") - proto.RegisterType((*Namespace)(nil), "api.namespace.v1.Namespace") - proto.RegisterMapType((map[string]string)(nil), "api.namespace.v1.Namespace.TagsEntry") - proto.RegisterExtension(E_ApiVersion) -} - -func init() { proto.RegisterFile("api/namespace/v1/message.proto", fileDescriptor_56458b48206aa18d) } - -var fileDescriptor_56458b48206aa18d = []byte{ - // 2074 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x58, 0x4b, 0x73, 0xdb, 0xc8, - 0x11, 0x16, 0x44, 0xca, 0x22, 0x9b, 0x7a, 0x40, 0x23, 0xd9, 0x82, 0x69, 0x99, 0x96, 0xe9, 0xb2, - 0xa3, 0x75, 0x62, 0xca, 0xa6, 0x37, 0x59, 0x67, 0xbd, 0x5b, 0x0e, 0x2d, 0x42, 0x2b, 0x28, 0x7a, - 0x30, 0x20, 0xe4, 0xec, 0xa6, 0x52, 0x35, 0x35, 0x02, 0x46, 0xd4, 0xac, 0x41, 0x00, 0x0b, 0x0c, - 0xe9, 0x52, 0x2a, 0x87, 0x54, 0x7e, 0x41, 0x2e, 0x9b, 0x73, 0x8e, 0x39, 0xe4, 0x94, 0x4b, 0x2e, - 0xb9, 0x67, 0x8f, 0x3e, 0xee, 0x25, 0x55, 0xb1, 0x7c, 0x71, 0x6e, 0xfb, 0x13, 0x52, 0x33, 0x00, - 0xf8, 0x96, 0xec, 0xaa, 0xdc, 0x88, 0xfe, 0xba, 0xbf, 0x7e, 0xa0, 0xa7, 0xa7, 0x41, 0x28, 0x91, - 0x80, 0x6d, 0x7a, 0xa4, 0x4d, 0xa3, 0x80, 0xd8, 0x74, 0xb3, 0xfb, 0x68, 0xb3, 0x4d, 0xa3, 0x88, - 0xb4, 0x68, 0x25, 0x08, 0x7d, 0xee, 0x23, 0x95, 0x04, 0xac, 0xd2, 0xc3, 0x2b, 0xdd, 0x47, 0xc5, - 0x5b, 0x2d, 0xdf, 0x6f, 0xb9, 0x74, 0x53, 0xe2, 0xc7, 0x9d, 0x93, 0x4d, 0xce, 0xda, 0x34, 0xe2, - 0xa4, 0x1d, 0xc4, 0x26, 0xc5, 0xf5, 0x51, 0x05, 0x87, 0x46, 0x76, 0xc8, 0x02, 0xee, 0x87, 0x89, - 0x46, 0x69, 0x54, 0xe3, 0x55, 0x48, 0x82, 0x80, 0x86, 0x51, 0x82, 0xdf, 0x10, 0x41, 0xd9, 0x7e, - 0xbb, 0xed, 0x7b, 0x63, 0x11, 0x15, 0x3f, 0xe6, 0xb4, 0x1d, 0xf8, 0x21, 0x71, 0x37, 0xa5, 0x96, - 0xeb, 0x77, 0x9c, 0x4d, 0xdb, 0xf7, 0x3c, 0x6a, 0x73, 0xd6, 0x65, 0xfc, 0x2c, 0xec, 0xb8, 0xe3, - 0x79, 0x94, 0xdf, 0xcd, 0xc2, 0xfc, 0x41, 0x9a, 0x46, 0x33, 0xa0, 0x36, 0xfa, 0x09, 0x20, 0x62, - 0xdb, 0x34, 0xe0, 0xd4, 0xc1, 0xb6, 0xcb, 0xa8, 0xc7, 0xb1, 0x4d, 0xb4, 0xe9, 0x75, 0x65, 0x23, - 0x6f, 0xaa, 0x29, 0xb2, 0x25, 0x81, 0x2d, 0x82, 0xee, 0xc2, 0x42, 0x48, 0x39, 0xf5, 0x38, 0xf3, - 0x3d, 0xec, 0x90, 0xb3, 0x48, 0xcb, 0xac, 0x2b, 0x1b, 0x33, 0xe6, 0x7c, 0x4f, 0x5a, 0x27, 0x67, - 0x11, 0x3a, 0x86, 0xa5, 0x88, 0x92, 0xd0, 0x3e, 0xc5, 0x84, 0xf3, 0x90, 0x1d, 0x77, 0x38, 0x8d, - 0xb4, 0xec, 0x7a, 0x66, 0xa3, 0x50, 0xfd, 0x69, 0x65, 0xb4, 0x94, 0x95, 0xa1, 0x80, 0x2a, 0x4d, - 0x69, 0x58, 0xeb, 0xd9, 0xe9, 0x1e, 0x0f, 0xcf, 0x4c, 0x35, 0x1a, 0x11, 0xa3, 0x2f, 0x61, 0xd9, - 0xa6, 0x21, 0x67, 0x27, 0xcc, 0x26, 0x9c, 0xe2, 0x13, 0xe6, 0x72, 0x1a, 0x46, 0xda, 0x8c, 0xf4, - 0xf2, 0xa3, 0x71, 0x2f, 0x5b, 0x7d, 0xe5, 0x6d, 0xa9, 0x2b, 0xbc, 0x99, 0xc8, 0x1e, 0x15, 0x47, - 0xe8, 0x19, 0x14, 0xa8, 0xd7, 0x65, 0xa1, 0xef, 0xb5, 0xa9, 0xc7, 0xb5, 0x2b, 0xeb, 0xca, 0xc6, - 0x42, 0xf5, 0xe6, 0x38, 0xa3, 0xde, 0x57, 0x32, 0x07, 0x2d, 0xd0, 0x0e, 0x80, 0xed, 0x3b, 0xd4, - 0xc6, 0x51, 0x40, 0x6d, 0x2d, 0xb7, 0xae, 0x6c, 0x14, 0xaa, 0x1f, 0x4d, 0x88, 0x48, 0xe8, 0x34, - 0x69, 0xd8, 0xa5, 0x61, 0x23, 0xf4, 0x03, 0x1a, 0xf2, 0x33, 0x19, 0x53, 0x5e, 0x1a, 0xcb, 0xb7, - 0xf3, 0x63, 0x58, 0x0c, 0x48, 0x14, 0xb1, 0x2e, 0xc5, 0x21, 0x6d, 0x31, 0xdf, 0x8b, 0xb4, 0xfc, - 0x7a, 0x66, 0x23, 0xff, 0x7c, 0x5a, 0x53, 0xcc, 0x85, 0x04, 0x32, 0x63, 0x04, 0x7d, 0x0e, 0x05, - 0xd2, 0xe1, 0xa7, 0xb8, 0x4d, 0xf9, 0xa9, 0xef, 0x68, 0xf3, 0x32, 0xee, 0xb5, 0x71, 0xbf, 0xb5, - 0x0e, 0x3f, 0xdd, 0x97, 0x3a, 0x26, 0x90, 0xde, 0x6f, 0xf4, 0x31, 0xe4, 0x63, 0x1f, 0x98, 0x39, - 0xda, 0x82, 0x0c, 0x7a, 0x55, 0x1a, 0xc7, 0x2d, 0x28, 0x2c, 0x63, 0x4f, 0x46, 0xdd, 0xcc, 0xc5, - 0x9a, 0x86, 0x83, 0x3e, 0x87, 0xbc, 0xcb, 0x4e, 0xa8, 0x7d, 0x66, 0xbb, 0x54, 0x5b, 0x94, 0x56, - 0xb7, 0xc6, 0x5d, 0xee, 0xa5, 0x2a, 0x71, 0x82, 0x3d, 0x0b, 0xd4, 0x84, 0xa5, 0x53, 0xd6, 0x3a, - 0xc5, 0xa4, 0x4b, 0x98, 0x4b, 0x8e, 0x99, 0xcb, 0xf8, 0x99, 0xa6, 0x4a, 0x9a, 0x7b, 0xe3, 0x34, - 0x3b, 0xac, 0x75, 0x5a, 0x1b, 0xd0, 0x94, 0x6c, 0xea, 0xe9, 0x88, 0x14, 0xe9, 0x80, 0x86, 0xab, - 0x86, 0x99, 0x13, 0x69, 0x4b, 0xb2, 0x33, 0x2e, 0x4c, 0x49, 0x1d, 0xaa, 0xa6, 0xe1, 0x44, 0xa8, - 0x0a, 0x57, 0x07, 0x4f, 0x14, 0x16, 0x47, 0x4a, 0x32, 0x21, 0xf1, 0x0a, 0xcc, 0xe5, 0x41, 0xd0, - 0xec, 0xb8, 0xd4, 0x70, 0xa2, 0xe2, 0xd7, 0x70, 0x75, 0x62, 0x03, 0x23, 0x15, 0x32, 0x2f, 0xe9, - 0x99, 0xa6, 0xc8, 0x83, 0x25, 0x7e, 0xa2, 0xa7, 0x30, 0xd3, 0x25, 0x6e, 0x87, 0xca, 0xc3, 0xb6, - 0x50, 0xbd, 0x3b, 0x9e, 0xee, 0x08, 0x93, 0x75, 0x16, 0x50, 0x33, 0xb6, 0xf9, 0x74, 0xfa, 0x89, - 0xb2, 0x9b, 0xcd, 0x29, 0xea, 0xf4, 0x6e, 0x36, 0x37, 0xab, 0xe6, 0x76, 0xb3, 0x39, 0x50, 0x0b, - 0xbb, 0xd9, 0x5c, 0x41, 0x9d, 0xdb, 0xcd, 0xe6, 0xe6, 0xd4, 0xf9, 0x72, 0x03, 0x56, 0x26, 0x95, - 0x0b, 0x3d, 0x01, 0xcd, 0x61, 0x11, 0x39, 0x76, 0x29, 0x6e, 0x13, 0x8f, 0xb4, 0xa8, 0x83, 0x4f, - 0x08, 0x73, 0xfd, 0x2e, 0x0d, 0x65, 0x74, 0x39, 0xf3, 0x5a, 0x82, 0xef, 0xc7, 0xf0, 0x76, 0x82, - 0x96, 0x0d, 0x98, 0x1f, 0x7a, 0x8f, 0x82, 0x8a, 0x7a, 0x92, 0xc9, 0xa1, 0x2e, 0xe5, 0x14, 0x8b, - 0x21, 0x23, 0x2a, 0xe2, 0x7b, 0x29, 0x55, 0x8c, 0xd7, 0x25, 0xdc, 0xe8, 0xa1, 0xe5, 0x7f, 0x66, - 0x60, 0xf5, 0x82, 0xf6, 0x47, 0x45, 0xc8, 0x51, 0xcf, 0x09, 0x7c, 0xe6, 0xf1, 0xa4, 0x5c, 0xbd, - 0x67, 0x74, 0x1f, 0x96, 0xc4, 0x6b, 0xc2, 0x62, 0x30, 0x45, 0x11, 0xe6, 0xfe, 0x4b, 0xea, 0xc9, - 0xfa, 0xe5, 0x4c, 0x79, 0x50, 0x6a, 0x52, 0x6e, 0x09, 0x31, 0xda, 0x84, 0x65, 0xe6, 0xd9, 0x6e, - 0xc7, 0xa1, 0xd8, 0x0e, 0xa9, 0x23, 0xc6, 0x13, 0x71, 0xe3, 0x81, 0x95, 0x33, 0x51, 0x02, 0x6d, - 0xf5, 0x11, 0xe4, 0xc1, 0x8a, 0xdd, 0x89, 0xb8, 0xdf, 0xc6, 0x34, 0x0c, 0xfd, 0x10, 0x27, 0xa3, - 0x53, 0xcb, 0xca, 0x76, 0xfc, 0xec, 0x83, 0x0f, 0x70, 0x65, 0x4b, 0xb2, 0xe8, 0x82, 0x64, 0x3f, - 0xe6, 0x30, 0x91, 0x3d, 0x26, 0x2b, 0xfe, 0x43, 0x01, 0x34, 0xae, 0x8a, 0x6c, 0x98, 0x75, 0xe8, - 0x09, 0xe9, 0xb8, 0x71, 0xfa, 0x85, 0xaa, 0xf1, 0xff, 0x78, 0xae, 0x0c, 0x85, 0x91, 0x32, 0x17, - 0x3f, 0x83, 0xb9, 0x21, 0xa7, 0x1a, 0xcc, 0xa6, 0xe9, 0xc6, 0x35, 0x4f, 0x1f, 0x11, 0x82, 0xac, - 0xcb, 0xbc, 0x97, 0xc9, 0x95, 0x20, 0x7f, 0x97, 0xff, 0xa5, 0xc0, 0xd5, 0x89, 0xf3, 0x14, 0xdd, - 0x82, 0x42, 0x7c, 0xb6, 0xb0, 0x88, 0x37, 0xe1, 0x82, 0x58, 0x24, 0xe6, 0x3c, 0x2a, 0xc3, 0x9c, - 0x1f, 0xb6, 0x88, 0xc7, 0x7e, 0x47, 0x64, 0x9f, 0xc4, 0xb4, 0x43, 0x32, 0xf1, 0xe6, 0x06, 0x9f, - 0x89, 0x8b, 0x3b, 0x1e, 0xe3, 0xf2, 0xcd, 0xe5, 0x4d, 0x34, 0x0c, 0x1d, 0x79, 0x8c, 0x8b, 0x46, - 0x8c, 0x3a, 0xc7, 0x5f, 0x53, 0x9b, 0x63, 0x22, 0x42, 0xf1, 0x08, 0x17, 0x87, 0x5f, 0x86, 0x90, - 0x95, 0x56, 0xd7, 0x12, 0xbc, 0xd6, 0x87, 0x45, 0x38, 0xe5, 0x7f, 0x2b, 0x30, 0xd7, 0xbb, 0x7f, - 0x8e, 0x4c, 0x43, 0x9c, 0xd3, 0x57, 0xf4, 0x38, 0x3d, 0xa7, 0xaf, 0xe8, 0xb1, 0x28, 0x40, 0x2b, - 0x0c, 0xec, 0xb4, 0x00, 0xe2, 0x37, 0x7a, 0x0a, 0xc5, 0x6e, 0x60, 0xe3, 0xb4, 0x2f, 0x71, 0x44, - 0xc3, 0x2e, 0xb3, 0x63, 0x8f, 0xa2, 0xc5, 0xc4, 0x7c, 0x58, 0xed, 0x06, 0xb6, 0x9e, 0x28, 0x34, - 0x63, 0x5c, 0x7a, 0x42, 0x77, 0x60, 0x3e, 0x1e, 0x4b, 0xc4, 0xc5, 0x92, 0x39, 0x0e, 0x71, 0x2e, - 0x15, 0x7e, 0x21, 0x3c, 0xe8, 0x70, 0x6b, 0x78, 0x86, 0x25, 0xca, 0x98, 0x38, 0x4e, 0x48, 0xa3, - 0x88, 0xc6, 0x57, 0x5d, 0xde, 0x5c, 0x1b, 0x9a, 0x5b, 0xb1, 0x75, 0x2d, 0xd5, 0x29, 0xbf, 0xcb, - 0xc2, 0x52, 0x2f, 0x3f, 0xdd, 0xeb, 0x52, 0xd7, 0x0f, 0x28, 0xb2, 0x40, 0x23, 0xf2, 0x20, 0x46, - 0x38, 0xa0, 0x21, 0x8e, 0xa8, 0xed, 0x7b, 0x0e, 0x76, 0x59, 0x9b, 0xf1, 0xa4, 0xdb, 0x6f, 0x54, - 0xe2, 0xe5, 0xa4, 0x92, 0x2e, 0x27, 0x15, 0xc3, 0xe3, 0x8f, 0xab, 0x2f, 0xc4, 0xf0, 0x31, 0xaf, - 0x26, 0xc6, 0x0d, 0x1a, 0x36, 0xa5, 0xe9, 0x9e, 0xb0, 0x44, 0xbf, 0x85, 0x35, 0x7e, 0x1a, 0xfa, - 0x9c, 0xbb, 0xd4, 0xc1, 0xe3, 0xfc, 0xda, 0xcc, 0xfb, 0x99, 0xaf, 0xf7, 0x08, 0x6a, 0x23, 0x2e, - 0xd0, 0xef, 0xa1, 0x72, 0x19, 0x3b, 0x76, 0x49, 0xc4, 0x71, 0x27, 0x70, 0x88, 0xd8, 0x64, 0xc4, - 0x32, 0x26, 0x2f, 0xee, 0x42, 0xb5, 0x38, 0xe6, 0xcf, 0x4a, 0x37, 0x35, 0x73, 0xe3, 0x42, 0x77, - 0x7b, 0x24, 0xe2, 0x47, 0x31, 0x99, 0x50, 0x47, 0x06, 0xa0, 0x93, 0xd0, 0xf7, 0x38, 0xf5, 0x1c, - 0x1c, 0x06, 0x51, 0x52, 0xab, 0xd9, 0xf7, 0x67, 0xa4, 0xa6, 0x66, 0x66, 0x10, 0xc5, 0x65, 0xfa, - 0x15, 0x5c, 0xeb, 0x27, 0x32, 0x48, 0x9a, 0x6c, 0x0a, 0x97, 0xd2, 0xad, 0xf4, 0x4c, 0xb7, 0xfb, - 0xbc, 0xe8, 0x1b, 0xd8, 0x98, 0x4c, 0x39, 0xa1, 0x2a, 0xf9, 0xf7, 0x56, 0xe5, 0xce, 0x24, 0x1f, - 0x23, 0x05, 0xe9, 0x5d, 0x3e, 0xd3, 0x6a, 0x66, 0x37, 0x9b, 0xcb, 0xa8, 0xd9, 0xf2, 0x77, 0x0a, - 0x2c, 0xf6, 0x5a, 0x2d, 0xee, 0xc6, 0xe1, 0x9d, 0x42, 0xf9, 0xf0, 0x9d, 0x62, 0x2e, 0xa4, 0x81, - 0xcb, 0x6c, 0x82, 0xdb, 0xbe, 0x93, 0x5e, 0x90, 0xc5, 0x31, 0x43, 0xa9, 0xb2, 0xef, 0x3b, 0xd4, - 0x2c, 0x84, 0xfd, 0x07, 0xf4, 0x0b, 0x71, 0xbe, 0x62, 0xf3, 0x88, 0x13, 0x4e, 0xe5, 0xe0, 0x58, - 0xa8, 0xde, 0x98, 0x6c, 0xdf, 0x14, 0x2a, 0x66, 0xea, 0x50, 0x3e, 0x95, 0xff, 0x3b, 0x03, 0xf9, - 0x5e, 0x2a, 0x68, 0x0d, 0xf2, 0xbd, 0xe1, 0x9b, 0x0c, 0x86, 0xbe, 0x00, 0x7d, 0x04, 0x6a, 0x48, - 0x23, 0xbf, 0x13, 0xda, 0x14, 0x77, 0x69, 0x18, 0xf5, 0x87, 0xda, 0x62, 0x2a, 0x7f, 0x11, 0x8b, - 0xd1, 0x63, 0xc8, 0xca, 0x8d, 0x30, 0x73, 0xd1, 0x9a, 0x34, 0xb4, 0x09, 0x9b, 0x52, 0x19, 0x3d, - 0x80, 0x99, 0x38, 0x8b, 0xac, 0xcc, 0x62, 0x75, 0xc2, 0x9a, 0x20, 0x33, 0x88, 0xb5, 0xd0, 0x4d, - 0x80, 0x90, 0x7e, 0xd3, 0xa1, 0x11, 0x17, 0x25, 0x9f, 0x89, 0xa3, 0x4d, 0x24, 0x86, 0x83, 0x76, - 0x00, 0xc9, 0x96, 0x68, 0xfb, 0x0e, 0x3b, 0x61, 0x1f, 0x7e, 0x52, 0x54, 0x61, 0xb5, 0x9f, 0x18, - 0xc9, 0x13, 0xf1, 0x10, 0x32, 0x9d, 0x90, 0x25, 0x47, 0xa0, 0x74, 0x49, 0x2e, 0x47, 0xa6, 0x61, - 0x0a, 0x55, 0xf4, 0x4c, 0x5c, 0xec, 0xf1, 0x04, 0x4a, 0xba, 0xf0, 0xce, 0x25, 0x66, 0xe9, 0xb0, - 0x32, 0x7b, 0x46, 0xe8, 0x01, 0x20, 0xe2, 0xba, 0xfe, 0x2b, 0xea, 0xe0, 0x20, 0x64, 0x9e, 0xcd, - 0x02, 0x71, 0xa1, 0x17, 0xe4, 0x18, 0x5c, 0x4a, 0x90, 0x46, 0x0f, 0x40, 0x4f, 0x61, 0x36, 0x5d, - 0x9a, 0xe7, 0xe4, 0xee, 0x77, 0xfb, 0x12, 0x77, 0x71, 0x1b, 0x9a, 0xa9, 0x05, 0x6a, 0x01, 0x1a, - 0x5b, 0xfe, 0x22, 0x6d, 0x41, 0xf2, 0x3c, 0xa9, 0xa4, 0x1f, 0x5f, 0x71, 0x4b, 0x89, 0x8f, 0xaf, - 0xca, 0xe8, 0xc7, 0x57, 0x7c, 0x4d, 0x0f, 0x6f, 0x88, 0xe6, 0xd2, 0xe8, 0xce, 0x18, 0xa1, 0x9f, - 0x43, 0x96, 0x93, 0x56, 0xa4, 0x2d, 0x4a, 0xea, 0xbb, 0x97, 0x84, 0x58, 0xb1, 0x48, 0x2b, 0xf9, - 0x1c, 0x92, 0x26, 0xc5, 0x4f, 0x20, 0xdf, 0x13, 0x4d, 0x58, 0x30, 0x57, 0x06, 0x17, 0xcc, 0xfc, - 0xf0, 0xe6, 0x98, 0x53, 0xf3, 0xf1, 0xce, 0x78, 0xff, 0x6f, 0xd3, 0xb0, 0x3c, 0x61, 0xd1, 0x44, - 0x77, 0xe1, 0x76, 0x53, 0xaf, 0x99, 0x5b, 0x3b, 0xb8, 0x66, 0x59, 0xa6, 0xf1, 0xfc, 0xc8, 0xd2, - 0xb1, 0xf5, 0x55, 0x43, 0xc7, 0x47, 0x07, 0xcd, 0x86, 0xbe, 0x65, 0x6c, 0x1b, 0x7a, 0x5d, 0x9d, - 0x42, 0xb7, 0xe1, 0xe6, 0x64, 0xb5, 0x5f, 0xea, 0x5f, 0xfd, 0xfa, 0xd0, 0xac, 0xab, 0x0a, 0x2a, - 0x41, 0x71, 0xb2, 0x8a, 0xa5, 0x7f, 0x69, 0xa9, 0xd3, 0xe8, 0x26, 0x5c, 0x9f, 0x8c, 0x1b, 0x07, - 0x96, 0x9a, 0x41, 0xeb, 0xb0, 0x36, 0x19, 0xae, 0x1f, 0x1e, 0x3d, 0xdf, 0xd3, 0xd5, 0x2c, 0x2a, - 0x43, 0xe9, 0x02, 0x8d, 0x9a, 0xa5, 0x5b, 0xc6, 0xbe, 0xae, 0xce, 0x5c, 0x1c, 0xc4, 0xf3, 0xc3, - 0xc3, 0x3d, 0xf5, 0x0a, 0xba, 0x07, 0xe5, 0x4b, 0xf3, 0xc0, 0x7b, 0x46, 0xd3, 0x52, 0x67, 0xef, - 0x7f, 0x3b, 0x0d, 0x33, 0xf2, 0xc0, 0xa1, 0xab, 0xb0, 0xd4, 0xb4, 0x6a, 0xd6, 0x68, 0x41, 0x56, - 0x40, 0x8d, 0xc5, 0xb5, 0x2d, 0xcb, 0x78, 0x51, 0xb3, 0x8c, 0x83, 0x2f, 0x54, 0x05, 0xdd, 0x80, - 0xd5, 0x61, 0xe9, 0xe1, 0x01, 0xde, 0xae, 0x19, 0x7b, 0x7a, 0x5d, 0x9d, 0x46, 0x2a, 0xcc, 0x0d, - 0x80, 0xba, 0x9a, 0x41, 0x08, 0x16, 0x12, 0xee, 0x46, 0x3d, 0xa6, 0xc8, 0xa2, 0x55, 0x58, 0x1e, - 0x90, 0xe9, 0xa9, 0xf9, 0x4c, 0x5f, 0xb9, 0xae, 0xef, 0xe9, 0x52, 0xf9, 0x4a, 0x5f, 0x59, 0xca, - 0x7a, 0xca, 0xb3, 0x68, 0x09, 0xe6, 0x07, 0x81, 0xba, 0x9a, 0xeb, 0x47, 0xdc, 0x3c, 0x6a, 0x36, - 0xf4, 0x83, 0xba, 0x60, 0xc8, 0x23, 0x0d, 0x56, 0x86, 0xa4, 0x29, 0x05, 0xa0, 0x65, 0x58, 0x1c, - 0x42, 0xf4, 0xba, 0x5a, 0xb8, 0xff, 0x12, 0x0a, 0x03, 0xdf, 0xc3, 0x22, 0x5f, 0xfd, 0xe0, 0x85, - 0x61, 0x1e, 0x1e, 0xec, 0xeb, 0x07, 0xd6, 0x48, 0x89, 0x96, 0x61, 0x71, 0x10, 0xac, 0xeb, 0x2f, - 0x54, 0x45, 0x44, 0x31, 0x28, 0xb4, 0xf4, 0xa6, 0xe8, 0x8d, 0x11, 0x69, 0xc3, 0x3c, 0xac, 0xab, - 0x99, 0xfb, 0xdf, 0x2a, 0x00, 0xfd, 0xaf, 0x58, 0xe1, 0xac, 0x76, 0x64, 0xed, 0xe0, 0x7d, 0xdd, - 0xda, 0x39, 0xac, 0x8f, 0x38, 0x2b, 0xc2, 0xb5, 0x41, 0xd0, 0xd4, 0x9b, 0x96, 0x69, 0x6c, 0x89, - 0xcc, 0xa5, 0xcf, 0x41, 0x6c, 0xdf, 0xda, 0x6b, 0xaa, 0xd3, 0xa2, 0x76, 0x83, 0xd2, 0x5a, 0xc3, - 0x10, 0x4d, 0xa0, 0x66, 0xd0, 0x2d, 0xb8, 0x31, 0x01, 0xc0, 0x87, 0x66, 0x6c, 0x99, 0xfd, 0xf4, - 0x19, 0x14, 0x48, 0xc0, 0xd2, 0x6b, 0x00, 0xad, 0x8d, 0x0d, 0xd4, 0x6d, 0xe6, 0xd2, 0xc3, 0x40, - 0xae, 0x1a, 0xda, 0x5f, 0xfe, 0x1c, 0x2f, 0xb4, 0x40, 0x02, 0x96, 0xdc, 0x10, 0xcf, 0xdb, 0x7f, - 0xfc, 0xfb, 0xf5, 0xf9, 0xea, 0xc3, 0xea, 0xe3, 0x07, 0x0f, 0x3f, 0x79, 0x50, 0xfd, 0xd9, 0x83, - 0x87, 0x8f, 0x5e, 0xbf, 0x29, 0x4d, 0x7d, 0xff, 0xa6, 0x34, 0xf5, 0xc3, 0x9b, 0x92, 0xf2, 0x87, - 0xf3, 0x92, 0xf2, 0xd7, 0xf3, 0x92, 0xf2, 0xdd, 0x79, 0x49, 0x79, 0x7d, 0x5e, 0x52, 0xfe, 0x73, - 0x5e, 0x52, 0xde, 0x9d, 0x97, 0xa6, 0x7e, 0x38, 0x2f, 0x29, 0x7f, 0x7a, 0x5b, 0x9a, 0x7a, 0xfd, - 0xb6, 0x34, 0xf5, 0xfd, 0xdb, 0xd2, 0xd4, 0x6f, 0xee, 0xf1, 0x76, 0x10, 0xba, 0xf1, 0x60, 0xda, - 0x1c, 0xfd, 0x6b, 0xeb, 0x69, 0xef, 0xe1, 0xf8, 0x8a, 0x0c, 0xec, 0xf1, 0xff, 0x02, 0x00, 0x00, - 0xff, 0xff, 0xd0, 0x2b, 0x67, 0x64, 0xff, 0x12, 0x00, 0x00, +type CodecServerPropertySpec_CustomErrorMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The error message to display by default for any remote codec server errors. + Default *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage `protobuf:"bytes,1,opt,name=default,proto3" json:"default,omitempty"` } -func (x SearchAttributeType) String() string { - s, ok := SearchAttributeType_name[int32(x)] - if ok { - return s +func (x *CodecServerPropertySpec_CustomErrorMessage) Reset() { + *x = CodecServerPropertySpec_CustomErrorMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespace_v1_message_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return strconv.Itoa(int(x)) } -func (x State) String() string { - s, ok := State_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) + +func (x *CodecServerPropertySpec_CustomErrorMessage) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x Environment) String() string { - s, ok := Environment_name[int32(x)] - if ok { - return s + +func (*CodecServerPropertySpec_CustomErrorMessage) ProtoMessage() {} + +func (x *CodecServerPropertySpec_CustomErrorMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_namespace_v1_message_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return strconv.Itoa(int(x)) + return mi.MessageOf(x) } -func (x AuthMethod) String() string { - s, ok := AuthMethod_name[int32(x)] - if ok { - return s + +// Deprecated: Use CodecServerPropertySpec_CustomErrorMessage.ProtoReflect.Descriptor instead. +func (*CodecServerPropertySpec_CustomErrorMessage) Descriptor() ([]byte, []int) { + return file_api_namespace_v1_message_proto_rawDescGZIP(), []int{3, 0} +} + +func (x *CodecServerPropertySpec_CustomErrorMessage) GetDefault() *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage { + if x != nil { + return x.Default } - return strconv.Itoa(int(x)) + return nil +} + +type CodecServerPropertySpec_CustomErrorMessage_ErrorMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A message to display. + Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` + // A link that is displayed along side the configured message. + Link string `protobuf:"bytes,2,opt,name=link,proto3" json:"link,omitempty"` } -func (this *NamespaceSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil + +func (x *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) Reset() { + *x = CodecServerPropertySpec_CustomErrorMessage_ErrorMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespace_v1_message_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } +} + +func (x *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) ProtoMessage() {} - that1, ok := that.(*NamespaceSpec) - if !ok { - that2, ok := that.(NamespaceSpec) - if ok { - that1 = &that2 - } else { - return false +func (x *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_namespace_v1_message_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.AcceptedClientCa != that1.AcceptedClientCa { - return false - } - if this.RetentionDays != that1.RetentionDays { - return false - } - if len(this.SearchAttributes) != len(that1.SearchAttributes) { - return false - } - for i := range this.SearchAttributes { - if this.SearchAttributes[i] != that1.SearchAttributes[i] { - return false - } - } - if len(this.CertificateFilters) != len(that1.CertificateFilters) { - return false - } - for i := range this.CertificateFilters { - if !this.CertificateFilters[i].Equal(that1.CertificateFilters[i]) { - return false - } - } - if this.Environment != that1.Environment { - return false - } - if !this.CodecSpec.Equal(that1.CodecSpec) { - return false - } - if len(this.PassiveRegions) != len(that1.PassiveRegions) { - return false - } - for i := range this.PassiveRegions { - if this.PassiveRegions[i] != that1.PassiveRegions[i] { - return false - } - } - if this.AuthMethod != that1.AuthMethod { - return false - } - if !this.RegionId.Equal(that1.RegionId) { - return false - } - if !this.Lifecycle.Equal(that1.Lifecycle) { - return false - } - if !this.HighAvailability.Equal(that1.HighAvailability) { - return false - } - if len(this.PassiveRegionIds) != len(that1.PassiveRegionIds) { - return false - } - for i := range this.PassiveRegionIds { - if !this.PassiveRegionIds[i].Equal(that1.PassiveRegionIds[i]) { - return false - } - } - if len(this.ConnectivityRuleIds) != len(that1.ConnectivityRuleIds) { - return false - } - for i := range this.ConnectivityRuleIds { - if this.ConnectivityRuleIds[i] != that1.ConnectivityRuleIds[i] { - return false - } - } - return true -} -func (this *HighAvailabilitySpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*HighAvailabilitySpec) - if !ok { - that2, ok := that.(HighAvailabilitySpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.DisableManagedFailover != that1.DisableManagedFailover { - return false - } - return true -} -func (this *LifecycleSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*LifecycleSpec) - if !ok { - that2, ok := that.(LifecycleSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.EnableDeleteProtection != that1.EnableDeleteProtection { - return false - } - return true -} -func (this *CodecServerPropertySpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*CodecServerPropertySpec) - if !ok { - that2, ok := that.(CodecServerPropertySpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Endpoint != that1.Endpoint { - return false - } - if this.PassAccessToken != that1.PassAccessToken { - return false - } - if this.IncludeCredentials != that1.IncludeCredentials { - return false - } - if !this.CustomErrorMessage.Equal(that1.CustomErrorMessage) { - return false - } - return true -} -func (this *CodecServerPropertySpec_CustomErrorMessage) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*CodecServerPropertySpec_CustomErrorMessage) - if !ok { - that2, ok := that.(CodecServerPropertySpec_CustomErrorMessage) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Default.Equal(that1.Default) { - return false - } - return true -} -func (this *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) - if !ok { - that2, ok := that.(CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Message != that1.Message { - return false - } - if this.Link != that1.Link { - return false - } - return true -} -func (this *CertificateFilterSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*CertificateFilterSpec) - if !ok { - that2, ok := that.(CertificateFilterSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.CommonName != that1.CommonName { - return false - } - if this.Organization != that1.Organization { - return false - } - if this.OrganizationalUnit != that1.OrganizationalUnit { - return false - } - if this.SubjectAlternativeName != that1.SubjectAlternativeName { - return false - } - return true -} -func (this *NamespaceURI) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*NamespaceURI) - if !ok { - that2, ok := that.(NamespaceURI) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Web != that1.Web { - return false - } - if this.Grpc != that1.Grpc { - return false - } - if len(this.VpcEndpointServiceNames) != len(that1.VpcEndpointServiceNames) { - return false - } - for i := range this.VpcEndpointServiceNames { - if this.VpcEndpointServiceNames[i] != that1.VpcEndpointServiceNames[i] { - return false - } - } - if this.RegionalGrpc != that1.RegionalGrpc { - return false - } - if len(this.PassiveRegionalGrpcAddresses) != len(that1.PassiveRegionalGrpcAddresses) { - return false - } - for i := range this.PassiveRegionalGrpcAddresses { - if this.PassiveRegionalGrpcAddresses[i] != that1.PassiveRegionalGrpcAddresses[i] { - return false - } - } - return true -} -func (this *NamespaceEnvelope) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*NamespaceEnvelope) - if !ok { - that2, ok := that.(NamespaceEnvelope) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.ActionsPerSecondLimit.Equal(that1.ActionsPerSecondLimit) { - return false - } - if !this.ThrottledActionsPerSecond.Equal(that1.ThrottledActionsPerSecond) { - return false - } - if !this.ThrottledActionsPerSecondLastUpdatedTime.Equal(that1.ThrottledActionsPerSecondLastUpdatedTime) { - return false - } - if !this.FrontendRpsLimit.Equal(that1.FrontendRpsLimit) { - return false - } - if !this.ThrottledFrontendRps.Equal(that1.ThrottledFrontendRps) { - return false - } - if !this.ThrottledFrontendRpsLastUpdatedTime.Equal(that1.ThrottledFrontendRpsLastUpdatedTime) { - return false - } - return true -} -func (this *NamespaceRegion) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*NamespaceRegion) - if !ok { - that2, ok := that.(NamespaceRegion) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.RegionId.Equal(that1.RegionId) { - return false - } - if this.ReplicaMode != that1.ReplicaMode { - return false - } - if this.ReplicaState != that1.ReplicaState { - return false - } - return true -} -func (this *Namespace) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*Namespace) - if !ok { - that2, ok := that.(Namespace) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.State != that1.State { - return false - } - if this.RequestId != that1.RequestId { - return false - } - if !this.LastModifiedTime.Equal(that1.LastModifiedTime) { - return false - } - if !this.Uri.Equal(that1.Uri) { - return false - } - if !this.Envelope.Equal(that1.Envelope) { - return false - } - if len(this.AllowedPrincipals) != len(that1.AllowedPrincipals) { - return false - } - for i := range this.AllowedPrincipals { - if this.AllowedPrincipals[i] != that1.AllowedPrincipals[i] { - return false - } - } - if len(this.Regions) != len(that1.Regions) { - return false - } - for i := range this.Regions { - if !this.Regions[i].Equal(that1.Regions[i]) { - return false - } - } - if len(this.ConnectivityRules) != len(that1.ConnectivityRules) { - return false - } - for i := range this.ConnectivityRules { - if !this.ConnectivityRules[i].Equal(that1.ConnectivityRules[i]) { - return false - } - } - if len(this.Tags) != len(that1.Tags) { - return false - } - for i := range this.Tags { - if this.Tags[i] != that1.Tags[i] { - return false - } - } - return true -} -func (this *NamespaceSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 17) - s = append(s, "&namespace.NamespaceSpec{") - s = append(s, "AcceptedClientCa: "+fmt.Sprintf("%#v", this.AcceptedClientCa)+",\n") - s = append(s, "RetentionDays: "+fmt.Sprintf("%#v", this.RetentionDays)+",\n") - keysForSearchAttributes := make([]string, 0, len(this.SearchAttributes)) - for k, _ := range this.SearchAttributes { - keysForSearchAttributes = append(keysForSearchAttributes, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForSearchAttributes) - mapStringForSearchAttributes := "map[string]SearchAttributeType{" - for _, k := range keysForSearchAttributes { - mapStringForSearchAttributes += fmt.Sprintf("%#v: %#v,", k, this.SearchAttributes[k]) - } - mapStringForSearchAttributes += "}" - if this.SearchAttributes != nil { - s = append(s, "SearchAttributes: "+mapStringForSearchAttributes+",\n") - } - if this.CertificateFilters != nil { - s = append(s, "CertificateFilters: "+fmt.Sprintf("%#v", this.CertificateFilters)+",\n") - } - s = append(s, "Environment: "+fmt.Sprintf("%#v", this.Environment)+",\n") - if this.CodecSpec != nil { - s = append(s, "CodecSpec: "+fmt.Sprintf("%#v", this.CodecSpec)+",\n") - } - s = append(s, "PassiveRegions: "+fmt.Sprintf("%#v", this.PassiveRegions)+",\n") - s = append(s, "AuthMethod: "+fmt.Sprintf("%#v", this.AuthMethod)+",\n") - if this.RegionId != nil { - s = append(s, "RegionId: "+fmt.Sprintf("%#v", this.RegionId)+",\n") - } - if this.Lifecycle != nil { - s = append(s, "Lifecycle: "+fmt.Sprintf("%#v", this.Lifecycle)+",\n") - } - if this.HighAvailability != nil { - s = append(s, "HighAvailability: "+fmt.Sprintf("%#v", this.HighAvailability)+",\n") - } - if this.PassiveRegionIds != nil { - s = append(s, "PassiveRegionIds: "+fmt.Sprintf("%#v", this.PassiveRegionIds)+",\n") - } - s = append(s, "ConnectivityRuleIds: "+fmt.Sprintf("%#v", this.ConnectivityRuleIds)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *HighAvailabilitySpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&namespace.HighAvailabilitySpec{") - s = append(s, "DisableManagedFailover: "+fmt.Sprintf("%#v", this.DisableManagedFailover)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *LifecycleSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&namespace.LifecycleSpec{") - s = append(s, "EnableDeleteProtection: "+fmt.Sprintf("%#v", this.EnableDeleteProtection)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CodecServerPropertySpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&namespace.CodecServerPropertySpec{") - s = append(s, "Endpoint: "+fmt.Sprintf("%#v", this.Endpoint)+",\n") - s = append(s, "PassAccessToken: "+fmt.Sprintf("%#v", this.PassAccessToken)+",\n") - s = append(s, "IncludeCredentials: "+fmt.Sprintf("%#v", this.IncludeCredentials)+",\n") - if this.CustomErrorMessage != nil { - s = append(s, "CustomErrorMessage: "+fmt.Sprintf("%#v", this.CustomErrorMessage)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CodecServerPropertySpec_CustomErrorMessage) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&namespace.CodecServerPropertySpec_CustomErrorMessage{") - if this.Default != nil { - s = append(s, "Default: "+fmt.Sprintf("%#v", this.Default)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&namespace.CodecServerPropertySpec_CustomErrorMessage_ErrorMessage{") - s = append(s, "Message: "+fmt.Sprintf("%#v", this.Message)+",\n") - s = append(s, "Link: "+fmt.Sprintf("%#v", this.Link)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CertificateFilterSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&namespace.CertificateFilterSpec{") - s = append(s, "CommonName: "+fmt.Sprintf("%#v", this.CommonName)+",\n") - s = append(s, "Organization: "+fmt.Sprintf("%#v", this.Organization)+",\n") - s = append(s, "OrganizationalUnit: "+fmt.Sprintf("%#v", this.OrganizationalUnit)+",\n") - s = append(s, "SubjectAlternativeName: "+fmt.Sprintf("%#v", this.SubjectAlternativeName)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *NamespaceURI) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 9) - s = append(s, "&namespace.NamespaceURI{") - s = append(s, "Web: "+fmt.Sprintf("%#v", this.Web)+",\n") - s = append(s, "Grpc: "+fmt.Sprintf("%#v", this.Grpc)+",\n") - s = append(s, "VpcEndpointServiceNames: "+fmt.Sprintf("%#v", this.VpcEndpointServiceNames)+",\n") - s = append(s, "RegionalGrpc: "+fmt.Sprintf("%#v", this.RegionalGrpc)+",\n") - s = append(s, "PassiveRegionalGrpcAddresses: "+fmt.Sprintf("%#v", this.PassiveRegionalGrpcAddresses)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *NamespaceEnvelope) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 10) - s = append(s, "&namespace.NamespaceEnvelope{") - if this.ActionsPerSecondLimit != nil { - s = append(s, "ActionsPerSecondLimit: "+fmt.Sprintf("%#v", this.ActionsPerSecondLimit)+",\n") - } - if this.ThrottledActionsPerSecond != nil { - s = append(s, "ThrottledActionsPerSecond: "+fmt.Sprintf("%#v", this.ThrottledActionsPerSecond)+",\n") - } - if this.ThrottledActionsPerSecondLastUpdatedTime != nil { - s = append(s, "ThrottledActionsPerSecondLastUpdatedTime: "+fmt.Sprintf("%#v", this.ThrottledActionsPerSecondLastUpdatedTime)+",\n") - } - if this.FrontendRpsLimit != nil { - s = append(s, "FrontendRpsLimit: "+fmt.Sprintf("%#v", this.FrontendRpsLimit)+",\n") - } - if this.ThrottledFrontendRps != nil { - s = append(s, "ThrottledFrontendRps: "+fmt.Sprintf("%#v", this.ThrottledFrontendRps)+",\n") - } - if this.ThrottledFrontendRpsLastUpdatedTime != nil { - s = append(s, "ThrottledFrontendRpsLastUpdatedTime: "+fmt.Sprintf("%#v", this.ThrottledFrontendRpsLastUpdatedTime)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *NamespaceRegion) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&namespace.NamespaceRegion{") - if this.RegionId != nil { - s = append(s, "RegionId: "+fmt.Sprintf("%#v", this.RegionId)+",\n") - } - s = append(s, "ReplicaMode: "+fmt.Sprintf("%#v", this.ReplicaMode)+",\n") - s = append(s, "ReplicaState: "+fmt.Sprintf("%#v", this.ReplicaState)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *Namespace) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 16) - s = append(s, "&namespace.Namespace{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - if this.LastModifiedTime != nil { - s = append(s, "LastModifiedTime: "+fmt.Sprintf("%#v", this.LastModifiedTime)+",\n") - } - if this.Uri != nil { - s = append(s, "Uri: "+fmt.Sprintf("%#v", this.Uri)+",\n") - } - if this.Envelope != nil { - s = append(s, "Envelope: "+fmt.Sprintf("%#v", this.Envelope)+",\n") - } - s = append(s, "AllowedPrincipals: "+fmt.Sprintf("%#v", this.AllowedPrincipals)+",\n") - if this.Regions != nil { - s = append(s, "Regions: "+fmt.Sprintf("%#v", this.Regions)+",\n") - } - if this.ConnectivityRules != nil { - s = append(s, "ConnectivityRules: "+fmt.Sprintf("%#v", this.ConnectivityRules)+",\n") - } - keysForTags := make([]string, 0, len(this.Tags)) - for k, _ := range this.Tags { - keysForTags = append(keysForTags, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForTags) - mapStringForTags := "map[string]string{" - for _, k := range keysForTags { - mapStringForTags += fmt.Sprintf("%#v: %#v,", k, this.Tags[k]) - } - mapStringForTags += "}" - if this.Tags != nil { - s = append(s, "Tags: "+mapStringForTags+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func valueToGoStringMessage(v interface{}, typ string) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) -} -func (m *NamespaceSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NamespaceSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NamespaceSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ConnectivityRuleIds) > 0 { - for iNdEx := len(m.ConnectivityRuleIds) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ConnectivityRuleIds[iNdEx]) - copy(dAtA[i:], m.ConnectivityRuleIds[iNdEx]) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ConnectivityRuleIds[iNdEx]))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x92 - } - } - if len(m.PassiveRegionIds) > 0 { - for iNdEx := len(m.PassiveRegionIds) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.PassiveRegionIds[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x8a - } - } - if m.HighAvailability != nil { - { - size, err := m.HighAvailability.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x82 - } - if m.Lifecycle != nil { - { - size, err := m.Lifecycle.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x7a - } - if m.RegionId != nil { - { - size, err := m.RegionId.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x72 - } - if m.AuthMethod != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.AuthMethod)) - i-- - dAtA[i] = 0x68 - } - if len(m.PassiveRegions) > 0 { - for iNdEx := len(m.PassiveRegions) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.PassiveRegions[iNdEx]) - copy(dAtA[i:], m.PassiveRegions[iNdEx]) - i = encodeVarintMessage(dAtA, i, uint64(len(m.PassiveRegions[iNdEx]))) - i-- - dAtA[i] = 0x4a - } - } - if m.CodecSpec != nil { - { - size, err := m.CodecSpec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x42 - } - if m.Environment != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.Environment)) - i-- - dAtA[i] = 0x30 - } - if len(m.CertificateFilters) > 0 { - for iNdEx := len(m.CertificateFilters) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.CertificateFilters[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if len(m.SearchAttributes) > 0 { - for k := range m.SearchAttributes { - v := m.SearchAttributes[k] - baseI := i - i = encodeVarintMessage(dAtA, i, uint64(v)) - i-- - dAtA[i] = 0x10 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintMessage(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintMessage(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x22 - } - } - if m.RetentionDays != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.RetentionDays)) - i-- - dAtA[i] = 0x18 - } - if len(m.AcceptedClientCa) > 0 { - i -= len(m.AcceptedClientCa) - copy(dAtA[i:], m.AcceptedClientCa) - i = encodeVarintMessage(dAtA, i, uint64(len(m.AcceptedClientCa))) - i-- - dAtA[i] = 0x12 - } - return len(dAtA) - i, nil -} - -func (m *HighAvailabilitySpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *HighAvailabilitySpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *HighAvailabilitySpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.DisableManagedFailover { - i-- - if m.DisableManagedFailover { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *LifecycleSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *LifecycleSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *LifecycleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.EnableDeleteProtection { - i-- - if m.EnableDeleteProtection { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *CodecServerPropertySpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil + return mi.MessageOf(x) } -func (m *CodecServerPropertySpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +// Deprecated: Use CodecServerPropertySpec_CustomErrorMessage_ErrorMessage.ProtoReflect.Descriptor instead. +func (*CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) Descriptor() ([]byte, []int) { + return file_api_namespace_v1_message_proto_rawDescGZIP(), []int{3, 0, 0} } -func (m *CodecServerPropertySpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.CustomErrorMessage != nil { - { - size, err := m.CustomErrorMessage.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if m.IncludeCredentials { - i-- - if m.IncludeCredentials { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 - } - if m.PassAccessToken { - i-- - if m.PassAccessToken { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x10 - } - if len(m.Endpoint) > 0 { - i -= len(m.Endpoint) - copy(dAtA[i:], m.Endpoint) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Endpoint))) - i-- - dAtA[i] = 0xa +func (x *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) GetMessage() string { + if x != nil { + return x.Message } - return len(dAtA) - i, nil + return "" } -func (m *CodecServerPropertySpec_CustomErrorMessage) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (x *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) GetLink() string { + if x != nil { + return x.Link } - return dAtA[:n], nil -} - -func (m *CodecServerPropertySpec_CustomErrorMessage) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return "" } -func (m *CodecServerPropertySpec_CustomErrorMessage) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Default != nil { - { - size, err := m.Default.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +var file_api_namespace_v1_message_proto_extTypes = []protoimpl.ExtensionInfo{ + { + ExtendedType: (*descriptorpb.FileOptions)(nil), + ExtensionType: (*string)(nil), + Field: 52000, + Name: "api.namespace.v1.api_version", + Tag: "bytes,52000,opt,name=api_version", + Filename: "api/namespace/v1/message.proto", + }, } -func (m *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} +// Extension fields to descriptorpb.FileOptions. +var ( + // optional string api_version = 52000; + E_ApiVersion = &file_api_namespace_v1_message_proto_extTypes[0] +) -func (m *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +var File_api_namespace_v1_message_proto protoreflect.FileDescriptor + +var file_api_namespace_v1_message_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x61, 0x70, 0x69, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2f, + 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x10, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, + 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x34, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x72, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe8, 0x07, 0x0a, 0x0d, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x63, + 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x61, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, + 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x61, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x74, 0x65, + 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x79, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x0d, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x79, 0x73, 0x12, + 0x62, 0x0a, 0x11, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x53, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x10, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x13, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x27, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x46, + 0x69, 0x6c, 0x74, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x52, 0x12, 0x63, 0x65, 0x72, 0x74, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, 0x3f, 0x0a, + 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, + 0x74, 0x52, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x48, + 0x0a, 0x0a, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x70, 0x65, 0x63, 0x52, 0x09, 0x63, + 0x6f, 0x64, 0x65, 0x63, 0x53, 0x70, 0x65, 0x63, 0x12, 0x2b, 0x0a, 0x0f, 0x70, 0x61, 0x73, 0x73, + 0x69, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, + 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0e, 0x70, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x6d, 0x65, + 0x74, 0x68, 0x6f, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, + 0x74, 0x68, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x4d, 0x65, + 0x74, 0x68, 0x6f, 0x64, 0x12, 0x34, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x44, + 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x09, 0x6c, 0x69, + 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x09, + 0x6c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x12, 0x53, 0x0a, 0x11, 0x68, 0x69, 0x67, + 0x68, 0x5f, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x10, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x69, 0x67, 0x68, 0x41, 0x76, 0x61, 0x69, + 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x70, 0x65, 0x63, 0x52, 0x10, 0x68, 0x69, + 0x67, 0x68, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x45, + 0x0a, 0x12, 0x70, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x49, 0x44, 0x52, 0x10, 0x70, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x52, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x69, 0x76, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x12, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x13, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x1a, 0x6a, 0x0a, 0x15, 0x53, 0x65, 0x61, + 0x72, 0x63, 0x68, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x74, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x07, 0x10, + 0x08, 0x4a, 0x04, 0x08, 0x0a, 0x10, 0x0b, 0x4a, 0x04, 0x08, 0x0b, 0x10, 0x0c, 0x4a, 0x04, 0x08, + 0x0c, 0x10, 0x0d, 0x22, 0x50, 0x0a, 0x14, 0x48, 0x69, 0x67, 0x68, 0x41, 0x76, 0x61, 0x69, 0x6c, + 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x70, 0x65, 0x63, 0x12, 0x38, 0x0a, 0x18, 0x64, + 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x5f, 0x66, + 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x64, + 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x46, 0x61, 0x69, + 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x22, 0x49, 0x0a, 0x0d, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, + 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x38, 0x0a, 0x18, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0xbc, 0x03, 0x0a, 0x17, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x70, 0x65, 0x63, 0x12, 0x1a, 0x0a, 0x08, + 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x61, 0x73, 0x73, + 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0f, 0x70, 0x61, 0x73, 0x73, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x2f, 0x0a, 0x13, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, + 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x12, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x6e, 0x0a, 0x14, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x43, + 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x52, 0x12, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0xb7, 0x01, 0x0a, 0x12, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x63, 0x0a, 0x07, + 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x49, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x79, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, + 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, + 0x74, 0x1a, 0x3c, 0x0a, 0x0c, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, + 0x69, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x22, + 0xc7, 0x01, 0x0a, 0x15, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x46, + 0x69, 0x6c, 0x74, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x6f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, + 0x0a, 0x13, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, + 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x6e, 0x69, 0x74, 0x12, + 0x38, 0x0a, 0x18, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x6c, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x16, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, + 0x61, 0x74, 0x69, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xdd, 0x01, 0x0a, 0x0c, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x55, 0x52, 0x49, 0x12, 0x10, 0x0a, 0x03, 0x77, 0x65, + 0x62, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x77, 0x65, 0x62, 0x12, 0x12, 0x0a, 0x04, + 0x67, 0x72, 0x70, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, 0x72, 0x70, 0x63, + 0x12, 0x3b, 0x0a, 0x1a, 0x76, 0x70, 0x63, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x17, 0x76, 0x70, 0x63, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x23, 0x0a, + 0x0d, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x67, 0x72, 0x70, 0x63, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x47, 0x72, + 0x70, 0x63, 0x12, 0x45, 0x0a, 0x1f, 0x70, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x1c, 0x70, 0x61, 0x73, + 0x73, 0x69, 0x76, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x47, 0x72, 0x70, 0x63, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, 0xe8, 0x04, 0x0a, 0x11, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x12, + 0x54, 0x0a, 0x18, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x73, + 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x15, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x65, 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, + 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x5c, 0x0a, 0x1c, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, + 0x65, 0x64, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x73, + 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, + 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x19, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, + 0x6c, 0x65, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x65, 0x72, 0x53, 0x65, 0x63, + 0x6f, 0x6e, 0x64, 0x12, 0x7c, 0x0a, 0x2e, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, + 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, + 0x6f, 0x6e, 0x64, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x28, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, + 0x65, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x65, 0x72, 0x53, 0x65, 0x63, 0x6f, + 0x6e, 0x64, 0x4c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x49, 0x0a, 0x12, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x5f, 0x72, 0x70, + 0x73, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x66, 0x72, 0x6f, 0x6e, + 0x74, 0x65, 0x6e, 0x64, 0x52, 0x70, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x51, 0x0a, 0x16, + 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x65, + 0x6e, 0x64, 0x5f, 0x72, 0x70, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, + 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x14, 0x74, 0x68, 0x72, 0x6f, 0x74, + 0x74, 0x6c, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x52, 0x70, 0x73, 0x12, + 0x71, 0x0a, 0x28, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, + 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x5f, 0x72, 0x70, 0x73, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x23, 0x74, + 0x68, 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x64, + 0x52, 0x70, 0x73, 0x4c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, + 0x6d, 0x65, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, + 0x08, 0x03, 0x10, 0x04, 0x22, 0xc8, 0x01, 0x0a, 0x0f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x49, 0x44, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x3d, + 0x0a, 0x0c, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x4d, 0x6f, 0x64, 0x65, + 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x40, 0x0a, + 0x0d, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, + 0xe9, 0x05, 0x0a, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1c, 0x0a, + 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x2d, 0x0a, 0x05, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x48, 0x0a, 0x12, 0x6c, 0x61, 0x73, + 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x52, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x54, + 0x69, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x55, 0x52, 0x49, + 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x3f, 0x0a, 0x08, 0x65, 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70, + 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x45, 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x52, 0x08, 0x65, 0x6e, + 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, + 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x73, 0x18, 0x0b, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x11, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x50, 0x72, 0x69, 0x6e, 0x63, + 0x69, 0x70, 0x61, 0x6c, 0x73, 0x12, 0x3b, 0x0a, 0x07, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x72, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x67, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, + 0x74, 0x79, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, + 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, + 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, + 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x04, 0x74, + 0x61, 0x67, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x1a, 0x37, 0x0a, 0x09, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x4a, + 0x04, 0x08, 0x08, 0x10, 0x09, 0x4a, 0x04, 0x08, 0x0a, 0x10, 0x0b, 0x2a, 0xac, 0x02, 0x0a, 0x13, + 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x21, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x41, 0x54, + 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, + 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x45, + 0x41, 0x52, 0x43, 0x48, 0x5f, 0x41, 0x54, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x45, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x4b, 0x45, 0x59, 0x57, 0x4f, 0x52, 0x44, 0x10, 0x01, 0x12, 0x1e, 0x0a, + 0x1a, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x41, 0x54, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, + 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x45, 0x58, 0x54, 0x10, 0x02, 0x12, 0x1d, 0x0a, + 0x19, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x41, 0x54, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, + 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x10, 0x03, 0x12, 0x20, 0x0a, 0x1c, + 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x41, 0x54, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x45, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x4f, 0x55, 0x42, 0x4c, 0x45, 0x10, 0x04, 0x12, 0x22, + 0x0a, 0x1e, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x41, 0x54, 0x54, 0x52, 0x49, 0x42, 0x55, + 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x41, 0x54, 0x45, 0x54, 0x49, 0x4d, 0x45, + 0x10, 0x05, 0x12, 0x1e, 0x0a, 0x1a, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x41, 0x54, 0x54, + 0x52, 0x49, 0x42, 0x55, 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x4f, 0x4f, 0x4c, + 0x10, 0x06, 0x12, 0x26, 0x0a, 0x22, 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x41, 0x54, 0x54, + 0x52, 0x49, 0x42, 0x55, 0x54, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4b, 0x45, 0x59, 0x57, + 0x4f, 0x52, 0x44, 0x5f, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x07, 0x2a, 0x95, 0x02, 0x0a, 0x05, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, + 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x53, + 0x54, 0x41, 0x54, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, + 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, + 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x10, + 0x0a, 0x0c, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x03, + 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x49, + 0x4e, 0x47, 0x10, 0x04, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x50, + 0x44, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x12, 0x0a, + 0x0e, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4e, 0x47, 0x10, + 0x06, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, + 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x07, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, + 0x41, 0x54, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x08, 0x12, 0x14, 0x0a, + 0x10, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x55, 0x53, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, + 0x47, 0x10, 0x09, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x55, 0x53, + 0x50, 0x45, 0x4e, 0x44, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0a, 0x12, 0x13, 0x0a, + 0x0f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x55, 0x53, 0x50, 0x45, 0x4e, 0x44, 0x45, 0x44, + 0x10, 0x0b, 0x2a, 0x6b, 0x0a, 0x0b, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, + 0x74, 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x4e, 0x56, 0x49, 0x52, 0x4f, 0x4e, 0x4d, 0x45, 0x4e, 0x54, + 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, + 0x0a, 0x0f, 0x45, 0x4e, 0x56, 0x49, 0x52, 0x4f, 0x4e, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x44, 0x45, + 0x56, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x45, 0x4e, 0x56, 0x49, 0x52, 0x4f, 0x4e, 0x4d, 0x45, + 0x4e, 0x54, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x45, 0x4e, 0x56, + 0x49, 0x52, 0x4f, 0x4e, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x44, 0x10, 0x03, 0x2a, + 0x95, 0x01, 0x0a, 0x0a, 0x41, 0x75, 0x74, 0x68, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1b, + 0x0a, 0x17, 0x41, 0x55, 0x54, 0x48, 0x5f, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x55, 0x4e, + 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x41, + 0x55, 0x54, 0x48, 0x5f, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x52, 0x45, 0x53, 0x54, 0x52, + 0x49, 0x43, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x41, 0x55, 0x54, 0x48, 0x5f, + 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x4d, 0x54, 0x4c, 0x53, 0x10, 0x02, 0x12, 0x17, 0x0a, + 0x13, 0x41, 0x55, 0x54, 0x48, 0x5f, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x41, 0x50, 0x49, + 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x03, 0x12, 0x1f, 0x0a, 0x1b, 0x41, 0x55, 0x54, 0x48, 0x5f, 0x4d, + 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x41, 0x50, 0x49, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x4f, 0x52, + 0x5f, 0x4d, 0x54, 0x4c, 0x53, 0x10, 0x04, 0x3a, 0x3f, 0x0a, 0x0b, 0x61, 0x70, 0x69, 0x5f, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xa0, 0x96, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x70, + 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0xc1, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x42, 0x0c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x26, 0x74, 0x6d, 0x70, 0x72, 0x6c, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x3b, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0xa2, 0x02, 0x03, 0x41, 0x4e, 0x58, 0xaa, + 0x02, 0x10, 0x41, 0x70, 0x69, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, + 0x56, 0x31, 0xca, 0x02, 0x11, 0x41, 0x70, 0x69, 0x5c, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x5f, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1d, 0x41, 0x70, 0x69, 0x5c, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x12, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x82, 0xb2, 0x19, 0x0d, 0x32, + 0x30, 0x32, 0x33, 0x2d, 0x30, 0x37, 0x2d, 0x32, 0x36, 0x2d, 0x30, 0x31, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } -func (m *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Link) > 0 { - i -= len(m.Link) - copy(dAtA[i:], m.Link) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Link))) - i-- - dAtA[i] = 0x12 - } - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} +var ( + file_api_namespace_v1_message_proto_rawDescOnce sync.Once + file_api_namespace_v1_message_proto_rawDescData = file_api_namespace_v1_message_proto_rawDesc +) -func (m *CertificateFilterSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func file_api_namespace_v1_message_proto_rawDescGZIP() []byte { + file_api_namespace_v1_message_proto_rawDescOnce.Do(func() { + file_api_namespace_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_namespace_v1_message_proto_rawDescData) + }) + return file_api_namespace_v1_message_proto_rawDescData +} + +var file_api_namespace_v1_message_proto_enumTypes = make([]protoimpl.EnumInfo, 4) +var file_api_namespace_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 13) +var file_api_namespace_v1_message_proto_goTypes = []interface{}{ + (SearchAttributeType)(0), // 0: api.namespace.v1.SearchAttributeType + (State)(0), // 1: api.namespace.v1.State + (Environment)(0), // 2: api.namespace.v1.Environment + (AuthMethod)(0), // 3: api.namespace.v1.AuthMethod + (*NamespaceSpec)(nil), // 4: api.namespace.v1.NamespaceSpec + (*HighAvailabilitySpec)(nil), // 5: api.namespace.v1.HighAvailabilitySpec + (*LifecycleSpec)(nil), // 6: api.namespace.v1.LifecycleSpec + (*CodecServerPropertySpec)(nil), // 7: api.namespace.v1.CodecServerPropertySpec + (*CertificateFilterSpec)(nil), // 8: api.namespace.v1.CertificateFilterSpec + (*NamespaceURI)(nil), // 9: api.namespace.v1.NamespaceURI + (*NamespaceEnvelope)(nil), // 10: api.namespace.v1.NamespaceEnvelope + (*NamespaceRegion)(nil), // 11: api.namespace.v1.NamespaceRegion + (*Namespace)(nil), // 12: api.namespace.v1.Namespace + nil, // 13: api.namespace.v1.NamespaceSpec.SearchAttributesEntry + (*CodecServerPropertySpec_CustomErrorMessage)(nil), // 14: api.namespace.v1.CodecServerPropertySpec.CustomErrorMessage + (*CodecServerPropertySpec_CustomErrorMessage_ErrorMessage)(nil), // 15: api.namespace.v1.CodecServerPropertySpec.CustomErrorMessage.ErrorMessage + nil, // 16: api.namespace.v1.Namespace.TagsEntry + (*v1.RegionID)(nil), // 17: api.common.v1.RegionID + (*wrapperspb.Int32Value)(nil), // 18: google.protobuf.Int32Value + (*timestamppb.Timestamp)(nil), // 19: google.protobuf.Timestamp + (v1.ReplicaMode)(0), // 20: api.common.v1.ReplicaMode + (v1.ReplicaState)(0), // 21: api.common.v1.ReplicaState + (*v11.ConnectivityRule)(nil), // 22: temporal.api.cloud.connectivityrule.v1.ConnectivityRule + (*descriptorpb.FileOptions)(nil), // 23: google.protobuf.FileOptions +} +var file_api_namespace_v1_message_proto_depIdxs = []int32{ + 13, // 0: api.namespace.v1.NamespaceSpec.search_attributes:type_name -> api.namespace.v1.NamespaceSpec.SearchAttributesEntry + 8, // 1: api.namespace.v1.NamespaceSpec.certificate_filters:type_name -> api.namespace.v1.CertificateFilterSpec + 2, // 2: api.namespace.v1.NamespaceSpec.environment:type_name -> api.namespace.v1.Environment + 7, // 3: api.namespace.v1.NamespaceSpec.codec_spec:type_name -> api.namespace.v1.CodecServerPropertySpec + 3, // 4: api.namespace.v1.NamespaceSpec.auth_method:type_name -> api.namespace.v1.AuthMethod + 17, // 5: api.namespace.v1.NamespaceSpec.region_id:type_name -> api.common.v1.RegionID + 6, // 6: api.namespace.v1.NamespaceSpec.lifecycle:type_name -> api.namespace.v1.LifecycleSpec + 5, // 7: api.namespace.v1.NamespaceSpec.high_availability:type_name -> api.namespace.v1.HighAvailabilitySpec + 17, // 8: api.namespace.v1.NamespaceSpec.passive_region_ids:type_name -> api.common.v1.RegionID + 14, // 9: api.namespace.v1.CodecServerPropertySpec.custom_error_message:type_name -> api.namespace.v1.CodecServerPropertySpec.CustomErrorMessage + 18, // 10: api.namespace.v1.NamespaceEnvelope.actions_per_second_limit:type_name -> google.protobuf.Int32Value + 18, // 11: api.namespace.v1.NamespaceEnvelope.throttled_actions_per_second:type_name -> google.protobuf.Int32Value + 19, // 12: api.namespace.v1.NamespaceEnvelope.throttled_actions_per_second_last_updated_time:type_name -> google.protobuf.Timestamp + 18, // 13: api.namespace.v1.NamespaceEnvelope.frontend_rps_limit:type_name -> google.protobuf.Int32Value + 18, // 14: api.namespace.v1.NamespaceEnvelope.throttled_frontend_rps:type_name -> google.protobuf.Int32Value + 19, // 15: api.namespace.v1.NamespaceEnvelope.throttled_frontend_rps_last_updated_time:type_name -> google.protobuf.Timestamp + 17, // 16: api.namespace.v1.NamespaceRegion.region_id:type_name -> api.common.v1.RegionID + 20, // 17: api.namespace.v1.NamespaceRegion.replica_mode:type_name -> api.common.v1.ReplicaMode + 21, // 18: api.namespace.v1.NamespaceRegion.replica_state:type_name -> api.common.v1.ReplicaState + 4, // 19: api.namespace.v1.Namespace.spec:type_name -> api.namespace.v1.NamespaceSpec + 1, // 20: api.namespace.v1.Namespace.state:type_name -> api.namespace.v1.State + 19, // 21: api.namespace.v1.Namespace.last_modified_time:type_name -> google.protobuf.Timestamp + 9, // 22: api.namespace.v1.Namespace.uri:type_name -> api.namespace.v1.NamespaceURI + 10, // 23: api.namespace.v1.Namespace.envelope:type_name -> api.namespace.v1.NamespaceEnvelope + 11, // 24: api.namespace.v1.Namespace.regions:type_name -> api.namespace.v1.NamespaceRegion + 22, // 25: api.namespace.v1.Namespace.connectivity_rules:type_name -> temporal.api.cloud.connectivityrule.v1.ConnectivityRule + 16, // 26: api.namespace.v1.Namespace.tags:type_name -> api.namespace.v1.Namespace.TagsEntry + 0, // 27: api.namespace.v1.NamespaceSpec.SearchAttributesEntry.value:type_name -> api.namespace.v1.SearchAttributeType + 15, // 28: api.namespace.v1.CodecServerPropertySpec.CustomErrorMessage.default:type_name -> api.namespace.v1.CodecServerPropertySpec.CustomErrorMessage.ErrorMessage + 23, // 29: api.namespace.v1.api_version:extendee -> google.protobuf.FileOptions + 30, // [30:30] is the sub-list for method output_type + 30, // [30:30] is the sub-list for method input_type + 30, // [30:30] is the sub-list for extension type_name + 29, // [29:30] is the sub-list for extension extendee + 0, // [0:29] is the sub-list for field type_name +} + +func init() { file_api_namespace_v1_message_proto_init() } +func file_api_namespace_v1_message_proto_init() { + if File_api_namespace_v1_message_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_api_namespace_v1_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespace_v1_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HighAvailabilitySpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespace_v1_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LifecycleSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespace_v1_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CodecServerPropertySpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespace_v1_message_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertificateFilterSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespace_v1_message_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceURI); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespace_v1_message_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceEnvelope); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespace_v1_message_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceRegion); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespace_v1_message_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Namespace); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespace_v1_message_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CodecServerPropertySpec_CustomErrorMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespace_v1_message_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CodecServerPropertySpec_CustomErrorMessage_ErrorMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_api_namespace_v1_message_proto_rawDesc, + NumEnums: 4, + NumMessages: 13, + NumExtensions: 1, + NumServices: 0, + }, + GoTypes: file_api_namespace_v1_message_proto_goTypes, + DependencyIndexes: file_api_namespace_v1_message_proto_depIdxs, + EnumInfos: file_api_namespace_v1_message_proto_enumTypes, + MessageInfos: file_api_namespace_v1_message_proto_msgTypes, + ExtensionInfos: file_api_namespace_v1_message_proto_extTypes, + }.Build() + File_api_namespace_v1_message_proto = out.File + file_api_namespace_v1_message_proto_rawDesc = nil + file_api_namespace_v1_message_proto_goTypes = nil + file_api_namespace_v1_message_proto_depIdxs = nil } - -func (m *CertificateFilterSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CertificateFilterSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.SubjectAlternativeName) > 0 { - i -= len(m.SubjectAlternativeName) - copy(dAtA[i:], m.SubjectAlternativeName) - i = encodeVarintMessage(dAtA, i, uint64(len(m.SubjectAlternativeName))) - i-- - dAtA[i] = 0x22 - } - if len(m.OrganizationalUnit) > 0 { - i -= len(m.OrganizationalUnit) - copy(dAtA[i:], m.OrganizationalUnit) - i = encodeVarintMessage(dAtA, i, uint64(len(m.OrganizationalUnit))) - i-- - dAtA[i] = 0x1a - } - if len(m.Organization) > 0 { - i -= len(m.Organization) - copy(dAtA[i:], m.Organization) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Organization))) - i-- - dAtA[i] = 0x12 - } - if len(m.CommonName) > 0 { - i -= len(m.CommonName) - copy(dAtA[i:], m.CommonName) - i = encodeVarintMessage(dAtA, i, uint64(len(m.CommonName))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *NamespaceURI) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NamespaceURI) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NamespaceURI) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.PassiveRegionalGrpcAddresses) > 0 { - for iNdEx := len(m.PassiveRegionalGrpcAddresses) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.PassiveRegionalGrpcAddresses[iNdEx]) - copy(dAtA[i:], m.PassiveRegionalGrpcAddresses[iNdEx]) - i = encodeVarintMessage(dAtA, i, uint64(len(m.PassiveRegionalGrpcAddresses[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(m.RegionalGrpc) > 0 { - i -= len(m.RegionalGrpc) - copy(dAtA[i:], m.RegionalGrpc) - i = encodeVarintMessage(dAtA, i, uint64(len(m.RegionalGrpc))) - i-- - dAtA[i] = 0x22 - } - if len(m.VpcEndpointServiceNames) > 0 { - for iNdEx := len(m.VpcEndpointServiceNames) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.VpcEndpointServiceNames[iNdEx]) - copy(dAtA[i:], m.VpcEndpointServiceNames[iNdEx]) - i = encodeVarintMessage(dAtA, i, uint64(len(m.VpcEndpointServiceNames[iNdEx]))) - i-- - dAtA[i] = 0x1a - } - } - if len(m.Grpc) > 0 { - i -= len(m.Grpc) - copy(dAtA[i:], m.Grpc) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Grpc))) - i-- - dAtA[i] = 0x12 - } - if len(m.Web) > 0 { - i -= len(m.Web) - copy(dAtA[i:], m.Web) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Web))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *NamespaceEnvelope) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NamespaceEnvelope) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NamespaceEnvelope) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ThrottledFrontendRpsLastUpdatedTime != nil { - { - size, err := m.ThrottledFrontendRpsLastUpdatedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x4a - } - if m.ThrottledFrontendRps != nil { - { - size, err := m.ThrottledFrontendRps.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x42 - } - if m.FrontendRpsLimit != nil { - { - size, err := m.FrontendRpsLimit.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if m.ThrottledActionsPerSecondLastUpdatedTime != nil { - { - size, err := m.ThrottledActionsPerSecondLastUpdatedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if m.ThrottledActionsPerSecond != nil { - { - size, err := m.ThrottledActionsPerSecond.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if m.ActionsPerSecondLimit != nil { - { - size, err := m.ActionsPerSecondLimit.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - return len(dAtA) - i, nil -} - -func (m *NamespaceRegion) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *NamespaceRegion) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NamespaceRegion) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ReplicaState != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.ReplicaState)) - i-- - dAtA[i] = 0x18 - } - if m.ReplicaMode != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.ReplicaMode)) - i-- - dAtA[i] = 0x10 - } - if m.RegionId != nil { - { - size, err := m.RegionId.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Namespace) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Namespace) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Namespace) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Tags) > 0 { - for k := range m.Tags { - v := m.Tags[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintMessage(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintMessage(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintMessage(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x7a - } - } - if len(m.ConnectivityRules) > 0 { - for iNdEx := len(m.ConnectivityRules) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.ConnectivityRules[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x72 - } - } - if len(m.Regions) > 0 { - for iNdEx := len(m.Regions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Regions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x62 - } - } - if len(m.AllowedPrincipals) > 0 { - for iNdEx := len(m.AllowedPrincipals) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.AllowedPrincipals[iNdEx]) - copy(dAtA[i:], m.AllowedPrincipals[iNdEx]) - i = encodeVarintMessage(dAtA, i, uint64(len(m.AllowedPrincipals[iNdEx]))) - i-- - dAtA[i] = 0x5a - } - } - if m.Envelope != nil { - { - size, err := m.Envelope.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x4a - } - if m.Uri != nil { - { - size, err := m.Uri.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if m.LastModifiedTime != nil { - { - size, err := m.LastModifiedTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x2a - } - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x20 - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintMessage(dAtA []byte, offset int, v uint64) int { - offset -= sovMessage(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *NamespaceSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.AcceptedClientCa) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.RetentionDays != 0 { - n += 1 + sovMessage(uint64(m.RetentionDays)) - } - if len(m.SearchAttributes) > 0 { - for k, v := range m.SearchAttributes { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovMessage(uint64(len(k))) + 1 + sovMessage(uint64(v)) - n += mapEntrySize + 1 + sovMessage(uint64(mapEntrySize)) - } - } - if len(m.CertificateFilters) > 0 { - for _, e := range m.CertificateFilters { - l = e.Size() - n += 1 + l + sovMessage(uint64(l)) - } - } - if m.Environment != 0 { - n += 1 + sovMessage(uint64(m.Environment)) - } - if m.CodecSpec != nil { - l = m.CodecSpec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if len(m.PassiveRegions) > 0 { - for _, s := range m.PassiveRegions { - l = len(s) - n += 1 + l + sovMessage(uint64(l)) - } - } - if m.AuthMethod != 0 { - n += 1 + sovMessage(uint64(m.AuthMethod)) - } - if m.RegionId != nil { - l = m.RegionId.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.Lifecycle != nil { - l = m.Lifecycle.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.HighAvailability != nil { - l = m.HighAvailability.Size() - n += 2 + l + sovMessage(uint64(l)) - } - if len(m.PassiveRegionIds) > 0 { - for _, e := range m.PassiveRegionIds { - l = e.Size() - n += 2 + l + sovMessage(uint64(l)) - } - } - if len(m.ConnectivityRuleIds) > 0 { - for _, s := range m.ConnectivityRuleIds { - l = len(s) - n += 2 + l + sovMessage(uint64(l)) - } - } - return n -} - -func (m *HighAvailabilitySpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.DisableManagedFailover { - n += 2 - } - return n -} - -func (m *LifecycleSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.EnableDeleteProtection { - n += 2 - } - return n -} - -func (m *CodecServerPropertySpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Endpoint) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.PassAccessToken { - n += 2 - } - if m.IncludeCredentials { - n += 2 - } - if m.CustomErrorMessage != nil { - l = m.CustomErrorMessage.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *CodecServerPropertySpec_CustomErrorMessage) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Default != nil { - l = m.Default.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Message) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.Link) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *CertificateFilterSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.CommonName) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.Organization) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.OrganizationalUnit) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.SubjectAlternativeName) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *NamespaceURI) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Web) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.Grpc) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if len(m.VpcEndpointServiceNames) > 0 { - for _, s := range m.VpcEndpointServiceNames { - l = len(s) - n += 1 + l + sovMessage(uint64(l)) - } - } - l = len(m.RegionalGrpc) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if len(m.PassiveRegionalGrpcAddresses) > 0 { - for _, s := range m.PassiveRegionalGrpcAddresses { - l = len(s) - n += 1 + l + sovMessage(uint64(l)) - } - } - return n -} - -func (m *NamespaceEnvelope) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.ActionsPerSecondLimit != nil { - l = m.ActionsPerSecondLimit.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.ThrottledActionsPerSecond != nil { - l = m.ThrottledActionsPerSecond.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.ThrottledActionsPerSecondLastUpdatedTime != nil { - l = m.ThrottledActionsPerSecondLastUpdatedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.FrontendRpsLimit != nil { - l = m.FrontendRpsLimit.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.ThrottledFrontendRps != nil { - l = m.ThrottledFrontendRps.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.ThrottledFrontendRpsLastUpdatedTime != nil { - l = m.ThrottledFrontendRpsLastUpdatedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *NamespaceRegion) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.RegionId != nil { - l = m.RegionId.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.ReplicaMode != 0 { - n += 1 + sovMessage(uint64(m.ReplicaMode)) - } - if m.ReplicaState != 0 { - n += 1 + sovMessage(uint64(m.ReplicaState)) - } - return n -} - -func (m *Namespace) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.LastModifiedTime != nil { - l = m.LastModifiedTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.Uri != nil { - l = m.Uri.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.Envelope != nil { - l = m.Envelope.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if len(m.AllowedPrincipals) > 0 { - for _, s := range m.AllowedPrincipals { - l = len(s) - n += 1 + l + sovMessage(uint64(l)) - } - } - if len(m.Regions) > 0 { - for _, e := range m.Regions { - l = e.Size() - n += 1 + l + sovMessage(uint64(l)) - } - } - if len(m.ConnectivityRules) > 0 { - for _, e := range m.ConnectivityRules { - l = e.Size() - n += 1 + l + sovMessage(uint64(l)) - } - } - if len(m.Tags) > 0 { - for k, v := range m.Tags { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovMessage(uint64(len(k))) + 1 + len(v) + sovMessage(uint64(len(v))) - n += mapEntrySize + 1 + sovMessage(uint64(mapEntrySize)) - } - } - return n -} - -func sovMessage(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozMessage(x uint64) (n int) { - return sovMessage(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (this *NamespaceSpec) String() string { - if this == nil { - return "nil" - } - repeatedStringForCertificateFilters := "[]*CertificateFilterSpec{" - for _, f := range this.CertificateFilters { - repeatedStringForCertificateFilters += strings.Replace(f.String(), "CertificateFilterSpec", "CertificateFilterSpec", 1) + "," - } - repeatedStringForCertificateFilters += "}" - repeatedStringForPassiveRegionIds := "[]*RegionID{" - for _, f := range this.PassiveRegionIds { - repeatedStringForPassiveRegionIds += strings.Replace(fmt.Sprintf("%v", f), "RegionID", "v1.RegionID", 1) + "," - } - repeatedStringForPassiveRegionIds += "}" - keysForSearchAttributes := make([]string, 0, len(this.SearchAttributes)) - for k, _ := range this.SearchAttributes { - keysForSearchAttributes = append(keysForSearchAttributes, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForSearchAttributes) - mapStringForSearchAttributes := "map[string]SearchAttributeType{" - for _, k := range keysForSearchAttributes { - mapStringForSearchAttributes += fmt.Sprintf("%v: %v,", k, this.SearchAttributes[k]) - } - mapStringForSearchAttributes += "}" - s := strings.Join([]string{`&NamespaceSpec{`, - `AcceptedClientCa:` + fmt.Sprintf("%v", this.AcceptedClientCa) + `,`, - `RetentionDays:` + fmt.Sprintf("%v", this.RetentionDays) + `,`, - `SearchAttributes:` + mapStringForSearchAttributes + `,`, - `CertificateFilters:` + repeatedStringForCertificateFilters + `,`, - `Environment:` + fmt.Sprintf("%v", this.Environment) + `,`, - `CodecSpec:` + strings.Replace(this.CodecSpec.String(), "CodecServerPropertySpec", "CodecServerPropertySpec", 1) + `,`, - `PassiveRegions:` + fmt.Sprintf("%v", this.PassiveRegions) + `,`, - `AuthMethod:` + fmt.Sprintf("%v", this.AuthMethod) + `,`, - `RegionId:` + strings.Replace(fmt.Sprintf("%v", this.RegionId), "RegionID", "v1.RegionID", 1) + `,`, - `Lifecycle:` + strings.Replace(this.Lifecycle.String(), "LifecycleSpec", "LifecycleSpec", 1) + `,`, - `HighAvailability:` + strings.Replace(this.HighAvailability.String(), "HighAvailabilitySpec", "HighAvailabilitySpec", 1) + `,`, - `PassiveRegionIds:` + repeatedStringForPassiveRegionIds + `,`, - `ConnectivityRuleIds:` + fmt.Sprintf("%v", this.ConnectivityRuleIds) + `,`, - `}`, - }, "") - return s -} -func (this *HighAvailabilitySpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&HighAvailabilitySpec{`, - `DisableManagedFailover:` + fmt.Sprintf("%v", this.DisableManagedFailover) + `,`, - `}`, - }, "") - return s -} -func (this *LifecycleSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&LifecycleSpec{`, - `EnableDeleteProtection:` + fmt.Sprintf("%v", this.EnableDeleteProtection) + `,`, - `}`, - }, "") - return s -} -func (this *CodecServerPropertySpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CodecServerPropertySpec{`, - `Endpoint:` + fmt.Sprintf("%v", this.Endpoint) + `,`, - `PassAccessToken:` + fmt.Sprintf("%v", this.PassAccessToken) + `,`, - `IncludeCredentials:` + fmt.Sprintf("%v", this.IncludeCredentials) + `,`, - `CustomErrorMessage:` + strings.Replace(fmt.Sprintf("%v", this.CustomErrorMessage), "CodecServerPropertySpec_CustomErrorMessage", "CodecServerPropertySpec_CustomErrorMessage", 1) + `,`, - `}`, - }, "") - return s -} -func (this *CodecServerPropertySpec_CustomErrorMessage) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CodecServerPropertySpec_CustomErrorMessage{`, - `Default:` + strings.Replace(fmt.Sprintf("%v", this.Default), "CodecServerPropertySpec_CustomErrorMessage_ErrorMessage", "CodecServerPropertySpec_CustomErrorMessage_ErrorMessage", 1) + `,`, - `}`, - }, "") - return s -} -func (this *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CodecServerPropertySpec_CustomErrorMessage_ErrorMessage{`, - `Message:` + fmt.Sprintf("%v", this.Message) + `,`, - `Link:` + fmt.Sprintf("%v", this.Link) + `,`, - `}`, - }, "") - return s -} -func (this *CertificateFilterSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CertificateFilterSpec{`, - `CommonName:` + fmt.Sprintf("%v", this.CommonName) + `,`, - `Organization:` + fmt.Sprintf("%v", this.Organization) + `,`, - `OrganizationalUnit:` + fmt.Sprintf("%v", this.OrganizationalUnit) + `,`, - `SubjectAlternativeName:` + fmt.Sprintf("%v", this.SubjectAlternativeName) + `,`, - `}`, - }, "") - return s -} -func (this *NamespaceURI) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&NamespaceURI{`, - `Web:` + fmt.Sprintf("%v", this.Web) + `,`, - `Grpc:` + fmt.Sprintf("%v", this.Grpc) + `,`, - `VpcEndpointServiceNames:` + fmt.Sprintf("%v", this.VpcEndpointServiceNames) + `,`, - `RegionalGrpc:` + fmt.Sprintf("%v", this.RegionalGrpc) + `,`, - `PassiveRegionalGrpcAddresses:` + fmt.Sprintf("%v", this.PassiveRegionalGrpcAddresses) + `,`, - `}`, - }, "") - return s -} -func (this *NamespaceEnvelope) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&NamespaceEnvelope{`, - `ActionsPerSecondLimit:` + strings.Replace(fmt.Sprintf("%v", this.ActionsPerSecondLimit), "Int32Value", "types.Int32Value", 1) + `,`, - `ThrottledActionsPerSecond:` + strings.Replace(fmt.Sprintf("%v", this.ThrottledActionsPerSecond), "Int32Value", "types.Int32Value", 1) + `,`, - `ThrottledActionsPerSecondLastUpdatedTime:` + strings.Replace(fmt.Sprintf("%v", this.ThrottledActionsPerSecondLastUpdatedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `FrontendRpsLimit:` + strings.Replace(fmt.Sprintf("%v", this.FrontendRpsLimit), "Int32Value", "types.Int32Value", 1) + `,`, - `ThrottledFrontendRps:` + strings.Replace(fmt.Sprintf("%v", this.ThrottledFrontendRps), "Int32Value", "types.Int32Value", 1) + `,`, - `ThrottledFrontendRpsLastUpdatedTime:` + strings.Replace(fmt.Sprintf("%v", this.ThrottledFrontendRpsLastUpdatedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `}`, - }, "") - return s -} -func (this *NamespaceRegion) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&NamespaceRegion{`, - `RegionId:` + strings.Replace(fmt.Sprintf("%v", this.RegionId), "RegionID", "v1.RegionID", 1) + `,`, - `ReplicaMode:` + fmt.Sprintf("%v", this.ReplicaMode) + `,`, - `ReplicaState:` + fmt.Sprintf("%v", this.ReplicaState) + `,`, - `}`, - }, "") - return s -} -func (this *Namespace) String() string { - if this == nil { - return "nil" - } - repeatedStringForRegions := "[]*NamespaceRegion{" - for _, f := range this.Regions { - repeatedStringForRegions += strings.Replace(f.String(), "NamespaceRegion", "NamespaceRegion", 1) + "," - } - repeatedStringForRegions += "}" - repeatedStringForConnectivityRules := "[]*ConnectivityRule{" - for _, f := range this.ConnectivityRules { - repeatedStringForConnectivityRules += strings.Replace(fmt.Sprintf("%v", f), "ConnectivityRule", "v11.ConnectivityRule", 1) + "," - } - repeatedStringForConnectivityRules += "}" - keysForTags := make([]string, 0, len(this.Tags)) - for k, _ := range this.Tags { - keysForTags = append(keysForTags, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForTags) - mapStringForTags := "map[string]string{" - for _, k := range keysForTags { - mapStringForTags += fmt.Sprintf("%v: %v,", k, this.Tags[k]) - } - mapStringForTags += "}" - s := strings.Join([]string{`&Namespace{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `Spec:` + strings.Replace(this.Spec.String(), "NamespaceSpec", "NamespaceSpec", 1) + `,`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `LastModifiedTime:` + strings.Replace(fmt.Sprintf("%v", this.LastModifiedTime), "Timestamp", "types.Timestamp", 1) + `,`, - `Uri:` + strings.Replace(this.Uri.String(), "NamespaceURI", "NamespaceURI", 1) + `,`, - `Envelope:` + strings.Replace(this.Envelope.String(), "NamespaceEnvelope", "NamespaceEnvelope", 1) + `,`, - `AllowedPrincipals:` + fmt.Sprintf("%v", this.AllowedPrincipals) + `,`, - `Regions:` + repeatedStringForRegions + `,`, - `ConnectivityRules:` + repeatedStringForConnectivityRules + `,`, - `Tags:` + mapStringForTags + `,`, - `}`, - }, "") - return s -} -func valueToStringMessage(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) -} -func (m *NamespaceSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: NamespaceSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NamespaceSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AcceptedClientCa", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AcceptedClientCa = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RetentionDays", wireType) - } - m.RetentionDays = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.RetentionDays |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SearchAttributes", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.SearchAttributes == nil { - m.SearchAttributes = make(map[string]SearchAttributeType) - } - var mapkey string - var mapvalue SearchAttributeType - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthMessage - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthMessage - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - mapvalue |= SearchAttributeType(b&0x7F) << shift - if b < 0x80 { - break - } - } - } else { - iNdEx = entryPreIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.SearchAttributes[mapkey] = mapvalue - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CertificateFilters", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.CertificateFilters = append(m.CertificateFilters, &CertificateFilterSpec{}) - if err := m.CertificateFilters[len(m.CertificateFilters)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Environment", wireType) - } - m.Environment = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Environment |= Environment(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CodecSpec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CodecSpec == nil { - m.CodecSpec = &CodecServerPropertySpec{} - } - if err := m.CodecSpec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PassiveRegions", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PassiveRegions = append(m.PassiveRegions, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 13: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AuthMethod", wireType) - } - m.AuthMethod = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.AuthMethod |= AuthMethod(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 14: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RegionId", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RegionId == nil { - m.RegionId = &v1.RegionID{} - } - if err := m.RegionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 15: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Lifecycle", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Lifecycle == nil { - m.Lifecycle = &LifecycleSpec{} - } - if err := m.Lifecycle.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 16: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field HighAvailability", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.HighAvailability == nil { - m.HighAvailability = &HighAvailabilitySpec{} - } - if err := m.HighAvailability.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 17: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PassiveRegionIds", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PassiveRegionIds = append(m.PassiveRegionIds, &v1.RegionID{}) - if err := m.PassiveRegionIds[len(m.PassiveRegionIds)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 18: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectivityRuleIds", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ConnectivityRuleIds = append(m.ConnectivityRuleIds, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *HighAvailabilitySpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: HighAvailabilitySpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: HighAvailabilitySpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DisableManagedFailover", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.DisableManagedFailover = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *LifecycleSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: LifecycleSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: LifecycleSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EnableDeleteProtection", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.EnableDeleteProtection = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CodecServerPropertySpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CodecServerPropertySpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CodecServerPropertySpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Endpoint", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Endpoint = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PassAccessToken", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.PassAccessToken = bool(v != 0) - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IncludeCredentials", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.IncludeCredentials = bool(v != 0) - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CustomErrorMessage", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CustomErrorMessage == nil { - m.CustomErrorMessage = &CodecServerPropertySpec_CustomErrorMessage{} - } - if err := m.CustomErrorMessage.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CodecServerPropertySpec_CustomErrorMessage) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CustomErrorMessage: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CustomErrorMessage: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Default", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Default == nil { - m.Default = &CodecServerPropertySpec_CustomErrorMessage_ErrorMessage{} - } - if err := m.Default.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CodecServerPropertySpec_CustomErrorMessage_ErrorMessage) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ErrorMessage: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ErrorMessage: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Message = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Link", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Link = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CertificateFilterSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CertificateFilterSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CertificateFilterSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CommonName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.CommonName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Organization", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Organization = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OrganizationalUnit", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.OrganizationalUnit = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SubjectAlternativeName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SubjectAlternativeName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NamespaceURI) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: NamespaceURI: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NamespaceURI: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Web", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Web = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Grpc", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Grpc = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VpcEndpointServiceNames", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.VpcEndpointServiceNames = append(m.VpcEndpointServiceNames, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RegionalGrpc", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RegionalGrpc = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PassiveRegionalGrpcAddresses", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PassiveRegionalGrpcAddresses = append(m.PassiveRegionalGrpcAddresses, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NamespaceEnvelope) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: NamespaceEnvelope: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NamespaceEnvelope: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ActionsPerSecondLimit", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ActionsPerSecondLimit == nil { - m.ActionsPerSecondLimit = &types.Int32Value{} - } - if err := m.ActionsPerSecondLimit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ThrottledActionsPerSecond", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ThrottledActionsPerSecond == nil { - m.ThrottledActionsPerSecond = &types.Int32Value{} - } - if err := m.ThrottledActionsPerSecond.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ThrottledActionsPerSecondLastUpdatedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ThrottledActionsPerSecondLastUpdatedTime == nil { - m.ThrottledActionsPerSecondLastUpdatedTime = &types.Timestamp{} - } - if err := m.ThrottledActionsPerSecondLastUpdatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FrontendRpsLimit", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.FrontendRpsLimit == nil { - m.FrontendRpsLimit = &types.Int32Value{} - } - if err := m.FrontendRpsLimit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ThrottledFrontendRps", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ThrottledFrontendRps == nil { - m.ThrottledFrontendRps = &types.Int32Value{} - } - if err := m.ThrottledFrontendRps.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ThrottledFrontendRpsLastUpdatedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ThrottledFrontendRpsLastUpdatedTime == nil { - m.ThrottledFrontendRpsLastUpdatedTime = &types.Timestamp{} - } - if err := m.ThrottledFrontendRpsLastUpdatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NamespaceRegion) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: NamespaceRegion: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NamespaceRegion: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RegionId", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RegionId == nil { - m.RegionId = &v1.RegionID{} - } - if err := m.RegionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplicaMode", wireType) - } - m.ReplicaMode = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ReplicaMode |= v1.ReplicaMode(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplicaState", wireType) - } - m.ReplicaState = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ReplicaState |= v1.ReplicaState(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Namespace) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Namespace: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Namespace: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &NamespaceSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= State(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastModifiedTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.LastModifiedTime == nil { - m.LastModifiedTime = &types.Timestamp{} - } - if err := m.LastModifiedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Uri", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Uri == nil { - m.Uri = &NamespaceURI{} - } - if err := m.Uri.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Envelope", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Envelope == nil { - m.Envelope = &NamespaceEnvelope{} - } - if err := m.Envelope.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 11: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AllowedPrincipals", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AllowedPrincipals = append(m.AllowedPrincipals, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 12: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Regions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Regions = append(m.Regions, &NamespaceRegion{}) - if err := m.Regions[len(m.Regions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 14: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectivityRules", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ConnectivityRules = append(m.ConnectivityRules, &v11.ConnectivityRule{}) - if err := m.ConnectivityRules[len(m.ConnectivityRules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 15: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Tags == nil { - m.Tags = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthMessage - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthMessage - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthMessage - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthMessage - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Tags[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipMessage(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthMessage - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupMessage - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthMessage - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowMessage = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group") -) diff --git a/protogen/api/namespaceservice/v1/request_response.pb.go b/protogen/api/namespaceservice/v1/request_response.pb.go index 8e398072..f8c3ed8e 100644 --- a/protogen/api/namespaceservice/v1/request_response.pb.go +++ b/protogen/api/namespaceservice/v1/request_response.pb.go @@ -1,37 +1,45 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// (-- api-linter: core::0133::request-parent-required=disabled --) +// (-- api-linter: core::0133::request-resource-field=disabled --) +// (-- api-linter: core::0133::request-unknown-fields=disabled --) + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: api/namespaceservice/v1/request_response.proto package namespaceservice import ( - bytes "bytes" - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" - types "github.com/gogo/protobuf/types" - io "io" - math "math" - math_bits "math/bits" - reflect "reflect" - strings "strings" + proto "github.com/golang/protobuf/proto" v11 "github.com/temporalio/tcld/protogen/api/auth/v1" v13 "github.com/temporalio/tcld/protogen/api/common/v1" v1 "github.com/temporalio/tcld/protogen/api/namespace/v1" v12 "github.com/temporalio/tcld/protogen/api/request/v1" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type CreateNamespaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the namespace Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // the namespace specification @@ -48,487 +56,457 @@ type CreateNamespaceRequest struct { Tags map[string]string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *CreateNamespaceRequest) Reset() { *m = CreateNamespaceRequest{} } -func (*CreateNamespaceRequest) ProtoMessage() {} -func (*CreateNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{0} -} -func (m *CreateNamespaceRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CreateNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateNamespaceRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CreateNamespaceRequest) Reset() { + *x = CreateNamespaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CreateNamespaceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateNamespaceRequest.Merge(m, src) -} -func (m *CreateNamespaceRequest) XXX_Size() int { - return m.Size() + +func (x *CreateNamespaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateNamespaceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateNamespaceRequest.DiscardUnknown(m) + +func (*CreateNamespaceRequest) ProtoMessage() {} + +func (x *CreateNamespaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CreateNamespaceRequest proto.InternalMessageInfo +// Deprecated: Use CreateNamespaceRequest.ProtoReflect.Descriptor instead. +func (*CreateNamespaceRequest) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{0} +} -func (m *CreateNamespaceRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *CreateNamespaceRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *CreateNamespaceRequest) GetSpec() *v1.NamespaceSpec { - if m != nil { - return m.Spec +func (x *CreateNamespaceRequest) GetSpec() *v1.NamespaceSpec { + if x != nil { + return x.Spec } return nil } -func (m *CreateNamespaceRequest) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *CreateNamespaceRequest) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } -func (m *CreateNamespaceRequest) GetUserNamespacePermissions() []*v11.UserNamespacePermissions { - if m != nil { - return m.UserNamespacePermissions +func (x *CreateNamespaceRequest) GetUserNamespacePermissions() []*v11.UserNamespacePermissions { + if x != nil { + return x.UserNamespacePermissions } return nil } -func (m *CreateNamespaceRequest) GetIdentityNamespacePermissions() []*v11.IdentityNamespacePermissions { - if m != nil { - return m.IdentityNamespacePermissions +func (x *CreateNamespaceRequest) GetIdentityNamespacePermissions() []*v11.IdentityNamespacePermissions { + if x != nil { + return x.IdentityNamespacePermissions } return nil } -func (m *CreateNamespaceRequest) GetTags() map[string]string { - if m != nil { - return m.Tags +func (x *CreateNamespaceRequest) GetTags() map[string]string { + if x != nil { + return x.Tags } return nil } type CreateNamespaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the request status of the provisioning operation RequestStatus *v12.RequestStatus `protobuf:"bytes,1,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` } -func (m *CreateNamespaceResponse) Reset() { *m = CreateNamespaceResponse{} } -func (*CreateNamespaceResponse) ProtoMessage() {} -func (*CreateNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{1} -} -func (m *CreateNamespaceResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CreateNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CreateNamespaceResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *CreateNamespaceResponse) Reset() { + *x = CreateNamespaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *CreateNamespaceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateNamespaceResponse.Merge(m, src) -} -func (m *CreateNamespaceResponse) XXX_Size() int { - return m.Size() -} -func (m *CreateNamespaceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateNamespaceResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_CreateNamespaceResponse proto.InternalMessageInfo -func (m *CreateNamespaceResponse) GetRequestStatus() *v12.RequestStatus { - if m != nil { - return m.RequestStatus - } - return nil +func (x *CreateNamespaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -type ListNamespacesFilter struct { - // Cloud provider filter - CloudProviders []v13.RegionID_CloudProvider `protobuf:"varint,1,rep,packed,name=cloud_providers,json=cloudProviders,proto3,enum=api.common.v1.RegionID_CloudProvider" json:"cloud_providers,omitempty"` - // filter for namespaces associated with the connectivity rule. - ConnectivityRuleId string `protobuf:"bytes,2,opt,name=connectivity_rule_id,json=connectivityRuleId,proto3" json:"connectivity_rule_id,omitempty"` -} +func (*CreateNamespaceResponse) ProtoMessage() {} -func (m *ListNamespacesFilter) Reset() { *m = ListNamespacesFilter{} } -func (*ListNamespacesFilter) ProtoMessage() {} -func (*ListNamespacesFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{2} -} -func (m *ListNamespacesFilter) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ListNamespacesFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ListNamespacesFilter.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (x *CreateNamespaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } + return mi.MessageOf(x) } -func (m *ListNamespacesFilter) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNamespacesFilter.Merge(m, src) -} -func (m *ListNamespacesFilter) XXX_Size() int { - return m.Size() -} -func (m *ListNamespacesFilter) XXX_DiscardUnknown() { - xxx_messageInfo_ListNamespacesFilter.DiscardUnknown(m) -} - -var xxx_messageInfo_ListNamespacesFilter proto.InternalMessageInfo -func (m *ListNamespacesFilter) GetCloudProviders() []v13.RegionID_CloudProvider { - if m != nil { - return m.CloudProviders - } - return nil +// Deprecated: Use CreateNamespaceResponse.ProtoReflect.Descriptor instead. +func (*CreateNamespaceResponse) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{1} } -func (m *ListNamespacesFilter) GetConnectivityRuleId() string { - if m != nil { - return m.ConnectivityRuleId +func (x *CreateNamespaceResponse) GetRequestStatus() *v12.RequestStatus { + if x != nil { + return x.RequestStatus } - return "" + return nil } type ListNamespacesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the requested size of the page to retrieve PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // the page token PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // the filter for listing the namespaces - Filter *ListNamespacesFilter `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` } -func (m *ListNamespacesRequest) Reset() { *m = ListNamespacesRequest{} } -func (*ListNamespacesRequest) ProtoMessage() {} -func (*ListNamespacesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{3} -} -func (m *ListNamespacesRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ListNamespacesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ListNamespacesRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ListNamespacesRequest) Reset() { + *x = ListNamespacesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ListNamespacesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNamespacesRequest.Merge(m, src) -} -func (m *ListNamespacesRequest) XXX_Size() int { - return m.Size() -} -func (m *ListNamespacesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListNamespacesRequest.DiscardUnknown(m) + +func (x *ListNamespacesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ListNamespacesRequest proto.InternalMessageInfo +func (*ListNamespacesRequest) ProtoMessage() {} -func (m *ListNamespacesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *ListNamespacesRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) +} + +// Deprecated: Use ListNamespacesRequest.ProtoReflect.Descriptor instead. +func (*ListNamespacesRequest) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{2} } -func (m *ListNamespacesRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *ListNamespacesRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } - return "" + return 0 } -func (m *ListNamespacesRequest) GetFilter() *ListNamespacesFilter { - if m != nil { - return m.Filter +func (x *ListNamespacesRequest) GetPageToken() string { + if x != nil { + return x.PageToken } - return nil + return "" } type ListNamespacesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the list of namespaces Namespaces []string `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // the next page's token NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *ListNamespacesResponse) Reset() { *m = ListNamespacesResponse{} } -func (*ListNamespacesResponse) ProtoMessage() {} -func (*ListNamespacesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{4} -} -func (m *ListNamespacesResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ListNamespacesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ListNamespacesResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ListNamespacesResponse) Reset() { + *x = ListNamespacesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ListNamespacesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNamespacesResponse.Merge(m, src) -} -func (m *ListNamespacesResponse) XXX_Size() int { - return m.Size() + +func (x *ListNamespacesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListNamespacesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListNamespacesResponse.DiscardUnknown(m) + +func (*ListNamespacesResponse) ProtoMessage() {} + +func (x *ListNamespacesResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListNamespacesResponse proto.InternalMessageInfo +// Deprecated: Use ListNamespacesResponse.ProtoReflect.Descriptor instead. +func (*ListNamespacesResponse) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{3} +} -func (m *ListNamespacesResponse) GetNamespaces() []string { - if m != nil { - return m.Namespaces +func (x *ListNamespacesResponse) GetNamespaces() []string { + if x != nil { + return x.Namespaces } return nil } -func (m *ListNamespacesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *ListNamespacesResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type GetNamespacesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the requested size of the page to retrieve PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // the page token PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *GetNamespacesRequest) Reset() { *m = GetNamespacesRequest{} } -func (*GetNamespacesRequest) ProtoMessage() {} -func (*GetNamespacesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{5} -} -func (m *GetNamespacesRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetNamespacesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetNamespacesRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetNamespacesRequest) Reset() { + *x = GetNamespacesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetNamespacesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNamespacesRequest.Merge(m, src) -} -func (m *GetNamespacesRequest) XXX_Size() int { - return m.Size() + +func (x *GetNamespacesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetNamespacesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetNamespacesRequest.DiscardUnknown(m) + +func (*GetNamespacesRequest) ProtoMessage() {} + +func (x *GetNamespacesRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetNamespacesRequest proto.InternalMessageInfo +// Deprecated: Use GetNamespacesRequest.ProtoReflect.Descriptor instead. +func (*GetNamespacesRequest) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{4} +} -func (m *GetNamespacesRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *GetNamespacesRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *GetNamespacesRequest) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *GetNamespacesRequest) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } type GetNamespacesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the list of namespaces Namespaces []*v1.Namespace `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // the next page's token NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *GetNamespacesResponse) Reset() { *m = GetNamespacesResponse{} } -func (*GetNamespacesResponse) ProtoMessage() {} -func (*GetNamespacesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{6} -} -func (m *GetNamespacesResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetNamespacesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetNamespacesResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetNamespacesResponse) Reset() { + *x = GetNamespacesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetNamespacesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNamespacesResponse.Merge(m, src) -} -func (m *GetNamespacesResponse) XXX_Size() int { - return m.Size() + +func (x *GetNamespacesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetNamespacesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetNamespacesResponse.DiscardUnknown(m) + +func (*GetNamespacesResponse) ProtoMessage() {} + +func (x *GetNamespacesResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetNamespacesResponse proto.InternalMessageInfo +// Deprecated: Use GetNamespacesResponse.ProtoReflect.Descriptor instead. +func (*GetNamespacesResponse) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{5} +} -func (m *GetNamespacesResponse) GetNamespaces() []*v1.Namespace { - if m != nil { - return m.Namespaces +func (x *GetNamespacesResponse) GetNamespaces() []*v1.Namespace { + if x != nil { + return x.Namespaces } return nil } -func (m *GetNamespacesResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken +func (x *GetNamespacesResponse) GetNextPageToken() string { + if x != nil { + return x.NextPageToken } return "" } type GetNamespaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the namespace Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` } -func (m *GetNamespaceRequest) Reset() { *m = GetNamespaceRequest{} } -func (*GetNamespaceRequest) ProtoMessage() {} -func (*GetNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{7} -} -func (m *GetNamespaceRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetNamespaceRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetNamespaceRequest) Reset() { + *x = GetNamespaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetNamespaceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNamespaceRequest.Merge(m, src) -} -func (m *GetNamespaceRequest) XXX_Size() int { - return m.Size() + +func (x *GetNamespaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetNamespaceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetNamespaceRequest.DiscardUnknown(m) + +func (*GetNamespaceRequest) ProtoMessage() {} + +func (x *GetNamespaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetNamespaceRequest proto.InternalMessageInfo +// Deprecated: Use GetNamespaceRequest.ProtoReflect.Descriptor instead. +func (*GetNamespaceRequest) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{6} +} -func (m *GetNamespaceRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *GetNamespaceRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } type GetNamespaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the namespace Namespace *v1.Namespace `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` } -func (m *GetNamespaceResponse) Reset() { *m = GetNamespaceResponse{} } -func (*GetNamespaceResponse) ProtoMessage() {} -func (*GetNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{8} -} -func (m *GetNamespaceResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetNamespaceResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetNamespaceResponse) Reset() { + *x = GetNamespaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetNamespaceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNamespaceResponse.Merge(m, src) -} -func (m *GetNamespaceResponse) XXX_Size() int { - return m.Size() + +func (x *GetNamespaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetNamespaceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetNamespaceResponse.DiscardUnknown(m) + +func (*GetNamespaceResponse) ProtoMessage() {} + +func (x *GetNamespaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GetNamespaceResponse proto.InternalMessageInfo +// Deprecated: Use GetNamespaceResponse.ProtoReflect.Descriptor instead. +func (*GetNamespaceResponse) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{7} +} -func (m *GetNamespaceResponse) GetNamespace() *v1.Namespace { - if m != nil { - return m.Namespace +func (x *GetNamespaceResponse) GetNamespace() *v1.Namespace { + if x != nil { + return x.Namespace } return nil } type UpdateNamespaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the namespace Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // the new namespace specification @@ -540,111 +518,119 @@ type UpdateNamespaceRequest struct { RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` } -func (m *UpdateNamespaceRequest) Reset() { *m = UpdateNamespaceRequest{} } -func (*UpdateNamespaceRequest) ProtoMessage() {} -func (*UpdateNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{9} -} -func (m *UpdateNamespaceRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *UpdateNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateNamespaceRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *UpdateNamespaceRequest) Reset() { + *x = UpdateNamespaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *UpdateNamespaceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNamespaceRequest.Merge(m, src) -} -func (m *UpdateNamespaceRequest) XXX_Size() int { - return m.Size() + +func (x *UpdateNamespaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateNamespaceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateNamespaceRequest.DiscardUnknown(m) + +func (*UpdateNamespaceRequest) ProtoMessage() {} + +func (x *UpdateNamespaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateNamespaceRequest proto.InternalMessageInfo +// Deprecated: Use UpdateNamespaceRequest.ProtoReflect.Descriptor instead. +func (*UpdateNamespaceRequest) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{8} +} -func (m *UpdateNamespaceRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *UpdateNamespaceRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *UpdateNamespaceRequest) GetSpec() *v1.NamespaceSpec { - if m != nil { - return m.Spec +func (x *UpdateNamespaceRequest) GetSpec() *v1.NamespaceSpec { + if x != nil { + return x.Spec } return nil } -func (m *UpdateNamespaceRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *UpdateNamespaceRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *UpdateNamespaceRequest) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *UpdateNamespaceRequest) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } type UpdateNamespaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the request status of the update operation RequestStatus *v12.RequestStatus `protobuf:"bytes,1,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` } -func (m *UpdateNamespaceResponse) Reset() { *m = UpdateNamespaceResponse{} } -func (*UpdateNamespaceResponse) ProtoMessage() {} -func (*UpdateNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{10} -} -func (m *UpdateNamespaceResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *UpdateNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateNamespaceResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *UpdateNamespaceResponse) Reset() { + *x = UpdateNamespaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *UpdateNamespaceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNamespaceResponse.Merge(m, src) -} -func (m *UpdateNamespaceResponse) XXX_Size() int { - return m.Size() + +func (x *UpdateNamespaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateNamespaceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateNamespaceResponse.DiscardUnknown(m) + +func (*UpdateNamespaceResponse) ProtoMessage() {} + +func (x *UpdateNamespaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateNamespaceResponse proto.InternalMessageInfo +// Deprecated: Use UpdateNamespaceResponse.ProtoReflect.Descriptor instead. +func (*UpdateNamespaceResponse) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{9} +} -func (m *UpdateNamespaceResponse) GetRequestStatus() *v12.RequestStatus { - if m != nil { - return m.RequestStatus +func (x *UpdateNamespaceResponse) GetRequestStatus() *v12.RequestStatus { + if x != nil { + return x.RequestStatus } return nil } type RenameCustomSearchAttributeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the namespace Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // the existing name of the custom search attribute to be renamed @@ -658,118 +644,126 @@ type RenameCustomSearchAttributeRequest struct { RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` } -func (m *RenameCustomSearchAttributeRequest) Reset() { *m = RenameCustomSearchAttributeRequest{} } -func (*RenameCustomSearchAttributeRequest) ProtoMessage() {} -func (*RenameCustomSearchAttributeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{11} -} -func (m *RenameCustomSearchAttributeRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *RenameCustomSearchAttributeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RenameCustomSearchAttributeRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *RenameCustomSearchAttributeRequest) Reset() { + *x = RenameCustomSearchAttributeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *RenameCustomSearchAttributeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RenameCustomSearchAttributeRequest.Merge(m, src) -} -func (m *RenameCustomSearchAttributeRequest) XXX_Size() int { - return m.Size() + +func (x *RenameCustomSearchAttributeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RenameCustomSearchAttributeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RenameCustomSearchAttributeRequest.DiscardUnknown(m) + +func (*RenameCustomSearchAttributeRequest) ProtoMessage() {} + +func (x *RenameCustomSearchAttributeRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RenameCustomSearchAttributeRequest proto.InternalMessageInfo +// Deprecated: Use RenameCustomSearchAttributeRequest.ProtoReflect.Descriptor instead. +func (*RenameCustomSearchAttributeRequest) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{10} +} -func (m *RenameCustomSearchAttributeRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *RenameCustomSearchAttributeRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *RenameCustomSearchAttributeRequest) GetExistingCustomSearchAttributeName() string { - if m != nil { - return m.ExistingCustomSearchAttributeName +func (x *RenameCustomSearchAttributeRequest) GetExistingCustomSearchAttributeName() string { + if x != nil { + return x.ExistingCustomSearchAttributeName } return "" } -func (m *RenameCustomSearchAttributeRequest) GetNewCustomSearchAttributeName() string { - if m != nil { - return m.NewCustomSearchAttributeName +func (x *RenameCustomSearchAttributeRequest) GetNewCustomSearchAttributeName() string { + if x != nil { + return x.NewCustomSearchAttributeName } return "" } -func (m *RenameCustomSearchAttributeRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *RenameCustomSearchAttributeRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *RenameCustomSearchAttributeRequest) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *RenameCustomSearchAttributeRequest) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } type RenameCustomSearchAttributeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the request status of the rename operation RequestStatus *v12.RequestStatus `protobuf:"bytes,1,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` } -func (m *RenameCustomSearchAttributeResponse) Reset() { *m = RenameCustomSearchAttributeResponse{} } -func (*RenameCustomSearchAttributeResponse) ProtoMessage() {} -func (*RenameCustomSearchAttributeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{12} -} -func (m *RenameCustomSearchAttributeResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *RenameCustomSearchAttributeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RenameCustomSearchAttributeResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *RenameCustomSearchAttributeResponse) Reset() { + *x = RenameCustomSearchAttributeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *RenameCustomSearchAttributeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RenameCustomSearchAttributeResponse.Merge(m, src) -} -func (m *RenameCustomSearchAttributeResponse) XXX_Size() int { - return m.Size() + +func (x *RenameCustomSearchAttributeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RenameCustomSearchAttributeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RenameCustomSearchAttributeResponse.DiscardUnknown(m) + +func (*RenameCustomSearchAttributeResponse) ProtoMessage() {} + +func (x *RenameCustomSearchAttributeResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RenameCustomSearchAttributeResponse proto.InternalMessageInfo +// Deprecated: Use RenameCustomSearchAttributeResponse.ProtoReflect.Descriptor instead. +func (*RenameCustomSearchAttributeResponse) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{11} +} -func (m *RenameCustomSearchAttributeResponse) GetRequestStatus() *v12.RequestStatus { - if m != nil { - return m.RequestStatus +func (x *RenameCustomSearchAttributeResponse) GetRequestStatus() *v12.RequestStatus { + if x != nil { + return x.RequestStatus } return nil } type DeleteNamespaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the namespace Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // the version of the namespace for which this delete is intended for @@ -779,104 +773,112 @@ type DeleteNamespaceRequest struct { RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` } -func (m *DeleteNamespaceRequest) Reset() { *m = DeleteNamespaceRequest{} } -func (*DeleteNamespaceRequest) ProtoMessage() {} -func (*DeleteNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{13} -} -func (m *DeleteNamespaceRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DeleteNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteNamespaceRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *DeleteNamespaceRequest) Reset() { + *x = DeleteNamespaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *DeleteNamespaceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNamespaceRequest.Merge(m, src) -} -func (m *DeleteNamespaceRequest) XXX_Size() int { - return m.Size() + +func (x *DeleteNamespaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteNamespaceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteNamespaceRequest.DiscardUnknown(m) + +func (*DeleteNamespaceRequest) ProtoMessage() {} + +func (x *DeleteNamespaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteNamespaceRequest proto.InternalMessageInfo +// Deprecated: Use DeleteNamespaceRequest.ProtoReflect.Descriptor instead. +func (*DeleteNamespaceRequest) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{12} +} -func (m *DeleteNamespaceRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *DeleteNamespaceRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *DeleteNamespaceRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *DeleteNamespaceRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } -func (m *DeleteNamespaceRequest) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *DeleteNamespaceRequest) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } type DeleteNamespaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the request status of the delete operation RequestStatus *v12.RequestStatus `protobuf:"bytes,1,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` } -func (m *DeleteNamespaceResponse) Reset() { *m = DeleteNamespaceResponse{} } -func (*DeleteNamespaceResponse) ProtoMessage() {} -func (*DeleteNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{14} -} -func (m *DeleteNamespaceResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DeleteNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DeleteNamespaceResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *DeleteNamespaceResponse) Reset() { + *x = DeleteNamespaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *DeleteNamespaceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNamespaceResponse.Merge(m, src) -} -func (m *DeleteNamespaceResponse) XXX_Size() int { - return m.Size() + +func (x *DeleteNamespaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteNamespaceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteNamespaceResponse.DiscardUnknown(m) + +func (*DeleteNamespaceResponse) ProtoMessage() {} + +func (x *DeleteNamespaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_DeleteNamespaceResponse proto.InternalMessageInfo +// Deprecated: Use DeleteNamespaceResponse.ProtoReflect.Descriptor instead. +func (*DeleteNamespaceResponse) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{13} +} -func (m *DeleteNamespaceResponse) GetRequestStatus() *v12.RequestStatus { - if m != nil { - return m.RequestStatus +func (x *DeleteNamespaceResponse) GetRequestStatus() *v12.RequestStatus { + if x != nil { + return x.RequestStatus } return nil } type FailoverNamespaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace to be failed over. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // the request id to use for this operation - optional @@ -887,173 +889,185 @@ type FailoverNamespaceRequest struct { SkipGracefulFailover bool `protobuf:"varint,4,opt,name=skip_graceful_failover,json=skipGracefulFailover,proto3" json:"skip_graceful_failover,omitempty"` } -func (m *FailoverNamespaceRequest) Reset() { *m = FailoverNamespaceRequest{} } -func (*FailoverNamespaceRequest) ProtoMessage() {} -func (*FailoverNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{15} -} -func (m *FailoverNamespaceRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *FailoverNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_FailoverNamespaceRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *FailoverNamespaceRequest) Reset() { + *x = FailoverNamespaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *FailoverNamespaceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FailoverNamespaceRequest.Merge(m, src) -} -func (m *FailoverNamespaceRequest) XXX_Size() int { - return m.Size() + +func (x *FailoverNamespaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FailoverNamespaceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FailoverNamespaceRequest.DiscardUnknown(m) + +func (*FailoverNamespaceRequest) ProtoMessage() {} + +func (x *FailoverNamespaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FailoverNamespaceRequest proto.InternalMessageInfo +// Deprecated: Use FailoverNamespaceRequest.ProtoReflect.Descriptor instead. +func (*FailoverNamespaceRequest) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{14} +} -func (m *FailoverNamespaceRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *FailoverNamespaceRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *FailoverNamespaceRequest) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *FailoverNamespaceRequest) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } -func (m *FailoverNamespaceRequest) GetTargetRegion() *v13.RegionID { - if m != nil { - return m.TargetRegion +func (x *FailoverNamespaceRequest) GetTargetRegion() *v13.RegionID { + if x != nil { + return x.TargetRegion } return nil } -func (m *FailoverNamespaceRequest) GetSkipGracefulFailover() bool { - if m != nil { - return m.SkipGracefulFailover +func (x *FailoverNamespaceRequest) GetSkipGracefulFailover() bool { + if x != nil { + return x.SkipGracefulFailover } return false } type FailoverNamespaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Failover status RequestStatus *v12.RequestStatus `protobuf:"bytes,1,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` } -func (m *FailoverNamespaceResponse) Reset() { *m = FailoverNamespaceResponse{} } -func (*FailoverNamespaceResponse) ProtoMessage() {} -func (*FailoverNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{16} -} -func (m *FailoverNamespaceResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *FailoverNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_FailoverNamespaceResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *FailoverNamespaceResponse) Reset() { + *x = FailoverNamespaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *FailoverNamespaceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FailoverNamespaceResponse.Merge(m, src) -} -func (m *FailoverNamespaceResponse) XXX_Size() int { - return m.Size() + +func (x *FailoverNamespaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FailoverNamespaceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FailoverNamespaceResponse.DiscardUnknown(m) + +func (*FailoverNamespaceResponse) ProtoMessage() {} + +func (x *FailoverNamespaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FailoverNamespaceResponse proto.InternalMessageInfo +// Deprecated: Use FailoverNamespaceResponse.ProtoReflect.Descriptor instead. +func (*FailoverNamespaceResponse) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{15} +} -func (m *FailoverNamespaceResponse) GetRequestStatus() *v12.RequestStatus { - if m != nil { - return m.RequestStatus +func (x *FailoverNamespaceResponse) GetRequestStatus() *v12.RequestStatus { + if x != nil { + return x.RequestStatus } return nil } type ReplicationStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The region data is replicating from. SourceRegion *v13.RegionID `protobuf:"bytes,1,opt,name=source_region,json=sourceRegion,proto3" json:"source_region,omitempty"` // The region data is replicating to. TargetRegion *v13.RegionID `protobuf:"bytes,2,opt,name=target_region,json=targetRegion,proto3" json:"target_region,omitempty"` // The max replication lag. - ReplicationLag *types.Duration `protobuf:"bytes,3,opt,name=replication_lag,json=replicationLag,proto3" json:"replication_lag,omitempty"` + ReplicationLag *durationpb.Duration `protobuf:"bytes,3,opt,name=replication_lag,json=replicationLag,proto3" json:"replication_lag,omitempty"` } -func (m *ReplicationStatus) Reset() { *m = ReplicationStatus{} } -func (*ReplicationStatus) ProtoMessage() {} -func (*ReplicationStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{17} -} -func (m *ReplicationStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ReplicationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ReplicationStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ReplicationStatus) Reset() { + *x = ReplicationStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ReplicationStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReplicationStatus.Merge(m, src) -} -func (m *ReplicationStatus) XXX_Size() int { - return m.Size() + +func (x *ReplicationStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ReplicationStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ReplicationStatus.DiscardUnknown(m) + +func (*ReplicationStatus) ProtoMessage() {} + +func (x *ReplicationStatus) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ReplicationStatus proto.InternalMessageInfo +// Deprecated: Use ReplicationStatus.ProtoReflect.Descriptor instead. +func (*ReplicationStatus) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{16} +} -func (m *ReplicationStatus) GetSourceRegion() *v13.RegionID { - if m != nil { - return m.SourceRegion +func (x *ReplicationStatus) GetSourceRegion() *v13.RegionID { + if x != nil { + return x.SourceRegion } return nil } -func (m *ReplicationStatus) GetTargetRegion() *v13.RegionID { - if m != nil { - return m.TargetRegion +func (x *ReplicationStatus) GetTargetRegion() *v13.RegionID { + if x != nil { + return x.TargetRegion } return nil } -func (m *ReplicationStatus) GetReplicationLag() *types.Duration { - if m != nil { - return m.ReplicationLag +func (x *ReplicationStatus) GetReplicationLag() *durationpb.Duration { + if x != nil { + return x.ReplicationLag } return nil } type ListFailoverHistoryByNamespaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace to get failover history. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // List request pagination size, defaults to 100, max 1000 @@ -1062,214 +1076,224 @@ type ListFailoverHistoryByNamespaceRequest struct { NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *ListFailoverHistoryByNamespaceRequest) Reset() { *m = ListFailoverHistoryByNamespaceRequest{} } -func (*ListFailoverHistoryByNamespaceRequest) ProtoMessage() {} -func (*ListFailoverHistoryByNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{18} -} -func (m *ListFailoverHistoryByNamespaceRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ListFailoverHistoryByNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ListFailoverHistoryByNamespaceRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ListFailoverHistoryByNamespaceRequest) Reset() { + *x = ListFailoverHistoryByNamespaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ListFailoverHistoryByNamespaceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFailoverHistoryByNamespaceRequest.Merge(m, src) -} -func (m *ListFailoverHistoryByNamespaceRequest) XXX_Size() int { - return m.Size() + +func (x *ListFailoverHistoryByNamespaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListFailoverHistoryByNamespaceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListFailoverHistoryByNamespaceRequest.DiscardUnknown(m) + +func (*ListFailoverHistoryByNamespaceRequest) ProtoMessage() {} + +func (x *ListFailoverHistoryByNamespaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListFailoverHistoryByNamespaceRequest proto.InternalMessageInfo +// Deprecated: Use ListFailoverHistoryByNamespaceRequest.ProtoReflect.Descriptor instead. +func (*ListFailoverHistoryByNamespaceRequest) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{17} +} -func (m *ListFailoverHistoryByNamespaceRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *ListFailoverHistoryByNamespaceRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *ListFailoverHistoryByNamespaceRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *ListFailoverHistoryByNamespaceRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *ListFailoverHistoryByNamespaceRequest) GetNextPageToken() []byte { - if m != nil { - return m.NextPageToken +func (x *ListFailoverHistoryByNamespaceRequest) GetNextPageToken() []byte { + if x != nil { + return x.NextPageToken } return nil } type ListFailoverHistoryByNamespaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A list of failover records FailoverHistory []*FailoverRecord `protobuf:"bytes,1,rep,name=failover_history,json=failoverHistory,proto3" json:"failover_history,omitempty"` // Next pagination token. NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *ListFailoverHistoryByNamespaceResponse) Reset() { - *m = ListFailoverHistoryByNamespaceResponse{} -} -func (*ListFailoverHistoryByNamespaceResponse) ProtoMessage() {} -func (*ListFailoverHistoryByNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{19} -} -func (m *ListFailoverHistoryByNamespaceResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ListFailoverHistoryByNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ListFailoverHistoryByNamespaceResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ListFailoverHistoryByNamespaceResponse) Reset() { + *x = ListFailoverHistoryByNamespaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ListFailoverHistoryByNamespaceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFailoverHistoryByNamespaceResponse.Merge(m, src) -} -func (m *ListFailoverHistoryByNamespaceResponse) XXX_Size() int { - return m.Size() + +func (x *ListFailoverHistoryByNamespaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListFailoverHistoryByNamespaceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListFailoverHistoryByNamespaceResponse.DiscardUnknown(m) + +func (*ListFailoverHistoryByNamespaceResponse) ProtoMessage() {} + +func (x *ListFailoverHistoryByNamespaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListFailoverHistoryByNamespaceResponse proto.InternalMessageInfo +// Deprecated: Use ListFailoverHistoryByNamespaceResponse.ProtoReflect.Descriptor instead. +func (*ListFailoverHistoryByNamespaceResponse) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{18} +} -func (m *ListFailoverHistoryByNamespaceResponse) GetFailoverHistory() []*FailoverRecord { - if m != nil { - return m.FailoverHistory +func (x *ListFailoverHistoryByNamespaceResponse) GetFailoverHistory() []*FailoverRecord { + if x != nil { + return x.FailoverHistory } return nil } -func (m *ListFailoverHistoryByNamespaceResponse) GetNextPageToken() []byte { - if m != nil { - return m.NextPageToken +func (x *ListFailoverHistoryByNamespaceResponse) GetNextPageToken() []byte { + if x != nil { + return x.NextPageToken } return nil } type FailoverRecord struct { - FailoverType v13.FailoverType `protobuf:"varint,1,opt,name=failover_type,json=failoverType,proto3,enum=api.common.v1.FailoverType" json:"failover_type,omitempty"` - SourceRegion *v13.RegionID `protobuf:"bytes,2,opt,name=source_region,json=sourceRegion,proto3" json:"source_region,omitempty"` - TargetRegion *v13.RegionID `protobuf:"bytes,3,opt,name=target_region,json=targetRegion,proto3" json:"target_region,omitempty"` - StartTimeUtc *types.Timestamp `protobuf:"bytes,4,opt,name=start_time_utc,json=startTimeUtc,proto3" json:"start_time_utc,omitempty"` - EndTimeUtc *types.Timestamp `protobuf:"bytes,5,opt,name=end_time_utc,json=endTimeUtc,proto3" json:"end_time_utc,omitempty"` - Status v13.FailoverStatus `protobuf:"varint,6,opt,name=status,proto3,enum=api.common.v1.FailoverStatus" json:"status,omitempty"` - Operator string `protobuf:"bytes,7,opt,name=operator,proto3" json:"operator,omitempty"` - Reason string `protobuf:"bytes,8,opt,name=reason,proto3" json:"reason,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FailoverType v13.FailoverType `protobuf:"varint,1,opt,name=failover_type,json=failoverType,proto3,enum=api.common.v1.FailoverType" json:"failover_type,omitempty"` + SourceRegion *v13.RegionID `protobuf:"bytes,2,opt,name=source_region,json=sourceRegion,proto3" json:"source_region,omitempty"` + TargetRegion *v13.RegionID `protobuf:"bytes,3,opt,name=target_region,json=targetRegion,proto3" json:"target_region,omitempty"` + StartTimeUtc *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_time_utc,json=startTimeUtc,proto3" json:"start_time_utc,omitempty"` + EndTimeUtc *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end_time_utc,json=endTimeUtc,proto3" json:"end_time_utc,omitempty"` + Status v13.FailoverStatus `protobuf:"varint,6,opt,name=status,proto3,enum=api.common.v1.FailoverStatus" json:"status,omitempty"` + Operator string `protobuf:"bytes,7,opt,name=operator,proto3" json:"operator,omitempty"` + Reason string `protobuf:"bytes,8,opt,name=reason,proto3" json:"reason,omitempty"` } -func (m *FailoverRecord) Reset() { *m = FailoverRecord{} } -func (*FailoverRecord) ProtoMessage() {} -func (*FailoverRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{20} -} -func (m *FailoverRecord) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *FailoverRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_FailoverRecord.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *FailoverRecord) Reset() { + *x = FailoverRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *FailoverRecord) XXX_Merge(src proto.Message) { - xxx_messageInfo_FailoverRecord.Merge(m, src) -} -func (m *FailoverRecord) XXX_Size() int { - return m.Size() + +func (x *FailoverRecord) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FailoverRecord) XXX_DiscardUnknown() { - xxx_messageInfo_FailoverRecord.DiscardUnknown(m) + +func (*FailoverRecord) ProtoMessage() {} + +func (x *FailoverRecord) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FailoverRecord proto.InternalMessageInfo +// Deprecated: Use FailoverRecord.ProtoReflect.Descriptor instead. +func (*FailoverRecord) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{19} +} -func (m *FailoverRecord) GetFailoverType() v13.FailoverType { - if m != nil { - return m.FailoverType +func (x *FailoverRecord) GetFailoverType() v13.FailoverType { + if x != nil { + return x.FailoverType } return v13.FAILOVER_TYPE_UNSPECIFIED } -func (m *FailoverRecord) GetSourceRegion() *v13.RegionID { - if m != nil { - return m.SourceRegion +func (x *FailoverRecord) GetSourceRegion() *v13.RegionID { + if x != nil { + return x.SourceRegion } return nil } -func (m *FailoverRecord) GetTargetRegion() *v13.RegionID { - if m != nil { - return m.TargetRegion +func (x *FailoverRecord) GetTargetRegion() *v13.RegionID { + if x != nil { + return x.TargetRegion } return nil } -func (m *FailoverRecord) GetStartTimeUtc() *types.Timestamp { - if m != nil { - return m.StartTimeUtc +func (x *FailoverRecord) GetStartTimeUtc() *timestamppb.Timestamp { + if x != nil { + return x.StartTimeUtc } return nil } -func (m *FailoverRecord) GetEndTimeUtc() *types.Timestamp { - if m != nil { - return m.EndTimeUtc +func (x *FailoverRecord) GetEndTimeUtc() *timestamppb.Timestamp { + if x != nil { + return x.EndTimeUtc } return nil } -func (m *FailoverRecord) GetStatus() v13.FailoverStatus { - if m != nil { - return m.Status +func (x *FailoverRecord) GetStatus() v13.FailoverStatus { + if x != nil { + return x.Status } return v13.FAILOVER_STATUS_UNSPECIFIED } -func (m *FailoverRecord) GetOperator() string { - if m != nil { - return m.Operator +func (x *FailoverRecord) GetOperator() string { + if x != nil { + return x.Operator } return "" } -func (m *FailoverRecord) GetReason() string { - if m != nil { - return m.Reason +func (x *FailoverRecord) GetReason() string { + if x != nil { + return x.Reason } return "" } type GlobalizeNamespaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace to be globalize. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // The request id to use for this operation - optional @@ -1281,208 +1305,224 @@ type GlobalizeNamespaceRequest struct { ResourceVersion string `protobuf:"bytes,4,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` } -func (m *GlobalizeNamespaceRequest) Reset() { *m = GlobalizeNamespaceRequest{} } -func (*GlobalizeNamespaceRequest) ProtoMessage() {} -func (*GlobalizeNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{21} -} -func (m *GlobalizeNamespaceRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GlobalizeNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GlobalizeNamespaceRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GlobalizeNamespaceRequest) Reset() { + *x = GlobalizeNamespaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GlobalizeNamespaceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GlobalizeNamespaceRequest.Merge(m, src) -} -func (m *GlobalizeNamespaceRequest) XXX_Size() int { - return m.Size() + +func (x *GlobalizeNamespaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GlobalizeNamespaceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GlobalizeNamespaceRequest.DiscardUnknown(m) + +func (*GlobalizeNamespaceRequest) ProtoMessage() {} + +func (x *GlobalizeNamespaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GlobalizeNamespaceRequest proto.InternalMessageInfo +// Deprecated: Use GlobalizeNamespaceRequest.ProtoReflect.Descriptor instead. +func (*GlobalizeNamespaceRequest) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{20} +} -func (m *GlobalizeNamespaceRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *GlobalizeNamespaceRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *GlobalizeNamespaceRequest) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *GlobalizeNamespaceRequest) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } -func (m *GlobalizeNamespaceRequest) GetTargetRegion() *v13.RegionID { - if m != nil { - return m.TargetRegion +func (x *GlobalizeNamespaceRequest) GetTargetRegion() *v13.RegionID { + if x != nil { + return x.TargetRegion } return nil } -func (m *GlobalizeNamespaceRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion +func (x *GlobalizeNamespaceRequest) GetResourceVersion() string { + if x != nil { + return x.ResourceVersion } return "" } type GlobalizeNamespaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Request status RequestStatus *v12.RequestStatus `protobuf:"bytes,1,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` } -func (m *GlobalizeNamespaceResponse) Reset() { *m = GlobalizeNamespaceResponse{} } -func (*GlobalizeNamespaceResponse) ProtoMessage() {} -func (*GlobalizeNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{22} -} -func (m *GlobalizeNamespaceResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GlobalizeNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GlobalizeNamespaceResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GlobalizeNamespaceResponse) Reset() { + *x = GlobalizeNamespaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GlobalizeNamespaceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GlobalizeNamespaceResponse.Merge(m, src) -} -func (m *GlobalizeNamespaceResponse) XXX_Size() int { - return m.Size() + +func (x *GlobalizeNamespaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GlobalizeNamespaceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GlobalizeNamespaceResponse.DiscardUnknown(m) + +func (*GlobalizeNamespaceResponse) ProtoMessage() {} + +func (x *GlobalizeNamespaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_GlobalizeNamespaceResponse proto.InternalMessageInfo +// Deprecated: Use GlobalizeNamespaceResponse.ProtoReflect.Descriptor instead. +func (*GlobalizeNamespaceResponse) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{21} +} -func (m *GlobalizeNamespaceResponse) GetRequestStatus() *v12.RequestStatus { - if m != nil { - return m.RequestStatus +func (x *GlobalizeNamespaceResponse) GetRequestStatus() *v12.RequestStatus { + if x != nil { + return x.RequestStatus } return nil } type ValidateGlobalizeNamespaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace to be validated Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` } -func (m *ValidateGlobalizeNamespaceRequest) Reset() { *m = ValidateGlobalizeNamespaceRequest{} } -func (*ValidateGlobalizeNamespaceRequest) ProtoMessage() {} -func (*ValidateGlobalizeNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{23} -} -func (m *ValidateGlobalizeNamespaceRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ValidateGlobalizeNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidateGlobalizeNamespaceRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ValidateGlobalizeNamespaceRequest) Reset() { + *x = ValidateGlobalizeNamespaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ValidateGlobalizeNamespaceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidateGlobalizeNamespaceRequest.Merge(m, src) -} -func (m *ValidateGlobalizeNamespaceRequest) XXX_Size() int { - return m.Size() + +func (x *ValidateGlobalizeNamespaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidateGlobalizeNamespaceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ValidateGlobalizeNamespaceRequest.DiscardUnknown(m) + +func (*ValidateGlobalizeNamespaceRequest) ProtoMessage() {} + +func (x *ValidateGlobalizeNamespaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ValidateGlobalizeNamespaceRequest proto.InternalMessageInfo +// Deprecated: Use ValidateGlobalizeNamespaceRequest.ProtoReflect.Descriptor instead. +func (*ValidateGlobalizeNamespaceRequest) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{22} +} -func (m *ValidateGlobalizeNamespaceRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *ValidateGlobalizeNamespaceRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } type ValidateGlobalizeNamespaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The flag indicates if the validation succeed. Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // The failure reason when the validation failed. FailureReason string `protobuf:"bytes,2,opt,name=failure_reason,json=failureReason,proto3" json:"failure_reason,omitempty"` } -func (m *ValidateGlobalizeNamespaceResponse) Reset() { *m = ValidateGlobalizeNamespaceResponse{} } -func (*ValidateGlobalizeNamespaceResponse) ProtoMessage() {} -func (*ValidateGlobalizeNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{24} -} -func (m *ValidateGlobalizeNamespaceResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ValidateGlobalizeNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidateGlobalizeNamespaceResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ValidateGlobalizeNamespaceResponse) Reset() { + *x = ValidateGlobalizeNamespaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ValidateGlobalizeNamespaceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidateGlobalizeNamespaceResponse.Merge(m, src) -} -func (m *ValidateGlobalizeNamespaceResponse) XXX_Size() int { - return m.Size() + +func (x *ValidateGlobalizeNamespaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidateGlobalizeNamespaceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ValidateGlobalizeNamespaceResponse.DiscardUnknown(m) + +func (*ValidateGlobalizeNamespaceResponse) ProtoMessage() {} + +func (x *ValidateGlobalizeNamespaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ValidateGlobalizeNamespaceResponse proto.InternalMessageInfo +// Deprecated: Use ValidateGlobalizeNamespaceResponse.ProtoReflect.Descriptor instead. +func (*ValidateGlobalizeNamespaceResponse) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{23} +} -func (m *ValidateGlobalizeNamespaceResponse) GetSuccess() bool { - if m != nil { - return m.Success +func (x *ValidateGlobalizeNamespaceResponse) GetSuccess() bool { + if x != nil { + return x.Success } return false } -func (m *ValidateGlobalizeNamespaceResponse) GetFailureReason() string { - if m != nil { - return m.FailureReason +func (x *ValidateGlobalizeNamespaceResponse) GetFailureReason() string { + if x != nil { + return x.FailureReason } return "" } type ListReplicaStatusRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The namespace to get replica status from. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // the requested size of the page to retrieve @@ -1491,7429 +1531,825 @@ type ListReplicaStatusRequest struct { PageToken []byte `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *ListReplicaStatusRequest) Reset() { *m = ListReplicaStatusRequest{} } -func (*ListReplicaStatusRequest) ProtoMessage() {} -func (*ListReplicaStatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{25} -} -func (m *ListReplicaStatusRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ListReplicaStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ListReplicaStatusRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *ListReplicaStatusRequest) Reset() { + *x = ListReplicaStatusRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *ListReplicaStatusRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListReplicaStatusRequest.Merge(m, src) -} -func (m *ListReplicaStatusRequest) XXX_Size() int { - return m.Size() + +func (x *ListReplicaStatusRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListReplicaStatusRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListReplicaStatusRequest.DiscardUnknown(m) + +func (*ListReplicaStatusRequest) ProtoMessage() {} + +func (x *ListReplicaStatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ListReplicaStatusRequest proto.InternalMessageInfo +// Deprecated: Use ListReplicaStatusRequest.ProtoReflect.Descriptor instead. +func (*ListReplicaStatusRequest) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{24} +} -func (m *ListReplicaStatusRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *ListReplicaStatusRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *ListReplicaStatusRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (x *ListReplicaStatusRequest) GetPageSize() int32 { + if x != nil { + return x.PageSize } return 0 } -func (m *ListReplicaStatusRequest) GetPageToken() []byte { - if m != nil { - return m.PageToken +func (x *ListReplicaStatusRequest) GetPageToken() []byte { + if x != nil { + return x.PageToken } return nil } type ListReplicaStatusResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A list of replica status group by region Statuses []*v13.ReplicaStatus `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"` // the page token PageToken []byte `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *ListReplicaStatusResponse) Reset() { *m = ListReplicaStatusResponse{} } -func (*ListReplicaStatusResponse) ProtoMessage() {} -func (*ListReplicaStatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{26} -} -func (m *ListReplicaStatusResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ListReplicaStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ListReplicaStatusResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *ListReplicaStatusResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListReplicaStatusResponse.Merge(m, src) -} -func (m *ListReplicaStatusResponse) XXX_Size() int { - return m.Size() -} -func (m *ListReplicaStatusResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListReplicaStatusResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListReplicaStatusResponse proto.InternalMessageInfo - -func (m *ListReplicaStatusResponse) GetStatuses() []*v13.ReplicaStatus { - if m != nil { - return m.Statuses - } - return nil -} - -func (m *ListReplicaStatusResponse) GetPageToken() []byte { - if m != nil { - return m.PageToken - } - return nil -} - -func init() { - proto.RegisterType((*CreateNamespaceRequest)(nil), "api.namespaceservice.v1.CreateNamespaceRequest") - proto.RegisterMapType((map[string]string)(nil), "api.namespaceservice.v1.CreateNamespaceRequest.TagsEntry") - proto.RegisterType((*CreateNamespaceResponse)(nil), "api.namespaceservice.v1.CreateNamespaceResponse") - proto.RegisterType((*ListNamespacesFilter)(nil), "api.namespaceservice.v1.ListNamespacesFilter") - proto.RegisterType((*ListNamespacesRequest)(nil), "api.namespaceservice.v1.ListNamespacesRequest") - proto.RegisterType((*ListNamespacesResponse)(nil), "api.namespaceservice.v1.ListNamespacesResponse") - proto.RegisterType((*GetNamespacesRequest)(nil), "api.namespaceservice.v1.GetNamespacesRequest") - proto.RegisterType((*GetNamespacesResponse)(nil), "api.namespaceservice.v1.GetNamespacesResponse") - proto.RegisterType((*GetNamespaceRequest)(nil), "api.namespaceservice.v1.GetNamespaceRequest") - proto.RegisterType((*GetNamespaceResponse)(nil), "api.namespaceservice.v1.GetNamespaceResponse") - proto.RegisterType((*UpdateNamespaceRequest)(nil), "api.namespaceservice.v1.UpdateNamespaceRequest") - proto.RegisterType((*UpdateNamespaceResponse)(nil), "api.namespaceservice.v1.UpdateNamespaceResponse") - proto.RegisterType((*RenameCustomSearchAttributeRequest)(nil), "api.namespaceservice.v1.RenameCustomSearchAttributeRequest") - proto.RegisterType((*RenameCustomSearchAttributeResponse)(nil), "api.namespaceservice.v1.RenameCustomSearchAttributeResponse") - proto.RegisterType((*DeleteNamespaceRequest)(nil), "api.namespaceservice.v1.DeleteNamespaceRequest") - proto.RegisterType((*DeleteNamespaceResponse)(nil), "api.namespaceservice.v1.DeleteNamespaceResponse") - proto.RegisterType((*FailoverNamespaceRequest)(nil), "api.namespaceservice.v1.FailoverNamespaceRequest") - proto.RegisterType((*FailoverNamespaceResponse)(nil), "api.namespaceservice.v1.FailoverNamespaceResponse") - proto.RegisterType((*ReplicationStatus)(nil), "api.namespaceservice.v1.ReplicationStatus") - proto.RegisterType((*ListFailoverHistoryByNamespaceRequest)(nil), "api.namespaceservice.v1.ListFailoverHistoryByNamespaceRequest") - proto.RegisterType((*ListFailoverHistoryByNamespaceResponse)(nil), "api.namespaceservice.v1.ListFailoverHistoryByNamespaceResponse") - proto.RegisterType((*FailoverRecord)(nil), "api.namespaceservice.v1.FailoverRecord") - proto.RegisterType((*GlobalizeNamespaceRequest)(nil), "api.namespaceservice.v1.GlobalizeNamespaceRequest") - proto.RegisterType((*GlobalizeNamespaceResponse)(nil), "api.namespaceservice.v1.GlobalizeNamespaceResponse") - proto.RegisterType((*ValidateGlobalizeNamespaceRequest)(nil), "api.namespaceservice.v1.ValidateGlobalizeNamespaceRequest") - proto.RegisterType((*ValidateGlobalizeNamespaceResponse)(nil), "api.namespaceservice.v1.ValidateGlobalizeNamespaceResponse") - proto.RegisterType((*ListReplicaStatusRequest)(nil), "api.namespaceservice.v1.ListReplicaStatusRequest") - proto.RegisterType((*ListReplicaStatusResponse)(nil), "api.namespaceservice.v1.ListReplicaStatusResponse") -} - -func init() { - proto.RegisterFile("api/namespaceservice/v1/request_response.proto", fileDescriptor_667e39c23eb47b7c) -} - -var fileDescriptor_667e39c23eb47b7c = []byte{ - // 1358 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xbd, 0x73, 0x13, 0x47, - 0x14, 0xf7, 0x49, 0xb6, 0xb1, 0x9f, 0x6c, 0x99, 0x5c, 0x8c, 0x91, 0x85, 0x39, 0xcc, 0x65, 0x4c, - 0x4c, 0x91, 0x73, 0x10, 0x64, 0x02, 0x81, 0x82, 0x0f, 0x03, 0xf1, 0x0c, 0x61, 0x9c, 0xb3, 0xa1, - 0x48, 0x73, 0x59, 0x9f, 0x9e, 0xc5, 0xc6, 0xa7, 0xbb, 0xcb, 0xee, 0x9e, 0x40, 0x4c, 0x0a, 0xea, - 0x54, 0x29, 0x33, 0xa9, 0x33, 0x99, 0xfc, 0x03, 0x29, 0x52, 0xa6, 0xcb, 0x4c, 0x1a, 0x66, 0xd2, - 0x50, 0x06, 0xd1, 0x50, 0xf2, 0x27, 0x64, 0x76, 0x6f, 0x4f, 0xd6, 0xa7, 0x3f, 0xc0, 0x93, 0x49, - 0xa7, 0x7d, 0x9f, 0xbf, 0xf7, 0xb1, 0x6f, 0xdf, 0x09, 0x1c, 0x12, 0xd3, 0x95, 0x90, 0xd4, 0x91, - 0xc7, 0xc4, 0x47, 0x8e, 0xac, 0x41, 0x7d, 0x5c, 0x69, 0x5c, 0x58, 0x61, 0xf8, 0x6d, 0x82, 0x5c, - 0x78, 0x0c, 0x79, 0x1c, 0x85, 0x1c, 0x9d, 0x98, 0x45, 0x22, 0x32, 0x4f, 0x92, 0x98, 0x3a, 0xbd, - 0xf2, 0x4e, 0xe3, 0x42, 0x79, 0x5e, 0x1a, 0x22, 0x89, 0x78, 0x24, 0x95, 0xeb, 0xc8, 0x39, 0xa9, - 0x69, 0x9d, 0xf2, 0x29, 0xc9, 0xf2, 0xa3, 0x7a, 0x3d, 0x0a, 0xfb, 0x99, 0x56, 0x17, 0x80, 0x7e, - 0xfe, 0x82, 0xe4, 0x6b, 0x30, 0xfd, 0xdc, 0x33, 0xb5, 0x28, 0xaa, 0x05, 0xb8, 0xa2, 0x4e, 0x5b, - 0xc9, 0xf6, 0x8a, 0xa0, 0x75, 0xe4, 0x82, 0xd4, 0xe3, 0xcc, 0x7c, 0xaf, 0x40, 0x35, 0x61, 0x44, - 0xd0, 0x28, 0x4c, 0xf9, 0xf6, 0xeb, 0x3c, 0xcc, 0xdd, 0x62, 0x48, 0x04, 0xde, 0xcf, 0x30, 0xb8, - 0xa9, 0x33, 0x73, 0x01, 0x26, 0xdb, 0xb8, 0x4a, 0xc6, 0xa2, 0xb1, 0x3c, 0xe9, 0xee, 0x12, 0xcc, - 0x8b, 0x30, 0xca, 0x63, 0xf4, 0x4b, 0xb9, 0x45, 0x63, 0xb9, 0x50, 0x39, 0xe3, 0x74, 0xe5, 0xc5, - 0x69, 0x5c, 0x70, 0xda, 0xf6, 0x36, 0x62, 0xf4, 0x5d, 0x25, 0x6c, 0x9e, 0x06, 0xc8, 0xf2, 0x4a, - 0xab, 0xa5, 0x7c, 0x6a, 0x53, 0x53, 0xd6, 0xaa, 0xa6, 0x0f, 0xe5, 0x84, 0x23, 0xf3, 0xda, 0x76, - 0xbc, 0x18, 0x59, 0x9d, 0x72, 0x4e, 0xa3, 0x90, 0x97, 0x46, 0x17, 0xf3, 0xcb, 0x85, 0xca, 0x92, - 0xf2, 0x24, 0x13, 0x2d, 0x9d, 0x3c, 0xe0, 0xc8, 0xda, 0x8e, 0xd6, 0x77, 0x85, 0xdd, 0x52, 0x32, - 0x84, 0x63, 0x46, 0x60, 0xd1, 0x2a, 0x86, 0x82, 0x8a, 0xe6, 0x10, 0x47, 0x63, 0xca, 0xd1, 0xf9, - 0x2e, 0x47, 0x6b, 0x5a, 0x65, 0xa0, 0xb3, 0x05, 0xba, 0x07, 0xd7, 0xfc, 0x02, 0x46, 0x05, 0xa9, - 0xf1, 0xd2, 0xb8, 0x32, 0x7b, 0xc5, 0x19, 0xd2, 0x41, 0xce, 0xe0, 0x32, 0x38, 0x9b, 0xa4, 0xc6, - 0x6f, 0x87, 0x82, 0x35, 0x5d, 0x65, 0xa6, 0xfc, 0x29, 0x4c, 0xb6, 0x49, 0xe6, 0x71, 0xc8, 0xef, - 0x60, 0x53, 0x57, 0x47, 0xfe, 0x34, 0x67, 0x61, 0xac, 0x41, 0x82, 0x04, 0x55, 0x61, 0x26, 0xdd, - 0xf4, 0xf0, 0x59, 0xee, 0xb2, 0x61, 0x7b, 0x70, 0xb2, 0xcf, 0x45, 0xda, 0xdb, 0xe6, 0x2a, 0x14, - 0xb3, 0xba, 0x70, 0x41, 0x44, 0xc2, 0x95, 0xc5, 0x42, 0xe5, 0xb4, 0x02, 0xab, 0x59, 0x12, 0xa3, - 0x06, 0xb5, 0xa1, 0x84, 0xdc, 0x69, 0xd6, 0x79, 0xb4, 0x7f, 0x34, 0x60, 0xf6, 0x1e, 0xe5, 0xa2, - 0x6d, 0x9f, 0xdf, 0xa1, 0x81, 0x40, 0x66, 0xde, 0x87, 0x19, 0x3f, 0x88, 0x92, 0xaa, 0x17, 0xb3, - 0xa8, 0x41, 0xab, 0xc8, 0xa4, 0xfd, 0xfc, 0x72, 0x51, 0x17, 0x33, 0xbd, 0x1a, 0xa9, 0xf9, 0x1a, - 0x8d, 0xc2, 0xb5, 0x55, 0xe7, 0x96, 0x14, 0x5f, 0xd7, 0xd2, 0x6e, 0xd1, 0xef, 0x3c, 0x72, 0xf3, - 0x63, 0x98, 0xf5, 0xa3, 0x30, 0x44, 0x5f, 0xd0, 0x86, 0x2c, 0x23, 0x4b, 0x02, 0x94, 0x0d, 0x95, - 0x86, 0x6c, 0x76, 0xf2, 0xdc, 0x24, 0xc0, 0xb5, 0xaa, 0xfd, 0x93, 0x01, 0x27, 0xba, 0xa1, 0x65, - 0x5d, 0x7e, 0x0a, 0x26, 0x63, 0x52, 0x43, 0x8f, 0xd3, 0xa7, 0x69, 0x97, 0x8f, 0xb9, 0x13, 0x92, - 0xb0, 0x41, 0x9f, 0xa2, 0xec, 0x57, 0xc5, 0x14, 0xd1, 0x0e, 0x86, 0xda, 0xbc, 0x12, 0xdf, 0x94, - 0x04, 0xf3, 0x36, 0x8c, 0x6f, 0xab, 0x08, 0x55, 0x2b, 0x17, 0x2a, 0x1f, 0x0d, 0xad, 0xed, 0xa0, - 0xb4, 0xb8, 0x5a, 0xd9, 0xfe, 0x1a, 0xe6, 0x7a, 0xb1, 0xe9, 0xba, 0x58, 0x00, 0xbb, 0xd6, 0x54, - 0xce, 0x26, 0xdd, 0x0e, 0x8a, 0x79, 0x0e, 0x66, 0x42, 0x7c, 0x22, 0xbc, 0x3e, 0x90, 0xd3, 0x92, - 0xbc, 0x9e, 0x01, 0xb5, 0x5d, 0x98, 0xbd, 0x8b, 0x47, 0x1b, 0xbc, 0xfd, 0x1d, 0x9c, 0xe8, 0xb1, - 0xa9, 0x41, 0x5f, 0xed, 0x03, 0x5d, 0xa8, 0x9c, 0xda, 0x63, 0x3e, 0xbc, 0x55, 0x44, 0x17, 0xe1, - 0xfd, 0x4e, 0xef, 0x07, 0x9a, 0x59, 0xf6, 0x97, 0xdd, 0x69, 0x68, 0x23, 0xbe, 0xd2, 0xab, 0xb5, - 0x0f, 0xe0, 0x0e, 0x93, 0xbf, 0x19, 0x30, 0xf7, 0x20, 0xae, 0xfe, 0x47, 0xf3, 0xf3, 0x3c, 0x1c, - 0x67, 0xc8, 0xa3, 0x84, 0xf9, 0xe8, 0x35, 0x90, 0xc9, 0xf9, 0xa2, 0xa7, 0xe8, 0x4c, 0x46, 0x7f, - 0x98, 0x92, 0x7b, 0x46, 0xed, 0x68, 0xcf, 0xa8, 0x95, 0xc3, 0xa0, 0x0f, 0xf6, 0x91, 0x0e, 0x83, - 0x5f, 0x72, 0x60, 0xbb, 0x28, 0x23, 0xba, 0x95, 0x70, 0x11, 0xd5, 0x37, 0x90, 0x30, 0xff, 0xd1, - 0x0d, 0x21, 0x18, 0xdd, 0x4a, 0xc4, 0x01, 0x93, 0xb4, 0x0e, 0x4b, 0xf8, 0x84, 0x72, 0x41, 0xc3, - 0x9a, 0xe7, 0x2b, 0x33, 0x1e, 0x57, 0x76, 0x3c, 0x92, 0x19, 0x52, 0x33, 0x5c, 0xf7, 0xc8, 0xd9, - 0x4c, 0x78, 0xa0, 0x4b, 0x19, 0xa9, 0x79, 0x07, 0x16, 0x43, 0x7c, 0xbc, 0xb7, 0xb1, 0x34, 0xa3, - 0x0b, 0x21, 0x3e, 0x1e, 0x6e, 0x67, 0x50, 0x25, 0x46, 0x0f, 0x52, 0x89, 0xb1, 0xde, 0x4a, 0xec, - 0xc0, 0x07, 0x7b, 0xe6, 0xe9, 0x48, 0xab, 0xf2, 0xcc, 0x80, 0xb9, 0x55, 0x0c, 0xf0, 0xd0, 0xed, - 0x3a, 0x28, 0xde, 0xdc, 0x41, 0xe2, 0xcd, 0x0f, 0xe8, 0xbc, 0x3e, 0x04, 0x47, 0x1a, 0xe3, 0x5f, - 0x06, 0x94, 0xee, 0x10, 0x1a, 0x44, 0x8d, 0x8e, 0x0d, 0xe0, 0x60, 0x51, 0x76, 0x43, 0xcf, 0xf5, - 0xee, 0x27, 0xd7, 0x60, 0x5a, 0x10, 0x56, 0x43, 0xb9, 0x15, 0xd6, 0xb2, 0xbb, 0x57, 0xa8, 0x9c, - 0x1c, 0xf2, 0x8a, 0xb9, 0x53, 0xa9, 0x74, 0x7a, 0x36, 0x2f, 0xc1, 0x1c, 0xdf, 0xa1, 0xb1, 0x57, - 0x63, 0xc4, 0xc7, 0xed, 0x24, 0xf0, 0xb6, 0x35, 0x48, 0xd5, 0x38, 0x13, 0xee, 0xac, 0xe4, 0xde, - 0xd5, 0xcc, 0x2c, 0x00, 0x9b, 0xc0, 0xfc, 0x80, 0x60, 0x8e, 0x34, 0x61, 0x7f, 0x1b, 0xf0, 0x9e, - 0x8b, 0x71, 0x40, 0x7d, 0xb5, 0x19, 0xa6, 0x54, 0x19, 0xac, 0xae, 0xb7, 0x0e, 0xd6, 0xd8, 0x27, - 0xd8, 0x54, 0x5a, 0x07, 0xdb, 0x97, 0xaa, 0xdc, 0x61, 0x52, 0x75, 0x13, 0x66, 0xd8, 0x2e, 0x20, - 0x2f, 0x20, 0x35, 0x9d, 0xea, 0x79, 0x27, 0xdd, 0x67, 0x9d, 0x6c, 0x9f, 0x75, 0x56, 0xf5, 0x3e, - 0xeb, 0x16, 0x3b, 0x34, 0xee, 0x91, 0x9a, 0xfd, 0xbd, 0x01, 0x4b, 0xf2, 0x59, 0xcd, 0xb2, 0xf7, - 0x39, 0xe5, 0x22, 0x62, 0xcd, 0x9b, 0xcd, 0x43, 0xf6, 0x44, 0xd7, 0x1b, 0x99, 0xeb, 0x79, 0x23, - 0x07, 0x3c, 0x57, 0x12, 0xe8, 0x54, 0xef, 0x73, 0xf5, 0xb3, 0x01, 0xe7, 0xf6, 0x03, 0xa3, 0x6b, - 0xea, 0xc2, 0xf1, 0xac, 0x31, 0xbc, 0x47, 0xa9, 0x98, 0x7e, 0x44, 0x3f, 0x1c, 0xba, 0x5e, 0x64, - 0x66, 0x5d, 0xf4, 0x23, 0x56, 0x75, 0x67, 0xb6, 0xbb, 0xdd, 0x0c, 0x7b, 0x55, 0xfb, 0x60, 0xfe, - 0x9e, 0x87, 0x62, 0xb7, 0x2d, 0xf3, 0x3a, 0x4c, 0xb7, 0xe1, 0x88, 0x66, 0x9c, 0x26, 0xa8, 0xa8, - 0xdf, 0xc7, 0xdd, 0x42, 0x66, 0x5a, 0x9b, 0xcd, 0x18, 0xdd, 0xa9, 0xed, 0x8e, 0x53, 0x7f, 0x23, - 0xe5, 0xde, 0xa9, 0x91, 0x0e, 0x75, 0xe7, 0xae, 0x43, 0x91, 0x0b, 0xc2, 0x84, 0x27, 0xbf, 0x8b, - 0xbc, 0x44, 0xf8, 0xea, 0xae, 0x15, 0x2a, 0xe5, 0xbe, 0x3e, 0xda, 0xcc, 0x3e, 0x9c, 0xdc, 0x29, - 0xa5, 0x21, 0xcf, 0x0f, 0x84, 0x6f, 0x5e, 0x83, 0x29, 0x0c, 0xab, 0xbb, 0xfa, 0x63, 0xfb, 0xea, - 0x03, 0x86, 0xd5, 0x4c, 0xfb, 0x13, 0x18, 0xd7, 0x17, 0x73, 0x5c, 0xa5, 0xed, 0xf4, 0x90, 0xb4, - 0xe9, 0x8b, 0xa9, 0x85, 0xcd, 0x32, 0x4c, 0x44, 0x31, 0x32, 0x22, 0x22, 0x56, 0x3a, 0xa6, 0x1a, - 0xb2, 0x7d, 0x36, 0xe7, 0x60, 0x9c, 0x21, 0xe1, 0x51, 0x58, 0x9a, 0x50, 0x1c, 0x7d, 0xb2, 0xff, - 0x30, 0x60, 0xfe, 0x6e, 0x10, 0x6d, 0x91, 0x80, 0x3e, 0xc5, 0xff, 0xd3, 0xdc, 0x3b, 0xf8, 0x53, - 0x69, 0x6f, 0x41, 0x79, 0x50, 0x08, 0x47, 0x3a, 0xed, 0x6e, 0xc0, 0xd9, 0x87, 0x24, 0xa0, 0x72, - 0xf7, 0x79, 0xcb, 0x74, 0xd9, 0x08, 0xf6, 0x5e, 0x26, 0x34, 0xdc, 0x12, 0x1c, 0xe3, 0x89, 0xef, - 0x23, 0x4f, 0x71, 0x4e, 0xb8, 0xd9, 0xd1, 0x5c, 0x82, 0xa2, 0xbc, 0x21, 0x09, 0x93, 0x57, 0x42, - 0x95, 0x52, 0xef, 0xb8, 0x9a, 0xea, 0xa6, 0x15, 0x15, 0x50, 0x92, 0x33, 0x43, 0x8f, 0x66, 0x1d, - 0xcd, 0xbb, 0xcf, 0xac, 0xee, 0xbd, 0x3e, 0x1d, 0x57, 0x1d, 0x7b, 0xbd, 0x80, 0xf9, 0x01, 0x5e, - 0x75, 0x4c, 0x97, 0x61, 0x22, 0x4d, 0x7d, 0x7b, 0xb3, 0x5f, 0xe8, 0x6b, 0x82, 0x4e, 0xbd, 0xb6, - 0xf4, 0x80, 0xaf, 0x89, 0x4e, 0xaf, 0x37, 0xbf, 0x79, 0xfe, 0xd2, 0x1a, 0x79, 0xf1, 0xd2, 0x1a, - 0x79, 0xf3, 0xd2, 0x32, 0x9e, 0xb5, 0x2c, 0xe3, 0xd7, 0x96, 0x65, 0xfc, 0xd9, 0xb2, 0x8c, 0xe7, - 0x2d, 0xcb, 0xf8, 0xa7, 0x65, 0x19, 0xaf, 0x5b, 0xd6, 0xc8, 0x9b, 0x96, 0x65, 0xfc, 0xf0, 0xca, - 0x1a, 0x79, 0xfe, 0xca, 0x1a, 0x79, 0xf1, 0xca, 0x1a, 0xf9, 0xea, 0x92, 0xa8, 0xc7, 0x2c, 0x70, - 0xd4, 0xe7, 0xe1, 0xca, 0x90, 0x7f, 0x72, 0xae, 0xf6, 0xd2, 0xb6, 0xc6, 0xd5, 0xa5, 0xbd, 0xf8, - 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa4, 0xf3, 0xdc, 0x33, 0xfc, 0x11, 0x00, 0x00, -} - -func (this *CreateNamespaceRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*CreateNamespaceRequest) - if !ok { - that2, ok := that.(CreateNamespaceRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.RequestId != that1.RequestId { - return false - } - if len(this.UserNamespacePermissions) != len(that1.UserNamespacePermissions) { - return false - } - for i := range this.UserNamespacePermissions { - if !this.UserNamespacePermissions[i].Equal(that1.UserNamespacePermissions[i]) { - return false - } - } - if len(this.IdentityNamespacePermissions) != len(that1.IdentityNamespacePermissions) { - return false - } - for i := range this.IdentityNamespacePermissions { - if !this.IdentityNamespacePermissions[i].Equal(that1.IdentityNamespacePermissions[i]) { - return false - } - } - if len(this.Tags) != len(that1.Tags) { - return false - } - for i := range this.Tags { - if this.Tags[i] != that1.Tags[i] { - return false - } - } - return true -} -func (this *CreateNamespaceResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*CreateNamespaceResponse) - if !ok { - that2, ok := that.(CreateNamespaceResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.RequestStatus.Equal(that1.RequestStatus) { - return false - } - return true -} -func (this *ListNamespacesFilter) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*ListNamespacesFilter) - if !ok { - that2, ok := that.(ListNamespacesFilter) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.CloudProviders) != len(that1.CloudProviders) { - return false - } - for i := range this.CloudProviders { - if this.CloudProviders[i] != that1.CloudProviders[i] { - return false - } - } - if this.ConnectivityRuleId != that1.ConnectivityRuleId { - return false - } - return true -} -func (this *ListNamespacesRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*ListNamespacesRequest) - if !ok { - that2, ok := that.(ListNamespacesRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.PageSize != that1.PageSize { - return false - } - if this.PageToken != that1.PageToken { - return false - } - if !this.Filter.Equal(that1.Filter) { - return false - } - return true -} -func (this *ListNamespacesResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*ListNamespacesResponse) - if !ok { - that2, ok := that.(ListNamespacesResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.Namespaces) != len(that1.Namespaces) { - return false - } - for i := range this.Namespaces { - if this.Namespaces[i] != that1.Namespaces[i] { - return false - } - } - if this.NextPageToken != that1.NextPageToken { - return false - } - return true -} -func (this *GetNamespacesRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*GetNamespacesRequest) - if !ok { - that2, ok := that.(GetNamespacesRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.PageSize != that1.PageSize { - return false - } - if this.PageToken != that1.PageToken { - return false - } - return true -} -func (this *GetNamespacesResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*GetNamespacesResponse) - if !ok { - that2, ok := that.(GetNamespacesResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.Namespaces) != len(that1.Namespaces) { - return false - } - for i := range this.Namespaces { - if !this.Namespaces[i].Equal(that1.Namespaces[i]) { - return false - } - } - if this.NextPageToken != that1.NextPageToken { - return false - } - return true -} -func (this *GetNamespaceRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*GetNamespaceRequest) - if !ok { - that2, ok := that.(GetNamespaceRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - return true -} -func (this *GetNamespaceResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*GetNamespaceResponse) - if !ok { - that2, ok := that.(GetNamespaceResponse) - if ok { - that1 = &that2 - } else { - return false - } +func (x *ListReplicaStatusResponse) Reset() { + *x = ListReplicaStatusResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.Namespace.Equal(that1.Namespace) { - return false - } - return true } -func (this *UpdateNamespaceRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateNamespaceRequest) - if !ok { - that2, ok := that.(UpdateNamespaceRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.RequestId != that1.RequestId { - return false - } - return true +func (x *ListReplicaStatusResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (this *UpdateNamespaceResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*UpdateNamespaceResponse) - if !ok { - that2, ok := that.(UpdateNamespaceResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.RequestStatus.Equal(that1.RequestStatus) { - return false - } - return true -} -func (this *RenameCustomSearchAttributeRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } +func (*ListReplicaStatusResponse) ProtoMessage() {} - that1, ok := that.(*RenameCustomSearchAttributeRequest) - if !ok { - that2, ok := that.(RenameCustomSearchAttributeRequest) - if ok { - that1 = &that2 - } else { - return false +func (x *ListReplicaStatusResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_namespaceservice_v1_request_response_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } + return ms } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if this.ExistingCustomSearchAttributeName != that1.ExistingCustomSearchAttributeName { - return false - } - if this.NewCustomSearchAttributeName != that1.NewCustomSearchAttributeName { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.RequestId != that1.RequestId { - return false - } - return true + return mi.MessageOf(x) } -func (this *RenameCustomSearchAttributeResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*RenameCustomSearchAttributeResponse) - if !ok { - that2, ok := that.(RenameCustomSearchAttributeResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.RequestStatus.Equal(that1.RequestStatus) { - return false - } - return true +// Deprecated: Use ListReplicaStatusResponse.ProtoReflect.Descriptor instead. +func (*ListReplicaStatusResponse) Descriptor() ([]byte, []int) { + return file_api_namespaceservice_v1_request_response_proto_rawDescGZIP(), []int{25} } -func (this *DeleteNamespaceRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*DeleteNamespaceRequest) - if !ok { - that2, ok := that.(DeleteNamespaceRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - if this.RequestId != that1.RequestId { - return false +func (x *ListReplicaStatusResponse) GetStatuses() []*v13.ReplicaStatus { + if x != nil { + return x.Statuses } - return true + return nil } -func (this *DeleteNamespaceResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*DeleteNamespaceResponse) - if !ok { - that2, ok := that.(DeleteNamespaceResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false +func (x *ListReplicaStatusResponse) GetPageToken() []byte { + if x != nil { + return x.PageToken } - if !this.RequestStatus.Equal(that1.RequestStatus) { - return false - } - return true + return nil } -func (this *FailoverNamespaceRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*FailoverNamespaceRequest) - if !ok { - that2, ok := that.(FailoverNamespaceRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if this.RequestId != that1.RequestId { - return false - } - if !this.TargetRegion.Equal(that1.TargetRegion) { - return false - } - if this.SkipGracefulFailover != that1.SkipGracefulFailover { - return false - } - return true +var File_api_namespaceservice_v1_request_response_proto protoreflect.FileDescriptor + +var file_api_namespaceservice_v1_request_response_proto_rawDesc = []byte{ + 0x0a, 0x2e, 0x61, 0x70, 0x69, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x17, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x19, 0x61, 0x70, 0x69, 0x2f, 0x61, + 0x75, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1e, 0x61, 0x70, 0x69, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1c, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2f, 0x76, + 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xe8, 0x03, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x73, 0x70, 0x65, + 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x1d, + 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x63, 0x0a, + 0x1a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, + 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x25, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, + 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x18, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x6f, 0x0a, 0x1e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x1c, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x4d, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x39, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x2e, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x74, 0x61, + 0x67, 0x73, 0x1a, 0x37, 0x0a, 0x09, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5f, 0x0a, 0x17, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x53, 0x0a, 0x15, + 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, + 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, + 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x22, 0x60, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, + 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x22, 0x52, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, + 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, + 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, + 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, + 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x7c, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x3b, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x26, 0x0a, + 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x33, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x51, 0x0a, 0x14, 0x47, 0x65, + 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x39, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0xb5, 0x01, + 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x29, 0x0a, 0x10, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x5f, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x44, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xa6, 0x02, 0x0a, 0x22, 0x52, 0x65, 0x6e, 0x61, 0x6d, + 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x74, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, + 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x50, 0x0a, 0x25, 0x65, + 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x73, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x21, 0x65, 0x78, 0x69, 0x73, + 0x74, 0x69, 0x6e, 0x67, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x46, 0x0a, + 0x20, 0x6e, 0x65, 0x77, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x73, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x1c, 0x6e, 0x65, 0x77, 0x43, 0x75, 0x73, 0x74, + 0x6f, 0x6d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, + 0x6b, 0x0a, 0x23, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x80, 0x01, 0x0a, + 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, + 0x5f, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0e, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x22, 0xcb, 0x01, 0x0a, 0x18, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, + 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x0d, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, + 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x16, 0x73, 0x6b, 0x69, 0x70, + 0x5f, 0x67, 0x72, 0x61, 0x63, 0x65, 0x66, 0x75, 0x6c, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x6f, 0x76, + 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x73, 0x6b, 0x69, 0x70, 0x47, 0x72, + 0x61, 0x63, 0x65, 0x66, 0x75, 0x6c, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x22, 0x61, + 0x0a, 0x19, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0e, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x22, 0xd3, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3c, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x52, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, + 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x12, 0x42, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, + 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x67, 0x22, 0x8a, 0x01, 0x0a, 0x25, 0x4c, 0x69, 0x73, 0x74, + 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x42, + 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, + 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x26, 0x0a, 0x0f, + 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xa4, 0x01, 0x0a, 0x26, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x61, 0x69, + 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x79, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x52, 0x0a, 0x10, 0x66, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x5f, 0x68, 0x69, 0x73, 0x74, + 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x63, 0x6f, + 0x72, 0x64, 0x52, 0x0f, 0x66, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, + 0x6f, 0x72, 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, + 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x6e, 0x65, + 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xb9, 0x03, 0x0a, 0x0e, + 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x40, + 0x0a, 0x0d, 0x66, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x0c, 0x66, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x3c, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x44, + 0x52, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x3c, + 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x52, 0x0c, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x0e, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x74, 0x63, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x52, 0x0c, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x74, 0x63, 0x12, 0x3c, + 0x0a, 0x0c, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x74, 0x63, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x52, 0x0a, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x74, 0x63, 0x12, 0x35, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x61, 0x69, + 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, + 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xc1, 0x01, 0x0a, 0x19, 0x47, 0x6c, 0x6f, 0x62, + 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x49, 0x44, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x62, 0x0a, 0x1a, 0x47, + 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0e, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, + 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, + 0x41, 0x0a, 0x21, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x47, 0x6c, 0x6f, 0x62, 0x61, + 0x6c, 0x69, 0x7a, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x22, 0x65, 0x0a, 0x22, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x47, 0x6c, + 0x6f, 0x62, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x72, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x66, 0x61, 0x69, 0x6c, + 0x75, 0x72, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x74, 0x0a, 0x18, 0x4c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, + 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, + 0x74, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x08, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x08, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0xe7, 0x01, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x34, 0x74, + 0x6d, 0x70, 0x72, 0x6c, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, + 0x76, 0x31, 0x3b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0xa2, 0x02, 0x03, 0x41, 0x4e, 0x58, 0xaa, 0x02, 0x17, 0x41, 0x70, 0x69, 0x2e, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x56, 0x31, 0xca, 0x02, 0x17, 0x41, 0x70, 0x69, 0x5c, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x23, + 0x41, 0x70, 0x69, 0x5c, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0xea, 0x02, 0x19, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func (this *FailoverNamespaceResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*FailoverNamespaceResponse) - if !ok { - that2, ok := that.(FailoverNamespaceResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.RequestStatus.Equal(that1.RequestStatus) { - return false - } - return true -} -func (this *ReplicationStatus) Equal(that interface{}) bool { - if that == nil { - return this == nil - } +var ( + file_api_namespaceservice_v1_request_response_proto_rawDescOnce sync.Once + file_api_namespaceservice_v1_request_response_proto_rawDescData = file_api_namespaceservice_v1_request_response_proto_rawDesc +) - that1, ok := that.(*ReplicationStatus) - if !ok { - that2, ok := that.(ReplicationStatus) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.SourceRegion.Equal(that1.SourceRegion) { - return false - } - if !this.TargetRegion.Equal(that1.TargetRegion) { - return false - } - if !this.ReplicationLag.Equal(that1.ReplicationLag) { - return false - } - return true +func file_api_namespaceservice_v1_request_response_proto_rawDescGZIP() []byte { + file_api_namespaceservice_v1_request_response_proto_rawDescOnce.Do(func() { + file_api_namespaceservice_v1_request_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_namespaceservice_v1_request_response_proto_rawDescData) + }) + return file_api_namespaceservice_v1_request_response_proto_rawDescData +} + +var file_api_namespaceservice_v1_request_response_proto_msgTypes = make([]protoimpl.MessageInfo, 27) +var file_api_namespaceservice_v1_request_response_proto_goTypes = []interface{}{ + (*CreateNamespaceRequest)(nil), // 0: api.namespaceservice.v1.CreateNamespaceRequest + (*CreateNamespaceResponse)(nil), // 1: api.namespaceservice.v1.CreateNamespaceResponse + (*ListNamespacesRequest)(nil), // 2: api.namespaceservice.v1.ListNamespacesRequest + (*ListNamespacesResponse)(nil), // 3: api.namespaceservice.v1.ListNamespacesResponse + (*GetNamespacesRequest)(nil), // 4: api.namespaceservice.v1.GetNamespacesRequest + (*GetNamespacesResponse)(nil), // 5: api.namespaceservice.v1.GetNamespacesResponse + (*GetNamespaceRequest)(nil), // 6: api.namespaceservice.v1.GetNamespaceRequest + (*GetNamespaceResponse)(nil), // 7: api.namespaceservice.v1.GetNamespaceResponse + (*UpdateNamespaceRequest)(nil), // 8: api.namespaceservice.v1.UpdateNamespaceRequest + (*UpdateNamespaceResponse)(nil), // 9: api.namespaceservice.v1.UpdateNamespaceResponse + (*RenameCustomSearchAttributeRequest)(nil), // 10: api.namespaceservice.v1.RenameCustomSearchAttributeRequest + (*RenameCustomSearchAttributeResponse)(nil), // 11: api.namespaceservice.v1.RenameCustomSearchAttributeResponse + (*DeleteNamespaceRequest)(nil), // 12: api.namespaceservice.v1.DeleteNamespaceRequest + (*DeleteNamespaceResponse)(nil), // 13: api.namespaceservice.v1.DeleteNamespaceResponse + (*FailoverNamespaceRequest)(nil), // 14: api.namespaceservice.v1.FailoverNamespaceRequest + (*FailoverNamespaceResponse)(nil), // 15: api.namespaceservice.v1.FailoverNamespaceResponse + (*ReplicationStatus)(nil), // 16: api.namespaceservice.v1.ReplicationStatus + (*ListFailoverHistoryByNamespaceRequest)(nil), // 17: api.namespaceservice.v1.ListFailoverHistoryByNamespaceRequest + (*ListFailoverHistoryByNamespaceResponse)(nil), // 18: api.namespaceservice.v1.ListFailoverHistoryByNamespaceResponse + (*FailoverRecord)(nil), // 19: api.namespaceservice.v1.FailoverRecord + (*GlobalizeNamespaceRequest)(nil), // 20: api.namespaceservice.v1.GlobalizeNamespaceRequest + (*GlobalizeNamespaceResponse)(nil), // 21: api.namespaceservice.v1.GlobalizeNamespaceResponse + (*ValidateGlobalizeNamespaceRequest)(nil), // 22: api.namespaceservice.v1.ValidateGlobalizeNamespaceRequest + (*ValidateGlobalizeNamespaceResponse)(nil), // 23: api.namespaceservice.v1.ValidateGlobalizeNamespaceResponse + (*ListReplicaStatusRequest)(nil), // 24: api.namespaceservice.v1.ListReplicaStatusRequest + (*ListReplicaStatusResponse)(nil), // 25: api.namespaceservice.v1.ListReplicaStatusResponse + nil, // 26: api.namespaceservice.v1.CreateNamespaceRequest.TagsEntry + (*v1.NamespaceSpec)(nil), // 27: api.namespace.v1.NamespaceSpec + (*v11.UserNamespacePermissions)(nil), // 28: api.auth.v1.UserNamespacePermissions + (*v11.IdentityNamespacePermissions)(nil), // 29: api.auth.v1.IdentityNamespacePermissions + (*v12.RequestStatus)(nil), // 30: api.request.v1.RequestStatus + (*v1.Namespace)(nil), // 31: api.namespace.v1.Namespace + (*v13.RegionID)(nil), // 32: api.common.v1.RegionID + (*durationpb.Duration)(nil), // 33: google.protobuf.Duration + (v13.FailoverType)(0), // 34: api.common.v1.FailoverType + (*timestamppb.Timestamp)(nil), // 35: google.protobuf.Timestamp + (v13.FailoverStatus)(0), // 36: api.common.v1.FailoverStatus + (*v13.ReplicaStatus)(nil), // 37: api.common.v1.ReplicaStatus +} +var file_api_namespaceservice_v1_request_response_proto_depIdxs = []int32{ + 27, // 0: api.namespaceservice.v1.CreateNamespaceRequest.spec:type_name -> api.namespace.v1.NamespaceSpec + 28, // 1: api.namespaceservice.v1.CreateNamespaceRequest.user_namespace_permissions:type_name -> api.auth.v1.UserNamespacePermissions + 29, // 2: api.namespaceservice.v1.CreateNamespaceRequest.identity_namespace_permissions:type_name -> api.auth.v1.IdentityNamespacePermissions + 26, // 3: api.namespaceservice.v1.CreateNamespaceRequest.tags:type_name -> api.namespaceservice.v1.CreateNamespaceRequest.TagsEntry + 30, // 4: api.namespaceservice.v1.CreateNamespaceResponse.request_status:type_name -> api.request.v1.RequestStatus + 31, // 5: api.namespaceservice.v1.GetNamespacesResponse.namespaces:type_name -> api.namespace.v1.Namespace + 31, // 6: api.namespaceservice.v1.GetNamespaceResponse.namespace:type_name -> api.namespace.v1.Namespace + 27, // 7: api.namespaceservice.v1.UpdateNamespaceRequest.spec:type_name -> api.namespace.v1.NamespaceSpec + 30, // 8: api.namespaceservice.v1.UpdateNamespaceResponse.request_status:type_name -> api.request.v1.RequestStatus + 30, // 9: api.namespaceservice.v1.RenameCustomSearchAttributeResponse.request_status:type_name -> api.request.v1.RequestStatus + 30, // 10: api.namespaceservice.v1.DeleteNamespaceResponse.request_status:type_name -> api.request.v1.RequestStatus + 32, // 11: api.namespaceservice.v1.FailoverNamespaceRequest.target_region:type_name -> api.common.v1.RegionID + 30, // 12: api.namespaceservice.v1.FailoverNamespaceResponse.request_status:type_name -> api.request.v1.RequestStatus + 32, // 13: api.namespaceservice.v1.ReplicationStatus.source_region:type_name -> api.common.v1.RegionID + 32, // 14: api.namespaceservice.v1.ReplicationStatus.target_region:type_name -> api.common.v1.RegionID + 33, // 15: api.namespaceservice.v1.ReplicationStatus.replication_lag:type_name -> google.protobuf.Duration + 19, // 16: api.namespaceservice.v1.ListFailoverHistoryByNamespaceResponse.failover_history:type_name -> api.namespaceservice.v1.FailoverRecord + 34, // 17: api.namespaceservice.v1.FailoverRecord.failover_type:type_name -> api.common.v1.FailoverType + 32, // 18: api.namespaceservice.v1.FailoverRecord.source_region:type_name -> api.common.v1.RegionID + 32, // 19: api.namespaceservice.v1.FailoverRecord.target_region:type_name -> api.common.v1.RegionID + 35, // 20: api.namespaceservice.v1.FailoverRecord.start_time_utc:type_name -> google.protobuf.Timestamp + 35, // 21: api.namespaceservice.v1.FailoverRecord.end_time_utc:type_name -> google.protobuf.Timestamp + 36, // 22: api.namespaceservice.v1.FailoverRecord.status:type_name -> api.common.v1.FailoverStatus + 32, // 23: api.namespaceservice.v1.GlobalizeNamespaceRequest.target_region:type_name -> api.common.v1.RegionID + 30, // 24: api.namespaceservice.v1.GlobalizeNamespaceResponse.request_status:type_name -> api.request.v1.RequestStatus + 37, // 25: api.namespaceservice.v1.ListReplicaStatusResponse.statuses:type_name -> api.common.v1.ReplicaStatus + 26, // [26:26] is the sub-list for method output_type + 26, // [26:26] is the sub-list for method input_type + 26, // [26:26] is the sub-list for extension type_name + 26, // [26:26] is the sub-list for extension extendee + 0, // [0:26] is the sub-list for field type_name +} + +func init() { file_api_namespaceservice_v1_request_response_proto_init() } +func file_api_namespaceservice_v1_request_response_proto_init() { + if File_api_namespaceservice_v1_request_response_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_api_namespaceservice_v1_request_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateNamespaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespaceservice_v1_request_response_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateNamespaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespaceservice_v1_request_response_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListNamespacesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespaceservice_v1_request_response_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListNamespacesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespaceservice_v1_request_response_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNamespacesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespaceservice_v1_request_response_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNamespacesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespaceservice_v1_request_response_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNamespaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespaceservice_v1_request_response_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetNamespaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespaceservice_v1_request_response_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateNamespaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespaceservice_v1_request_response_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateNamespaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespaceservice_v1_request_response_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RenameCustomSearchAttributeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespaceservice_v1_request_response_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RenameCustomSearchAttributeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespaceservice_v1_request_response_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteNamespaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespaceservice_v1_request_response_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteNamespaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespaceservice_v1_request_response_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FailoverNamespaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespaceservice_v1_request_response_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FailoverNamespaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespaceservice_v1_request_response_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReplicationStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespaceservice_v1_request_response_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListFailoverHistoryByNamespaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespaceservice_v1_request_response_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListFailoverHistoryByNamespaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespaceservice_v1_request_response_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FailoverRecord); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespaceservice_v1_request_response_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GlobalizeNamespaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespaceservice_v1_request_response_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GlobalizeNamespaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespaceservice_v1_request_response_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidateGlobalizeNamespaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespaceservice_v1_request_response_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidateGlobalizeNamespaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespaceservice_v1_request_response_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListReplicaStatusRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_namespaceservice_v1_request_response_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListReplicaStatusResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_api_namespaceservice_v1_request_response_proto_rawDesc, + NumEnums: 0, + NumMessages: 27, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_api_namespaceservice_v1_request_response_proto_goTypes, + DependencyIndexes: file_api_namespaceservice_v1_request_response_proto_depIdxs, + MessageInfos: file_api_namespaceservice_v1_request_response_proto_msgTypes, + }.Build() + File_api_namespaceservice_v1_request_response_proto = out.File + file_api_namespaceservice_v1_request_response_proto_rawDesc = nil + file_api_namespaceservice_v1_request_response_proto_goTypes = nil + file_api_namespaceservice_v1_request_response_proto_depIdxs = nil } -func (this *ListFailoverHistoryByNamespaceRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*ListFailoverHistoryByNamespaceRequest) - if !ok { - that2, ok := that.(ListFailoverHistoryByNamespaceRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if this.PageSize != that1.PageSize { - return false - } - if !bytes.Equal(this.NextPageToken, that1.NextPageToken) { - return false - } - return true -} -func (this *ListFailoverHistoryByNamespaceResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*ListFailoverHistoryByNamespaceResponse) - if !ok { - that2, ok := that.(ListFailoverHistoryByNamespaceResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.FailoverHistory) != len(that1.FailoverHistory) { - return false - } - for i := range this.FailoverHistory { - if !this.FailoverHistory[i].Equal(that1.FailoverHistory[i]) { - return false - } - } - if !bytes.Equal(this.NextPageToken, that1.NextPageToken) { - return false - } - return true -} -func (this *FailoverRecord) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*FailoverRecord) - if !ok { - that2, ok := that.(FailoverRecord) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.FailoverType != that1.FailoverType { - return false - } - if !this.SourceRegion.Equal(that1.SourceRegion) { - return false - } - if !this.TargetRegion.Equal(that1.TargetRegion) { - return false - } - if !this.StartTimeUtc.Equal(that1.StartTimeUtc) { - return false - } - if !this.EndTimeUtc.Equal(that1.EndTimeUtc) { - return false - } - if this.Status != that1.Status { - return false - } - if this.Operator != that1.Operator { - return false - } - if this.Reason != that1.Reason { - return false - } - return true -} -func (this *GlobalizeNamespaceRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*GlobalizeNamespaceRequest) - if !ok { - that2, ok := that.(GlobalizeNamespaceRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if this.RequestId != that1.RequestId { - return false - } - if !this.TargetRegion.Equal(that1.TargetRegion) { - return false - } - if this.ResourceVersion != that1.ResourceVersion { - return false - } - return true -} -func (this *GlobalizeNamespaceResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*GlobalizeNamespaceResponse) - if !ok { - that2, ok := that.(GlobalizeNamespaceResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.RequestStatus.Equal(that1.RequestStatus) { - return false - } - return true -} -func (this *ValidateGlobalizeNamespaceRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*ValidateGlobalizeNamespaceRequest) - if !ok { - that2, ok := that.(ValidateGlobalizeNamespaceRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - return true -} -func (this *ValidateGlobalizeNamespaceResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*ValidateGlobalizeNamespaceResponse) - if !ok { - that2, ok := that.(ValidateGlobalizeNamespaceResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Success != that1.Success { - return false - } - if this.FailureReason != that1.FailureReason { - return false - } - return true -} -func (this *ListReplicaStatusRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*ListReplicaStatusRequest) - if !ok { - that2, ok := that.(ListReplicaStatusRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Namespace != that1.Namespace { - return false - } - if this.PageSize != that1.PageSize { - return false - } - if !bytes.Equal(this.PageToken, that1.PageToken) { - return false - } - return true -} -func (this *ListReplicaStatusResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*ListReplicaStatusResponse) - if !ok { - that2, ok := that.(ListReplicaStatusResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if len(this.Statuses) != len(that1.Statuses) { - return false - } - for i := range this.Statuses { - if !this.Statuses[i].Equal(that1.Statuses[i]) { - return false - } - } - if !bytes.Equal(this.PageToken, that1.PageToken) { - return false - } - return true -} -func (this *CreateNamespaceRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 10) - s = append(s, "&namespaceservice.CreateNamespaceRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - if this.UserNamespacePermissions != nil { - s = append(s, "UserNamespacePermissions: "+fmt.Sprintf("%#v", this.UserNamespacePermissions)+",\n") - } - if this.IdentityNamespacePermissions != nil { - s = append(s, "IdentityNamespacePermissions: "+fmt.Sprintf("%#v", this.IdentityNamespacePermissions)+",\n") - } - keysForTags := make([]string, 0, len(this.Tags)) - for k, _ := range this.Tags { - keysForTags = append(keysForTags, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForTags) - mapStringForTags := "map[string]string{" - for _, k := range keysForTags { - mapStringForTags += fmt.Sprintf("%#v: %#v,", k, this.Tags[k]) - } - mapStringForTags += "}" - if this.Tags != nil { - s = append(s, "Tags: "+mapStringForTags+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateNamespaceResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&namespaceservice.CreateNamespaceResponse{") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ListNamespacesFilter) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&namespaceservice.ListNamespacesFilter{") - s = append(s, "CloudProviders: "+fmt.Sprintf("%#v", this.CloudProviders)+",\n") - s = append(s, "ConnectivityRuleId: "+fmt.Sprintf("%#v", this.ConnectivityRuleId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ListNamespacesRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&namespaceservice.ListNamespacesRequest{") - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - if this.Filter != nil { - s = append(s, "Filter: "+fmt.Sprintf("%#v", this.Filter)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ListNamespacesResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&namespaceservice.ListNamespacesResponse{") - s = append(s, "Namespaces: "+fmt.Sprintf("%#v", this.Namespaces)+",\n") - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetNamespacesRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&namespaceservice.GetNamespacesRequest{") - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetNamespacesResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&namespaceservice.GetNamespacesResponse{") - if this.Namespaces != nil { - s = append(s, "Namespaces: "+fmt.Sprintf("%#v", this.Namespaces)+",\n") - } - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetNamespaceRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&namespaceservice.GetNamespaceRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetNamespaceResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&namespaceservice.GetNamespaceResponse{") - if this.Namespace != nil { - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateNamespaceRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&namespaceservice.UpdateNamespaceRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") - } - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *UpdateNamespaceResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&namespaceservice.UpdateNamespaceResponse{") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *RenameCustomSearchAttributeRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 9) - s = append(s, "&namespaceservice.RenameCustomSearchAttributeRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "ExistingCustomSearchAttributeName: "+fmt.Sprintf("%#v", this.ExistingCustomSearchAttributeName)+",\n") - s = append(s, "NewCustomSearchAttributeName: "+fmt.Sprintf("%#v", this.NewCustomSearchAttributeName)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *RenameCustomSearchAttributeResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&namespaceservice.RenameCustomSearchAttributeResponse{") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteNamespaceRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&namespaceservice.DeleteNamespaceRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *DeleteNamespaceResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&namespaceservice.DeleteNamespaceResponse{") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *FailoverNamespaceRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&namespaceservice.FailoverNamespaceRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - if this.TargetRegion != nil { - s = append(s, "TargetRegion: "+fmt.Sprintf("%#v", this.TargetRegion)+",\n") - } - s = append(s, "SkipGracefulFailover: "+fmt.Sprintf("%#v", this.SkipGracefulFailover)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *FailoverNamespaceResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&namespaceservice.FailoverNamespaceResponse{") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ReplicationStatus) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&namespaceservice.ReplicationStatus{") - if this.SourceRegion != nil { - s = append(s, "SourceRegion: "+fmt.Sprintf("%#v", this.SourceRegion)+",\n") - } - if this.TargetRegion != nil { - s = append(s, "TargetRegion: "+fmt.Sprintf("%#v", this.TargetRegion)+",\n") - } - if this.ReplicationLag != nil { - s = append(s, "ReplicationLag: "+fmt.Sprintf("%#v", this.ReplicationLag)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ListFailoverHistoryByNamespaceRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&namespaceservice.ListFailoverHistoryByNamespaceRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ListFailoverHistoryByNamespaceResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&namespaceservice.ListFailoverHistoryByNamespaceResponse{") - if this.FailoverHistory != nil { - s = append(s, "FailoverHistory: "+fmt.Sprintf("%#v", this.FailoverHistory)+",\n") - } - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *FailoverRecord) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 12) - s = append(s, "&namespaceservice.FailoverRecord{") - s = append(s, "FailoverType: "+fmt.Sprintf("%#v", this.FailoverType)+",\n") - if this.SourceRegion != nil { - s = append(s, "SourceRegion: "+fmt.Sprintf("%#v", this.SourceRegion)+",\n") - } - if this.TargetRegion != nil { - s = append(s, "TargetRegion: "+fmt.Sprintf("%#v", this.TargetRegion)+",\n") - } - if this.StartTimeUtc != nil { - s = append(s, "StartTimeUtc: "+fmt.Sprintf("%#v", this.StartTimeUtc)+",\n") - } - if this.EndTimeUtc != nil { - s = append(s, "EndTimeUtc: "+fmt.Sprintf("%#v", this.EndTimeUtc)+",\n") - } - s = append(s, "Status: "+fmt.Sprintf("%#v", this.Status)+",\n") - s = append(s, "Operator: "+fmt.Sprintf("%#v", this.Operator)+",\n") - s = append(s, "Reason: "+fmt.Sprintf("%#v", this.Reason)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GlobalizeNamespaceRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&namespaceservice.GlobalizeNamespaceRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - if this.TargetRegion != nil { - s = append(s, "TargetRegion: "+fmt.Sprintf("%#v", this.TargetRegion)+",\n") - } - s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GlobalizeNamespaceResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&namespaceservice.GlobalizeNamespaceResponse{") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ValidateGlobalizeNamespaceRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&namespaceservice.ValidateGlobalizeNamespaceRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ValidateGlobalizeNamespaceResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&namespaceservice.ValidateGlobalizeNamespaceResponse{") - s = append(s, "Success: "+fmt.Sprintf("%#v", this.Success)+",\n") - s = append(s, "FailureReason: "+fmt.Sprintf("%#v", this.FailureReason)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ListReplicaStatusRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&namespaceservice.ListReplicaStatusRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "PageSize: "+fmt.Sprintf("%#v", this.PageSize)+",\n") - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ListReplicaStatusResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&namespaceservice.ListReplicaStatusResponse{") - if this.Statuses != nil { - s = append(s, "Statuses: "+fmt.Sprintf("%#v", this.Statuses)+",\n") - } - s = append(s, "PageToken: "+fmt.Sprintf("%#v", this.PageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func valueToGoStringRequestResponse(v interface{}, typ string) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) -} -func (m *CreateNamespaceRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Tags) > 0 { - for k := range m.Tags { - v := m.Tags[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintRequestResponse(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x32 - } - } - if len(m.IdentityNamespacePermissions) > 0 { - for iNdEx := len(m.IdentityNamespacePermissions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.IdentityNamespacePermissions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if len(m.UserNamespacePermissions) > 0 { - for iNdEx := len(m.UserNamespacePermissions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.UserNamespacePermissions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - } - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CreateNamespaceResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *CreateNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CreateNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.RequestStatus != nil { - { - size, err := m.RequestStatus.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ListNamespacesFilter) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ListNamespacesFilter) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListNamespacesFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ConnectivityRuleId) > 0 { - i -= len(m.ConnectivityRuleId) - copy(dAtA[i:], m.ConnectivityRuleId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ConnectivityRuleId))) - i-- - dAtA[i] = 0x12 - } - if len(m.CloudProviders) > 0 { - dAtA4 := make([]byte, len(m.CloudProviders)*10) - var j3 int - for _, num := range m.CloudProviders { - for num >= 1<<7 { - dAtA4[j3] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j3++ - } - dAtA4[j3] = uint8(num) - j3++ - } - i -= j3 - copy(dAtA[i:], dAtA4[:j3]) - i = encodeVarintRequestResponse(dAtA, i, uint64(j3)) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ListNamespacesRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ListNamespacesRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListNamespacesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Filter != nil { - { - size, err := m.Filter.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x12 - } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *ListNamespacesResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ListNamespacesResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListNamespacesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.Namespaces) > 0 { - for iNdEx := len(m.Namespaces) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Namespaces[iNdEx]) - copy(dAtA[i:], m.Namespaces[iNdEx]) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespaces[iNdEx]))) - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GetNamespacesRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetNamespacesRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetNamespacesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x12 - } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *GetNamespacesResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetNamespacesResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetNamespacesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.Namespaces) > 0 { - for iNdEx := len(m.Namespaces) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Namespaces[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *GetNamespaceRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GetNamespaceResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Namespace != nil { - { - size, err := m.Namespace.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateNamespaceRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x22 - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x1a - } - if m.Spec != nil { - { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UpdateNamespaceResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *UpdateNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UpdateNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.RequestStatus != nil { - { - size, err := m.RequestStatus.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *RenameCustomSearchAttributeRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RenameCustomSearchAttributeRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RenameCustomSearchAttributeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x2a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x22 - } - if len(m.NewCustomSearchAttributeName) > 0 { - i -= len(m.NewCustomSearchAttributeName) - copy(dAtA[i:], m.NewCustomSearchAttributeName) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NewCustomSearchAttributeName))) - i-- - dAtA[i] = 0x1a - } - if len(m.ExistingCustomSearchAttributeName) > 0 { - i -= len(m.ExistingCustomSearchAttributeName) - copy(dAtA[i:], m.ExistingCustomSearchAttributeName) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ExistingCustomSearchAttributeName))) - i-- - dAtA[i] = 0x12 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *RenameCustomSearchAttributeResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RenameCustomSearchAttributeResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RenameCustomSearchAttributeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.RequestStatus != nil { - { - size, err := m.RequestStatus.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteNamespaceRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x1a - } - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x12 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DeleteNamespaceResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DeleteNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.RequestStatus != nil { - { - size, err := m.RequestStatus.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *FailoverNamespaceRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *FailoverNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *FailoverNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.SkipGracefulFailover { - i-- - if m.SkipGracefulFailover { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 - } - if m.TargetRegion != nil { - { - size, err := m.TargetRegion.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x12 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *FailoverNamespaceResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *FailoverNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *FailoverNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.RequestStatus != nil { - { - size, err := m.RequestStatus.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ReplicationStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ReplicationStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ReplicationStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ReplicationLag != nil { - { - size, err := m.ReplicationLag.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.TargetRegion != nil { - { - size, err := m.TargetRegion.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.SourceRegion != nil { - { - size, err := m.SourceRegion.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ListFailoverHistoryByNamespaceRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ListFailoverHistoryByNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListFailoverHistoryByNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x1a - } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x10 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ListFailoverHistoryByNamespaceResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ListFailoverHistoryByNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListFailoverHistoryByNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.NextPageToken) > 0 { - i -= len(m.NextPageToken) - copy(dAtA[i:], m.NextPageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.NextPageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.FailoverHistory) > 0 { - for iNdEx := len(m.FailoverHistory) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.FailoverHistory[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *FailoverRecord) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *FailoverRecord) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *FailoverRecord) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Reason) > 0 { - i -= len(m.Reason) - copy(dAtA[i:], m.Reason) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Reason))) - i-- - dAtA[i] = 0x42 - } - if len(m.Operator) > 0 { - i -= len(m.Operator) - copy(dAtA[i:], m.Operator) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Operator))) - i-- - dAtA[i] = 0x3a - } - if m.Status != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.Status)) - i-- - dAtA[i] = 0x30 - } - if m.EndTimeUtc != nil { - { - size, err := m.EndTimeUtc.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if m.StartTimeUtc != nil { - { - size, err := m.StartTimeUtc.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if m.TargetRegion != nil { - { - size, err := m.TargetRegion.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.SourceRegion != nil { - { - size, err := m.SourceRegion.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.FailoverType != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.FailoverType)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *GlobalizeNamespaceRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GlobalizeNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GlobalizeNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) - i-- - dAtA[i] = 0x22 - } - if m.TargetRegion != nil { - { - size, err := m.TargetRegion.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x12 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GlobalizeNamespaceResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GlobalizeNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GlobalizeNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.RequestStatus != nil { - { - size, err := m.RequestStatus.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ValidateGlobalizeNamespaceRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidateGlobalizeNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidateGlobalizeNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ValidateGlobalizeNamespaceResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ValidateGlobalizeNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ValidateGlobalizeNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.FailureReason) > 0 { - i -= len(m.FailureReason) - copy(dAtA[i:], m.FailureReason) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.FailureReason))) - i-- - dAtA[i] = 0x12 - } - if m.Success { - i-- - if m.Success { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *ListReplicaStatusRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ListReplicaStatusRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListReplicaStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x1a - } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x10 - } - if len(m.Namespace) > 0 { - i -= len(m.Namespace) - copy(dAtA[i:], m.Namespace) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.Namespace))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ListReplicaStatusResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ListReplicaStatusResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListReplicaStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.PageToken) > 0 { - i -= len(m.PageToken) - copy(dAtA[i:], m.PageToken) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.PageToken))) - i-- - dAtA[i] = 0x12 - } - if len(m.Statuses) > 0 { - for iNdEx := len(m.Statuses) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Statuses[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func encodeVarintRequestResponse(dAtA []byte, offset int, v uint64) int { - offset -= sovRequestResponse(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *CreateNamespaceRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if len(m.UserNamespacePermissions) > 0 { - for _, e := range m.UserNamespacePermissions { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - if len(m.IdentityNamespacePermissions) > 0 { - for _, e := range m.IdentityNamespacePermissions { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - if len(m.Tags) > 0 { - for k, v := range m.Tags { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovRequestResponse(uint64(len(k))) + 1 + len(v) + sovRequestResponse(uint64(len(v))) - n += mapEntrySize + 1 + sovRequestResponse(uint64(mapEntrySize)) - } - } - return n -} - -func (m *CreateNamespaceResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.RequestStatus != nil { - l = m.RequestStatus.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *ListNamespacesFilter) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.CloudProviders) > 0 { - l = 0 - for _, e := range m.CloudProviders { - l += sovRequestResponse(uint64(e)) - } - n += 1 + sovRequestResponse(uint64(l)) + l - } - l = len(m.ConnectivityRuleId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *ListNamespacesRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PageSize != 0 { - n += 1 + sovRequestResponse(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.Filter != nil { - l = m.Filter.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *ListNamespacesResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Namespaces) > 0 { - for _, s := range m.Namespaces { - l = len(s) - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetNamespacesRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PageSize != 0 { - n += 1 + sovRequestResponse(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetNamespacesResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Namespaces) > 0 { - for _, e := range m.Namespaces { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetNamespaceRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetNamespaceResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Namespace != nil { - l = m.Namespace.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateNamespaceRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.Spec != nil { - l = m.Spec.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *UpdateNamespaceResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.RequestStatus != nil { - l = m.RequestStatus.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *RenameCustomSearchAttributeRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ExistingCustomSearchAttributeName) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.NewCustomSearchAttributeName) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *RenameCustomSearchAttributeResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.RequestStatus != nil { - l = m.RequestStatus.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteNamespaceRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *DeleteNamespaceResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.RequestStatus != nil { - l = m.RequestStatus.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *FailoverNamespaceRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.TargetRegion != nil { - l = m.TargetRegion.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.SkipGracefulFailover { - n += 2 - } - return n -} - -func (m *FailoverNamespaceResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.RequestStatus != nil { - l = m.RequestStatus.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *ReplicationStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.SourceRegion != nil { - l = m.SourceRegion.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.TargetRegion != nil { - l = m.TargetRegion.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.ReplicationLag != nil { - l = m.ReplicationLag.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *ListFailoverHistoryByNamespaceRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.PageSize != 0 { - n += 1 + sovRequestResponse(uint64(m.PageSize)) - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *ListFailoverHistoryByNamespaceResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.FailoverHistory) > 0 { - for _, e := range m.FailoverHistory { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.NextPageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *FailoverRecord) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.FailoverType != 0 { - n += 1 + sovRequestResponse(uint64(m.FailoverType)) - } - if m.SourceRegion != nil { - l = m.SourceRegion.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.TargetRegion != nil { - l = m.TargetRegion.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.StartTimeUtc != nil { - l = m.StartTimeUtc.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.EndTimeUtc != nil { - l = m.EndTimeUtc.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.Status != 0 { - n += 1 + sovRequestResponse(uint64(m.Status)) - } - l = len(m.Operator) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.Reason) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GlobalizeNamespaceRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.TargetRegion != nil { - l = m.TargetRegion.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - l = len(m.ResourceVersion) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GlobalizeNamespaceResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.RequestStatus != nil { - l = m.RequestStatus.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *ValidateGlobalizeNamespaceRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *ValidateGlobalizeNamespaceResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Success { - n += 2 - } - l = len(m.FailureReason) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *ListReplicaStatusRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Namespace) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - if m.PageSize != 0 { - n += 1 + sovRequestResponse(uint64(m.PageSize)) - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *ListReplicaStatusResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Statuses) > 0 { - for _, e := range m.Statuses { - l = e.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - } - l = len(m.PageToken) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func sovRequestResponse(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozRequestResponse(x uint64) (n int) { - return sovRequestResponse(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (this *CreateNamespaceRequest) String() string { - if this == nil { - return "nil" - } - repeatedStringForUserNamespacePermissions := "[]*UserNamespacePermissions{" - for _, f := range this.UserNamespacePermissions { - repeatedStringForUserNamespacePermissions += strings.Replace(fmt.Sprintf("%v", f), "UserNamespacePermissions", "v11.UserNamespacePermissions", 1) + "," - } - repeatedStringForUserNamespacePermissions += "}" - repeatedStringForIdentityNamespacePermissions := "[]*IdentityNamespacePermissions{" - for _, f := range this.IdentityNamespacePermissions { - repeatedStringForIdentityNamespacePermissions += strings.Replace(fmt.Sprintf("%v", f), "IdentityNamespacePermissions", "v11.IdentityNamespacePermissions", 1) + "," - } - repeatedStringForIdentityNamespacePermissions += "}" - keysForTags := make([]string, 0, len(this.Tags)) - for k, _ := range this.Tags { - keysForTags = append(keysForTags, k) - } - github_com_gogo_protobuf_sortkeys.Strings(keysForTags) - mapStringForTags := "map[string]string{" - for _, k := range keysForTags { - mapStringForTags += fmt.Sprintf("%v: %v,", k, this.Tags[k]) - } - mapStringForTags += "}" - s := strings.Join([]string{`&CreateNamespaceRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "NamespaceSpec", "v1.NamespaceSpec", 1) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `UserNamespacePermissions:` + repeatedStringForUserNamespacePermissions + `,`, - `IdentityNamespacePermissions:` + repeatedStringForIdentityNamespacePermissions + `,`, - `Tags:` + mapStringForTags + `,`, - `}`, - }, "") - return s -} -func (this *CreateNamespaceResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateNamespaceResponse{`, - `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v12.RequestStatus", 1) + `,`, - `}`, - }, "") - return s -} -func (this *ListNamespacesFilter) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ListNamespacesFilter{`, - `CloudProviders:` + fmt.Sprintf("%v", this.CloudProviders) + `,`, - `ConnectivityRuleId:` + fmt.Sprintf("%v", this.ConnectivityRuleId) + `,`, - `}`, - }, "") - return s -} -func (this *ListNamespacesRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ListNamespacesRequest{`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `Filter:` + strings.Replace(this.Filter.String(), "ListNamespacesFilter", "ListNamespacesFilter", 1) + `,`, - `}`, - }, "") - return s -} -func (this *ListNamespacesResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ListNamespacesResponse{`, - `Namespaces:` + fmt.Sprintf("%v", this.Namespaces) + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetNamespacesRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetNamespacesRequest{`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetNamespacesResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForNamespaces := "[]*Namespace{" - for _, f := range this.Namespaces { - repeatedStringForNamespaces += strings.Replace(fmt.Sprintf("%v", f), "Namespace", "v1.Namespace", 1) + "," - } - repeatedStringForNamespaces += "}" - s := strings.Join([]string{`&GetNamespacesResponse{`, - `Namespaces:` + repeatedStringForNamespaces + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetNamespaceRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetNamespaceRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `}`, - }, "") - return s -} -func (this *GetNamespaceResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetNamespaceResponse{`, - `Namespace:` + strings.Replace(fmt.Sprintf("%v", this.Namespace), "Namespace", "v1.Namespace", 1) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateNamespaceRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateNamespaceRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "NamespaceSpec", "v1.NamespaceSpec", 1) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateNamespaceResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateNamespaceResponse{`, - `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v12.RequestStatus", 1) + `,`, - `}`, - }, "") - return s -} -func (this *RenameCustomSearchAttributeRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&RenameCustomSearchAttributeRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `ExistingCustomSearchAttributeName:` + fmt.Sprintf("%v", this.ExistingCustomSearchAttributeName) + `,`, - `NewCustomSearchAttributeName:` + fmt.Sprintf("%v", this.NewCustomSearchAttributeName) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `}`, - }, "") - return s -} -func (this *RenameCustomSearchAttributeResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&RenameCustomSearchAttributeResponse{`, - `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v12.RequestStatus", 1) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteNamespaceRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteNamespaceRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteNamespaceResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteNamespaceResponse{`, - `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v12.RequestStatus", 1) + `,`, - `}`, - }, "") - return s -} -func (this *FailoverNamespaceRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&FailoverNamespaceRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `TargetRegion:` + strings.Replace(fmt.Sprintf("%v", this.TargetRegion), "RegionID", "v13.RegionID", 1) + `,`, - `SkipGracefulFailover:` + fmt.Sprintf("%v", this.SkipGracefulFailover) + `,`, - `}`, - }, "") - return s -} -func (this *FailoverNamespaceResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&FailoverNamespaceResponse{`, - `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v12.RequestStatus", 1) + `,`, - `}`, - }, "") - return s -} -func (this *ReplicationStatus) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ReplicationStatus{`, - `SourceRegion:` + strings.Replace(fmt.Sprintf("%v", this.SourceRegion), "RegionID", "v13.RegionID", 1) + `,`, - `TargetRegion:` + strings.Replace(fmt.Sprintf("%v", this.TargetRegion), "RegionID", "v13.RegionID", 1) + `,`, - `ReplicationLag:` + strings.Replace(fmt.Sprintf("%v", this.ReplicationLag), "Duration", "types.Duration", 1) + `,`, - `}`, - }, "") - return s -} -func (this *ListFailoverHistoryByNamespaceRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ListFailoverHistoryByNamespaceRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *ListFailoverHistoryByNamespaceResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForFailoverHistory := "[]*FailoverRecord{" - for _, f := range this.FailoverHistory { - repeatedStringForFailoverHistory += strings.Replace(f.String(), "FailoverRecord", "FailoverRecord", 1) + "," - } - repeatedStringForFailoverHistory += "}" - s := strings.Join([]string{`&ListFailoverHistoryByNamespaceResponse{`, - `FailoverHistory:` + repeatedStringForFailoverHistory + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *FailoverRecord) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&FailoverRecord{`, - `FailoverType:` + fmt.Sprintf("%v", this.FailoverType) + `,`, - `SourceRegion:` + strings.Replace(fmt.Sprintf("%v", this.SourceRegion), "RegionID", "v13.RegionID", 1) + `,`, - `TargetRegion:` + strings.Replace(fmt.Sprintf("%v", this.TargetRegion), "RegionID", "v13.RegionID", 1) + `,`, - `StartTimeUtc:` + strings.Replace(fmt.Sprintf("%v", this.StartTimeUtc), "Timestamp", "types.Timestamp", 1) + `,`, - `EndTimeUtc:` + strings.Replace(fmt.Sprintf("%v", this.EndTimeUtc), "Timestamp", "types.Timestamp", 1) + `,`, - `Status:` + fmt.Sprintf("%v", this.Status) + `,`, - `Operator:` + fmt.Sprintf("%v", this.Operator) + `,`, - `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, - `}`, - }, "") - return s -} -func (this *GlobalizeNamespaceRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GlobalizeNamespaceRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `TargetRegion:` + strings.Replace(fmt.Sprintf("%v", this.TargetRegion), "RegionID", "v13.RegionID", 1) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `}`, - }, "") - return s -} -func (this *GlobalizeNamespaceResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GlobalizeNamespaceResponse{`, - `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v12.RequestStatus", 1) + `,`, - `}`, - }, "") - return s -} -func (this *ValidateGlobalizeNamespaceRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ValidateGlobalizeNamespaceRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `}`, - }, "") - return s -} -func (this *ValidateGlobalizeNamespaceResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ValidateGlobalizeNamespaceResponse{`, - `Success:` + fmt.Sprintf("%v", this.Success) + `,`, - `FailureReason:` + fmt.Sprintf("%v", this.FailureReason) + `,`, - `}`, - }, "") - return s -} -func (this *ListReplicaStatusRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ListReplicaStatusRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `}`, - }, "") - return s -} -func (this *ListReplicaStatusResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForStatuses := "[]*ReplicaStatus{" - for _, f := range this.Statuses { - repeatedStringForStatuses += strings.Replace(fmt.Sprintf("%v", f), "ReplicaStatus", "v13.ReplicaStatus", 1) + "," - } - repeatedStringForStatuses += "}" - s := strings.Join([]string{`&ListReplicaStatusResponse{`, - `Statuses:` + repeatedStringForStatuses + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `}`, - }, "") - return s -} -func valueToStringRequestResponse(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) -} -func (m *CreateNamespaceRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateNamespaceRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v1.NamespaceSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserNamespacePermissions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.UserNamespacePermissions = append(m.UserNamespacePermissions, &v11.UserNamespacePermissions{}) - if err := m.UserNamespacePermissions[len(m.UserNamespacePermissions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IdentityNamespacePermissions", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.IdentityNamespacePermissions = append(m.IdentityNamespacePermissions, &v11.IdentityNamespacePermissions{}) - if err := m.IdentityNamespacePermissions[len(m.IdentityNamespacePermissions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Tags == nil { - m.Tags = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthRequestResponse - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthRequestResponse - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthRequestResponse - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthRequestResponse - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Tags[mapkey] = mapvalue - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CreateNamespaceResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: CreateNamespaceResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestStatus", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RequestStatus == nil { - m.RequestStatus = &v12.RequestStatus{} - } - if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ListNamespacesFilter) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ListNamespacesFilter: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ListNamespacesFilter: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType == 0 { - var v v13.RegionID_CloudProvider - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= v13.RegionID_CloudProvider(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.CloudProviders = append(m.CloudProviders, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - if elementCount != 0 && len(m.CloudProviders) == 0 { - m.CloudProviders = make([]v13.RegionID_CloudProvider, 0, elementCount) - } - for iNdEx < postIndex { - var v v13.RegionID_CloudProvider - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= v13.RegionID_CloudProvider(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.CloudProviders = append(m.CloudProviders, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field CloudProviders", wireType) - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConnectivityRuleId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ConnectivityRuleId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ListNamespacesRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ListNamespacesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ListNamespacesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Filter", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Filter == nil { - m.Filter = &ListNamespacesFilter{} - } - if err := m.Filter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ListNamespacesResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ListNamespacesResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ListNamespacesResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespaces", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespaces = append(m.Namespaces, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetNamespacesRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetNamespacesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespacesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetNamespacesResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetNamespacesResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespacesResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespaces", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespaces = append(m.Namespaces, &v1.Namespace{}) - if err := m.Namespaces[len(m.Namespaces)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetNamespaceRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetNamespaceRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetNamespaceResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetNamespaceResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Namespace == nil { - m.Namespace = &v1.Namespace{} - } - if err := m.Namespace.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateNamespaceRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateNamespaceRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Spec == nil { - m.Spec = &v1.NamespaceSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *UpdateNamespaceResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: UpdateNamespaceResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestStatus", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RequestStatus == nil { - m.RequestStatus = &v12.RequestStatus{} - } - if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RenameCustomSearchAttributeRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RenameCustomSearchAttributeRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExistingCustomSearchAttributeName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ExistingCustomSearchAttributeName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NewCustomSearchAttributeName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NewCustomSearchAttributeName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RenameCustomSearchAttributeResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RenameCustomSearchAttributeResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RenameCustomSearchAttributeResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestStatus", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RequestStatus == nil { - m.RequestStatus = &v12.RequestStatus{} - } - if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteNamespaceRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteNamespaceRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DeleteNamespaceResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteNamespaceResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestStatus", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RequestStatus == nil { - m.RequestStatus = &v12.RequestStatus{} - } - if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *FailoverNamespaceRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: FailoverNamespaceRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: FailoverNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TargetRegion", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.TargetRegion == nil { - m.TargetRegion = &v13.RegionID{} - } - if err := m.TargetRegion.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SkipGracefulFailover", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.SkipGracefulFailover = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *FailoverNamespaceResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: FailoverNamespaceResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: FailoverNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestStatus", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RequestStatus == nil { - m.RequestStatus = &v12.RequestStatus{} - } - if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ReplicationStatus) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ReplicationStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ReplicationStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SourceRegion", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.SourceRegion == nil { - m.SourceRegion = &v13.RegionID{} - } - if err := m.SourceRegion.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TargetRegion", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.TargetRegion == nil { - m.TargetRegion = &v13.RegionID{} - } - if err := m.TargetRegion.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplicationLag", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ReplicationLag == nil { - m.ReplicationLag = &types.Duration{} - } - if err := m.ReplicationLag.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ListFailoverHistoryByNamespaceRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ListFailoverHistoryByNamespaceRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ListFailoverHistoryByNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) - if m.NextPageToken == nil { - m.NextPageToken = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ListFailoverHistoryByNamespaceResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ListFailoverHistoryByNamespaceResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ListFailoverHistoryByNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FailoverHistory", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FailoverHistory = append(m.FailoverHistory, &FailoverRecord{}) - if err := m.FailoverHistory[len(m.FailoverHistory)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) - if m.NextPageToken == nil { - m.NextPageToken = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *FailoverRecord) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: FailoverRecord: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: FailoverRecord: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field FailoverType", wireType) - } - m.FailoverType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.FailoverType |= v13.FailoverType(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SourceRegion", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.SourceRegion == nil { - m.SourceRegion = &v13.RegionID{} - } - if err := m.SourceRegion.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TargetRegion", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.TargetRegion == nil { - m.TargetRegion = &v13.RegionID{} - } - if err := m.TargetRegion.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StartTimeUtc", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.StartTimeUtc == nil { - m.StartTimeUtc = &types.Timestamp{} - } - if err := m.StartTimeUtc.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EndTimeUtc", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.EndTimeUtc == nil { - m.EndTimeUtc = &types.Timestamp{} - } - if err := m.EndTimeUtc.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - m.Status = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Status |= v13.FailoverStatus(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Operator = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Reason = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GlobalizeNamespaceRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GlobalizeNamespaceRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GlobalizeNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TargetRegion", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.TargetRegion == nil { - m.TargetRegion = &v13.RegionID{} - } - if err := m.TargetRegion.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GlobalizeNamespaceResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GlobalizeNamespaceResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GlobalizeNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestStatus", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RequestStatus == nil { - m.RequestStatus = &v12.RequestStatus{} - } - if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidateGlobalizeNamespaceRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidateGlobalizeNamespaceRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidateGlobalizeNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ValidateGlobalizeNamespaceResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ValidateGlobalizeNamespaceResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ValidateGlobalizeNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Success", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Success = bool(v != 0) - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FailureReason", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FailureReason = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ListReplicaStatusRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ListReplicaStatusRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ListReplicaStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Namespace = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) - } - m.PageSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PageSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = append(m.PageToken[:0], dAtA[iNdEx:postIndex]...) - if m.PageToken == nil { - m.PageToken = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ListReplicaStatusResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ListReplicaStatusResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ListReplicaStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Statuses", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Statuses = append(m.Statuses, &v13.ReplicaStatus{}) - if err := m.Statuses[len(m.Statuses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PageToken = append(m.PageToken[:0], dAtA[iNdEx:postIndex]...) - if m.PageToken == nil { - m.PageToken = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipRequestResponse(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthRequestResponse - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupRequestResponse - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthRequestResponse - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthRequestResponse = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowRequestResponse = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupRequestResponse = fmt.Errorf("proto: unexpected end of group") -) diff --git a/protogen/api/namespaceservice/v1/service.pb.go b/protogen/api/namespaceservice/v1/service.pb.go index b12c546f..f700de3e 100644 --- a/protogen/api/namespaceservice/v1/service.pb.go +++ b/protogen/api/namespaceservice/v1/service.pb.go @@ -1,564 +1,239 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// (-- api-linter: core::0133::http-uri-parent=disabled --) +// (-- api-linter: core::0133::method-signature=disabled --) +// (-- api-linter: core::0133::request-unknown-fields=disabled --) +// (-- api-linter: core::0133::response-message-name=disabled --) + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: api/namespaceservice/v1/service.proto package namespaceservice import ( - context "context" - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -func init() { - proto.RegisterFile("api/namespaceservice/v1/service.proto", fileDescriptor_d746e5fd89aff5eb) -} - -var fileDescriptor_d746e5fd89aff5eb = []byte{ - // 481 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x95, 0x31, 0x6f, 0x13, 0x31, - 0x18, 0x86, 0xcf, 0x0b, 0x83, 0x55, 0x28, 0x78, 0x41, 0x0a, 0x92, 0x07, 0x24, 0x36, 0xea, 0x23, - 0x2d, 0x13, 0x41, 0x20, 0x5a, 0x44, 0x19, 0x10, 0x43, 0x22, 0x18, 0x58, 0x90, 0x73, 0xfd, 0x24, - 0x8c, 0x9c, 0xda, 0xd8, 0xbe, 0x93, 0x8a, 0x90, 0xe0, 0x27, 0xb0, 0x21, 0xb1, 0xb2, 0x20, 0x7e, - 0x09, 0x63, 0xc6, 0x8e, 0xe4, 0xb2, 0x30, 0xf6, 0x27, 0xa0, 0x23, 0xb5, 0x7b, 0xbd, 0xab, 0x93, - 0x6b, 0xb6, 0x28, 0x7e, 0xde, 0xef, 0x79, 0xcf, 0xf6, 0xe9, 0xf0, 0x1d, 0xae, 0x45, 0x7a, 0xc8, - 0x27, 0x60, 0x35, 0xcf, 0xc0, 0x82, 0x29, 0x44, 0x06, 0x69, 0xd1, 0x4f, 0x4f, 0x7f, 0x32, 0x6d, - 0x94, 0x53, 0xe4, 0x26, 0xd7, 0x82, 0x35, 0x31, 0x56, 0xf4, 0x7b, 0x2c, 0x96, 0x37, 0xf0, 0x21, - 0x07, 0xeb, 0xde, 0x1a, 0xb0, 0x5a, 0x1d, 0xda, 0xd3, 0x41, 0xdb, 0xbf, 0x36, 0xf0, 0xf5, 0x97, - 0x1e, 0x1f, 0x2d, 0x70, 0x52, 0xe0, 0xcd, 0x3d, 0x03, 0xdc, 0x41, 0x58, 0x21, 0x29, 0x8b, 0x18, - 0x59, 0x83, 0x1c, 0x2e, 0x3c, 0xbd, 0x7b, 0xdd, 0x03, 0x8b, 0x42, 0xb7, 0x13, 0x62, 0xf1, 0xb5, - 0x17, 0xc2, 0xba, 0xb0, 0x64, 0x09, 0x8b, 0x4e, 0x39, 0x0f, 0x7a, 0x6b, 0xda, 0x99, 0x0f, 0x52, - 0x8d, 0xaf, 0xee, 0x43, 0xdd, 0xb9, 0x15, 0x9d, 0x71, 0x8e, 0xf3, 0x4a, 0xd6, 0x15, 0x0f, 0xc6, - 0x09, 0xde, 0xa8, 0x2f, 0x91, 0xbb, 0x9d, 0x26, 0x78, 0xdf, 0x56, 0x47, 0x3a, 0xe8, 0x0a, 0xbc, - 0xf9, 0x4a, 0x1f, 0x74, 0x3c, 0xcd, 0x06, 0xb9, 0xfa, 0x34, 0x5b, 0x81, 0xe0, 0xfd, 0x8e, 0xf0, - 0xad, 0x21, 0x54, 0x99, 0xbd, 0xdc, 0x3a, 0x35, 0x19, 0x01, 0x37, 0xd9, 0xbb, 0x27, 0xce, 0x19, - 0x31, 0xce, 0x1d, 0x90, 0x41, 0x74, 0xe6, 0x92, 0x94, 0x2f, 0xf4, 0x70, 0xbd, 0x70, 0x7d, 0x53, - 0x9e, 0x82, 0x84, 0x6e, 0x9b, 0xd2, 0x20, 0x57, 0x6f, 0x4a, 0x2b, 0x10, 0xbc, 0x9f, 0xf0, 0x8d, - 0x67, 0x5c, 0x48, 0x55, 0x80, 0x39, 0x33, 0xf7, 0xa3, 0x83, 0x5a, 0xac, 0x77, 0x6f, 0x5f, 0x26, - 0x12, 0xec, 0x3f, 0x10, 0xa6, 0xd5, 0x8b, 0xe0, 0x99, 0xe7, 0xc2, 0x3a, 0x65, 0x8e, 0x76, 0x8f, - 0xce, 0xba, 0x3c, 0x5a, 0xfa, 0x06, 0xc5, 0x83, 0xbe, 0xd8, 0xe3, 0xb5, 0xf3, 0xa1, 0xe5, 0x67, - 0x4c, 0xf6, 0xa5, 0x1a, 0x73, 0x29, 0x3e, 0xd6, 0x8e, 0x27, 0xfe, 0xc4, 0x6d, 0xd8, 0x97, 0xd9, - 0xb9, 0x54, 0x26, 0x14, 0xf8, 0x86, 0x70, 0xef, 0x35, 0x97, 0xa2, 0xba, 0xd9, 0x17, 0x34, 0x79, - 0x10, 0x9d, 0x1a, 0x0f, 0xf9, 0x46, 0x83, 0xb5, 0xb2, 0xf5, 0xeb, 0x53, 0x6d, 0xe3, 0x10, 0xb4, - 0x14, 0x19, 0x1f, 0x39, 0xee, 0x72, 0xbb, 0xe4, 0xfa, 0xb4, 0xd8, 0xd5, 0xd7, 0xe7, 0x82, 0x88, - 0xb7, 0xef, 0xbe, 0x9f, 0xce, 0x68, 0x72, 0x3c, 0xa3, 0xc9, 0xc9, 0x8c, 0xa2, 0x2f, 0x25, 0x45, - 0x3f, 0x4b, 0x8a, 0x7e, 0x97, 0x14, 0x4d, 0x4b, 0x8a, 0xfe, 0x94, 0x14, 0xfd, 0x2d, 0x69, 0x72, - 0x52, 0x52, 0xf4, 0x75, 0x4e, 0x93, 0xe9, 0x9c, 0x26, 0xc7, 0x73, 0x9a, 0xbc, 0xb9, 0xef, 0x26, - 0xda, 0x48, 0x96, 0x49, 0x95, 0x1f, 0xa4, 0x91, 0xcf, 0xd3, 0xa0, 0xf9, 0xdf, 0xf8, 0xca, 0xff, - 0xef, 0xd3, 0xce, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x92, 0xfc, 0x4c, 0xf7, 0x11, 0x07, 0x00, - 0x00, -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConnInterface - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 - -// NamespaceServiceClient is the client API for NamespaceService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type NamespaceServiceClient interface { - // CreateNamespace creates a new namespace on Temporal cloud. - CreateNamespace(ctx context.Context, in *CreateNamespaceRequest, opts ...grpc.CallOption) (*CreateNamespaceResponse, error) - // ListNamespaces lists the names of all known namespaces on Temporal cloud. - ListNamespaces(ctx context.Context, in *ListNamespacesRequest, opts ...grpc.CallOption) (*ListNamespacesResponse, error) - // GetNamespaces lists all known namespaces on temporal cloud. - GetNamespaces(ctx context.Context, in *GetNamespacesRequest, opts ...grpc.CallOption) (*GetNamespacesResponse, error) - // GetNamespace describes the namespace in detail. - GetNamespace(ctx context.Context, in *GetNamespaceRequest, opts ...grpc.CallOption) (*GetNamespaceResponse, error) - // UpdateNamespace updates an existing namespace on Temporal cloud. - UpdateNamespace(ctx context.Context, in *UpdateNamespaceRequest, opts ...grpc.CallOption) (*UpdateNamespaceResponse, error) - // RenameCustomSearchAttribute renames an existing custom search attribute for a given namespace on Temporal cloud. - RenameCustomSearchAttribute(ctx context.Context, in *RenameCustomSearchAttributeRequest, opts ...grpc.CallOption) (*RenameCustomSearchAttributeResponse, error) - // DeleteNamespace deletes an existing namespace on Temporal cloud. - DeleteNamespace(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*DeleteNamespaceResponse, error) - // FailoverNamespace failovers the namespace from the source_region to the target_region on Temporal Cloud - FailoverNamespace(ctx context.Context, in *FailoverNamespaceRequest, opts ...grpc.CallOption) (*FailoverNamespaceResponse, error) - // ListFailoverHistoryByNamespace returns a list of failover record - ListFailoverHistoryByNamespace(ctx context.Context, in *ListFailoverHistoryByNamespaceRequest, opts ...grpc.CallOption) (*ListFailoverHistoryByNamespaceResponse, error) - // GlobalizeNamespace converts a regular namespace to global namespace on Temporal Cloud - GlobalizeNamespace(ctx context.Context, in *GlobalizeNamespaceRequest, opts ...grpc.CallOption) (*GlobalizeNamespaceResponse, error) - // ValidateGlobalizeNamespace validates if a namespace is allow for globalize on Temporal Cloud - ValidateGlobalizeNamespace(ctx context.Context, in *ValidateGlobalizeNamespaceRequest, opts ...grpc.CallOption) (*ValidateGlobalizeNamespaceResponse, error) - // ListReplicaStatus returns a replica status on Temporal Cloud - ListReplicaStatus(ctx context.Context, in *ListReplicaStatusRequest, opts ...grpc.CallOption) (*ListReplicaStatusResponse, error) -} - -type namespaceServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewNamespaceServiceClient(cc grpc.ClientConnInterface) NamespaceServiceClient { - return &namespaceServiceClient{cc} -} - -func (c *namespaceServiceClient) CreateNamespace(ctx context.Context, in *CreateNamespaceRequest, opts ...grpc.CallOption) (*CreateNamespaceResponse, error) { - out := new(CreateNamespaceResponse) - err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/CreateNamespace", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *namespaceServiceClient) ListNamespaces(ctx context.Context, in *ListNamespacesRequest, opts ...grpc.CallOption) (*ListNamespacesResponse, error) { - out := new(ListNamespacesResponse) - err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/ListNamespaces", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *namespaceServiceClient) GetNamespaces(ctx context.Context, in *GetNamespacesRequest, opts ...grpc.CallOption) (*GetNamespacesResponse, error) { - out := new(GetNamespacesResponse) - err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/GetNamespaces", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *namespaceServiceClient) GetNamespace(ctx context.Context, in *GetNamespaceRequest, opts ...grpc.CallOption) (*GetNamespaceResponse, error) { - out := new(GetNamespaceResponse) - err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/GetNamespace", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *namespaceServiceClient) UpdateNamespace(ctx context.Context, in *UpdateNamespaceRequest, opts ...grpc.CallOption) (*UpdateNamespaceResponse, error) { - out := new(UpdateNamespaceResponse) - err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/UpdateNamespace", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *namespaceServiceClient) RenameCustomSearchAttribute(ctx context.Context, in *RenameCustomSearchAttributeRequest, opts ...grpc.CallOption) (*RenameCustomSearchAttributeResponse, error) { - out := new(RenameCustomSearchAttributeResponse) - err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/RenameCustomSearchAttribute", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *namespaceServiceClient) DeleteNamespace(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*DeleteNamespaceResponse, error) { - out := new(DeleteNamespaceResponse) - err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/DeleteNamespace", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *namespaceServiceClient) FailoverNamespace(ctx context.Context, in *FailoverNamespaceRequest, opts ...grpc.CallOption) (*FailoverNamespaceResponse, error) { - out := new(FailoverNamespaceResponse) - err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/FailoverNamespace", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *namespaceServiceClient) ListFailoverHistoryByNamespace(ctx context.Context, in *ListFailoverHistoryByNamespaceRequest, opts ...grpc.CallOption) (*ListFailoverHistoryByNamespaceResponse, error) { - out := new(ListFailoverHistoryByNamespaceResponse) - err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/ListFailoverHistoryByNamespace", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *namespaceServiceClient) GlobalizeNamespace(ctx context.Context, in *GlobalizeNamespaceRequest, opts ...grpc.CallOption) (*GlobalizeNamespaceResponse, error) { - out := new(GlobalizeNamespaceResponse) - err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/GlobalizeNamespace", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *namespaceServiceClient) ValidateGlobalizeNamespace(ctx context.Context, in *ValidateGlobalizeNamespaceRequest, opts ...grpc.CallOption) (*ValidateGlobalizeNamespaceResponse, error) { - out := new(ValidateGlobalizeNamespaceResponse) - err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/ValidateGlobalizeNamespace", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *namespaceServiceClient) ListReplicaStatus(ctx context.Context, in *ListReplicaStatusRequest, opts ...grpc.CallOption) (*ListReplicaStatusResponse, error) { - out := new(ListReplicaStatusResponse) - err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/ListReplicaStatus", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// NamespaceServiceServer is the server API for NamespaceService service. -type NamespaceServiceServer interface { - // CreateNamespace creates a new namespace on Temporal cloud. - CreateNamespace(context.Context, *CreateNamespaceRequest) (*CreateNamespaceResponse, error) - // ListNamespaces lists the names of all known namespaces on Temporal cloud. - ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error) - // GetNamespaces lists all known namespaces on temporal cloud. - GetNamespaces(context.Context, *GetNamespacesRequest) (*GetNamespacesResponse, error) - // GetNamespace describes the namespace in detail. - GetNamespace(context.Context, *GetNamespaceRequest) (*GetNamespaceResponse, error) - // UpdateNamespace updates an existing namespace on Temporal cloud. - UpdateNamespace(context.Context, *UpdateNamespaceRequest) (*UpdateNamespaceResponse, error) - // RenameCustomSearchAttribute renames an existing custom search attribute for a given namespace on Temporal cloud. - RenameCustomSearchAttribute(context.Context, *RenameCustomSearchAttributeRequest) (*RenameCustomSearchAttributeResponse, error) - // DeleteNamespace deletes an existing namespace on Temporal cloud. - DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*DeleteNamespaceResponse, error) - // FailoverNamespace failovers the namespace from the source_region to the target_region on Temporal Cloud - FailoverNamespace(context.Context, *FailoverNamespaceRequest) (*FailoverNamespaceResponse, error) - // ListFailoverHistoryByNamespace returns a list of failover record - ListFailoverHistoryByNamespace(context.Context, *ListFailoverHistoryByNamespaceRequest) (*ListFailoverHistoryByNamespaceResponse, error) - // GlobalizeNamespace converts a regular namespace to global namespace on Temporal Cloud - GlobalizeNamespace(context.Context, *GlobalizeNamespaceRequest) (*GlobalizeNamespaceResponse, error) - // ValidateGlobalizeNamespace validates if a namespace is allow for globalize on Temporal Cloud - ValidateGlobalizeNamespace(context.Context, *ValidateGlobalizeNamespaceRequest) (*ValidateGlobalizeNamespaceResponse, error) - // ListReplicaStatus returns a replica status on Temporal Cloud - ListReplicaStatus(context.Context, *ListReplicaStatusRequest) (*ListReplicaStatusResponse, error) -} - -// UnimplementedNamespaceServiceServer can be embedded to have forward compatible implementations. -type UnimplementedNamespaceServiceServer struct { -} - -func (*UnimplementedNamespaceServiceServer) CreateNamespace(ctx context.Context, req *CreateNamespaceRequest) (*CreateNamespaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateNamespace not implemented") -} -func (*UnimplementedNamespaceServiceServer) ListNamespaces(ctx context.Context, req *ListNamespacesRequest) (*ListNamespacesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListNamespaces not implemented") -} -func (*UnimplementedNamespaceServiceServer) GetNamespaces(ctx context.Context, req *GetNamespacesRequest) (*GetNamespacesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNamespaces not implemented") -} -func (*UnimplementedNamespaceServiceServer) GetNamespace(ctx context.Context, req *GetNamespaceRequest) (*GetNamespaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNamespace not implemented") -} -func (*UnimplementedNamespaceServiceServer) UpdateNamespace(ctx context.Context, req *UpdateNamespaceRequest) (*UpdateNamespaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateNamespace not implemented") -} -func (*UnimplementedNamespaceServiceServer) RenameCustomSearchAttribute(ctx context.Context, req *RenameCustomSearchAttributeRequest) (*RenameCustomSearchAttributeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RenameCustomSearchAttribute not implemented") -} -func (*UnimplementedNamespaceServiceServer) DeleteNamespace(ctx context.Context, req *DeleteNamespaceRequest) (*DeleteNamespaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteNamespace not implemented") -} -func (*UnimplementedNamespaceServiceServer) FailoverNamespace(ctx context.Context, req *FailoverNamespaceRequest) (*FailoverNamespaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FailoverNamespace not implemented") -} -func (*UnimplementedNamespaceServiceServer) ListFailoverHistoryByNamespace(ctx context.Context, req *ListFailoverHistoryByNamespaceRequest) (*ListFailoverHistoryByNamespaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListFailoverHistoryByNamespace not implemented") -} -func (*UnimplementedNamespaceServiceServer) GlobalizeNamespace(ctx context.Context, req *GlobalizeNamespaceRequest) (*GlobalizeNamespaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GlobalizeNamespace not implemented") -} -func (*UnimplementedNamespaceServiceServer) ValidateGlobalizeNamespace(ctx context.Context, req *ValidateGlobalizeNamespaceRequest) (*ValidateGlobalizeNamespaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ValidateGlobalizeNamespace not implemented") -} -func (*UnimplementedNamespaceServiceServer) ListReplicaStatus(ctx context.Context, req *ListReplicaStatusRequest) (*ListReplicaStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListReplicaStatus not implemented") -} - -func RegisterNamespaceServiceServer(s *grpc.Server, srv NamespaceServiceServer) { - s.RegisterService(&_NamespaceService_serviceDesc, srv) -} - -func _NamespaceService_CreateNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateNamespaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NamespaceServiceServer).CreateNamespace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.namespaceservice.v1.NamespaceService/CreateNamespace", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NamespaceServiceServer).CreateNamespace(ctx, req.(*CreateNamespaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NamespaceService_ListNamespaces_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListNamespacesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NamespaceServiceServer).ListNamespaces(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.namespaceservice.v1.NamespaceService/ListNamespaces", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NamespaceServiceServer).ListNamespaces(ctx, req.(*ListNamespacesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NamespaceService_GetNamespaces_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNamespacesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NamespaceServiceServer).GetNamespaces(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.namespaceservice.v1.NamespaceService/GetNamespaces", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NamespaceServiceServer).GetNamespaces(ctx, req.(*GetNamespacesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NamespaceService_GetNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNamespaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NamespaceServiceServer).GetNamespace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.namespaceservice.v1.NamespaceService/GetNamespace", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NamespaceServiceServer).GetNamespace(ctx, req.(*GetNamespaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NamespaceService_UpdateNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateNamespaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NamespaceServiceServer).UpdateNamespace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.namespaceservice.v1.NamespaceService/UpdateNamespace", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NamespaceServiceServer).UpdateNamespace(ctx, req.(*UpdateNamespaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NamespaceService_RenameCustomSearchAttribute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RenameCustomSearchAttributeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NamespaceServiceServer).RenameCustomSearchAttribute(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.namespaceservice.v1.NamespaceService/RenameCustomSearchAttribute", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NamespaceServiceServer).RenameCustomSearchAttribute(ctx, req.(*RenameCustomSearchAttributeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NamespaceService_DeleteNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteNamespaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NamespaceServiceServer).DeleteNamespace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.namespaceservice.v1.NamespaceService/DeleteNamespace", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NamespaceServiceServer).DeleteNamespace(ctx, req.(*DeleteNamespaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NamespaceService_FailoverNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FailoverNamespaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NamespaceServiceServer).FailoverNamespace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.namespaceservice.v1.NamespaceService/FailoverNamespace", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NamespaceServiceServer).FailoverNamespace(ctx, req.(*FailoverNamespaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NamespaceService_ListFailoverHistoryByNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListFailoverHistoryByNamespaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NamespaceServiceServer).ListFailoverHistoryByNamespace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.namespaceservice.v1.NamespaceService/ListFailoverHistoryByNamespace", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NamespaceServiceServer).ListFailoverHistoryByNamespace(ctx, req.(*ListFailoverHistoryByNamespaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NamespaceService_GlobalizeNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GlobalizeNamespaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NamespaceServiceServer).GlobalizeNamespace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.namespaceservice.v1.NamespaceService/GlobalizeNamespace", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NamespaceServiceServer).GlobalizeNamespace(ctx, req.(*GlobalizeNamespaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NamespaceService_ValidateGlobalizeNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ValidateGlobalizeNamespaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NamespaceServiceServer).ValidateGlobalizeNamespace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.namespaceservice.v1.NamespaceService/ValidateGlobalizeNamespace", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NamespaceServiceServer).ValidateGlobalizeNamespace(ctx, req.(*ValidateGlobalizeNamespaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NamespaceService_ListReplicaStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListReplicaStatusRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NamespaceServiceServer).ListReplicaStatus(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.namespaceservice.v1.NamespaceService/ListReplicaStatus", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NamespaceServiceServer).ListReplicaStatus(ctx, req.(*ListReplicaStatusRequest)) - } - return interceptor(ctx, in, info, handler) -} +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -var _NamespaceService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "api.namespaceservice.v1.NamespaceService", - HandlerType: (*NamespaceServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateNamespace", - Handler: _NamespaceService_CreateNamespace_Handler, - }, - { - MethodName: "ListNamespaces", - Handler: _NamespaceService_ListNamespaces_Handler, - }, - { - MethodName: "GetNamespaces", - Handler: _NamespaceService_GetNamespaces_Handler, - }, - { - MethodName: "GetNamespace", - Handler: _NamespaceService_GetNamespace_Handler, - }, - { - MethodName: "UpdateNamespace", - Handler: _NamespaceService_UpdateNamespace_Handler, - }, - { - MethodName: "RenameCustomSearchAttribute", - Handler: _NamespaceService_RenameCustomSearchAttribute_Handler, - }, - { - MethodName: "DeleteNamespace", - Handler: _NamespaceService_DeleteNamespace_Handler, - }, - { - MethodName: "FailoverNamespace", - Handler: _NamespaceService_FailoverNamespace_Handler, - }, - { - MethodName: "ListFailoverHistoryByNamespace", - Handler: _NamespaceService_ListFailoverHistoryByNamespace_Handler, - }, - { - MethodName: "GlobalizeNamespace", - Handler: _NamespaceService_GlobalizeNamespace_Handler, - }, - { - MethodName: "ValidateGlobalizeNamespace", - Handler: _NamespaceService_ValidateGlobalizeNamespace_Handler, - }, - { - MethodName: "ListReplicaStatus", - Handler: _NamespaceService_ListReplicaStatus_Handler, +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +var File_api_namespaceservice_v1_service_proto protoreflect.FileDescriptor + +var file_api_namespaceservice_v1_service_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x61, 0x70, 0x69, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x1a, 0x2e, 0x61, 0x70, 0x69, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x32, 0xaa, 0x0c, 0x0a, 0x10, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x76, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, + 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, + 0x2e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x12, 0x2c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x9a, 0x01, 0x0a, 0x1b, + 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x53, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x3b, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x75, 0x73, 0x74, + 0x6f, 0x6d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x7c, 0x0a, 0x11, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x31, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0xa3, + 0x01, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x48, + 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x12, 0x3e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x42, + 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x3f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x42, + 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x12, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x69, 0x7a, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x32, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x69, + 0x7a, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x97, 0x01, 0x0a, 0x1a, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x12, 0x3a, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x69, 0x7a, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x3b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x65, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x7c, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xdf, 0x01, + 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x34, 0x74, + 0x6d, 0x70, 0x72, 0x6c, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, + 0x76, 0x31, 0x3b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0xa2, 0x02, 0x03, 0x41, 0x4e, 0x58, 0xaa, 0x02, 0x17, 0x41, 0x70, 0x69, 0x2e, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x56, 0x31, 0xca, 0x02, 0x17, 0x41, 0x70, 0x69, 0x5c, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x23, + 0x41, 0x70, 0x69, 0x5c, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0xea, 0x02, 0x19, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var file_api_namespaceservice_v1_service_proto_goTypes = []interface{}{ + (*CreateNamespaceRequest)(nil), // 0: api.namespaceservice.v1.CreateNamespaceRequest + (*ListNamespacesRequest)(nil), // 1: api.namespaceservice.v1.ListNamespacesRequest + (*GetNamespacesRequest)(nil), // 2: api.namespaceservice.v1.GetNamespacesRequest + (*GetNamespaceRequest)(nil), // 3: api.namespaceservice.v1.GetNamespaceRequest + (*UpdateNamespaceRequest)(nil), // 4: api.namespaceservice.v1.UpdateNamespaceRequest + (*RenameCustomSearchAttributeRequest)(nil), // 5: api.namespaceservice.v1.RenameCustomSearchAttributeRequest + (*DeleteNamespaceRequest)(nil), // 6: api.namespaceservice.v1.DeleteNamespaceRequest + (*FailoverNamespaceRequest)(nil), // 7: api.namespaceservice.v1.FailoverNamespaceRequest + (*ListFailoverHistoryByNamespaceRequest)(nil), // 8: api.namespaceservice.v1.ListFailoverHistoryByNamespaceRequest + (*GlobalizeNamespaceRequest)(nil), // 9: api.namespaceservice.v1.GlobalizeNamespaceRequest + (*ValidateGlobalizeNamespaceRequest)(nil), // 10: api.namespaceservice.v1.ValidateGlobalizeNamespaceRequest + (*ListReplicaStatusRequest)(nil), // 11: api.namespaceservice.v1.ListReplicaStatusRequest + (*CreateNamespaceResponse)(nil), // 12: api.namespaceservice.v1.CreateNamespaceResponse + (*ListNamespacesResponse)(nil), // 13: api.namespaceservice.v1.ListNamespacesResponse + (*GetNamespacesResponse)(nil), // 14: api.namespaceservice.v1.GetNamespacesResponse + (*GetNamespaceResponse)(nil), // 15: api.namespaceservice.v1.GetNamespaceResponse + (*UpdateNamespaceResponse)(nil), // 16: api.namespaceservice.v1.UpdateNamespaceResponse + (*RenameCustomSearchAttributeResponse)(nil), // 17: api.namespaceservice.v1.RenameCustomSearchAttributeResponse + (*DeleteNamespaceResponse)(nil), // 18: api.namespaceservice.v1.DeleteNamespaceResponse + (*FailoverNamespaceResponse)(nil), // 19: api.namespaceservice.v1.FailoverNamespaceResponse + (*ListFailoverHistoryByNamespaceResponse)(nil), // 20: api.namespaceservice.v1.ListFailoverHistoryByNamespaceResponse + (*GlobalizeNamespaceResponse)(nil), // 21: api.namespaceservice.v1.GlobalizeNamespaceResponse + (*ValidateGlobalizeNamespaceResponse)(nil), // 22: api.namespaceservice.v1.ValidateGlobalizeNamespaceResponse + (*ListReplicaStatusResponse)(nil), // 23: api.namespaceservice.v1.ListReplicaStatusResponse +} +var file_api_namespaceservice_v1_service_proto_depIdxs = []int32{ + 0, // 0: api.namespaceservice.v1.NamespaceService.CreateNamespace:input_type -> api.namespaceservice.v1.CreateNamespaceRequest + 1, // 1: api.namespaceservice.v1.NamespaceService.ListNamespaces:input_type -> api.namespaceservice.v1.ListNamespacesRequest + 2, // 2: api.namespaceservice.v1.NamespaceService.GetNamespaces:input_type -> api.namespaceservice.v1.GetNamespacesRequest + 3, // 3: api.namespaceservice.v1.NamespaceService.GetNamespace:input_type -> api.namespaceservice.v1.GetNamespaceRequest + 4, // 4: api.namespaceservice.v1.NamespaceService.UpdateNamespace:input_type -> api.namespaceservice.v1.UpdateNamespaceRequest + 5, // 5: api.namespaceservice.v1.NamespaceService.RenameCustomSearchAttribute:input_type -> api.namespaceservice.v1.RenameCustomSearchAttributeRequest + 6, // 6: api.namespaceservice.v1.NamespaceService.DeleteNamespace:input_type -> api.namespaceservice.v1.DeleteNamespaceRequest + 7, // 7: api.namespaceservice.v1.NamespaceService.FailoverNamespace:input_type -> api.namespaceservice.v1.FailoverNamespaceRequest + 8, // 8: api.namespaceservice.v1.NamespaceService.ListFailoverHistoryByNamespace:input_type -> api.namespaceservice.v1.ListFailoverHistoryByNamespaceRequest + 9, // 9: api.namespaceservice.v1.NamespaceService.GlobalizeNamespace:input_type -> api.namespaceservice.v1.GlobalizeNamespaceRequest + 10, // 10: api.namespaceservice.v1.NamespaceService.ValidateGlobalizeNamespace:input_type -> api.namespaceservice.v1.ValidateGlobalizeNamespaceRequest + 11, // 11: api.namespaceservice.v1.NamespaceService.ListReplicaStatus:input_type -> api.namespaceservice.v1.ListReplicaStatusRequest + 12, // 12: api.namespaceservice.v1.NamespaceService.CreateNamespace:output_type -> api.namespaceservice.v1.CreateNamespaceResponse + 13, // 13: api.namespaceservice.v1.NamespaceService.ListNamespaces:output_type -> api.namespaceservice.v1.ListNamespacesResponse + 14, // 14: api.namespaceservice.v1.NamespaceService.GetNamespaces:output_type -> api.namespaceservice.v1.GetNamespacesResponse + 15, // 15: api.namespaceservice.v1.NamespaceService.GetNamespace:output_type -> api.namespaceservice.v1.GetNamespaceResponse + 16, // 16: api.namespaceservice.v1.NamespaceService.UpdateNamespace:output_type -> api.namespaceservice.v1.UpdateNamespaceResponse + 17, // 17: api.namespaceservice.v1.NamespaceService.RenameCustomSearchAttribute:output_type -> api.namespaceservice.v1.RenameCustomSearchAttributeResponse + 18, // 18: api.namespaceservice.v1.NamespaceService.DeleteNamespace:output_type -> api.namespaceservice.v1.DeleteNamespaceResponse + 19, // 19: api.namespaceservice.v1.NamespaceService.FailoverNamespace:output_type -> api.namespaceservice.v1.FailoverNamespaceResponse + 20, // 20: api.namespaceservice.v1.NamespaceService.ListFailoverHistoryByNamespace:output_type -> api.namespaceservice.v1.ListFailoverHistoryByNamespaceResponse + 21, // 21: api.namespaceservice.v1.NamespaceService.GlobalizeNamespace:output_type -> api.namespaceservice.v1.GlobalizeNamespaceResponse + 22, // 22: api.namespaceservice.v1.NamespaceService.ValidateGlobalizeNamespace:output_type -> api.namespaceservice.v1.ValidateGlobalizeNamespaceResponse + 23, // 23: api.namespaceservice.v1.NamespaceService.ListReplicaStatus:output_type -> api.namespaceservice.v1.ListReplicaStatusResponse + 12, // [12:24] is the sub-list for method output_type + 0, // [0:12] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_api_namespaceservice_v1_service_proto_init() } +func file_api_namespaceservice_v1_service_proto_init() { + if File_api_namespaceservice_v1_service_proto != nil { + return + } + file_api_namespaceservice_v1_request_response_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_api_namespaceservice_v1_service_proto_rawDesc, + NumEnums: 0, + NumMessages: 0, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "api/namespaceservice/v1/service.proto", + GoTypes: file_api_namespaceservice_v1_service_proto_goTypes, + DependencyIndexes: file_api_namespaceservice_v1_service_proto_depIdxs, + }.Build() + File_api_namespaceservice_v1_service_proto = out.File + file_api_namespaceservice_v1_service_proto_rawDesc = nil + file_api_namespaceservice_v1_service_proto_goTypes = nil + file_api_namespaceservice_v1_service_proto_depIdxs = nil } diff --git a/protogen/api/namespaceservice/v1/service_grpc.pb.go b/protogen/api/namespaceservice/v1/service_grpc.pb.go new file mode 100644 index 00000000..54e4bdb5 --- /dev/null +++ b/protogen/api/namespaceservice/v1/service_grpc.pb.go @@ -0,0 +1,525 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc (unknown) +// source: api/namespaceservice/v1/service.proto + +package namespaceservice + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// NamespaceServiceClient is the client API for NamespaceService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type NamespaceServiceClient interface { + // CreateNamespace creates a new namespace on Temporal cloud. + CreateNamespace(ctx context.Context, in *CreateNamespaceRequest, opts ...grpc.CallOption) (*CreateNamespaceResponse, error) + // ListNamespaces lists the names of all known namespaces on Temporal cloud. + ListNamespaces(ctx context.Context, in *ListNamespacesRequest, opts ...grpc.CallOption) (*ListNamespacesResponse, error) + // GetNamespaces lists all known namespaces on temporal cloud. + GetNamespaces(ctx context.Context, in *GetNamespacesRequest, opts ...grpc.CallOption) (*GetNamespacesResponse, error) + // GetNamespace describes the namespace in detail. + GetNamespace(ctx context.Context, in *GetNamespaceRequest, opts ...grpc.CallOption) (*GetNamespaceResponse, error) + // UpdateNamespace updates an existing namespace on Temporal cloud. + UpdateNamespace(ctx context.Context, in *UpdateNamespaceRequest, opts ...grpc.CallOption) (*UpdateNamespaceResponse, error) + // RenameCustomSearchAttribute renames an existing custom search attribute for a given namespace on Temporal cloud. + RenameCustomSearchAttribute(ctx context.Context, in *RenameCustomSearchAttributeRequest, opts ...grpc.CallOption) (*RenameCustomSearchAttributeResponse, error) + // DeleteNamespace deletes an existing namespace on Temporal cloud. + DeleteNamespace(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*DeleteNamespaceResponse, error) + // FailoverNamespace failovers the namespace from the source_region to the target_region on Temporal Cloud + FailoverNamespace(ctx context.Context, in *FailoverNamespaceRequest, opts ...grpc.CallOption) (*FailoverNamespaceResponse, error) + // ListFailoverHistoryByNamespace returns a list of failover record + ListFailoverHistoryByNamespace(ctx context.Context, in *ListFailoverHistoryByNamespaceRequest, opts ...grpc.CallOption) (*ListFailoverHistoryByNamespaceResponse, error) + // GlobalizeNamespace converts a regular namespace to global namespace on Temporal Cloud + GlobalizeNamespace(ctx context.Context, in *GlobalizeNamespaceRequest, opts ...grpc.CallOption) (*GlobalizeNamespaceResponse, error) + // ValidateGlobalizeNamespace validates if a namespace is allow for globalize on Temporal Cloud + ValidateGlobalizeNamespace(ctx context.Context, in *ValidateGlobalizeNamespaceRequest, opts ...grpc.CallOption) (*ValidateGlobalizeNamespaceResponse, error) + // ListReplicaStatus returns a replica status on Temporal Cloud + ListReplicaStatus(ctx context.Context, in *ListReplicaStatusRequest, opts ...grpc.CallOption) (*ListReplicaStatusResponse, error) +} + +type namespaceServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewNamespaceServiceClient(cc grpc.ClientConnInterface) NamespaceServiceClient { + return &namespaceServiceClient{cc} +} + +func (c *namespaceServiceClient) CreateNamespace(ctx context.Context, in *CreateNamespaceRequest, opts ...grpc.CallOption) (*CreateNamespaceResponse, error) { + out := new(CreateNamespaceResponse) + err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/CreateNamespace", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *namespaceServiceClient) ListNamespaces(ctx context.Context, in *ListNamespacesRequest, opts ...grpc.CallOption) (*ListNamespacesResponse, error) { + out := new(ListNamespacesResponse) + err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/ListNamespaces", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *namespaceServiceClient) GetNamespaces(ctx context.Context, in *GetNamespacesRequest, opts ...grpc.CallOption) (*GetNamespacesResponse, error) { + out := new(GetNamespacesResponse) + err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/GetNamespaces", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *namespaceServiceClient) GetNamespace(ctx context.Context, in *GetNamespaceRequest, opts ...grpc.CallOption) (*GetNamespaceResponse, error) { + out := new(GetNamespaceResponse) + err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/GetNamespace", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *namespaceServiceClient) UpdateNamespace(ctx context.Context, in *UpdateNamespaceRequest, opts ...grpc.CallOption) (*UpdateNamespaceResponse, error) { + out := new(UpdateNamespaceResponse) + err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/UpdateNamespace", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *namespaceServiceClient) RenameCustomSearchAttribute(ctx context.Context, in *RenameCustomSearchAttributeRequest, opts ...grpc.CallOption) (*RenameCustomSearchAttributeResponse, error) { + out := new(RenameCustomSearchAttributeResponse) + err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/RenameCustomSearchAttribute", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *namespaceServiceClient) DeleteNamespace(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*DeleteNamespaceResponse, error) { + out := new(DeleteNamespaceResponse) + err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/DeleteNamespace", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *namespaceServiceClient) FailoverNamespace(ctx context.Context, in *FailoverNamespaceRequest, opts ...grpc.CallOption) (*FailoverNamespaceResponse, error) { + out := new(FailoverNamespaceResponse) + err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/FailoverNamespace", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *namespaceServiceClient) ListFailoverHistoryByNamespace(ctx context.Context, in *ListFailoverHistoryByNamespaceRequest, opts ...grpc.CallOption) (*ListFailoverHistoryByNamespaceResponse, error) { + out := new(ListFailoverHistoryByNamespaceResponse) + err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/ListFailoverHistoryByNamespace", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *namespaceServiceClient) GlobalizeNamespace(ctx context.Context, in *GlobalizeNamespaceRequest, opts ...grpc.CallOption) (*GlobalizeNamespaceResponse, error) { + out := new(GlobalizeNamespaceResponse) + err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/GlobalizeNamespace", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *namespaceServiceClient) ValidateGlobalizeNamespace(ctx context.Context, in *ValidateGlobalizeNamespaceRequest, opts ...grpc.CallOption) (*ValidateGlobalizeNamespaceResponse, error) { + out := new(ValidateGlobalizeNamespaceResponse) + err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/ValidateGlobalizeNamespace", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *namespaceServiceClient) ListReplicaStatus(ctx context.Context, in *ListReplicaStatusRequest, opts ...grpc.CallOption) (*ListReplicaStatusResponse, error) { + out := new(ListReplicaStatusResponse) + err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/ListReplicaStatus", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// NamespaceServiceServer is the server API for NamespaceService service. +// All implementations must embed UnimplementedNamespaceServiceServer +// for forward compatibility +type NamespaceServiceServer interface { + // CreateNamespace creates a new namespace on Temporal cloud. + CreateNamespace(context.Context, *CreateNamespaceRequest) (*CreateNamespaceResponse, error) + // ListNamespaces lists the names of all known namespaces on Temporal cloud. + ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error) + // GetNamespaces lists all known namespaces on temporal cloud. + GetNamespaces(context.Context, *GetNamespacesRequest) (*GetNamespacesResponse, error) + // GetNamespace describes the namespace in detail. + GetNamespace(context.Context, *GetNamespaceRequest) (*GetNamespaceResponse, error) + // UpdateNamespace updates an existing namespace on Temporal cloud. + UpdateNamespace(context.Context, *UpdateNamespaceRequest) (*UpdateNamespaceResponse, error) + // RenameCustomSearchAttribute renames an existing custom search attribute for a given namespace on Temporal cloud. + RenameCustomSearchAttribute(context.Context, *RenameCustomSearchAttributeRequest) (*RenameCustomSearchAttributeResponse, error) + // DeleteNamespace deletes an existing namespace on Temporal cloud. + DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*DeleteNamespaceResponse, error) + // FailoverNamespace failovers the namespace from the source_region to the target_region on Temporal Cloud + FailoverNamespace(context.Context, *FailoverNamespaceRequest) (*FailoverNamespaceResponse, error) + // ListFailoverHistoryByNamespace returns a list of failover record + ListFailoverHistoryByNamespace(context.Context, *ListFailoverHistoryByNamespaceRequest) (*ListFailoverHistoryByNamespaceResponse, error) + // GlobalizeNamespace converts a regular namespace to global namespace on Temporal Cloud + GlobalizeNamespace(context.Context, *GlobalizeNamespaceRequest) (*GlobalizeNamespaceResponse, error) + // ValidateGlobalizeNamespace validates if a namespace is allow for globalize on Temporal Cloud + ValidateGlobalizeNamespace(context.Context, *ValidateGlobalizeNamespaceRequest) (*ValidateGlobalizeNamespaceResponse, error) + // ListReplicaStatus returns a replica status on Temporal Cloud + ListReplicaStatus(context.Context, *ListReplicaStatusRequest) (*ListReplicaStatusResponse, error) + mustEmbedUnimplementedNamespaceServiceServer() +} + +// UnimplementedNamespaceServiceServer must be embedded to have forward compatible implementations. +type UnimplementedNamespaceServiceServer struct { +} + +func (UnimplementedNamespaceServiceServer) CreateNamespace(context.Context, *CreateNamespaceRequest) (*CreateNamespaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateNamespace not implemented") +} +func (UnimplementedNamespaceServiceServer) ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListNamespaces not implemented") +} +func (UnimplementedNamespaceServiceServer) GetNamespaces(context.Context, *GetNamespacesRequest) (*GetNamespacesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNamespaces not implemented") +} +func (UnimplementedNamespaceServiceServer) GetNamespace(context.Context, *GetNamespaceRequest) (*GetNamespaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNamespace not implemented") +} +func (UnimplementedNamespaceServiceServer) UpdateNamespace(context.Context, *UpdateNamespaceRequest) (*UpdateNamespaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateNamespace not implemented") +} +func (UnimplementedNamespaceServiceServer) RenameCustomSearchAttribute(context.Context, *RenameCustomSearchAttributeRequest) (*RenameCustomSearchAttributeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RenameCustomSearchAttribute not implemented") +} +func (UnimplementedNamespaceServiceServer) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*DeleteNamespaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteNamespace not implemented") +} +func (UnimplementedNamespaceServiceServer) FailoverNamespace(context.Context, *FailoverNamespaceRequest) (*FailoverNamespaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FailoverNamespace not implemented") +} +func (UnimplementedNamespaceServiceServer) ListFailoverHistoryByNamespace(context.Context, *ListFailoverHistoryByNamespaceRequest) (*ListFailoverHistoryByNamespaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListFailoverHistoryByNamespace not implemented") +} +func (UnimplementedNamespaceServiceServer) GlobalizeNamespace(context.Context, *GlobalizeNamespaceRequest) (*GlobalizeNamespaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GlobalizeNamespace not implemented") +} +func (UnimplementedNamespaceServiceServer) ValidateGlobalizeNamespace(context.Context, *ValidateGlobalizeNamespaceRequest) (*ValidateGlobalizeNamespaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ValidateGlobalizeNamespace not implemented") +} +func (UnimplementedNamespaceServiceServer) ListReplicaStatus(context.Context, *ListReplicaStatusRequest) (*ListReplicaStatusResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListReplicaStatus not implemented") +} +func (UnimplementedNamespaceServiceServer) mustEmbedUnimplementedNamespaceServiceServer() {} + +// UnsafeNamespaceServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to NamespaceServiceServer will +// result in compilation errors. +type UnsafeNamespaceServiceServer interface { + mustEmbedUnimplementedNamespaceServiceServer() +} + +func RegisterNamespaceServiceServer(s grpc.ServiceRegistrar, srv NamespaceServiceServer) { + s.RegisterService(&NamespaceService_ServiceDesc, srv) +} + +func _NamespaceService_CreateNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateNamespaceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(NamespaceServiceServer).CreateNamespace(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.namespaceservice.v1.NamespaceService/CreateNamespace", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(NamespaceServiceServer).CreateNamespace(ctx, req.(*CreateNamespaceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _NamespaceService_ListNamespaces_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListNamespacesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(NamespaceServiceServer).ListNamespaces(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.namespaceservice.v1.NamespaceService/ListNamespaces", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(NamespaceServiceServer).ListNamespaces(ctx, req.(*ListNamespacesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _NamespaceService_GetNamespaces_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetNamespacesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(NamespaceServiceServer).GetNamespaces(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.namespaceservice.v1.NamespaceService/GetNamespaces", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(NamespaceServiceServer).GetNamespaces(ctx, req.(*GetNamespacesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _NamespaceService_GetNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetNamespaceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(NamespaceServiceServer).GetNamespace(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.namespaceservice.v1.NamespaceService/GetNamespace", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(NamespaceServiceServer).GetNamespace(ctx, req.(*GetNamespaceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _NamespaceService_UpdateNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateNamespaceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(NamespaceServiceServer).UpdateNamespace(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.namespaceservice.v1.NamespaceService/UpdateNamespace", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(NamespaceServiceServer).UpdateNamespace(ctx, req.(*UpdateNamespaceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _NamespaceService_RenameCustomSearchAttribute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RenameCustomSearchAttributeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(NamespaceServiceServer).RenameCustomSearchAttribute(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.namespaceservice.v1.NamespaceService/RenameCustomSearchAttribute", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(NamespaceServiceServer).RenameCustomSearchAttribute(ctx, req.(*RenameCustomSearchAttributeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _NamespaceService_DeleteNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteNamespaceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(NamespaceServiceServer).DeleteNamespace(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.namespaceservice.v1.NamespaceService/DeleteNamespace", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(NamespaceServiceServer).DeleteNamespace(ctx, req.(*DeleteNamespaceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _NamespaceService_FailoverNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FailoverNamespaceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(NamespaceServiceServer).FailoverNamespace(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.namespaceservice.v1.NamespaceService/FailoverNamespace", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(NamespaceServiceServer).FailoverNamespace(ctx, req.(*FailoverNamespaceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _NamespaceService_ListFailoverHistoryByNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListFailoverHistoryByNamespaceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(NamespaceServiceServer).ListFailoverHistoryByNamespace(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.namespaceservice.v1.NamespaceService/ListFailoverHistoryByNamespace", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(NamespaceServiceServer).ListFailoverHistoryByNamespace(ctx, req.(*ListFailoverHistoryByNamespaceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _NamespaceService_GlobalizeNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GlobalizeNamespaceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(NamespaceServiceServer).GlobalizeNamespace(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.namespaceservice.v1.NamespaceService/GlobalizeNamespace", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(NamespaceServiceServer).GlobalizeNamespace(ctx, req.(*GlobalizeNamespaceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _NamespaceService_ValidateGlobalizeNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ValidateGlobalizeNamespaceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(NamespaceServiceServer).ValidateGlobalizeNamespace(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.namespaceservice.v1.NamespaceService/ValidateGlobalizeNamespace", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(NamespaceServiceServer).ValidateGlobalizeNamespace(ctx, req.(*ValidateGlobalizeNamespaceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _NamespaceService_ListReplicaStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListReplicaStatusRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(NamespaceServiceServer).ListReplicaStatus(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.namespaceservice.v1.NamespaceService/ListReplicaStatus", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(NamespaceServiceServer).ListReplicaStatus(ctx, req.(*ListReplicaStatusRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// NamespaceService_ServiceDesc is the grpc.ServiceDesc for NamespaceService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var NamespaceService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "api.namespaceservice.v1.NamespaceService", + HandlerType: (*NamespaceServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateNamespace", + Handler: _NamespaceService_CreateNamespace_Handler, + }, + { + MethodName: "ListNamespaces", + Handler: _NamespaceService_ListNamespaces_Handler, + }, + { + MethodName: "GetNamespaces", + Handler: _NamespaceService_GetNamespaces_Handler, + }, + { + MethodName: "GetNamespace", + Handler: _NamespaceService_GetNamespace_Handler, + }, + { + MethodName: "UpdateNamespace", + Handler: _NamespaceService_UpdateNamespace_Handler, + }, + { + MethodName: "RenameCustomSearchAttribute", + Handler: _NamespaceService_RenameCustomSearchAttribute_Handler, + }, + { + MethodName: "DeleteNamespace", + Handler: _NamespaceService_DeleteNamespace_Handler, + }, + { + MethodName: "FailoverNamespace", + Handler: _NamespaceService_FailoverNamespace_Handler, + }, + { + MethodName: "ListFailoverHistoryByNamespace", + Handler: _NamespaceService_ListFailoverHistoryByNamespace_Handler, + }, + { + MethodName: "GlobalizeNamespace", + Handler: _NamespaceService_GlobalizeNamespace_Handler, + }, + { + MethodName: "ValidateGlobalizeNamespace", + Handler: _NamespaceService_ValidateGlobalizeNamespace_Handler, + }, + { + MethodName: "ListReplicaStatus", + Handler: _NamespaceService_ListReplicaStatus_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "api/namespaceservice/v1/service.proto", +} diff --git a/protogen/api/platform/v1/message.pb.go b/protogen/api/platform/v1/message.pb.go index 96e802fe..26cc34eb 100644 --- a/protogen/api/platform/v1/message.pb.go +++ b/protogen/api/platform/v1/message.pb.go @@ -1,25 +1,30 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: api/platform/v1/message.proto package platform import ( - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - math "math" - strconv "strconv" + proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + "strconv" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type OS int32 @@ -30,22 +35,59 @@ const ( OS_WINDOWS OS = 3 ) -var OS_name = map[int32]string{ - 0: "OsUnspecified", - 1: "OsMac", - 2: "OsLinux", - 3: "OsWindows", +// Enum value maps for OS. +var ( + OS_name = map[int32]string{ + 0: "OsUnspecified", + 1: "OsMac", + 2: "OsLinux", + 3: "OsWindows", + } + OS_value = map[string]int32{ + "OsUnspecified": 0, + "OsMac": 1, + "OsLinux": 2, + "OsWindows": 3, + } +) + +func (x OS) Enum() *OS { + p := new(OS) + *p = x + return p +} + +func (x OS) String() string { + switch x { + case OS_UNSPECIFIED: + return "OsUnspecified" + case OS_MAC: + return "OsMac" + case OS_LINUX: + return "OsLinux" + case OS_WINDOWS: + return "OsWindows" + default: + return strconv.Itoa(int(x)) + } + +} + +func (OS) Descriptor() protoreflect.EnumDescriptor { + return file_api_platform_v1_message_proto_enumTypes[0].Descriptor() +} + +func (OS) Type() protoreflect.EnumType { + return &file_api_platform_v1_message_proto_enumTypes[0] } -var OS_value = map[string]int32{ - "OsUnspecified": 0, - "OsMac": 1, - "OsLinux": 2, - "OsWindows": 3, +func (x OS) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use OS.Descriptor instead. func (OS) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6eb34b9496e9d2ae, []int{0} + return file_api_platform_v1_message_proto_rawDescGZIP(), []int{0} } type SDK int32 @@ -59,76 +101,163 @@ const ( SDK_TYPESCRIPT SDK = 5 SDK_DOT_NET SDK = 6 SDK_PHP SDK = 7 + SDK_RUBY SDK = 8 ) -var SDK_name = map[int32]string{ - 0: "SdkUnspecified", - 1: "SdkNone", - 2: "SdkGo", - 3: "SdkJava", - 4: "SdkPython", - 5: "SdkTypescript", - 6: "SdkDotNet", - 7: "SdkPhp", +// Enum value maps for SDK. +var ( + SDK_name = map[int32]string{ + 0: "SdkUnspecified", + 1: "SdkNone", + 2: "SdkGo", + 3: "SdkJava", + 4: "SdkPython", + 5: "SdkTypescript", + 6: "SdkDotNet", + 7: "SdkPhp", + 8: "SdkRuby", + } + SDK_value = map[string]int32{ + "SdkUnspecified": 0, + "SdkNone": 1, + "SdkGo": 2, + "SdkJava": 3, + "SdkPython": 4, + "SdkTypescript": 5, + "SdkDotNet": 6, + "SdkPhp": 7, + "SdkRuby": 8, + } +) + +func (x SDK) Enum() *SDK { + p := new(SDK) + *p = x + return p +} + +func (x SDK) String() string { + switch x { + case SDK_UNSPECIFIED: + return "SdkUnspecified" + case SDK_NONE: + return "SdkNone" + case SDK_GO: + return "SdkGo" + case SDK_JAVA: + return "SdkJava" + case SDK_PYTHON: + return "SdkPython" + case SDK_TYPESCRIPT: + return "SdkTypescript" + case SDK_DOT_NET: + return "SdkDotNet" + case SDK_PHP: + return "SdkPhp" + case SDK_RUBY: + return "SdkRuby" + default: + return strconv.Itoa(int(x)) + } + +} + +func (SDK) Descriptor() protoreflect.EnumDescriptor { + return file_api_platform_v1_message_proto_enumTypes[1].Descriptor() +} + +func (SDK) Type() protoreflect.EnumType { + return &file_api_platform_v1_message_proto_enumTypes[1] } -var SDK_value = map[string]int32{ - "SdkUnspecified": 0, - "SdkNone": 1, - "SdkGo": 2, - "SdkJava": 3, - "SdkPython": 4, - "SdkTypescript": 5, - "SdkDotNet": 6, - "SdkPhp": 7, +func (x SDK) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use SDK.Descriptor instead. func (SDK) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6eb34b9496e9d2ae, []int{1} -} - -func init() { - proto.RegisterEnum("api.platform.v1.OS", OS_name, OS_value) - proto.RegisterEnum("api.platform.v1.SDK", SDK_name, SDK_value) -} - -func init() { proto.RegisterFile("api/platform/v1/message.proto", fileDescriptor_6eb34b9496e9d2ae) } - -var fileDescriptor_6eb34b9496e9d2ae = []byte{ - // 307 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0x31, 0x4f, 0xfa, 0x40, - 0x18, 0xc6, 0xef, 0xe0, 0xff, 0x07, 0xf2, 0x42, 0xe0, 0x72, 0xce, 0xbe, 0x93, 0x13, 0x43, 0x1b, - 0xe2, 0xe8, 0x04, 0xb4, 0x4a, 0x45, 0xef, 0x1a, 0xaf, 0x88, 0xb0, 0x34, 0x55, 0xd1, 0x90, 0x40, - 0xda, 0x00, 0x32, 0x3b, 0xf8, 0x01, 0xfc, 0x18, 0x7e, 0x14, 0xc7, 0x8e, 0x8c, 0xf6, 0xba, 0x38, - 0xf2, 0x11, 0xcc, 0x91, 0x74, 0x61, 0xbb, 0xdf, 0xf3, 0xe4, 0x7e, 0x79, 0xf3, 0xc0, 0x69, 0x94, - 0xcc, 0xed, 0x64, 0x11, 0x6d, 0x5e, 0xe2, 0xd5, 0xd2, 0xde, 0x76, 0xec, 0xe5, 0x6c, 0xbd, 0x8e, - 0x5e, 0x67, 0x56, 0xb2, 0x8a, 0x37, 0x31, 0x6f, 0x45, 0xc9, 0xdc, 0x2a, 0x6a, 0x6b, 0xdb, 0x69, - 0xf7, 0xa0, 0x24, 0x15, 0xe7, 0xd0, 0x94, 0x2a, 0x1c, 0x09, 0xe5, 0xbb, 0x7d, 0xef, 0xd2, 0x73, - 0x1d, 0x46, 0x38, 0x40, 0x45, 0xaa, 0xf0, 0xb6, 0xdb, 0x67, 0x94, 0x37, 0xa0, 0x26, 0x55, 0x78, - 0xe3, 0x89, 0xd1, 0x03, 0x2b, 0xf1, 0x26, 0x80, 0x54, 0xe1, 0xd8, 0x13, 0x8e, 0x1c, 0x2b, 0x56, - 0x6e, 0x7f, 0x50, 0x28, 0x2b, 0x67, 0xc8, 0x4f, 0xa0, 0xa5, 0x9c, 0xe1, 0x91, 0xa6, 0x01, 0x35, - 0x13, 0x0a, 0x29, 0x5c, 0x46, 0x8d, 0xd4, 0xd0, 0x95, 0x64, 0xa5, 0xa2, 0xb9, 0xee, 0xde, 0x77, - 0x59, 0xd9, 0x48, 0x0d, 0xf9, 0x93, 0x60, 0x20, 0x05, 0xfb, 0x67, 0x4e, 0x32, 0x1c, 0x4c, 0x7c, - 0x57, 0xf5, 0xef, 0x3c, 0x3f, 0x60, 0xff, 0x79, 0x0b, 0xea, 0x26, 0x73, 0x64, 0x10, 0x0a, 0x37, - 0x60, 0x15, 0x5e, 0x87, 0xea, 0xe1, 0xd3, 0xc0, 0x67, 0xd5, 0xde, 0x34, 0xcd, 0x90, 0xec, 0x32, - 0x24, 0xfb, 0x0c, 0xe9, 0xbb, 0x46, 0xfa, 0xa5, 0x91, 0x7e, 0x6b, 0xa4, 0xa9, 0x46, 0xfa, 0xa3, - 0x91, 0xfe, 0x6a, 0x24, 0x7b, 0x8d, 0xf4, 0x33, 0x47, 0x92, 0xe6, 0x48, 0x76, 0x39, 0x92, 0xe9, - 0xd9, 0x66, 0x99, 0xac, 0x16, 0xd6, 0xd3, 0x22, 0x7e, 0x7b, 0xb6, 0x8f, 0xc6, 0xbb, 0x28, 0xde, - 0x8f, 0x95, 0xc3, 0x7c, 0xe7, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x3d, 0xeb, 0x62, 0x18, 0x5f, - 0x01, 0x00, 0x00, + return file_api_platform_v1_message_proto_rawDescGZIP(), []int{1} } -func (x OS) String() string { - s, ok := OS_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) +var File_api_platform_v1_message_proto protoreflect.FileDescriptor + +var file_api_platform_v1_message_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, + 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x0f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, + 0x2a, 0x42, 0x0a, 0x02, 0x4f, 0x53, 0x12, 0x12, 0x0a, 0x0e, 0x4f, 0x53, 0x5f, 0x55, 0x4e, 0x53, + 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x53, + 0x5f, 0x4d, 0x41, 0x43, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x4f, 0x53, 0x5f, 0x4c, 0x49, 0x4e, + 0x55, 0x58, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x53, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, + 0x57, 0x53, 0x10, 0x03, 0x2a, 0x92, 0x01, 0x0a, 0x03, 0x53, 0x44, 0x4b, 0x12, 0x13, 0x0a, 0x0f, + 0x53, 0x44, 0x4b, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, + 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x44, 0x4b, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, + 0x0a, 0x0a, 0x06, 0x53, 0x44, 0x4b, 0x5f, 0x47, 0x4f, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x53, + 0x44, 0x4b, 0x5f, 0x4a, 0x41, 0x56, 0x41, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x44, 0x4b, + 0x5f, 0x50, 0x59, 0x54, 0x48, 0x4f, 0x4e, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x44, 0x4b, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x53, 0x43, 0x52, 0x49, 0x50, 0x54, 0x10, 0x05, 0x12, 0x0f, 0x0a, + 0x0b, 0x53, 0x44, 0x4b, 0x5f, 0x44, 0x4f, 0x54, 0x5f, 0x4e, 0x45, 0x54, 0x10, 0x06, 0x12, 0x0b, + 0x0a, 0x07, 0x53, 0x44, 0x4b, 0x5f, 0x50, 0x48, 0x50, 0x10, 0x07, 0x12, 0x0c, 0x0a, 0x08, 0x53, + 0x44, 0x4b, 0x5f, 0x52, 0x55, 0x42, 0x59, 0x10, 0x08, 0x42, 0xa7, 0x01, 0x0a, 0x13, 0x63, 0x6f, + 0x6d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, + 0x31, 0x42, 0x0c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x24, 0x74, 0x6d, 0x70, 0x72, 0x6c, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x3b, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0xa2, 0x02, 0x03, 0x41, 0x50, 0x58, 0xaa, 0x02, 0x0f, + 0x41, 0x70, 0x69, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0xca, + 0x02, 0x0f, 0x41, 0x70, 0x69, 0x5c, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5c, 0x56, + 0x31, 0xe2, 0x02, 0x1b, 0x41, 0x70, 0x69, 0x5c, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, + 0x02, 0x11, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, + 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func (x SDK) String() string { - s, ok := SDK_name[int32(x)] - if ok { - return s + +var ( + file_api_platform_v1_message_proto_rawDescOnce sync.Once + file_api_platform_v1_message_proto_rawDescData = file_api_platform_v1_message_proto_rawDesc +) + +func file_api_platform_v1_message_proto_rawDescGZIP() []byte { + file_api_platform_v1_message_proto_rawDescOnce.Do(func() { + file_api_platform_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_platform_v1_message_proto_rawDescData) + }) + return file_api_platform_v1_message_proto_rawDescData +} + +var file_api_platform_v1_message_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_api_platform_v1_message_proto_goTypes = []interface{}{ + (OS)(0), // 0: api.platform.v1.OS + (SDK)(0), // 1: api.platform.v1.SDK +} +var file_api_platform_v1_message_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_api_platform_v1_message_proto_init() } +func file_api_platform_v1_message_proto_init() { + if File_api_platform_v1_message_proto != nil { + return } - return strconv.Itoa(int(x)) + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_api_platform_v1_message_proto_rawDesc, + NumEnums: 2, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_api_platform_v1_message_proto_goTypes, + DependencyIndexes: file_api_platform_v1_message_proto_depIdxs, + EnumInfos: file_api_platform_v1_message_proto_enumTypes, + }.Build() + File_api_platform_v1_message_proto = out.File + file_api_platform_v1_message_proto_rawDesc = nil + file_api_platform_v1_message_proto_goTypes = nil + file_api_platform_v1_message_proto_depIdxs = nil } diff --git a/protogen/api/request/v1/message.pb.go b/protogen/api/request/v1/message.pb.go index 072bada6..3e598e97 100644 --- a/protogen/api/request/v1/message.pb.go +++ b/protogen/api/request/v1/message.pb.go @@ -1,30 +1,32 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: api/request/v1/message.proto package request import ( - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - types "github.com/gogo/protobuf/types" - io "io" - math "math" - math_bits "math/bits" + proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" - strconv "strconv" - strings "strings" + "strconv" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type State int32 @@ -38,67 +40,153 @@ const ( STATE_REJECTED State = 6 ) -var State_name = map[int32]string{ - 0: "Unspecified", - 1: "Pending", - 2: "InProgress", - 3: "Failed", - 4: "Cancelled", - 5: "Fulfilled", - 6: "Rejected", +// Enum value maps for State. +var ( + State_name = map[int32]string{ + 0: "StateUnspecified", + 1: "StatePending", + 2: "StateInProgress", + 3: "StateFailed", + 4: "StateCancelled", + 5: "StateFulfilled", + 6: "StateRejected", + } + State_value = map[string]int32{ + "StateUnspecified": 0, + "StatePending": 1, + "StateInProgress": 2, + "StateFailed": 3, + "StateCancelled": 4, + "StateFulfilled": 5, + "StateRejected": 6, + } +) + +func (x State) Enum() *State { + p := new(State) + *p = x + return p } -var State_value = map[string]int32{ - "Unspecified": 0, - "Pending": 1, - "InProgress": 2, - "Failed": 3, - "Cancelled": 4, - "Fulfilled": 5, - "Rejected": 6, +func (x State) String() string { + switch x { + case STATE_UNSPECIFIED: + return "Unspecified" + case STATE_PENDING: + return "Pending" + case STATE_IN_PROGRESS: + return "InProgress" + case STATE_FAILED: + return "Failed" + case STATE_CANCELLED: + return "Cancelled" + case STATE_FULFILLED: + return "Fulfilled" + case STATE_REJECTED: + return "Rejected" + default: + return strconv.Itoa(int(x)) + } + } +func (State) Descriptor() protoreflect.EnumDescriptor { + return file_api_request_v1_message_proto_enumTypes[0].Descriptor() +} + +func (State) Type() protoreflect.EnumType { + return &file_api_request_v1_message_proto_enumTypes[0] +} + +func (x State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use State.Descriptor instead. func (State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_78380c7344c0bbc3, []int{0} + return file_api_request_v1_message_proto_rawDescGZIP(), []int{0} } type ApprovalStatus_State int32 const ( APPROVAL_STATE_UNSPECIFIED ApprovalStatus_State = 0 - APPROVAL_STATE_PENDING ApprovalStatus_State = 1 - APPROVAL_STATE_APPROVED ApprovalStatus_State = 2 - APPROVAL_STATE_REJECTED ApprovalStatus_State = 3 - APPROVAL_STATE_EXPIRED ApprovalStatus_State = 4 + APPROVAL_STATE_PENDING ApprovalStatus_State = 1 // The required approvals for this operation are pending. + APPROVAL_STATE_APPROVED ApprovalStatus_State = 2 // The required approvals for this operation are approved. + APPROVAL_STATE_REJECTED ApprovalStatus_State = 3 // The required approvals for this operation are rejected. + APPROVAL_STATE_EXPIRED ApprovalStatus_State = 4 // The required approvals for this operation have expired. ) -var ApprovalStatus_State_name = map[int32]string{ - 0: "ApprovalStateUnspecified", - 1: "ApprovalStatePending", - 2: "ApprovalStateApproved", - 3: "ApprovalStateRejected", - 4: "ApprovalStateExpired", +// Enum value maps for ApprovalStatus_State. +var ( + ApprovalStatus_State_name = map[int32]string{ + 0: "ApprovalStateUnspecified", + 1: "ApprovalStatePending", + 2: "ApprovalStateApproved", + 3: "ApprovalStateRejected", + 4: "ApprovalStateExpired", + } + ApprovalStatus_State_value = map[string]int32{ + "ApprovalStateUnspecified": 0, + "ApprovalStatePending": 1, + "ApprovalStateApproved": 2, + "ApprovalStateRejected": 3, + "ApprovalStateExpired": 4, + } +) + +func (x ApprovalStatus_State) Enum() *ApprovalStatus_State { + p := new(ApprovalStatus_State) + *p = x + return p +} + +func (x ApprovalStatus_State) String() string { + switch x { + case APPROVAL_STATE_UNSPECIFIED: + return "ApprovalStateUnspecified" + case APPROVAL_STATE_PENDING: + return "ApprovalStatePending" + case APPROVAL_STATE_APPROVED: + return "ApprovalStateApproved" + case APPROVAL_STATE_REJECTED: + return "ApprovalStateRejected" + case APPROVAL_STATE_EXPIRED: + return "ApprovalStateExpired" + default: + return strconv.Itoa(int(x)) + } + +} + +func (ApprovalStatus_State) Descriptor() protoreflect.EnumDescriptor { + return file_api_request_v1_message_proto_enumTypes[1].Descriptor() +} + +func (ApprovalStatus_State) Type() protoreflect.EnumType { + return &file_api_request_v1_message_proto_enumTypes[1] } -var ApprovalStatus_State_value = map[string]int32{ - "ApprovalStateUnspecified": 0, - "ApprovalStatePending": 1, - "ApprovalStateApproved": 2, - "ApprovalStateRejected": 3, - "ApprovalStateExpired": 4, +func (x ApprovalStatus_State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use ApprovalStatus_State.Descriptor instead. func (ApprovalStatus_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_78380c7344c0bbc3, []int{1, 0} + return file_api_request_v1_message_proto_rawDescGZIP(), []int{1, 0} } type RequestStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the request id RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // the current state of this request State State `protobuf:"varint,3,opt,name=state,proto3,enum=api.request.v1.State" json:"state,omitempty"` // the recommened duration to check back for an update in the request's status - CheckDuration *types.Duration `protobuf:"bytes,4,opt,name=check_duration,json=checkDuration,proto3" json:"check_duration,omitempty"` + CheckDuration *durationpb.Duration `protobuf:"bytes,4,opt,name=check_duration,json=checkDuration,proto3" json:"check_duration,omitempty"` // the operation being performed OperationType string `protobuf:"bytes,5,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"` // the id of the resource on which the opeartion is being performed @@ -108,116 +196,120 @@ type RequestStatus struct { // if the request failed, the reason for the failure FailureReason string `protobuf:"bytes,8,opt,name=failure_reason,json=failureReason,proto3" json:"failure_reason,omitempty"` // the date and time when the request initiated - StartTime *types.Timestamp `protobuf:"bytes,9,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + StartTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // the date and time when the request completed - FinishTime *types.Timestamp `protobuf:"bytes,10,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` + FinishTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` // The approval status of the request, if any. Approval *ApprovalStatus `protobuf:"bytes,11,opt,name=approval,proto3" json:"approval,omitempty"` } -func (m *RequestStatus) Reset() { *m = RequestStatus{} } -func (*RequestStatus) ProtoMessage() {} -func (*RequestStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_78380c7344c0bbc3, []int{0} +func (x *RequestStatus) Reset() { + *x = RequestStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_api_request_v1_message_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RequestStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *RequestStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RequestStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RequestStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*RequestStatus) ProtoMessage() {} + +func (x *RequestStatus) ProtoReflect() protoreflect.Message { + mi := &file_api_request_v1_message_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *RequestStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_RequestStatus.Merge(m, src) -} -func (m *RequestStatus) XXX_Size() int { - return m.Size() -} -func (m *RequestStatus) XXX_DiscardUnknown() { - xxx_messageInfo_RequestStatus.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_RequestStatus proto.InternalMessageInfo +// Deprecated: Use RequestStatus.ProtoReflect.Descriptor instead. +func (*RequestStatus) Descriptor() ([]byte, []int) { + return file_api_request_v1_message_proto_rawDescGZIP(), []int{0} +} -func (m *RequestStatus) GetRequestId() string { - if m != nil { - return m.RequestId +func (x *RequestStatus) GetRequestId() string { + if x != nil { + return x.RequestId } return "" } -func (m *RequestStatus) GetState() State { - if m != nil { - return m.State +func (x *RequestStatus) GetState() State { + if x != nil { + return x.State } return STATE_UNSPECIFIED } -func (m *RequestStatus) GetCheckDuration() *types.Duration { - if m != nil { - return m.CheckDuration +func (x *RequestStatus) GetCheckDuration() *durationpb.Duration { + if x != nil { + return x.CheckDuration } return nil } -func (m *RequestStatus) GetOperationType() string { - if m != nil { - return m.OperationType +func (x *RequestStatus) GetOperationType() string { + if x != nil { + return x.OperationType } return "" } -func (m *RequestStatus) GetResourceId() string { - if m != nil { - return m.ResourceId +func (x *RequestStatus) GetResourceId() string { + if x != nil { + return x.ResourceId } return "" } -func (m *RequestStatus) GetResourceType() string { - if m != nil { - return m.ResourceType +func (x *RequestStatus) GetResourceType() string { + if x != nil { + return x.ResourceType } return "" } -func (m *RequestStatus) GetFailureReason() string { - if m != nil { - return m.FailureReason +func (x *RequestStatus) GetFailureReason() string { + if x != nil { + return x.FailureReason } return "" } -func (m *RequestStatus) GetStartTime() *types.Timestamp { - if m != nil { - return m.StartTime +func (x *RequestStatus) GetStartTime() *timestamppb.Timestamp { + if x != nil { + return x.StartTime } return nil } -func (m *RequestStatus) GetFinishTime() *types.Timestamp { - if m != nil { - return m.FinishTime +func (x *RequestStatus) GetFinishTime() *timestamppb.Timestamp { + if x != nil { + return x.FinishTime } return nil } -func (m *RequestStatus) GetApproval() *ApprovalStatus { - if m != nil { - return m.Approval +func (x *RequestStatus) GetApproval() *ApprovalStatus { + if x != nil { + return x.Approval } return nil } type ApprovalStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The current state of the approval. State ApprovalStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=api.request.v1.ApprovalStatus_State" json:"state,omitempty"` // The outcome of the approval. @@ -225,1068 +317,216 @@ type ApprovalStatus struct { Outcome string `protobuf:"bytes,2,opt,name=outcome,proto3" json:"outcome,omitempty"` } -func (m *ApprovalStatus) Reset() { *m = ApprovalStatus{} } -func (*ApprovalStatus) ProtoMessage() {} -func (*ApprovalStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_78380c7344c0bbc3, []int{1} -} -func (m *ApprovalStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ApprovalStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ApprovalStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *ApprovalStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApprovalStatus.Merge(m, src) -} -func (m *ApprovalStatus) XXX_Size() int { - return m.Size() -} -func (m *ApprovalStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ApprovalStatus.DiscardUnknown(m) -} - -var xxx_messageInfo_ApprovalStatus proto.InternalMessageInfo - -func (m *ApprovalStatus) GetState() ApprovalStatus_State { - if m != nil { - return m.State - } - return APPROVAL_STATE_UNSPECIFIED -} - -func (m *ApprovalStatus) GetOutcome() string { - if m != nil { - return m.Outcome +func (x *ApprovalStatus) Reset() { + *x = ApprovalStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_api_request_v1_message_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" -} - -func init() { - proto.RegisterEnum("api.request.v1.State", State_name, State_value) - proto.RegisterEnum("api.request.v1.ApprovalStatus_State", ApprovalStatus_State_name, ApprovalStatus_State_value) - proto.RegisterType((*RequestStatus)(nil), "api.request.v1.RequestStatus") - proto.RegisterType((*ApprovalStatus)(nil), "api.request.v1.ApprovalStatus") } -func init() { proto.RegisterFile("api/request/v1/message.proto", fileDescriptor_78380c7344c0bbc3) } - -var fileDescriptor_78380c7344c0bbc3 = []byte{ - // 620 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x94, 0xc1, 0x6e, 0xd3, 0x4c, - 0x14, 0x85, 0x3d, 0x69, 0xd2, 0x36, 0x37, 0x8d, 0x7f, 0x77, 0x7e, 0x15, 0x4c, 0x80, 0x69, 0x15, - 0xa8, 0x54, 0x81, 0xe4, 0xa8, 0x65, 0x45, 0xbb, 0x21, 0x24, 0x4e, 0xe5, 0x2a, 0x4a, 0x23, 0x27, - 0x45, 0x15, 0x1b, 0xcb, 0x4d, 0xa6, 0xad, 0x45, 0xd2, 0x31, 0xf6, 0xb8, 0x52, 0x77, 0x88, 0x27, - 0x60, 0x09, 0x6f, 0xc0, 0xa3, 0xb0, 0xec, 0xb2, 0x4b, 0xea, 0x6e, 0x90, 0xd8, 0xf4, 0x11, 0x50, - 0x66, 0xec, 0xa0, 0x98, 0x0a, 0x76, 0xb9, 0xe7, 0x7c, 0xf7, 0xce, 0xf1, 0xdc, 0x51, 0xe0, 0x91, - 0xeb, 0x7b, 0xb5, 0x80, 0xbe, 0x8f, 0x68, 0xc8, 0x6b, 0xe7, 0x9b, 0xb5, 0x31, 0x0d, 0x43, 0xf7, - 0x84, 0x1a, 0x7e, 0xc0, 0x38, 0xc3, 0xaa, 0xeb, 0x7b, 0x46, 0xe2, 0x1a, 0xe7, 0x9b, 0x15, 0x72, - 0xc2, 0xd8, 0xc9, 0x88, 0xd6, 0x84, 0x7b, 0x14, 0x1d, 0xd7, 0x86, 0x51, 0xe0, 0x72, 0x8f, 0x9d, - 0x49, 0xbe, 0xb2, 0x9a, 0xf5, 0xb9, 0x37, 0xa6, 0x21, 0x77, 0xc7, 0xbe, 0x04, 0xaa, 0x3f, 0xe7, - 0xa0, 0x6c, 0xcb, 0x79, 0x3d, 0xee, 0xf2, 0x28, 0xc4, 0x8f, 0x01, 0x92, 0x03, 0x1c, 0x6f, 0xa8, - 0xe7, 0xd6, 0xd0, 0x46, 0xd1, 0x2e, 0x26, 0x8a, 0x35, 0xc4, 0xcf, 0xa1, 0x10, 0x72, 0x97, 0x53, - 0x7d, 0x6e, 0x0d, 0x6d, 0xa8, 0x5b, 0x2b, 0xc6, 0x6c, 0x22, 0x63, 0x32, 0x85, 0xda, 0x92, 0xc1, - 0xaf, 0x40, 0x1d, 0x9c, 0xd2, 0xc1, 0x3b, 0x27, 0x8d, 0xa5, 0xe7, 0xd7, 0xd0, 0x46, 0x69, 0xeb, - 0x81, 0x21, 0x73, 0x19, 0x69, 0x2e, 0xa3, 0x99, 0x00, 0x76, 0x59, 0x34, 0xa4, 0x25, 0x5e, 0x07, - 0x95, 0xf9, 0x54, 0x16, 0x0e, 0xbf, 0xf0, 0xa9, 0x5e, 0x10, 0x89, 0xca, 0x53, 0xb5, 0x7f, 0xe1, - 0x53, 0xbc, 0x0a, 0xa5, 0x80, 0x86, 0x2c, 0x0a, 0x06, 0x74, 0x92, 0x7a, 0x5e, 0x30, 0x90, 0x4a, - 0xd6, 0x10, 0x3f, 0x81, 0xf2, 0x14, 0x10, 0x63, 0x16, 0x04, 0xb2, 0x94, 0x8a, 0x62, 0xca, 0x3a, - 0xa8, 0xc7, 0xae, 0x37, 0x8a, 0x02, 0xea, 0x04, 0xd4, 0x0d, 0xd9, 0x99, 0xbe, 0x28, 0x0f, 0x4b, - 0x54, 0x5b, 0x88, 0xf8, 0x25, 0x40, 0xc8, 0xdd, 0x80, 0x3b, 0x93, 0xcb, 0xd4, 0x8b, 0xe2, 0x8b, - 0x2a, 0x7f, 0x7c, 0x51, 0x3f, 0xbd, 0x69, 0xbb, 0x28, 0xe8, 0x49, 0x8d, 0x77, 0xa0, 0x74, 0xec, - 0x9d, 0x79, 0xe1, 0xa9, 0xec, 0x85, 0x7f, 0xf6, 0x82, 0xc4, 0x45, 0xf3, 0x36, 0x2c, 0xba, 0xbe, - 0x1f, 0xb0, 0x73, 0x77, 0xa4, 0x97, 0x44, 0x27, 0xc9, 0xde, 0x7e, 0x3d, 0xf1, 0xe5, 0x2e, 0xed, - 0x29, 0xbf, 0x97, 0x5f, 0x44, 0x5a, 0xae, 0xfa, 0x31, 0x07, 0xea, 0x2c, 0x82, 0xb7, 0xd3, 0x7d, - 0x22, 0xb1, 0xcf, 0xa7, 0x7f, 0x9f, 0x38, 0xbb, 0x5e, 0x1d, 0x16, 0x58, 0xc4, 0x07, 0x6c, 0x4c, - 0x93, 0x77, 0x92, 0x96, 0xd5, 0x2f, 0x08, 0x0a, 0x02, 0xc5, 0x04, 0x2a, 0xf5, 0x6e, 0xd7, 0xde, - 0x7f, 0x53, 0x6f, 0x3b, 0xbd, 0x7e, 0xbd, 0x6f, 0x3a, 0x07, 0x9d, 0x5e, 0xd7, 0x6c, 0x58, 0x2d, - 0xcb, 0x6c, 0x6a, 0x0a, 0xae, 0xc0, 0xbd, 0x8c, 0xdf, 0x35, 0x3b, 0x4d, 0xab, 0xb3, 0xab, 0x21, - 0xfc, 0x10, 0xee, 0x67, 0x3c, 0x59, 0x9a, 0x4d, 0x2d, 0x77, 0x87, 0x69, 0x9b, 0x7b, 0x66, 0xa3, - 0x6f, 0x36, 0xb5, 0xb9, 0x3b, 0xa6, 0x9a, 0x87, 0x5d, 0xcb, 0x36, 0x9b, 0x5a, 0xfe, 0xd9, 0xe7, - 0x69, 0xb6, 0x15, 0x58, 0xbe, 0x2b, 0xd2, 0x32, 0x94, 0xb3, 0x49, 0xa6, 0xa4, 0xd5, 0x71, 0xba, - 0xf6, 0xfe, 0xae, 0x6d, 0xf6, 0x7a, 0x5a, 0x0e, 0x6b, 0xb0, 0x24, 0xe5, 0x56, 0xdd, 0x6a, 0x8b, - 0x83, 0xff, 0x87, 0xff, 0xa4, 0xd2, 0xa8, 0x77, 0x1a, 0x66, 0x7b, 0x22, 0xe6, 0x7f, 0x8b, 0xad, - 0x83, 0x76, 0xcb, 0x12, 0x62, 0x01, 0x63, 0x50, 0x33, 0xb1, 0xe7, 0x5f, 0x1f, 0x5e, 0x5e, 0x13, - 0xe5, 0xea, 0x9a, 0x28, 0xb7, 0xd7, 0x04, 0x7d, 0x88, 0x09, 0xfa, 0x1a, 0x13, 0xf4, 0x2d, 0x26, - 0xe8, 0x32, 0x26, 0xe8, 0x7b, 0x4c, 0xd0, 0x8f, 0x98, 0x28, 0xb7, 0x31, 0x41, 0x9f, 0x6e, 0x88, - 0x72, 0x79, 0x43, 0x94, 0xab, 0x1b, 0xa2, 0xbc, 0xad, 0xf2, 0xb1, 0x1f, 0x8c, 0x8c, 0xc1, 0x88, - 0x45, 0xc3, 0xda, 0xec, 0xdf, 0xc7, 0x4e, 0xf2, 0xf3, 0x68, 0x5e, 0xbc, 0xad, 0x17, 0xbf, 0x02, - 0x00, 0x00, 0xff, 0xff, 0xe5, 0xcb, 0x51, 0x8b, 0x5f, 0x04, 0x00, 0x00, +func (x *ApprovalStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x State) String() string { - s, ok := State_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x ApprovalStatus_State) String() string { - s, ok := ApprovalStatus_State_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (this *RequestStatus) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*RequestStatus) - if !ok { - that2, ok := that.(RequestStatus) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.RequestId != that1.RequestId { - return false - } - if this.State != that1.State { - return false - } - if !this.CheckDuration.Equal(that1.CheckDuration) { - return false - } - if this.OperationType != that1.OperationType { - return false - } - if this.ResourceId != that1.ResourceId { - return false - } - if this.ResourceType != that1.ResourceType { - return false - } - if this.FailureReason != that1.FailureReason { - return false - } - if !this.StartTime.Equal(that1.StartTime) { - return false - } - if !this.FinishTime.Equal(that1.FinishTime) { - return false - } - if !this.Approval.Equal(that1.Approval) { - return false - } - return true -} -func (this *ApprovalStatus) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*ApprovalStatus) - if !ok { - that2, ok := that.(ApprovalStatus) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.State != that1.State { - return false - } - if this.Outcome != that1.Outcome { - return false - } - return true -} -func (this *RequestStatus) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 14) - s = append(s, "&request.RequestStatus{") - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - if this.CheckDuration != nil { - s = append(s, "CheckDuration: "+fmt.Sprintf("%#v", this.CheckDuration)+",\n") - } - s = append(s, "OperationType: "+fmt.Sprintf("%#v", this.OperationType)+",\n") - s = append(s, "ResourceId: "+fmt.Sprintf("%#v", this.ResourceId)+",\n") - s = append(s, "ResourceType: "+fmt.Sprintf("%#v", this.ResourceType)+",\n") - s = append(s, "FailureReason: "+fmt.Sprintf("%#v", this.FailureReason)+",\n") - if this.StartTime != nil { - s = append(s, "StartTime: "+fmt.Sprintf("%#v", this.StartTime)+",\n") - } - if this.FinishTime != nil { - s = append(s, "FinishTime: "+fmt.Sprintf("%#v", this.FinishTime)+",\n") - } - if this.Approval != nil { - s = append(s, "Approval: "+fmt.Sprintf("%#v", this.Approval)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ApprovalStatus) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&request.ApprovalStatus{") - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - s = append(s, "Outcome: "+fmt.Sprintf("%#v", this.Outcome)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func valueToGoStringMessage(v interface{}, typ string) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) -} -func (m *RequestStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RequestStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} +func (*ApprovalStatus) ProtoMessage() {} -func (m *RequestStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Approval != nil { - { - size, err := m.Approval.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x5a - } - if m.FinishTime != nil { - { - size, err := m.FinishTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x52 - } - if m.StartTime != nil { - { - size, err := m.StartTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x4a - } - if len(m.FailureReason) > 0 { - i -= len(m.FailureReason) - copy(dAtA[i:], m.FailureReason) - i = encodeVarintMessage(dAtA, i, uint64(len(m.FailureReason))) - i-- - dAtA[i] = 0x42 - } - if len(m.ResourceType) > 0 { - i -= len(m.ResourceType) - copy(dAtA[i:], m.ResourceType) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ResourceType))) - i-- - dAtA[i] = 0x3a - } - if len(m.ResourceId) > 0 { - i -= len(m.ResourceId) - copy(dAtA[i:], m.ResourceId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ResourceId))) - i-- - dAtA[i] = 0x32 - } - if len(m.OperationType) > 0 { - i -= len(m.OperationType) - copy(dAtA[i:], m.OperationType) - i = encodeVarintMessage(dAtA, i, uint64(len(m.OperationType))) - i-- - dAtA[i] = 0x2a - } - if m.CheckDuration != nil { - { - size, err := m.CheckDuration.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) +func (x *ApprovalStatus) ProtoReflect() protoreflect.Message { + mi := &file_api_request_v1_message_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - i-- - dAtA[i] = 0x22 + return ms } - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x18 - } - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x12 - } - return len(dAtA) - i, nil -} - -func (m *ApprovalStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ApprovalStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return mi.MessageOf(x) } -func (m *ApprovalStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Outcome) > 0 { - i -= len(m.Outcome) - copy(dAtA[i:], m.Outcome) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Outcome))) - i-- - dAtA[i] = 0x12 - } - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil +// Deprecated: Use ApprovalStatus.ProtoReflect.Descriptor instead. +func (*ApprovalStatus) Descriptor() ([]byte, []int) { + return file_api_request_v1_message_proto_rawDescGZIP(), []int{1} } -func encodeVarintMessage(dAtA []byte, offset int, v uint64) int { - offset -= sovMessage(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *RequestStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) - } - if m.CheckDuration != nil { - l = m.CheckDuration.Size() - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.OperationType) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.ResourceId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) +func (x *ApprovalStatus) GetState() ApprovalStatus_State { + if x != nil { + return x.State } - l = len(m.ResourceType) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.FailureReason) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.StartTime != nil { - l = m.StartTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.FinishTime != nil { - l = m.FinishTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.Approval != nil { - l = m.Approval.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n + return APPROVAL_STATE_UNSPECIFIED } -func (m *ApprovalStatus) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) - } - l = len(m.Outcome) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) +func (x *ApprovalStatus) GetOutcome() string { + if x != nil { + return x.Outcome } - return n + return "" } -func sovMessage(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozMessage(x uint64) (n int) { - return sovMessage(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (this *RequestStatus) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&RequestStatus{`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `CheckDuration:` + strings.Replace(fmt.Sprintf("%v", this.CheckDuration), "Duration", "types.Duration", 1) + `,`, - `OperationType:` + fmt.Sprintf("%v", this.OperationType) + `,`, - `ResourceId:` + fmt.Sprintf("%v", this.ResourceId) + `,`, - `ResourceType:` + fmt.Sprintf("%v", this.ResourceType) + `,`, - `FailureReason:` + fmt.Sprintf("%v", this.FailureReason) + `,`, - `StartTime:` + strings.Replace(fmt.Sprintf("%v", this.StartTime), "Timestamp", "types.Timestamp", 1) + `,`, - `FinishTime:` + strings.Replace(fmt.Sprintf("%v", this.FinishTime), "Timestamp", "types.Timestamp", 1) + `,`, - `Approval:` + strings.Replace(this.Approval.String(), "ApprovalStatus", "ApprovalStatus", 1) + `,`, - `}`, - }, "") - return s -} -func (this *ApprovalStatus) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ApprovalStatus{`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `Outcome:` + fmt.Sprintf("%v", this.Outcome) + `,`, - `}`, - }, "") - return s -} -func valueToStringMessage(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) +var File_api_request_v1_message_proto protoreflect.FileDescriptor + +var file_api_request_v1_message_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2f, 0x76, 0x31, + 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, + 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x1e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, + 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xeb, 0x03, 0x0a, 0x0d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, + 0x12, 0x2b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x40, 0x0a, + 0x0e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x0d, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0e, + 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x61, + 0x73, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, + 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, + 0x0a, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x61, + 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, + 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x08, 0x61, + 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x82, 0x02, + 0x0a, 0x0e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x3a, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, + 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, + 0x6f, 0x75, 0x74, 0x63, 0x6f, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, + 0x75, 0x74, 0x63, 0x6f, 0x6d, 0x65, 0x22, 0x99, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x1e, 0x0a, 0x1a, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x41, 0x4c, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, + 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x41, 0x4c, 0x5f, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, + 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x41, 0x4c, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x41, + 0x50, 0x50, 0x52, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x41, 0x50, 0x50, + 0x52, 0x4f, 0x56, 0x41, 0x4c, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x4a, 0x45, + 0x43, 0x54, 0x45, 0x44, 0x10, 0x03, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, + 0x41, 0x4c, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, + 0x10, 0x04, 0x2a, 0x98, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, + 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, + 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x45, 0x4e, + 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, + 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x02, 0x12, 0x10, 0x0a, + 0x0c, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12, + 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, + 0x45, 0x44, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x55, + 0x4c, 0x46, 0x49, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, + 0x54, 0x45, 0x5f, 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x45, 0x44, 0x10, 0x06, 0x42, 0xa0, 0x01, + 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x22, 0x74, 0x6d, 0x70, 0x72, 0x6c, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2f, 0x76, 0x31, + 0x3b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0xa2, 0x02, 0x03, 0x41, 0x52, 0x58, 0xaa, 0x02, + 0x0e, 0x41, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x31, 0xca, + 0x02, 0x0e, 0x41, 0x70, 0x69, 0x5c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5c, 0x56, 0x31, + 0xe2, 0x02, 0x1a, 0x41, 0x70, 0x69, 0x5c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5c, 0x56, + 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, + 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x3a, 0x3a, 0x56, 0x31, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func (m *RequestStatus) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RequestStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RequestStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= State(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CheckDuration", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CheckDuration == nil { - m.CheckDuration = &types.Duration{} - } - if err := m.CheckDuration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OperationType", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.OperationType = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceType", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ResourceType = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 8: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FailureReason", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FailureReason = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.StartTime == nil { - m.StartTime = &types.Timestamp{} - } - if err := m.StartTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 10: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FinishTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.FinishTime == nil { - m.FinishTime = &types.Timestamp{} - } - if err := m.FinishTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 11: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Approval", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Approval == nil { - m.Approval = &ApprovalStatus{} - } - if err := m.Approval.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ApprovalStatus) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ApprovalStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ApprovalStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= ApprovalStatus_State(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Outcome", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Outcome = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } +var ( + file_api_request_v1_message_proto_rawDescOnce sync.Once + file_api_request_v1_message_proto_rawDescData = file_api_request_v1_message_proto_rawDesc +) - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipMessage(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break +func file_api_request_v1_message_proto_rawDescGZIP() []byte { + file_api_request_v1_message_proto_rawDescOnce.Do(func() { + file_api_request_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_request_v1_message_proto_rawDescData) + }) + return file_api_request_v1_message_proto_rawDescData +} + +var file_api_request_v1_message_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_api_request_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_api_request_v1_message_proto_goTypes = []interface{}{ + (State)(0), // 0: api.request.v1.State + (ApprovalStatus_State)(0), // 1: api.request.v1.ApprovalStatus.State + (*RequestStatus)(nil), // 2: api.request.v1.RequestStatus + (*ApprovalStatus)(nil), // 3: api.request.v1.ApprovalStatus + (*durationpb.Duration)(nil), // 4: google.protobuf.Duration + (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp +} +var file_api_request_v1_message_proto_depIdxs = []int32{ + 0, // 0: api.request.v1.RequestStatus.state:type_name -> api.request.v1.State + 4, // 1: api.request.v1.RequestStatus.check_duration:type_name -> google.protobuf.Duration + 5, // 2: api.request.v1.RequestStatus.start_time:type_name -> google.protobuf.Timestamp + 5, // 3: api.request.v1.RequestStatus.finish_time:type_name -> google.protobuf.Timestamp + 3, // 4: api.request.v1.RequestStatus.approval:type_name -> api.request.v1.ApprovalStatus + 1, // 5: api.request.v1.ApprovalStatus.state:type_name -> api.request.v1.ApprovalStatus.State + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_api_request_v1_message_proto_init() } +func file_api_request_v1_message_proto_init() { + if File_api_request_v1_message_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_api_request_v1_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RequestStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil } } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } + file_api_request_v1_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ApprovalStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthMessage - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupMessage - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthMessage - } - if depth == 0 { - return iNdEx, nil } } - return 0, io.ErrUnexpectedEOF + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_api_request_v1_message_proto_rawDesc, + NumEnums: 2, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_api_request_v1_message_proto_goTypes, + DependencyIndexes: file_api_request_v1_message_proto_depIdxs, + EnumInfos: file_api_request_v1_message_proto_enumTypes, + MessageInfos: file_api_request_v1_message_proto_msgTypes, + }.Build() + File_api_request_v1_message_proto = out.File + file_api_request_v1_message_proto_rawDesc = nil + file_api_request_v1_message_proto_goTypes = nil + file_api_request_v1_message_proto_depIdxs = nil } - -var ( - ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowMessage = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group") -) diff --git a/protogen/api/requestservice/v1/request_response.pb.go b/protogen/api/requestservice/v1/request_response.pb.go index eb76428c..c4eb93f4 100644 --- a/protogen/api/requestservice/v1/request_response.pb.go +++ b/protogen/api/requestservice/v1/request_response.pb.go @@ -1,616 +1,237 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: api/requestservice/v1/request_response.proto package requestservice import ( - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - io "io" - math "math" - math_bits "math/bits" - reflect "reflect" - strings "strings" + proto "github.com/golang/protobuf/proto" v1 "github.com/temporalio/tcld/protogen/api/request/v1" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type GetRequestStatusRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // the request id RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` } -func (m *GetRequestStatusRequest) Reset() { *m = GetRequestStatusRequest{} } -func (*GetRequestStatusRequest) ProtoMessage() {} -func (*GetRequestStatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9fd9a82732f91270, []int{0} -} -func (m *GetRequestStatusRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetRequestStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetRequestStatusRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *GetRequestStatusRequest) Reset() { + *x = GetRequestStatusRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_requestservice_v1_request_response_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *GetRequestStatusRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRequestStatusRequest.Merge(m, src) -} -func (m *GetRequestStatusRequest) XXX_Size() int { - return m.Size() -} -func (m *GetRequestStatusRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetRequestStatusRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetRequestStatusRequest proto.InternalMessageInfo -func (m *GetRequestStatusRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" +func (x *GetRequestStatusRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -type GetRequestStatusResponse struct { - // the request status - RequestStatus *v1.RequestStatus `protobuf:"bytes,1,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` -} +func (*GetRequestStatusRequest) ProtoMessage() {} -func (m *GetRequestStatusResponse) Reset() { *m = GetRequestStatusResponse{} } -func (*GetRequestStatusResponse) ProtoMessage() {} -func (*GetRequestStatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9fd9a82732f91270, []int{1} -} -func (m *GetRequestStatusResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetRequestStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetRequestStatusResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err +func (x *GetRequestStatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_requestservice_v1_request_response_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *GetRequestStatusResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRequestStatusResponse.Merge(m, src) -} -func (m *GetRequestStatusResponse) XXX_Size() int { - return m.Size() -} -func (m *GetRequestStatusResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetRequestStatusResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetRequestStatusResponse proto.InternalMessageInfo - -func (m *GetRequestStatusResponse) GetRequestStatus() *v1.RequestStatus { - if m != nil { - return m.RequestStatus - } - return nil -} - -func init() { - proto.RegisterType((*GetRequestStatusRequest)(nil), "api.requestservice.v1.GetRequestStatusRequest") - proto.RegisterType((*GetRequestStatusResponse)(nil), "api.requestservice.v1.GetRequestStatusResponse") + return mi.MessageOf(x) } -func init() { - proto.RegisterFile("api/requestservice/v1/request_response.proto", fileDescriptor_9fd9a82732f91270) -} - -var fileDescriptor_9fd9a82732f91270 = []byte{ - // 254 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x49, 0x2c, 0xc8, 0xd4, - 0x2f, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, 0x29, 0x4e, 0x2d, 0x2a, 0xcb, 0x4c, 0x4e, 0xd5, 0x2f, - 0x33, 0x84, 0x89, 0xc4, 0x17, 0xa5, 0x16, 0x17, 0xe4, 0xe7, 0x15, 0xa7, 0xea, 0x15, 0x14, 0xe5, - 0x97, 0xe4, 0x0b, 0x89, 0x26, 0x16, 0x64, 0xea, 0xa1, 0xaa, 0xd6, 0x2b, 0x33, 0x94, 0x92, 0x41, - 0x32, 0x04, 0xa4, 0x3b, 0x37, 0xb5, 0xb8, 0x38, 0x31, 0x1d, 0xaa, 0x49, 0xc9, 0x8e, 0x4b, 0xdc, - 0x3d, 0xb5, 0x24, 0x08, 0x22, 0x1d, 0x5c, 0x92, 0x58, 0x52, 0x5a, 0x0c, 0xe5, 0x08, 0xc9, 0x72, - 0x71, 0xc1, 0x6c, 0xca, 0x4c, 0x91, 0x60, 0x52, 0x60, 0xd4, 0xe0, 0x0c, 0xe2, 0x84, 0x8a, 0x78, - 0xa6, 0x78, 0xb1, 0x70, 0x30, 0x0a, 0x30, 0x29, 0x25, 0x70, 0x49, 0x60, 0xea, 0x87, 0x38, 0x4b, - 0xc8, 0x85, 0x8b, 0x0f, 0x66, 0x40, 0x31, 0x58, 0x46, 0x82, 0x51, 0x81, 0x51, 0x83, 0xdb, 0x48, - 0x56, 0x0f, 0xc9, 0xa5, 0x7a, 0x65, 0x86, 0x7a, 0xa8, 0xda, 0x79, 0x8b, 0x90, 0xb9, 0x4e, 0x69, - 0x17, 0x1e, 0xca, 0x31, 0xdc, 0x78, 0x28, 0xc7, 0xf0, 0xe1, 0xa1, 0x1c, 0x63, 0xc3, 0x23, 0x39, - 0xc6, 0x15, 0x8f, 0xe4, 0x18, 0x4f, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, - 0x39, 0xc6, 0x17, 0x8f, 0xe4, 0x18, 0x3e, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, - 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0x0c, 0x4a, 0x72, 0x0b, 0x8a, 0x72, 0xf4, 0x92, - 0x73, 0xf2, 0x4b, 0x53, 0xf4, 0xb1, 0x06, 0xa3, 0x35, 0xaa, 0x48, 0x12, 0x1b, 0x38, 0x40, 0x8c, - 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x41, 0xeb, 0xf5, 0x3c, 0x75, 0x01, 0x00, 0x00, +// Deprecated: Use GetRequestStatusRequest.ProtoReflect.Descriptor instead. +func (*GetRequestStatusRequest) Descriptor() ([]byte, []int) { + return file_api_requestservice_v1_request_response_proto_rawDescGZIP(), []int{0} } -func (this *GetRequestStatusRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil +func (x *GetRequestStatusRequest) GetRequestId() string { + if x != nil { + return x.RequestId } - - that1, ok := that.(*GetRequestStatusRequest) - if !ok { - that2, ok := that.(GetRequestStatusRequest) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.RequestId != that1.RequestId { - return false - } - return true + return "" } -func (this *GetRequestStatusResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - that1, ok := that.(*GetRequestStatusResponse) - if !ok { - that2, ok := that.(GetRequestStatusResponse) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.RequestStatus.Equal(that1.RequestStatus) { - return false - } - return true -} -func (this *GetRequestStatusRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&requestservice.GetRequestStatusRequest{") - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *GetRequestStatusResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&requestservice.GetRequestStatusResponse{") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func valueToGoStringRequestResponse(v interface{}, typ string) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) -} -func (m *GetRequestStatusRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} +type GetRequestStatusResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GetRequestStatusRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + // the request status + RequestStatus *v1.RequestStatus `protobuf:"bytes,1,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` } -func (m *GetRequestStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.RequestId) > 0 { - i -= len(m.RequestId) - copy(dAtA[i:], m.RequestId) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.RequestId))) - i-- - dAtA[i] = 0x12 +func (x *GetRequestStatusResponse) Reset() { + *x = GetRequestStatusResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_requestservice_v1_request_response_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return len(dAtA) - i, nil } -func (m *GetRequestStatusResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (x *GetRequestStatusResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetRequestStatusResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} +func (*GetRequestStatusResponse) ProtoMessage() {} -func (m *GetRequestStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.RequestStatus != nil { - { - size, err := m.RequestStatus.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) +func (x *GetRequestStatusResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_requestservice_v1_request_response_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintRequestResponse(dAtA []byte, offset int, v uint64) int { - offset -= sovRequestResponse(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ + return ms } - dAtA[offset] = uint8(v) - return base -} -func (m *GetRequestStatusRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.RequestId) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n + return mi.MessageOf(x) } -func (m *GetRequestStatusResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.RequestStatus != nil { - l = m.RequestStatus.Size() - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func sovRequestResponse(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozRequestResponse(x uint64) (n int) { - return sovRequestResponse(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (this *GetRequestStatusRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetRequestStatusRequest{`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `}`, - }, "") - return s -} -func (this *GetRequestStatusResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetRequestStatusResponse{`, - `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v1.RequestStatus", 1) + `,`, - `}`, - }, "") - return s -} -func valueToStringRequestResponse(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) +// Deprecated: Use GetRequestStatusResponse.ProtoReflect.Descriptor instead. +func (*GetRequestStatusResponse) Descriptor() ([]byte, []int) { + return file_api_requestservice_v1_request_response_proto_rawDescGZIP(), []int{1} } -func (m *GetRequestStatusRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetRequestStatusRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetRequestStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RequestId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF +func (x *GetRequestStatusResponse) GetRequestStatus() *v1.RequestStatus { + if x != nil { + return x.RequestStatus } return nil } -func (m *GetRequestStatusResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetRequestStatusResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetRequestStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestStatus", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthRequestResponse - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthRequestResponse - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RequestStatus == nil { - m.RequestStatus = &v1.RequestStatus{} - } - if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthRequestResponse - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipRequestResponse(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowRequestResponse - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthRequestResponse - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupRequestResponse - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthRequestResponse - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF +var File_api_requestservice_v1_request_response_proto protoreflect.FileDescriptor + +var file_api_requestservice_v1_request_response_proto_rawDesc = []byte{ + 0x0a, 0x2c, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, + 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, + 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x3e, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, + 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x4a, 0x04, 0x08, + 0x01, 0x10, 0x02, 0x22, 0x60, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x44, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0xd9, 0x01, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x42, 0x14, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x30, 0x74, 0x6d, 0x70, + 0x72, 0x6c, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0xa2, 0x02, 0x03, + 0x41, 0x52, 0x58, 0xaa, 0x02, 0x15, 0x41, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x15, 0x41, 0x70, + 0x69, 0x5c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x21, 0x41, 0x70, 0x69, 0x5c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x17, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x3a, 0x3a, 0x56, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - ErrInvalidLengthRequestResponse = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowRequestResponse = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupRequestResponse = fmt.Errorf("proto: unexpected end of group") + file_api_requestservice_v1_request_response_proto_rawDescOnce sync.Once + file_api_requestservice_v1_request_response_proto_rawDescData = file_api_requestservice_v1_request_response_proto_rawDesc ) + +func file_api_requestservice_v1_request_response_proto_rawDescGZIP() []byte { + file_api_requestservice_v1_request_response_proto_rawDescOnce.Do(func() { + file_api_requestservice_v1_request_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_requestservice_v1_request_response_proto_rawDescData) + }) + return file_api_requestservice_v1_request_response_proto_rawDescData +} + +var file_api_requestservice_v1_request_response_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_api_requestservice_v1_request_response_proto_goTypes = []interface{}{ + (*GetRequestStatusRequest)(nil), // 0: api.requestservice.v1.GetRequestStatusRequest + (*GetRequestStatusResponse)(nil), // 1: api.requestservice.v1.GetRequestStatusResponse + (*v1.RequestStatus)(nil), // 2: api.request.v1.RequestStatus +} +var file_api_requestservice_v1_request_response_proto_depIdxs = []int32{ + 2, // 0: api.requestservice.v1.GetRequestStatusResponse.request_status:type_name -> api.request.v1.RequestStatus + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_api_requestservice_v1_request_response_proto_init() } +func file_api_requestservice_v1_request_response_proto_init() { + if File_api_requestservice_v1_request_response_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_api_requestservice_v1_request_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRequestStatusRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_requestservice_v1_request_response_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRequestStatusResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_api_requestservice_v1_request_response_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_api_requestservice_v1_request_response_proto_goTypes, + DependencyIndexes: file_api_requestservice_v1_request_response_proto_depIdxs, + MessageInfos: file_api_requestservice_v1_request_response_proto_msgTypes, + }.Build() + File_api_requestservice_v1_request_response_proto = out.File + file_api_requestservice_v1_request_response_proto_rawDesc = nil + file_api_requestservice_v1_request_response_proto_goTypes = nil + file_api_requestservice_v1_request_response_proto_depIdxs = nil +} diff --git a/protogen/api/requestservice/v1/service.pb.go b/protogen/api/requestservice/v1/service.pb.go index e3445916..7a7be8f6 100644 --- a/protogen/api/requestservice/v1/service.pb.go +++ b/protogen/api/requestservice/v1/service.pb.go @@ -1,129 +1,98 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: api/requestservice/v1/service.proto package requestservice import ( - context "context" - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - math "math" + proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -func init() { - proto.RegisterFile("api/requestservice/v1/service.proto", fileDescriptor_a6f283241a216f38) -} - -var fileDescriptor_a6f283241a216f38 = []byte{ - // 209 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4e, 0x2c, 0xc8, 0xd4, - 0x2f, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, 0x29, 0x4e, 0x2d, 0x2a, 0xcb, 0x4c, 0x4e, 0xd5, 0x2f, - 0x33, 0xd4, 0x87, 0x32, 0xf5, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x44, 0x13, 0x0b, 0x32, 0xf5, - 0x50, 0x15, 0xe9, 0x95, 0x19, 0x4a, 0xe9, 0x60, 0xd7, 0x0b, 0x15, 0x89, 0x2f, 0x4a, 0x2d, 0x2e, - 0xc8, 0xcf, 0x2b, 0x86, 0x1a, 0x62, 0xd4, 0xce, 0xc8, 0xc5, 0x17, 0x04, 0x91, 0x0a, 0x86, 0x28, - 0x16, 0x2a, 0xe5, 0x12, 0x70, 0x4f, 0x2d, 0x81, 0x09, 0x96, 0x24, 0x96, 0x94, 0x16, 0x0b, 0xe9, - 0xe9, 0x61, 0xb5, 0x4c, 0x0f, 0x5d, 0x21, 0x94, 0x23, 0xa5, 0x4f, 0xb4, 0x7a, 0x88, 0x6b, 0x94, - 0x18, 0x9c, 0xd2, 0x2e, 0x3c, 0x94, 0x63, 0xb8, 0xf1, 0x50, 0x8e, 0xe1, 0xc3, 0x43, 0x39, 0xc6, - 0x86, 0x47, 0x72, 0x8c, 0x2b, 0x1e, 0xc9, 0x31, 0x9e, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, - 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x2f, 0x1e, 0xc9, 0x31, 0x7c, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, - 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x19, 0x94, 0xe4, 0x16, 0x14, - 0xe5, 0xe8, 0x25, 0xe7, 0xe4, 0x97, 0xa6, 0xe8, 0x63, 0xf5, 0xb9, 0x35, 0xaa, 0x48, 0x12, 0x1b, - 0xd8, 0xe3, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2b, 0x9d, 0xf4, 0x8d, 0x64, 0x01, 0x00, - 0x00, -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConnInterface - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 - -// RequestServiceClient is the client API for RequestService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type RequestServiceClient interface { - // GetRequestStatus get the status of a request. - GetRequestStatus(ctx context.Context, in *GetRequestStatusRequest, opts ...grpc.CallOption) (*GetRequestStatusResponse, error) -} - -type requestServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewRequestServiceClient(cc grpc.ClientConnInterface) RequestServiceClient { - return &requestServiceClient{cc} -} - -func (c *requestServiceClient) GetRequestStatus(ctx context.Context, in *GetRequestStatusRequest, opts ...grpc.CallOption) (*GetRequestStatusResponse, error) { - out := new(GetRequestStatusResponse) - err := c.cc.Invoke(ctx, "/api.requestservice.v1.RequestService/GetRequestStatus", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RequestServiceServer is the server API for RequestService service. -type RequestServiceServer interface { - // GetRequestStatus get the status of a request. - GetRequestStatus(context.Context, *GetRequestStatusRequest) (*GetRequestStatusResponse, error) -} +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// UnimplementedRequestServiceServer can be embedded to have forward compatible implementations. -type UnimplementedRequestServiceServer struct { +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +var File_api_requestservice_v1_service_proto protoreflect.FileDescriptor + +var file_api_requestservice_v1_service_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x2c, 0x61, 0x70, + 0x69, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x87, 0x01, 0x0a, 0x0e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x75, 0x0a, + 0x10, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x2e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x42, 0xd1, 0x01, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, + 0x76, 0x31, 0x42, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x30, 0x74, 0x6d, 0x70, 0x72, 0x6c, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0xa2, 0x02, 0x03, 0x41, 0x52, 0x58, 0xaa, 0x02, 0x15, 0x41, 0x70, 0x69, + 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, + 0x56, 0x31, 0xca, 0x02, 0x15, 0x41, 0x70, 0x69, 0x5c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x21, 0x41, 0x70, 0x69, + 0x5c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5c, + 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x17, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func (*UnimplementedRequestServiceServer) GetRequestStatus(ctx context.Context, req *GetRequestStatusRequest) (*GetRequestStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRequestStatus not implemented") +var file_api_requestservice_v1_service_proto_goTypes = []interface{}{ + (*GetRequestStatusRequest)(nil), // 0: api.requestservice.v1.GetRequestStatusRequest + (*GetRequestStatusResponse)(nil), // 1: api.requestservice.v1.GetRequestStatusResponse } - -func RegisterRequestServiceServer(s *grpc.Server, srv RequestServiceServer) { - s.RegisterService(&_RequestService_serviceDesc, srv) +var file_api_requestservice_v1_service_proto_depIdxs = []int32{ + 0, // 0: api.requestservice.v1.RequestService.GetRequestStatus:input_type -> api.requestservice.v1.GetRequestStatusRequest + 1, // 1: api.requestservice.v1.RequestService.GetRequestStatus:output_type -> api.requestservice.v1.GetRequestStatusResponse + 1, // [1:2] is the sub-list for method output_type + 0, // [0:1] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name } -func _RequestService_GetRequestStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRequestStatusRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RequestServiceServer).GetRequestStatus(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.requestservice.v1.RequestService/GetRequestStatus", +func init() { file_api_requestservice_v1_service_proto_init() } +func file_api_requestservice_v1_service_proto_init() { + if File_api_requestservice_v1_service_proto != nil { + return } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RequestServiceServer).GetRequestStatus(ctx, req.(*GetRequestStatusRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _RequestService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "api.requestservice.v1.RequestService", - HandlerType: (*RequestServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetRequestStatus", - Handler: _RequestService_GetRequestStatus_Handler, + file_api_requestservice_v1_request_response_proto_init() + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_api_requestservice_v1_service_proto_rawDesc, + NumEnums: 0, + NumMessages: 0, + NumExtensions: 0, + NumServices: 1, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "api/requestservice/v1/service.proto", + GoTypes: file_api_requestservice_v1_service_proto_goTypes, + DependencyIndexes: file_api_requestservice_v1_service_proto_depIdxs, + }.Build() + File_api_requestservice_v1_service_proto = out.File + file_api_requestservice_v1_service_proto_rawDesc = nil + file_api_requestservice_v1_service_proto_goTypes = nil + file_api_requestservice_v1_service_proto_depIdxs = nil } diff --git a/protogen/api/requestservice/v1/service_grpc.pb.go b/protogen/api/requestservice/v1/service_grpc.pb.go new file mode 100644 index 00000000..b87a0e82 --- /dev/null +++ b/protogen/api/requestservice/v1/service_grpc.pb.go @@ -0,0 +1,107 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc (unknown) +// source: api/requestservice/v1/service.proto + +package requestservice + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// RequestServiceClient is the client API for RequestService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type RequestServiceClient interface { + // GetRequestStatus get the status of a request. + GetRequestStatus(ctx context.Context, in *GetRequestStatusRequest, opts ...grpc.CallOption) (*GetRequestStatusResponse, error) +} + +type requestServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewRequestServiceClient(cc grpc.ClientConnInterface) RequestServiceClient { + return &requestServiceClient{cc} +} + +func (c *requestServiceClient) GetRequestStatus(ctx context.Context, in *GetRequestStatusRequest, opts ...grpc.CallOption) (*GetRequestStatusResponse, error) { + out := new(GetRequestStatusResponse) + err := c.cc.Invoke(ctx, "/api.requestservice.v1.RequestService/GetRequestStatus", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// RequestServiceServer is the server API for RequestService service. +// All implementations must embed UnimplementedRequestServiceServer +// for forward compatibility +type RequestServiceServer interface { + // GetRequestStatus get the status of a request. + GetRequestStatus(context.Context, *GetRequestStatusRequest) (*GetRequestStatusResponse, error) + mustEmbedUnimplementedRequestServiceServer() +} + +// UnimplementedRequestServiceServer must be embedded to have forward compatible implementations. +type UnimplementedRequestServiceServer struct { +} + +func (UnimplementedRequestServiceServer) GetRequestStatus(context.Context, *GetRequestStatusRequest) (*GetRequestStatusResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetRequestStatus not implemented") +} +func (UnimplementedRequestServiceServer) mustEmbedUnimplementedRequestServiceServer() {} + +// UnsafeRequestServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to RequestServiceServer will +// result in compilation errors. +type UnsafeRequestServiceServer interface { + mustEmbedUnimplementedRequestServiceServer() +} + +func RegisterRequestServiceServer(s grpc.ServiceRegistrar, srv RequestServiceServer) { + s.RegisterService(&RequestService_ServiceDesc, srv) +} + +func _RequestService_GetRequestStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetRequestStatusRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RequestServiceServer).GetRequestStatus(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/api.requestservice.v1.RequestService/GetRequestStatus", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RequestServiceServer).GetRequestStatus(ctx, req.(*GetRequestStatusRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// RequestService_ServiceDesc is the grpc.ServiceDesc for RequestService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var RequestService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "api.requestservice.v1.RequestService", + HandlerType: (*RequestServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetRequestStatus", + Handler: _RequestService_GetRequestStatus_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "api/requestservice/v1/service.proto", +} diff --git a/protogen/api/sink/v1/message.pb.go b/protogen/api/sink/v1/message.pb.go index 6b18b730..0d14557a 100644 --- a/protogen/api/sink/v1/message.pb.go +++ b/protogen/api/sink/v1/message.pb.go @@ -1,30 +1,31 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc (unknown) // source: api/sink/v1/message.proto package sink import ( - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - types "github.com/gogo/protobuf/types" - io "io" - math "math" - math_bits "math/bits" + proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" - strconv "strconv" - strings "strings" + "strconv" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 // State is only used by Audit Log type State int32 @@ -38,26 +39,67 @@ const ( STATE_USER_ERROR State = 5 ) -var State_name = map[int32]string{ - 0: "Unspecified", - 1: "Creating", - 2: "Active", - 3: "Deleted", - 4: "InternalError", - 5: "UserError", +// Enum value maps for State. +var ( + State_name = map[int32]string{ + 0: "StateUnspecified", + 1: "StateCreating", + 2: "StateActive", + 3: "StateDeleted", + 4: "StateInternalError", + 5: "StateUserError", + } + State_value = map[string]int32{ + "StateUnspecified": 0, + "StateCreating": 1, + "StateActive": 2, + "StateDeleted": 3, + "StateInternalError": 4, + "StateUserError": 5, + } +) + +func (x State) Enum() *State { + p := new(State) + *p = x + return p +} + +func (x State) String() string { + switch x { + case STATE_UNSPECIFIED: + return "Unspecified" + case STATE_CREATING: + return "Creating" + case STATE_ACTIVE: + return "Active" + case STATE_DELETED: + return "Deleted" + case STATE_INTERNAL_ERROR: + return "InternalError" + case STATE_USER_ERROR: + return "UserError" + default: + return strconv.Itoa(int(x)) + } + +} + +func (State) Descriptor() protoreflect.EnumDescriptor { + return file_api_sink_v1_message_proto_enumTypes[0].Descriptor() } -var State_value = map[string]int32{ - "Unspecified": 0, - "Creating": 1, - "Active": 2, - "Deleted": 3, - "InternalError": 4, - "UserError": 5, +func (State) Type() protoreflect.EnumType { + return &file_api_sink_v1_message_proto_enumTypes[0] } +func (x State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use State.Descriptor instead. func (State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ef8b1808dc5a7594, []int{0} + return file_api_sink_v1_message_proto_rawDescGZIP(), []int{0} } // DestinationType is only used by Audit Log @@ -70,22 +112,59 @@ const ( DESTINATION_TYPE_PUBSUB DestinationType = 3 ) -var DestinationType_name = map[int32]string{ - 0: "Unspecified", - 1: "Kinesis", - 2: "S3", - 3: "Pubsub", +// Enum value maps for DestinationType. +var ( + DestinationType_name = map[int32]string{ + 0: "DestinationTypeUnspecified", + 1: "DestinationTypeKinesis", + 2: "DestinationTypeS3", + 3: "DestinationTypePubsub", + } + DestinationType_value = map[string]int32{ + "DestinationTypeUnspecified": 0, + "DestinationTypeKinesis": 1, + "DestinationTypeS3": 2, + "DestinationTypePubsub": 3, + } +) + +func (x DestinationType) Enum() *DestinationType { + p := new(DestinationType) + *p = x + return p +} + +func (x DestinationType) String() string { + switch x { + case DESTINATION_TYPE_UNSPECIFIED: + return "Unspecified" + case DESTINATION_TYPE_KINESIS: + return "Kinesis" + case DESTINATION_TYPE_S3: + return "S3" + case DESTINATION_TYPE_PUBSUB: + return "Pubsub" + default: + return strconv.Itoa(int(x)) + } + +} + +func (DestinationType) Descriptor() protoreflect.EnumDescriptor { + return file_api_sink_v1_message_proto_enumTypes[1].Descriptor() } -var DestinationType_value = map[string]int32{ - "Unspecified": 0, - "Kinesis": 1, - "S3": 2, - "Pubsub": 3, +func (DestinationType) Type() protoreflect.EnumType { + return &file_api_sink_v1_message_proto_enumTypes[1] } +func (x DestinationType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use DestinationType.Descriptor instead. func (DestinationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ef8b1808dc5a7594, []int{1} + return file_api_sink_v1_message_proto_rawDescGZIP(), []int{1} } // Type is only used by Audit Log @@ -97,23 +176,62 @@ const ( TYPE_WORKFLOW_HISTORY_EXPORT Type = 2 ) -var Type_name = map[int32]string{ - 0: "Unspecified", - 1: "AuditLog", - 2: "WorkflowHistoryExport", +// Enum value maps for Type. +var ( + Type_name = map[int32]string{ + 0: "TypeUnspecified", + 1: "TypeAuditLog", + 2: "TypeWorkflowHistoryExport", + } + Type_value = map[string]int32{ + "TypeUnspecified": 0, + "TypeAuditLog": 1, + "TypeWorkflowHistoryExport": 2, + } +) + +func (x Type) Enum() *Type { + p := new(Type) + *p = x + return p } -var Type_value = map[string]int32{ - "Unspecified": 0, - "AuditLog": 1, - "WorkflowHistoryExport": 2, +func (x Type) String() string { + switch x { + case TYPE_UNSPECIFIED: + return "Unspecified" + case TYPE_AUDIT_LOG: + return "AuditLog" + case TYPE_WORKFLOW_HISTORY_EXPORT: + return "WorkflowHistoryExport" + default: + return strconv.Itoa(int(x)) + } + } +func (Type) Descriptor() protoreflect.EnumDescriptor { + return file_api_sink_v1_message_proto_enumTypes[2].Descriptor() +} + +func (Type) Type() protoreflect.EnumType { + return &file_api_sink_v1_message_proto_enumTypes[2] +} + +func (x Type) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Type.Descriptor instead. func (Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ef8b1808dc5a7594, []int{2} + return file_api_sink_v1_message_proto_rawDescGZIP(), []int{2} } type KinesisSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The role Temporal Cloud assumes when writing records to Kinesis AssumedRole string `protobuf:"bytes,1,opt,name=assumed_role,json=assumedRole,proto3" json:"assumed_role,omitempty"` // Destination Kinesis endpoint arn for temporal to send data to. @@ -122,61 +240,65 @@ type KinesisSpec struct { Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` } -func (m *KinesisSpec) Reset() { *m = KinesisSpec{} } -func (*KinesisSpec) ProtoMessage() {} -func (*KinesisSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_ef8b1808dc5a7594, []int{0} +func (x *KinesisSpec) Reset() { + *x = KinesisSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_api_sink_v1_message_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *KinesisSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *KinesisSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *KinesisSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_KinesisSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*KinesisSpec) ProtoMessage() {} + +func (x *KinesisSpec) ProtoReflect() protoreflect.Message { + mi := &file_api_sink_v1_message_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *KinesisSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_KinesisSpec.Merge(m, src) -} -func (m *KinesisSpec) XXX_Size() int { - return m.Size() -} -func (m *KinesisSpec) XXX_DiscardUnknown() { - xxx_messageInfo_KinesisSpec.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_KinesisSpec proto.InternalMessageInfo +// Deprecated: Use KinesisSpec.ProtoReflect.Descriptor instead. +func (*KinesisSpec) Descriptor() ([]byte, []int) { + return file_api_sink_v1_message_proto_rawDescGZIP(), []int{0} +} -func (m *KinesisSpec) GetAssumedRole() string { - if m != nil { - return m.AssumedRole +func (x *KinesisSpec) GetAssumedRole() string { + if x != nil { + return x.AssumedRole } return "" } -func (m *KinesisSpec) GetDestinationUri() string { - if m != nil { - return m.DestinationUri +func (x *KinesisSpec) GetDestinationUri() string { + if x != nil { + return x.DestinationUri } return "" } -func (m *KinesisSpec) GetRegion() string { - if m != nil { - return m.Region +func (x *KinesisSpec) GetRegion() string { + if x != nil { + return x.Region } return "" } // SinkSpec is only used by Audit Log type SinkSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Name of the sink e.g. "audit_log_01" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Type of the sink. @@ -190,151 +312,159 @@ type SinkSpec struct { PubSubSink *PubSubSpec `protobuf:"bytes,7,opt,name=pub_sub_sink,json=pubSubSink,proto3" json:"pub_sub_sink,omitempty"` } -func (m *SinkSpec) Reset() { *m = SinkSpec{} } -func (*SinkSpec) ProtoMessage() {} -func (*SinkSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_ef8b1808dc5a7594, []int{1} +func (x *SinkSpec) Reset() { + *x = SinkSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_api_sink_v1_message_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SinkSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *SinkSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SinkSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SinkSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*SinkSpec) ProtoMessage() {} + +func (x *SinkSpec) ProtoReflect() protoreflect.Message { + mi := &file_api_sink_v1_message_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *SinkSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_SinkSpec.Merge(m, src) -} -func (m *SinkSpec) XXX_Size() int { - return m.Size() -} -func (m *SinkSpec) XXX_DiscardUnknown() { - xxx_messageInfo_SinkSpec.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_SinkSpec proto.InternalMessageInfo +// Deprecated: Use SinkSpec.ProtoReflect.Descriptor instead. +func (*SinkSpec) Descriptor() ([]byte, []int) { + return file_api_sink_v1_message_proto_rawDescGZIP(), []int{1} +} -func (m *SinkSpec) GetName() string { - if m != nil { - return m.Name +func (x *SinkSpec) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *SinkSpec) GetSinkType() Type { - if m != nil { - return m.SinkType +func (x *SinkSpec) GetSinkType() Type { + if x != nil { + return x.SinkType } return TYPE_UNSPECIFIED } -func (m *SinkSpec) GetDestinationType() DestinationType { - if m != nil { - return m.DestinationType +func (x *SinkSpec) GetDestinationType() DestinationType { + if x != nil { + return x.DestinationType } return DESTINATION_TYPE_UNSPECIFIED } -func (m *SinkSpec) GetKinesisSink() *KinesisSpec { - if m != nil { - return m.KinesisSink +func (x *SinkSpec) GetKinesisSink() *KinesisSpec { + if x != nil { + return x.KinesisSink } return nil } -func (m *SinkSpec) GetEnabled() bool { - if m != nil { - return m.Enabled +func (x *SinkSpec) GetEnabled() bool { + if x != nil { + return x.Enabled } return false } -func (m *SinkSpec) GetPubSubSink() *PubSubSpec { - if m != nil { - return m.PubSubSink +func (x *SinkSpec) GetPubSubSink() *PubSubSpec { + if x != nil { + return x.PubSubSink } return nil } // Sink is only used by Audit Log type Sink struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Name of the sink e.g. "audit_log_01" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` State State `protobuf:"varint,2,opt,name=state,proto3,enum=api.sink.v1.State" json:"state,omitempty"` ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // The last succeeded timestamp for the internal workflow responsible for adding data to the sink. - LastSucceededTime *types.Timestamp `protobuf:"bytes,4,opt,name=last_succeeded_time,json=lastSucceededTime,proto3" json:"last_succeeded_time,omitempty"` + LastSucceededTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_succeeded_time,json=lastSucceededTime,proto3" json:"last_succeeded_time,omitempty"` } -func (m *Sink) Reset() { *m = Sink{} } -func (*Sink) ProtoMessage() {} -func (*Sink) Descriptor() ([]byte, []int) { - return fileDescriptor_ef8b1808dc5a7594, []int{2} +func (x *Sink) Reset() { + *x = Sink{} + if protoimpl.UnsafeEnabled { + mi := &file_api_sink_v1_message_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Sink) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +func (x *Sink) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Sink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Sink.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err + +func (*Sink) ProtoMessage() {} + +func (x *Sink) ProtoReflect() protoreflect.Message { + mi := &file_api_sink_v1_message_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - return b[:n], nil + return ms } -} -func (m *Sink) XXX_Merge(src proto.Message) { - xxx_messageInfo_Sink.Merge(m, src) -} -func (m *Sink) XXX_Size() int { - return m.Size() -} -func (m *Sink) XXX_DiscardUnknown() { - xxx_messageInfo_Sink.DiscardUnknown(m) + return mi.MessageOf(x) } -var xxx_messageInfo_Sink proto.InternalMessageInfo +// Deprecated: Use Sink.ProtoReflect.Descriptor instead. +func (*Sink) Descriptor() ([]byte, []int) { + return file_api_sink_v1_message_proto_rawDescGZIP(), []int{2} +} -func (m *Sink) GetName() string { - if m != nil { - return m.Name +func (x *Sink) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *Sink) GetState() State { - if m != nil { - return m.State +func (x *Sink) GetState() State { + if x != nil { + return x.State } return STATE_UNSPECIFIED } -func (m *Sink) GetErrorMessage() string { - if m != nil { - return m.ErrorMessage +func (x *Sink) GetErrorMessage() string { + if x != nil { + return x.ErrorMessage } return "" } -func (m *Sink) GetLastSucceededTime() *types.Timestamp { - if m != nil { - return m.LastSucceededTime +func (x *Sink) GetLastSucceededTime() *timestamppb.Timestamp { + if x != nil { + return x.LastSucceededTime } return nil } type PubSubSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The customer service account id that Temporal Cloud impersonates for writing records to customer's pubsub topic SaId string `protobuf:"bytes,1,opt,name=sa_id,json=saId,proto3" json:"sa_id,omitempty"` // Destination pubsub topic name for us @@ -343,1496 +473,255 @@ type PubSubSpec struct { GcpProjectId string `protobuf:"bytes,3,opt,name=gcp_project_id,json=gcpProjectId,proto3" json:"gcp_project_id,omitempty"` } -func (m *PubSubSpec) Reset() { *m = PubSubSpec{} } -func (*PubSubSpec) ProtoMessage() {} -func (*PubSubSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_ef8b1808dc5a7594, []int{3} -} -func (m *PubSubSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *PubSubSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_PubSubSpec.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (x *PubSubSpec) Reset() { + *x = PubSubSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_api_sink_v1_message_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -func (m *PubSubSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_PubSubSpec.Merge(m, src) -} -func (m *PubSubSpec) XXX_Size() int { - return m.Size() -} -func (m *PubSubSpec) XXX_DiscardUnknown() { - xxx_messageInfo_PubSubSpec.DiscardUnknown(m) -} - -var xxx_messageInfo_PubSubSpec proto.InternalMessageInfo - -func (m *PubSubSpec) GetSaId() string { - if m != nil { - return m.SaId - } - return "" -} -func (m *PubSubSpec) GetTopicName() string { - if m != nil { - return m.TopicName - } - return "" -} - -func (m *PubSubSpec) GetGcpProjectId() string { - if m != nil { - return m.GcpProjectId - } - return "" +func (x *PubSubSpec) String() string { + return protoimpl.X.MessageStringOf(x) } -func init() { - proto.RegisterEnum("api.sink.v1.State", State_name, State_value) - proto.RegisterEnum("api.sink.v1.DestinationType", DestinationType_name, DestinationType_value) - proto.RegisterEnum("api.sink.v1.Type", Type_name, Type_value) - proto.RegisterType((*KinesisSpec)(nil), "api.sink.v1.KinesisSpec") - proto.RegisterType((*SinkSpec)(nil), "api.sink.v1.SinkSpec") - proto.RegisterType((*Sink)(nil), "api.sink.v1.Sink") - proto.RegisterType((*PubSubSpec)(nil), "api.sink.v1.PubSubSpec") -} - -func init() { proto.RegisterFile("api/sink/v1/message.proto", fileDescriptor_ef8b1808dc5a7594) } - -var fileDescriptor_ef8b1808dc5a7594 = []byte{ - // 749 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x54, 0x3d, 0x53, 0xeb, 0x46, - 0x14, 0xb5, 0xfc, 0xf5, 0xcc, 0xb5, 0x9f, 0x9f, 0xbc, 0x90, 0xa0, 0xbc, 0x38, 0x8a, 0xe3, 0x64, - 0x26, 0x1e, 0x0a, 0x79, 0x80, 0x2a, 0x43, 0x65, 0xb0, 0x20, 0x02, 0x47, 0xf6, 0xac, 0xe4, 0x10, - 0xd2, 0xec, 0xc8, 0xd2, 0xe2, 0x51, 0x6c, 0x4b, 0x8a, 0x3e, 0x98, 0xa1, 0x4b, 0x97, 0x36, 0x3f, - 0x23, 0x5d, 0xaa, 0xfc, 0x87, 0x94, 0x94, 0x94, 0xc1, 0x34, 0x29, 0xf9, 0x09, 0x99, 0x5d, 0xc9, - 0x83, 0x0d, 0x14, 0x1a, 0xed, 0x9e, 0x7b, 0xef, 0xb9, 0xf7, 0x5c, 0x9d, 0x11, 0x7c, 0x66, 0x05, - 0x6e, 0x37, 0x72, 0xbd, 0x59, 0xf7, 0x66, 0xbf, 0xbb, 0xa0, 0x51, 0x64, 0x4d, 0xa9, 0x12, 0x84, - 0x7e, 0xec, 0xa3, 0xaa, 0x15, 0xb8, 0x0a, 0x0b, 0x29, 0x37, 0xfb, 0x1f, 0xbf, 0x9c, 0xfa, 0xfe, - 0x74, 0x4e, 0xbb, 0x3c, 0x34, 0x49, 0xae, 0xbb, 0xb1, 0xbb, 0xa0, 0x51, 0x6c, 0x2d, 0x82, 0x34, - 0xbb, 0xfd, 0x2b, 0x54, 0x2f, 0x5c, 0x8f, 0x46, 0x6e, 0x64, 0x04, 0xd4, 0x46, 0x5f, 0x41, 0xcd, - 0x8a, 0xa2, 0x64, 0x41, 0x1d, 0x12, 0xfa, 0x73, 0x2a, 0x09, 0x2d, 0xa1, 0xb3, 0x85, 0xab, 0x19, - 0x86, 0xfd, 0x39, 0x45, 0xdf, 0xc2, 0x07, 0x87, 0x46, 0xb1, 0xeb, 0x59, 0xb1, 0xeb, 0x7b, 0x24, - 0x09, 0x5d, 0x29, 0xcf, 0xb3, 0xea, 0x6b, 0xf0, 0x38, 0x74, 0xd1, 0xa7, 0x50, 0x0e, 0xe9, 0xd4, - 0xf5, 0x3d, 0xa9, 0xc0, 0xe3, 0xd9, 0xad, 0xfd, 0x57, 0x1e, 0x2a, 0x86, 0xeb, 0xcd, 0x78, 0x43, - 0x04, 0x45, 0xcf, 0x5a, 0xac, 0x1a, 0xf1, 0x33, 0x52, 0x60, 0x8b, 0xcd, 0x4f, 0xe2, 0xdb, 0x80, - 0x72, 0xee, 0xfa, 0x41, 0x43, 0x59, 0x53, 0xa5, 0x98, 0xb7, 0x01, 0xc5, 0x15, 0x76, 0x63, 0x27, - 0x74, 0x06, 0xe2, 0xfa, 0x44, 0xbc, 0xac, 0xc0, 0xcb, 0x9a, 0x1b, 0x65, 0xfd, 0xe7, 0x24, 0xce, - 0xb0, 0xae, 0x83, 0x13, 0x1d, 0x41, 0x6d, 0x96, 0x2e, 0x83, 0xb0, 0x1a, 0xa9, 0xd8, 0x12, 0x3a, - 0xd5, 0x03, 0x69, 0x83, 0x64, 0x6d, 0x5b, 0xb8, 0x9a, 0x65, 0x33, 0x35, 0x48, 0x82, 0x77, 0xd4, - 0xb3, 0x26, 0x73, 0xea, 0x48, 0xe5, 0x96, 0xd0, 0xa9, 0xe0, 0xd5, 0x15, 0x7d, 0x07, 0xb5, 0x20, - 0x99, 0x90, 0x88, 0x3d, 0x8c, 0xf6, 0x1d, 0xa7, 0xdd, 0xdd, 0xa0, 0x1d, 0x25, 0x13, 0x23, 0x99, - 0x70, 0x56, 0x08, 0xd2, 0xb3, 0xeb, 0xcd, 0xce, 0x8b, 0x95, 0x92, 0x58, 0x6e, 0xff, 0x2d, 0x40, - 0x91, 0xf7, 0x78, 0x6b, 0x5b, 0x1d, 0x28, 0x45, 0xb1, 0x15, 0xaf, 0x36, 0x85, 0x36, 0x68, 0x0d, - 0x16, 0xc1, 0x69, 0x02, 0xfa, 0x1a, 0xde, 0xd3, 0x30, 0xf4, 0x43, 0x92, 0x19, 0x26, 0xfb, 0x2e, - 0x35, 0x0e, 0xfe, 0x90, 0x62, 0xe8, 0x1c, 0xb6, 0xe7, 0x56, 0x14, 0x93, 0x28, 0xb1, 0x6d, 0x4a, - 0x1d, 0xea, 0x10, 0x66, 0x99, 0x6c, 0x15, 0x1f, 0x95, 0xd4, 0x4f, 0xca, 0xca, 0x4f, 0x8a, 0xb9, - 0xf2, 0x13, 0x6e, 0xb0, 0x32, 0x63, 0x55, 0xc5, 0xf0, 0xf6, 0x35, 0xc0, 0xb3, 0x2e, 0xb4, 0x0d, - 0xa5, 0xc8, 0x22, 0xae, 0xb3, 0x9a, 0x3e, 0xb2, 0x34, 0x07, 0x7d, 0x01, 0x10, 0xfb, 0x81, 0x6b, - 0x13, 0xae, 0x2b, 0x35, 0xd2, 0x16, 0x47, 0x74, 0x26, 0xee, 0x1b, 0xa8, 0x4f, 0xed, 0x80, 0x04, - 0xa1, 0xff, 0x0b, 0xb5, 0x63, 0x56, 0x9c, 0xcd, 0x3c, 0xb5, 0x83, 0x51, 0x0a, 0x6a, 0xce, 0xde, - 0xef, 0x02, 0x94, 0xb8, 0x52, 0xf4, 0x09, 0x34, 0x0c, 0xb3, 0x67, 0xaa, 0x64, 0xac, 0x1b, 0x23, - 0xf5, 0x44, 0x3b, 0xd5, 0xd4, 0xbe, 0x98, 0x43, 0x08, 0xea, 0x29, 0x7c, 0x82, 0xd5, 0x9e, 0xa9, - 0xe9, 0x67, 0xa2, 0x80, 0x44, 0xa8, 0xa5, 0x58, 0xef, 0xc4, 0xd4, 0x7e, 0x54, 0xc5, 0x3c, 0x6a, - 0xc0, 0xfb, 0x14, 0xe9, 0xab, 0x03, 0xd5, 0x54, 0xfb, 0x62, 0x01, 0x49, 0xb0, 0x93, 0x42, 0x9a, - 0x6e, 0xaa, 0x58, 0xef, 0x0d, 0x88, 0x8a, 0xf1, 0x10, 0x8b, 0x45, 0xb4, 0x03, 0x62, 0xd6, 0xc9, - 0x50, 0x71, 0x86, 0x96, 0xd8, 0x24, 0x1f, 0x5e, 0xd8, 0x0c, 0xb5, 0xa0, 0xd9, 0x57, 0x0d, 0x53, - 0xd3, 0x7b, 0xa6, 0x36, 0xd4, 0x89, 0x79, 0x35, 0x7a, 0x39, 0x5e, 0x13, 0xa4, 0x57, 0x19, 0x17, - 0x9a, 0xae, 0x1a, 0x9a, 0x21, 0x0a, 0x68, 0x17, 0xb6, 0x5f, 0x45, 0x8d, 0x43, 0x31, 0x8f, 0x3e, - 0x87, 0xdd, 0x57, 0x81, 0xd1, 0xf8, 0xd8, 0x18, 0x1f, 0x8b, 0x85, 0x3d, 0x0c, 0x45, 0xde, 0x7d, - 0x07, 0xc4, 0x37, 0x3a, 0x22, 0xa8, 0x73, 0xb4, 0x37, 0xee, 0x6b, 0x26, 0x19, 0x0c, 0xd9, 0x42, - 0x5a, 0xd0, 0xe4, 0xd8, 0xe5, 0x10, 0x5f, 0x9c, 0x0e, 0x86, 0x97, 0xe4, 0x7b, 0xcd, 0x30, 0x87, - 0xf8, 0x8a, 0xa8, 0x3f, 0x8d, 0x86, 0xd8, 0x14, 0xf3, 0xc7, 0xf8, 0xee, 0x41, 0xce, 0xdd, 0x3f, - 0xc8, 0xb9, 0xa7, 0x07, 0x59, 0xf8, 0x6d, 0x29, 0x0b, 0x7f, 0x2e, 0x65, 0xe1, 0x9f, 0xa5, 0x2c, - 0xdc, 0x2d, 0x65, 0xe1, 0xdf, 0xa5, 0x2c, 0xfc, 0xb7, 0x94, 0x73, 0x4f, 0x4b, 0x59, 0xf8, 0xe3, - 0x51, 0xce, 0xdd, 0x3d, 0xca, 0xb9, 0xfb, 0x47, 0x39, 0xf7, 0x73, 0x33, 0x5e, 0x04, 0xe1, 0x5c, - 0xb1, 0xe7, 0x7e, 0xe2, 0x74, 0xd7, 0xfe, 0x5b, 0x47, 0xec, 0x3d, 0x29, 0x73, 0x2b, 0x1d, 0xfe, - 0x1f, 0x00, 0x00, 0xff, 0xff, 0x5f, 0xd5, 0x15, 0x27, 0xd2, 0x04, 0x00, 0x00, -} - -func (x State) String() string { - s, ok := State_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x DestinationType) String() string { - s, ok := DestinationType_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x Type) String() string { - s, ok := Type_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (this *KinesisSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*KinesisSpec) - if !ok { - that2, ok := that.(KinesisSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.AssumedRole != that1.AssumedRole { - return false - } - if this.DestinationUri != that1.DestinationUri { - return false - } - if this.Region != that1.Region { - return false - } - return true -} -func (this *SinkSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*SinkSpec) - if !ok { - that2, ok := that.(SinkSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Name != that1.Name { - return false - } - if this.SinkType != that1.SinkType { - return false - } - if this.DestinationType != that1.DestinationType { - return false - } - if !this.KinesisSink.Equal(that1.KinesisSink) { - return false - } - if this.Enabled != that1.Enabled { - return false - } - if !this.PubSubSink.Equal(that1.PubSubSink) { - return false - } - return true -} -func (this *Sink) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*Sink) - if !ok { - that2, ok := that.(Sink) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.Name != that1.Name { - return false - } - if this.State != that1.State { - return false - } - if this.ErrorMessage != that1.ErrorMessage { - return false - } - if !this.LastSucceededTime.Equal(that1.LastSucceededTime) { - return false - } - return true -} -func (this *PubSubSpec) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*PubSubSpec) - if !ok { - that2, ok := that.(PubSubSpec) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.SaId != that1.SaId { - return false - } - if this.TopicName != that1.TopicName { - return false - } - if this.GcpProjectId != that1.GcpProjectId { - return false - } - return true -} -func (this *KinesisSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&sink.KinesisSpec{") - s = append(s, "AssumedRole: "+fmt.Sprintf("%#v", this.AssumedRole)+",\n") - s = append(s, "DestinationUri: "+fmt.Sprintf("%#v", this.DestinationUri)+",\n") - s = append(s, "Region: "+fmt.Sprintf("%#v", this.Region)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func (this *SinkSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 10) - s = append(s, "&sink.SinkSpec{") - s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") - s = append(s, "SinkType: "+fmt.Sprintf("%#v", this.SinkType)+",\n") - s = append(s, "DestinationType: "+fmt.Sprintf("%#v", this.DestinationType)+",\n") - if this.KinesisSink != nil { - s = append(s, "KinesisSink: "+fmt.Sprintf("%#v", this.KinesisSink)+",\n") - } - s = append(s, "Enabled: "+fmt.Sprintf("%#v", this.Enabled)+",\n") - if this.PubSubSink != nil { - s = append(s, "PubSubSink: "+fmt.Sprintf("%#v", this.PubSubSink)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *Sink) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 8) - s = append(s, "&sink.Sink{") - s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") - s = append(s, "State: "+fmt.Sprintf("%#v", this.State)+",\n") - s = append(s, "ErrorMessage: "+fmt.Sprintf("%#v", this.ErrorMessage)+",\n") - if this.LastSucceededTime != nil { - s = append(s, "LastSucceededTime: "+fmt.Sprintf("%#v", this.LastSucceededTime)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *PubSubSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&sink.PubSubSpec{") - s = append(s, "SaId: "+fmt.Sprintf("%#v", this.SaId)+",\n") - s = append(s, "TopicName: "+fmt.Sprintf("%#v", this.TopicName)+",\n") - s = append(s, "GcpProjectId: "+fmt.Sprintf("%#v", this.GcpProjectId)+",\n") - s = append(s, "}") - return strings.Join(s, "") -} -func valueToGoStringMessage(v interface{}, typ string) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) -} -func (m *KinesisSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *KinesisSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *KinesisSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Region) > 0 { - i -= len(m.Region) - copy(dAtA[i:], m.Region) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Region))) - i-- - dAtA[i] = 0x1a - } - if len(m.DestinationUri) > 0 { - i -= len(m.DestinationUri) - copy(dAtA[i:], m.DestinationUri) - i = encodeVarintMessage(dAtA, i, uint64(len(m.DestinationUri))) - i-- - dAtA[i] = 0x12 - } - if len(m.AssumedRole) > 0 { - i -= len(m.AssumedRole) - copy(dAtA[i:], m.AssumedRole) - i = encodeVarintMessage(dAtA, i, uint64(len(m.AssumedRole))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SinkSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *SinkSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} +func (*PubSubSpec) ProtoMessage() {} -func (m *SinkSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.PubSubSink != nil { - { - size, err := m.PubSubSink.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) +func (x *PubSubSpec) ProtoReflect() protoreflect.Message { + mi := &file_api_sink_v1_message_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) } - i-- - dAtA[i] = 0x3a - } - if m.Enabled { - i-- - if m.Enabled { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x30 - } - if m.KinesisSink != nil { - { - size, err := m.KinesisSink.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if m.DestinationType != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.DestinationType)) - i-- - dAtA[i] = 0x18 + return ms } - if m.SinkType != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.SinkType)) - i-- - dAtA[i] = 0x10 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Sink) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Sink) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return mi.MessageOf(x) } -func (m *Sink) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.LastSucceededTime != nil { - { - size, err := m.LastSucceededTime.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if len(m.ErrorMessage) > 0 { - i -= len(m.ErrorMessage) - copy(dAtA[i:], m.ErrorMessage) - i = encodeVarintMessage(dAtA, i, uint64(len(m.ErrorMessage))) - i-- - dAtA[i] = 0x1a - } - if m.State != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.State)) - i-- - dAtA[i] = 0x10 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintMessage(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *PubSubSpec) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *PubSubSpec) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PubSubSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.GcpProjectId) > 0 { - i -= len(m.GcpProjectId) - copy(dAtA[i:], m.GcpProjectId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.GcpProjectId))) - i-- - dAtA[i] = 0x1a - } - if len(m.TopicName) > 0 { - i -= len(m.TopicName) - copy(dAtA[i:], m.TopicName) - i = encodeVarintMessage(dAtA, i, uint64(len(m.TopicName))) - i-- - dAtA[i] = 0x12 - } - if len(m.SaId) > 0 { - i -= len(m.SaId) - copy(dAtA[i:], m.SaId) - i = encodeVarintMessage(dAtA, i, uint64(len(m.SaId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintMessage(dAtA []byte, offset int, v uint64) int { - offset -= sovMessage(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *KinesisSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.AssumedRole) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.DestinationUri) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.Region) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *SinkSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.SinkType != 0 { - n += 1 + sovMessage(uint64(m.SinkType)) - } - if m.DestinationType != 0 { - n += 1 + sovMessage(uint64(m.DestinationType)) - } - if m.KinesisSink != nil { - l = m.KinesisSink.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.Enabled { - n += 2 - } - if m.PubSubSink != nil { - l = m.PubSubSink.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *Sink) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.State != 0 { - n += 1 + sovMessage(uint64(m.State)) - } - l = len(m.ErrorMessage) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - if m.LastSucceededTime != nil { - l = m.LastSucceededTime.Size() - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func (m *PubSubSpec) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.SaId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.TopicName) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - l = len(m.GcpProjectId) - if l > 0 { - n += 1 + l + sovMessage(uint64(l)) - } - return n -} - -func sovMessage(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozMessage(x uint64) (n int) { - return sovMessage(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (this *KinesisSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&KinesisSpec{`, - `AssumedRole:` + fmt.Sprintf("%v", this.AssumedRole) + `,`, - `DestinationUri:` + fmt.Sprintf("%v", this.DestinationUri) + `,`, - `Region:` + fmt.Sprintf("%v", this.Region) + `,`, - `}`, - }, "") - return s -} -func (this *SinkSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&SinkSpec{`, - `Name:` + fmt.Sprintf("%v", this.Name) + `,`, - `SinkType:` + fmt.Sprintf("%v", this.SinkType) + `,`, - `DestinationType:` + fmt.Sprintf("%v", this.DestinationType) + `,`, - `KinesisSink:` + strings.Replace(this.KinesisSink.String(), "KinesisSpec", "KinesisSpec", 1) + `,`, - `Enabled:` + fmt.Sprintf("%v", this.Enabled) + `,`, - `PubSubSink:` + strings.Replace(this.PubSubSink.String(), "PubSubSpec", "PubSubSpec", 1) + `,`, - `}`, - }, "") - return s -} -func (this *Sink) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&Sink{`, - `Name:` + fmt.Sprintf("%v", this.Name) + `,`, - `State:` + fmt.Sprintf("%v", this.State) + `,`, - `ErrorMessage:` + fmt.Sprintf("%v", this.ErrorMessage) + `,`, - `LastSucceededTime:` + strings.Replace(fmt.Sprintf("%v", this.LastSucceededTime), "Timestamp", "types.Timestamp", 1) + `,`, - `}`, - }, "") - return s -} -func (this *PubSubSpec) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&PubSubSpec{`, - `SaId:` + fmt.Sprintf("%v", this.SaId) + `,`, - `TopicName:` + fmt.Sprintf("%v", this.TopicName) + `,`, - `GcpProjectId:` + fmt.Sprintf("%v", this.GcpProjectId) + `,`, - `}`, - }, "") - return s -} -func valueToStringMessage(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" - } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) +// Deprecated: Use PubSubSpec.ProtoReflect.Descriptor instead. +func (*PubSubSpec) Descriptor() ([]byte, []int) { + return file_api_sink_v1_message_proto_rawDescGZIP(), []int{3} } -func (m *KinesisSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: KinesisSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: KinesisSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AssumedRole", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AssumedRole = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DestinationUri", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DestinationUri = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Region = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF +func (x *PubSubSpec) GetSaId() string { + if x != nil { + return x.SaId } - return nil + return "" } -func (m *SinkSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SinkSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SinkSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SinkType", wireType) - } - m.SinkType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.SinkType |= Type(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DestinationType", wireType) - } - m.DestinationType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.DestinationType |= DestinationType(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field KinesisSink", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.KinesisSink == nil { - m.KinesisSink = &KinesisSpec{} - } - if err := m.KinesisSink.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Enabled = bool(v != 0) - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PubSubSink", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.PubSubSink == nil { - m.PubSubSink = &PubSubSpec{} - } - if err := m.PubSubSink.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF +func (x *PubSubSpec) GetTopicName() string { + if x != nil { + return x.TopicName } - return nil + return "" } -func (m *Sink) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Sink: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Sink: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= State(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ErrorMessage", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ErrorMessage = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastSucceededTime", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.LastSucceededTime == nil { - m.LastSucceededTime = &types.Timestamp{} - } - if err := m.LastSucceededTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF +func (x *PubSubSpec) GetGcpProjectId() string { + if x != nil { + return x.GcpProjectId } - return nil + return "" } -func (m *PubSubSpec) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: PubSubSpec: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PubSubSpec: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SaId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SaId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TopicName", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TopicName = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GcpProjectId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessage - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessage - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessage - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GcpProjectId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessage(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessage - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipMessage(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMessage - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthMessage - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupMessage - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthMessage - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF +var File_api_sink_v1_message_proto protoreflect.FileDescriptor + +var file_api_sink_v1_message_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x69, 0x6e, 0x6b, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x61, 0x70, 0x69, + 0x2e, 0x73, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x71, 0x0a, 0x0b, 0x4b, 0x69, 0x6e, + 0x65, 0x73, 0x69, 0x73, 0x53, 0x70, 0x65, 0x63, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x73, 0x73, 0x75, + 0x6d, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x61, 0x73, 0x73, 0x75, 0x6d, 0x65, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x64, + 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x55, 0x72, 0x69, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x22, 0xaf, 0x02, 0x0a, + 0x08, 0x53, 0x69, 0x6e, 0x6b, 0x53, 0x70, 0x65, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, + 0x09, 0x73, 0x69, 0x6e, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x11, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x08, 0x73, 0x69, 0x6e, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x47, 0x0a, + 0x10, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x69, + 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3b, 0x0a, 0x0c, 0x6b, 0x69, 0x6e, 0x65, 0x73, 0x69, + 0x73, 0x5f, 0x73, 0x69, 0x6e, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x73, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x69, 0x6e, 0x65, 0x73, + 0x69, 0x73, 0x53, 0x70, 0x65, 0x63, 0x52, 0x0b, 0x6b, 0x69, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, + 0x69, 0x6e, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x39, 0x0a, + 0x0c, 0x70, 0x75, 0x62, 0x5f, 0x73, 0x75, 0x62, 0x5f, 0x73, 0x69, 0x6e, 0x6b, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x73, 0x69, 0x6e, 0x6b, 0x2e, 0x76, + 0x31, 0x2e, 0x50, 0x75, 0x62, 0x53, 0x75, 0x62, 0x53, 0x70, 0x65, 0x63, 0x52, 0x0a, 0x70, 0x75, + 0x62, 0x53, 0x75, 0x62, 0x53, 0x69, 0x6e, 0x6b, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0xb5, + 0x01, 0x0a, 0x04, 0x53, 0x69, 0x6e, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x73, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x4a, 0x0a, 0x13, 0x6c, 0x61, + 0x73, 0x74, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x52, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x75, 0x63, 0x63, 0x65, 0x65, 0x64, + 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x66, 0x0a, 0x0a, 0x50, 0x75, 0x62, 0x53, 0x75, 0x62, + 0x53, 0x70, 0x65, 0x63, 0x12, 0x13, 0x0a, 0x05, 0x73, 0x61, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x73, 0x61, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x70, + 0x69, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, + 0x6f, 0x70, 0x69, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x67, 0x63, 0x70, 0x5f, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x67, 0x63, 0x70, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x2a, 0x87, + 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, + 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, + 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, + 0x47, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x41, 0x43, 0x54, + 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x44, + 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x54, 0x41, 0x54, + 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, + 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x53, 0x45, 0x52, + 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x05, 0x2a, 0x87, 0x01, 0x0a, 0x0f, 0x44, 0x65, 0x73, + 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x1c, + 0x44, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1c, + 0x0a, 0x18, 0x44, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x4b, 0x49, 0x4e, 0x45, 0x53, 0x49, 0x53, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, + 0x44, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x53, 0x33, 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x44, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x41, + 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x55, 0x42, 0x53, 0x55, 0x42, + 0x10, 0x03, 0x2a, 0x52, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, + 0x12, 0x12, 0x0a, 0x0e, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x55, 0x44, 0x49, 0x54, 0x5f, 0x4c, + 0x4f, 0x47, 0x10, 0x01, 0x12, 0x20, 0x0a, 0x1c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x4f, 0x52, + 0x4b, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x48, 0x49, 0x53, 0x54, 0x4f, 0x52, 0x59, 0x5f, 0x45, 0x58, + 0x50, 0x4f, 0x52, 0x54, 0x10, 0x02, 0x42, 0x8b, 0x01, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x73, 0x69, 0x6e, 0x6b, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x1c, 0x74, 0x6d, 0x70, 0x72, + 0x6c, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x69, 0x6e, 0x6b, + 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x69, 0x6e, 0x6b, 0xa2, 0x02, 0x03, 0x41, 0x53, 0x58, 0xaa, 0x02, + 0x0b, 0x41, 0x70, 0x69, 0x2e, 0x53, 0x69, 0x6e, 0x6b, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0b, 0x41, + 0x70, 0x69, 0x5c, 0x53, 0x69, 0x6e, 0x6b, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x17, 0x41, 0x70, 0x69, + 0x5c, 0x53, 0x69, 0x6e, 0x6b, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0d, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x53, 0x69, 0x6e, 0x6b, + 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowMessage = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group") + file_api_sink_v1_message_proto_rawDescOnce sync.Once + file_api_sink_v1_message_proto_rawDescData = file_api_sink_v1_message_proto_rawDesc ) + +func file_api_sink_v1_message_proto_rawDescGZIP() []byte { + file_api_sink_v1_message_proto_rawDescOnce.Do(func() { + file_api_sink_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_sink_v1_message_proto_rawDescData) + }) + return file_api_sink_v1_message_proto_rawDescData +} + +var file_api_sink_v1_message_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_api_sink_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_api_sink_v1_message_proto_goTypes = []interface{}{ + (State)(0), // 0: api.sink.v1.State + (DestinationType)(0), // 1: api.sink.v1.DestinationType + (Type)(0), // 2: api.sink.v1.Type + (*KinesisSpec)(nil), // 3: api.sink.v1.KinesisSpec + (*SinkSpec)(nil), // 4: api.sink.v1.SinkSpec + (*Sink)(nil), // 5: api.sink.v1.Sink + (*PubSubSpec)(nil), // 6: api.sink.v1.PubSubSpec + (*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp +} +var file_api_sink_v1_message_proto_depIdxs = []int32{ + 2, // 0: api.sink.v1.SinkSpec.sink_type:type_name -> api.sink.v1.Type + 1, // 1: api.sink.v1.SinkSpec.destination_type:type_name -> api.sink.v1.DestinationType + 3, // 2: api.sink.v1.SinkSpec.kinesis_sink:type_name -> api.sink.v1.KinesisSpec + 6, // 3: api.sink.v1.SinkSpec.pub_sub_sink:type_name -> api.sink.v1.PubSubSpec + 0, // 4: api.sink.v1.Sink.state:type_name -> api.sink.v1.State + 7, // 5: api.sink.v1.Sink.last_succeeded_time:type_name -> google.protobuf.Timestamp + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_api_sink_v1_message_proto_init() } +func file_api_sink_v1_message_proto_init() { + if File_api_sink_v1_message_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_api_sink_v1_message_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KinesisSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_sink_v1_message_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SinkSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_sink_v1_message_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Sink); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_sink_v1_message_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PubSubSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_api_sink_v1_message_proto_rawDesc, + NumEnums: 3, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_api_sink_v1_message_proto_goTypes, + DependencyIndexes: file_api_sink_v1_message_proto_depIdxs, + EnumInfos: file_api_sink_v1_message_proto_enumTypes, + MessageInfos: file_api_sink_v1_message_proto_msgTypes, + }.Build() + File_api_sink_v1_message_proto = out.File + file_api_sink_v1_message_proto_rawDesc = nil + file_api_sink_v1_message_proto_goTypes = nil + file_api_sink_v1_message_proto_depIdxs = nil +} diff --git a/protogen/apimock/accountservice/v1/service.pb.mock.go b/protogen/apimock/accountservice/v1/service.pb.mock.go index 05fe3bb6..f5b33d14 100644 --- a/protogen/apimock/accountservice/v1/service.pb.mock.go +++ b/protogen/apimock/accountservice/v1/service.pb.mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: api/accountservice/v1/service.pb.go +// Source: protogen/api/accountservice/v1/service_grpc.pb.go // Package apimock is a generated GoMock package. package apimock @@ -268,3 +268,50 @@ func (mr *MockAccountServiceServerMockRecorder) UpdateAccount(arg0, arg1 interfa mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateAccount", reflect.TypeOf((*MockAccountServiceServer)(nil).UpdateAccount), arg0, arg1) } + +// mustEmbedUnimplementedAccountServiceServer mocks base method. +func (m *MockAccountServiceServer) mustEmbedUnimplementedAccountServiceServer() { + m.ctrl.T.Helper() + m.ctrl.Call(m, "mustEmbedUnimplementedAccountServiceServer") +} + +// mustEmbedUnimplementedAccountServiceServer indicates an expected call of mustEmbedUnimplementedAccountServiceServer. +func (mr *MockAccountServiceServerMockRecorder) mustEmbedUnimplementedAccountServiceServer() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "mustEmbedUnimplementedAccountServiceServer", reflect.TypeOf((*MockAccountServiceServer)(nil).mustEmbedUnimplementedAccountServiceServer)) +} + +// MockUnsafeAccountServiceServer is a mock of UnsafeAccountServiceServer interface. +type MockUnsafeAccountServiceServer struct { + ctrl *gomock.Controller + recorder *MockUnsafeAccountServiceServerMockRecorder +} + +// MockUnsafeAccountServiceServerMockRecorder is the mock recorder for MockUnsafeAccountServiceServer. +type MockUnsafeAccountServiceServerMockRecorder struct { + mock *MockUnsafeAccountServiceServer +} + +// NewMockUnsafeAccountServiceServer creates a new mock instance. +func NewMockUnsafeAccountServiceServer(ctrl *gomock.Controller) *MockUnsafeAccountServiceServer { + mock := &MockUnsafeAccountServiceServer{ctrl: ctrl} + mock.recorder = &MockUnsafeAccountServiceServerMockRecorder{mock} + return mock +} + +// EXPECT returns an object that allows the caller to indicate expected use. +func (m *MockUnsafeAccountServiceServer) EXPECT() *MockUnsafeAccountServiceServerMockRecorder { + return m.recorder +} + +// mustEmbedUnimplementedAccountServiceServer mocks base method. +func (m *MockUnsafeAccountServiceServer) mustEmbedUnimplementedAccountServiceServer() { + m.ctrl.T.Helper() + m.ctrl.Call(m, "mustEmbedUnimplementedAccountServiceServer") +} + +// mustEmbedUnimplementedAccountServiceServer indicates an expected call of mustEmbedUnimplementedAccountServiceServer. +func (mr *MockUnsafeAccountServiceServerMockRecorder) mustEmbedUnimplementedAccountServiceServer() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "mustEmbedUnimplementedAccountServiceServer", reflect.TypeOf((*MockUnsafeAccountServiceServer)(nil).mustEmbedUnimplementedAccountServiceServer)) +} diff --git a/protogen/apimock/authservice/v1/service.pb.mock.go b/protogen/apimock/authservice/v1/service.pb.mock.go index 36c4f06b..89441d2d 100644 --- a/protogen/apimock/authservice/v1/service.pb.mock.go +++ b/protogen/apimock/authservice/v1/service.pb.mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: api/authservice/v1/service.pb.go +// Source: protogen/api/authservice/v1/service_grpc.pb.go // Package apimock is a generated GoMock package. package apimock @@ -828,3 +828,50 @@ func (mr *MockAuthServiceServerMockRecorder) UpdateUserNamespacePermissions(arg0 mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateUserNamespacePermissions", reflect.TypeOf((*MockAuthServiceServer)(nil).UpdateUserNamespacePermissions), arg0, arg1) } + +// mustEmbedUnimplementedAuthServiceServer mocks base method. +func (m *MockAuthServiceServer) mustEmbedUnimplementedAuthServiceServer() { + m.ctrl.T.Helper() + m.ctrl.Call(m, "mustEmbedUnimplementedAuthServiceServer") +} + +// mustEmbedUnimplementedAuthServiceServer indicates an expected call of mustEmbedUnimplementedAuthServiceServer. +func (mr *MockAuthServiceServerMockRecorder) mustEmbedUnimplementedAuthServiceServer() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "mustEmbedUnimplementedAuthServiceServer", reflect.TypeOf((*MockAuthServiceServer)(nil).mustEmbedUnimplementedAuthServiceServer)) +} + +// MockUnsafeAuthServiceServer is a mock of UnsafeAuthServiceServer interface. +type MockUnsafeAuthServiceServer struct { + ctrl *gomock.Controller + recorder *MockUnsafeAuthServiceServerMockRecorder +} + +// MockUnsafeAuthServiceServerMockRecorder is the mock recorder for MockUnsafeAuthServiceServer. +type MockUnsafeAuthServiceServerMockRecorder struct { + mock *MockUnsafeAuthServiceServer +} + +// NewMockUnsafeAuthServiceServer creates a new mock instance. +func NewMockUnsafeAuthServiceServer(ctrl *gomock.Controller) *MockUnsafeAuthServiceServer { + mock := &MockUnsafeAuthServiceServer{ctrl: ctrl} + mock.recorder = &MockUnsafeAuthServiceServerMockRecorder{mock} + return mock +} + +// EXPECT returns an object that allows the caller to indicate expected use. +func (m *MockUnsafeAuthServiceServer) EXPECT() *MockUnsafeAuthServiceServerMockRecorder { + return m.recorder +} + +// mustEmbedUnimplementedAuthServiceServer mocks base method. +func (m *MockUnsafeAuthServiceServer) mustEmbedUnimplementedAuthServiceServer() { + m.ctrl.T.Helper() + m.ctrl.Call(m, "mustEmbedUnimplementedAuthServiceServer") +} + +// mustEmbedUnimplementedAuthServiceServer indicates an expected call of mustEmbedUnimplementedAuthServiceServer. +func (mr *MockUnsafeAuthServiceServerMockRecorder) mustEmbedUnimplementedAuthServiceServer() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "mustEmbedUnimplementedAuthServiceServer", reflect.TypeOf((*MockUnsafeAuthServiceServer)(nil).mustEmbedUnimplementedAuthServiceServer)) +} diff --git a/protogen/apimock/cloudservice/v1/service.pb.mock.go b/protogen/apimock/cloudservice/v1/service.pb.mock.go index 6b526a1c..43b7f144 100644 --- a/protogen/apimock/cloudservice/v1/service.pb.mock.go +++ b/protogen/apimock/cloudservice/v1/service.pb.mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: temporal/api/cloud/cloudservice/v1/service.pb.go +// Source: protogen/api/cloud/cloudservice/v1/service_grpc.pb.go // Package temporalmock is a generated GoMock package. package temporalmock @@ -156,6 +156,26 @@ func (mr *MockCloudServiceClientMockRecorder) CreateApiKey(ctx, in interface{}, return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateApiKey", reflect.TypeOf((*MockCloudServiceClient)(nil).CreateApiKey), varargs...) } +// CreateBillingReport mocks base method. +func (m *MockCloudServiceClient) CreateBillingReport(ctx context.Context, in *cloudservice.CreateBillingReportRequest, opts ...grpc.CallOption) (*cloudservice.CreateBillingReportResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "CreateBillingReport", varargs...) + ret0, _ := ret[0].(*cloudservice.CreateBillingReportResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// CreateBillingReport indicates an expected call of CreateBillingReport. +func (mr *MockCloudServiceClientMockRecorder) CreateBillingReport(ctx, in interface{}, opts ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBillingReport", reflect.TypeOf((*MockCloudServiceClient)(nil).CreateBillingReport), varargs...) +} + // CreateConnectivityRule mocks base method. func (m *MockCloudServiceClient) CreateConnectivityRule(ctx context.Context, in *cloudservice.CreateConnectivityRuleRequest, opts ...grpc.CallOption) (*cloudservice.CreateConnectivityRuleResponse, error) { m.ctrl.T.Helper() @@ -176,6 +196,26 @@ func (mr *MockCloudServiceClientMockRecorder) CreateConnectivityRule(ctx, in int return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateConnectivityRule", reflect.TypeOf((*MockCloudServiceClient)(nil).CreateConnectivityRule), varargs...) } +// CreateCustomRole mocks base method. +func (m *MockCloudServiceClient) CreateCustomRole(ctx context.Context, in *cloudservice.CreateCustomRoleRequest, opts ...grpc.CallOption) (*cloudservice.CreateCustomRoleResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "CreateCustomRole", varargs...) + ret0, _ := ret[0].(*cloudservice.CreateCustomRoleResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// CreateCustomRole indicates an expected call of CreateCustomRole. +func (mr *MockCloudServiceClientMockRecorder) CreateCustomRole(ctx, in interface{}, opts ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateCustomRole", reflect.TypeOf((*MockCloudServiceClient)(nil).CreateCustomRole), varargs...) +} + // CreateNamespace mocks base method. func (m *MockCloudServiceClient) CreateNamespace(ctx context.Context, in *cloudservice.CreateNamespaceRequest, opts ...grpc.CallOption) (*cloudservice.CreateNamespaceResponse, error) { m.ctrl.T.Helper() @@ -376,6 +416,26 @@ func (mr *MockCloudServiceClientMockRecorder) DeleteConnectivityRule(ctx, in int return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteConnectivityRule", reflect.TypeOf((*MockCloudServiceClient)(nil).DeleteConnectivityRule), varargs...) } +// DeleteCustomRole mocks base method. +func (m *MockCloudServiceClient) DeleteCustomRole(ctx context.Context, in *cloudservice.DeleteCustomRoleRequest, opts ...grpc.CallOption) (*cloudservice.DeleteCustomRoleResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "DeleteCustomRole", varargs...) + ret0, _ := ret[0].(*cloudservice.DeleteCustomRoleResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DeleteCustomRole indicates an expected call of DeleteCustomRole. +func (mr *MockCloudServiceClientMockRecorder) DeleteCustomRole(ctx, in interface{}, opts ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCustomRole", reflect.TypeOf((*MockCloudServiceClient)(nil).DeleteCustomRole), varargs...) +} + // DeleteNamespace mocks base method. func (m *MockCloudServiceClient) DeleteNamespace(ctx context.Context, in *cloudservice.DeleteNamespaceRequest, opts ...grpc.CallOption) (*cloudservice.DeleteNamespaceResponse, error) { m.ctrl.T.Helper() @@ -696,6 +756,26 @@ func (mr *MockCloudServiceClientMockRecorder) GetAuditLogs(ctx, in interface{}, return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAuditLogs", reflect.TypeOf((*MockCloudServiceClient)(nil).GetAuditLogs), varargs...) } +// GetBillingReport mocks base method. +func (m *MockCloudServiceClient) GetBillingReport(ctx context.Context, in *cloudservice.GetBillingReportRequest, opts ...grpc.CallOption) (*cloudservice.GetBillingReportResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "GetBillingReport", varargs...) + ret0, _ := ret[0].(*cloudservice.GetBillingReportResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetBillingReport indicates an expected call of GetBillingReport. +func (mr *MockCloudServiceClientMockRecorder) GetBillingReport(ctx, in interface{}, opts ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBillingReport", reflect.TypeOf((*MockCloudServiceClient)(nil).GetBillingReport), varargs...) +} + // GetConnectivityRule mocks base method. func (m *MockCloudServiceClient) GetConnectivityRule(ctx context.Context, in *cloudservice.GetConnectivityRuleRequest, opts ...grpc.CallOption) (*cloudservice.GetConnectivityRuleResponse, error) { m.ctrl.T.Helper() @@ -736,6 +816,66 @@ func (mr *MockCloudServiceClientMockRecorder) GetConnectivityRules(ctx, in inter return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetConnectivityRules", reflect.TypeOf((*MockCloudServiceClient)(nil).GetConnectivityRules), varargs...) } +// GetCurrentIdentity mocks base method. +func (m *MockCloudServiceClient) GetCurrentIdentity(ctx context.Context, in *cloudservice.GetCurrentIdentityRequest, opts ...grpc.CallOption) (*cloudservice.GetCurrentIdentityResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "GetCurrentIdentity", varargs...) + ret0, _ := ret[0].(*cloudservice.GetCurrentIdentityResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetCurrentIdentity indicates an expected call of GetCurrentIdentity. +func (mr *MockCloudServiceClientMockRecorder) GetCurrentIdentity(ctx, in interface{}, opts ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCurrentIdentity", reflect.TypeOf((*MockCloudServiceClient)(nil).GetCurrentIdentity), varargs...) +} + +// GetCustomRole mocks base method. +func (m *MockCloudServiceClient) GetCustomRole(ctx context.Context, in *cloudservice.GetCustomRoleRequest, opts ...grpc.CallOption) (*cloudservice.GetCustomRoleResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "GetCustomRole", varargs...) + ret0, _ := ret[0].(*cloudservice.GetCustomRoleResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetCustomRole indicates an expected call of GetCustomRole. +func (mr *MockCloudServiceClientMockRecorder) GetCustomRole(ctx, in interface{}, opts ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCustomRole", reflect.TypeOf((*MockCloudServiceClient)(nil).GetCustomRole), varargs...) +} + +// GetCustomRoles mocks base method. +func (m *MockCloudServiceClient) GetCustomRoles(ctx context.Context, in *cloudservice.GetCustomRolesRequest, opts ...grpc.CallOption) (*cloudservice.GetCustomRolesResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "GetCustomRoles", varargs...) + ret0, _ := ret[0].(*cloudservice.GetCustomRolesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetCustomRoles indicates an expected call of GetCustomRoles. +func (mr *MockCloudServiceClientMockRecorder) GetCustomRoles(ctx, in interface{}, opts ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCustomRoles", reflect.TypeOf((*MockCloudServiceClient)(nil).GetCustomRoles), varargs...) +} + // GetMigration mocks base method. func (m *MockCloudServiceClient) GetMigration(ctx context.Context, in *cloudservice.GetMigrationRequest, opts ...grpc.CallOption) (*cloudservice.GetMigrationResponse, error) { m.ctrl.T.Helper() @@ -796,6 +936,26 @@ func (mr *MockCloudServiceClientMockRecorder) GetNamespace(ctx, in interface{}, return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNamespace", reflect.TypeOf((*MockCloudServiceClient)(nil).GetNamespace), varargs...) } +// GetNamespaceCapacityInfo mocks base method. +func (m *MockCloudServiceClient) GetNamespaceCapacityInfo(ctx context.Context, in *cloudservice.GetNamespaceCapacityInfoRequest, opts ...grpc.CallOption) (*cloudservice.GetNamespaceCapacityInfoResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "GetNamespaceCapacityInfo", varargs...) + ret0, _ := ret[0].(*cloudservice.GetNamespaceCapacityInfoResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetNamespaceCapacityInfo indicates an expected call of GetNamespaceCapacityInfo. +func (mr *MockCloudServiceClientMockRecorder) GetNamespaceCapacityInfo(ctx, in interface{}, opts ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNamespaceCapacityInfo", reflect.TypeOf((*MockCloudServiceClient)(nil).GetNamespaceCapacityInfo), varargs...) +} + // GetNamespaceExportSink mocks base method. func (m *MockCloudServiceClient) GetNamespaceExportSink(ctx context.Context, in *cloudservice.GetNamespaceExportSinkRequest, opts ...grpc.CallOption) (*cloudservice.GetNamespaceExportSinkResponse, error) { m.ctrl.T.Helper() @@ -1276,6 +1436,26 @@ func (mr *MockCloudServiceClientMockRecorder) SetServiceAccountNamespaceAccess(c return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetServiceAccountNamespaceAccess", reflect.TypeOf((*MockCloudServiceClient)(nil).SetServiceAccountNamespaceAccess), varargs...) } +// SetServiceAccountProjectAccess mocks base method. +func (m *MockCloudServiceClient) SetServiceAccountProjectAccess(ctx context.Context, in *cloudservice.SetServiceAccountProjectAccessRequest, opts ...grpc.CallOption) (*cloudservice.SetServiceAccountProjectAccessResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "SetServiceAccountProjectAccess", varargs...) + ret0, _ := ret[0].(*cloudservice.SetServiceAccountProjectAccessResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// SetServiceAccountProjectAccess indicates an expected call of SetServiceAccountProjectAccess. +func (mr *MockCloudServiceClientMockRecorder) SetServiceAccountProjectAccess(ctx, in interface{}, opts ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetServiceAccountProjectAccess", reflect.TypeOf((*MockCloudServiceClient)(nil).SetServiceAccountProjectAccess), varargs...) +} + // SetUserGroupNamespaceAccess mocks base method. func (m *MockCloudServiceClient) SetUserGroupNamespaceAccess(ctx context.Context, in *cloudservice.SetUserGroupNamespaceAccessRequest, opts ...grpc.CallOption) (*cloudservice.SetUserGroupNamespaceAccessResponse, error) { m.ctrl.T.Helper() @@ -1296,6 +1476,26 @@ func (mr *MockCloudServiceClientMockRecorder) SetUserGroupNamespaceAccess(ctx, i return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUserGroupNamespaceAccess", reflect.TypeOf((*MockCloudServiceClient)(nil).SetUserGroupNamespaceAccess), varargs...) } +// SetUserGroupProjectAccess mocks base method. +func (m *MockCloudServiceClient) SetUserGroupProjectAccess(ctx context.Context, in *cloudservice.SetUserGroupProjectAccessRequest, opts ...grpc.CallOption) (*cloudservice.SetUserGroupProjectAccessResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "SetUserGroupProjectAccess", varargs...) + ret0, _ := ret[0].(*cloudservice.SetUserGroupProjectAccessResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// SetUserGroupProjectAccess indicates an expected call of SetUserGroupProjectAccess. +func (mr *MockCloudServiceClientMockRecorder) SetUserGroupProjectAccess(ctx, in interface{}, opts ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUserGroupProjectAccess", reflect.TypeOf((*MockCloudServiceClient)(nil).SetUserGroupProjectAccess), varargs...) +} + // SetUserNamespaceAccess mocks base method. func (m *MockCloudServiceClient) SetUserNamespaceAccess(ctx context.Context, in *cloudservice.SetUserNamespaceAccessRequest, opts ...grpc.CallOption) (*cloudservice.SetUserNamespaceAccessResponse, error) { m.ctrl.T.Helper() @@ -1316,6 +1516,26 @@ func (mr *MockCloudServiceClientMockRecorder) SetUserNamespaceAccess(ctx, in int return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUserNamespaceAccess", reflect.TypeOf((*MockCloudServiceClient)(nil).SetUserNamespaceAccess), varargs...) } +// SetUserProjectAccess mocks base method. +func (m *MockCloudServiceClient) SetUserProjectAccess(ctx context.Context, in *cloudservice.SetUserProjectAccessRequest, opts ...grpc.CallOption) (*cloudservice.SetUserProjectAccessResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "SetUserProjectAccess", varargs...) + ret0, _ := ret[0].(*cloudservice.SetUserProjectAccessResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// SetUserProjectAccess indicates an expected call of SetUserProjectAccess. +func (mr *MockCloudServiceClientMockRecorder) SetUserProjectAccess(ctx, in interface{}, opts ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUserProjectAccess", reflect.TypeOf((*MockCloudServiceClient)(nil).SetUserProjectAccess), varargs...) +} + // StartMigration mocks base method. func (m *MockCloudServiceClient) StartMigration(ctx context.Context, in *cloudservice.StartMigrationRequest, opts ...grpc.CallOption) (*cloudservice.StartMigrationResponse, error) { m.ctrl.T.Helper() @@ -1396,6 +1616,26 @@ func (mr *MockCloudServiceClientMockRecorder) UpdateApiKey(ctx, in interface{}, return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateApiKey", reflect.TypeOf((*MockCloudServiceClient)(nil).UpdateApiKey), varargs...) } +// UpdateCustomRole mocks base method. +func (m *MockCloudServiceClient) UpdateCustomRole(ctx context.Context, in *cloudservice.UpdateCustomRoleRequest, opts ...grpc.CallOption) (*cloudservice.UpdateCustomRoleResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "UpdateCustomRole", varargs...) + ret0, _ := ret[0].(*cloudservice.UpdateCustomRoleResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// UpdateCustomRole indicates an expected call of UpdateCustomRole. +func (mr *MockCloudServiceClientMockRecorder) UpdateCustomRole(ctx, in interface{}, opts ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateCustomRole", reflect.TypeOf((*MockCloudServiceClient)(nil).UpdateCustomRole), varargs...) +} + // UpdateNamespace mocks base method. func (m *MockCloudServiceClient) UpdateNamespace(ctx context.Context, in *cloudservice.UpdateNamespaceRequest, opts ...grpc.CallOption) (*cloudservice.UpdateNamespaceResponse, error) { m.ctrl.T.Helper() @@ -1709,6 +1949,21 @@ func (mr *MockCloudServiceServerMockRecorder) CreateApiKey(arg0, arg1 interface{ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateApiKey", reflect.TypeOf((*MockCloudServiceServer)(nil).CreateApiKey), arg0, arg1) } +// CreateBillingReport mocks base method. +func (m *MockCloudServiceServer) CreateBillingReport(arg0 context.Context, arg1 *cloudservice.CreateBillingReportRequest) (*cloudservice.CreateBillingReportResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "CreateBillingReport", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.CreateBillingReportResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// CreateBillingReport indicates an expected call of CreateBillingReport. +func (mr *MockCloudServiceServerMockRecorder) CreateBillingReport(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBillingReport", reflect.TypeOf((*MockCloudServiceServer)(nil).CreateBillingReport), arg0, arg1) +} + // CreateConnectivityRule mocks base method. func (m *MockCloudServiceServer) CreateConnectivityRule(arg0 context.Context, arg1 *cloudservice.CreateConnectivityRuleRequest) (*cloudservice.CreateConnectivityRuleResponse, error) { m.ctrl.T.Helper() @@ -1724,6 +1979,21 @@ func (mr *MockCloudServiceServerMockRecorder) CreateConnectivityRule(arg0, arg1 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateConnectivityRule", reflect.TypeOf((*MockCloudServiceServer)(nil).CreateConnectivityRule), arg0, arg1) } +// CreateCustomRole mocks base method. +func (m *MockCloudServiceServer) CreateCustomRole(arg0 context.Context, arg1 *cloudservice.CreateCustomRoleRequest) (*cloudservice.CreateCustomRoleResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "CreateCustomRole", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.CreateCustomRoleResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// CreateCustomRole indicates an expected call of CreateCustomRole. +func (mr *MockCloudServiceServerMockRecorder) CreateCustomRole(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateCustomRole", reflect.TypeOf((*MockCloudServiceServer)(nil).CreateCustomRole), arg0, arg1) +} + // CreateNamespace mocks base method. func (m *MockCloudServiceServer) CreateNamespace(arg0 context.Context, arg1 *cloudservice.CreateNamespaceRequest) (*cloudservice.CreateNamespaceResponse, error) { m.ctrl.T.Helper() @@ -1874,6 +2144,21 @@ func (mr *MockCloudServiceServerMockRecorder) DeleteConnectivityRule(arg0, arg1 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteConnectivityRule", reflect.TypeOf((*MockCloudServiceServer)(nil).DeleteConnectivityRule), arg0, arg1) } +// DeleteCustomRole mocks base method. +func (m *MockCloudServiceServer) DeleteCustomRole(arg0 context.Context, arg1 *cloudservice.DeleteCustomRoleRequest) (*cloudservice.DeleteCustomRoleResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DeleteCustomRole", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.DeleteCustomRoleResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DeleteCustomRole indicates an expected call of DeleteCustomRole. +func (mr *MockCloudServiceServerMockRecorder) DeleteCustomRole(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCustomRole", reflect.TypeOf((*MockCloudServiceServer)(nil).DeleteCustomRole), arg0, arg1) +} + // DeleteNamespace mocks base method. func (m *MockCloudServiceServer) DeleteNamespace(arg0 context.Context, arg1 *cloudservice.DeleteNamespaceRequest) (*cloudservice.DeleteNamespaceResponse, error) { m.ctrl.T.Helper() @@ -2114,6 +2399,21 @@ func (mr *MockCloudServiceServerMockRecorder) GetAuditLogs(arg0, arg1 interface{ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAuditLogs", reflect.TypeOf((*MockCloudServiceServer)(nil).GetAuditLogs), arg0, arg1) } +// GetBillingReport mocks base method. +func (m *MockCloudServiceServer) GetBillingReport(arg0 context.Context, arg1 *cloudservice.GetBillingReportRequest) (*cloudservice.GetBillingReportResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetBillingReport", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.GetBillingReportResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetBillingReport indicates an expected call of GetBillingReport. +func (mr *MockCloudServiceServerMockRecorder) GetBillingReport(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBillingReport", reflect.TypeOf((*MockCloudServiceServer)(nil).GetBillingReport), arg0, arg1) +} + // GetConnectivityRule mocks base method. func (m *MockCloudServiceServer) GetConnectivityRule(arg0 context.Context, arg1 *cloudservice.GetConnectivityRuleRequest) (*cloudservice.GetConnectivityRuleResponse, error) { m.ctrl.T.Helper() @@ -2144,6 +2444,51 @@ func (mr *MockCloudServiceServerMockRecorder) GetConnectivityRules(arg0, arg1 in return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetConnectivityRules", reflect.TypeOf((*MockCloudServiceServer)(nil).GetConnectivityRules), arg0, arg1) } +// GetCurrentIdentity mocks base method. +func (m *MockCloudServiceServer) GetCurrentIdentity(arg0 context.Context, arg1 *cloudservice.GetCurrentIdentityRequest) (*cloudservice.GetCurrentIdentityResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetCurrentIdentity", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.GetCurrentIdentityResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetCurrentIdentity indicates an expected call of GetCurrentIdentity. +func (mr *MockCloudServiceServerMockRecorder) GetCurrentIdentity(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCurrentIdentity", reflect.TypeOf((*MockCloudServiceServer)(nil).GetCurrentIdentity), arg0, arg1) +} + +// GetCustomRole mocks base method. +func (m *MockCloudServiceServer) GetCustomRole(arg0 context.Context, arg1 *cloudservice.GetCustomRoleRequest) (*cloudservice.GetCustomRoleResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetCustomRole", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.GetCustomRoleResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetCustomRole indicates an expected call of GetCustomRole. +func (mr *MockCloudServiceServerMockRecorder) GetCustomRole(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCustomRole", reflect.TypeOf((*MockCloudServiceServer)(nil).GetCustomRole), arg0, arg1) +} + +// GetCustomRoles mocks base method. +func (m *MockCloudServiceServer) GetCustomRoles(arg0 context.Context, arg1 *cloudservice.GetCustomRolesRequest) (*cloudservice.GetCustomRolesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetCustomRoles", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.GetCustomRolesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetCustomRoles indicates an expected call of GetCustomRoles. +func (mr *MockCloudServiceServerMockRecorder) GetCustomRoles(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCustomRoles", reflect.TypeOf((*MockCloudServiceServer)(nil).GetCustomRoles), arg0, arg1) +} + // GetMigration mocks base method. func (m *MockCloudServiceServer) GetMigration(arg0 context.Context, arg1 *cloudservice.GetMigrationRequest) (*cloudservice.GetMigrationResponse, error) { m.ctrl.T.Helper() @@ -2189,6 +2534,21 @@ func (mr *MockCloudServiceServerMockRecorder) GetNamespace(arg0, arg1 interface{ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNamespace", reflect.TypeOf((*MockCloudServiceServer)(nil).GetNamespace), arg0, arg1) } +// GetNamespaceCapacityInfo mocks base method. +func (m *MockCloudServiceServer) GetNamespaceCapacityInfo(arg0 context.Context, arg1 *cloudservice.GetNamespaceCapacityInfoRequest) (*cloudservice.GetNamespaceCapacityInfoResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetNamespaceCapacityInfo", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.GetNamespaceCapacityInfoResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetNamespaceCapacityInfo indicates an expected call of GetNamespaceCapacityInfo. +func (mr *MockCloudServiceServerMockRecorder) GetNamespaceCapacityInfo(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNamespaceCapacityInfo", reflect.TypeOf((*MockCloudServiceServer)(nil).GetNamespaceCapacityInfo), arg0, arg1) +} + // GetNamespaceExportSink mocks base method. func (m *MockCloudServiceServer) GetNamespaceExportSink(arg0 context.Context, arg1 *cloudservice.GetNamespaceExportSinkRequest) (*cloudservice.GetNamespaceExportSinkResponse, error) { m.ctrl.T.Helper() @@ -2549,6 +2909,21 @@ func (mr *MockCloudServiceServerMockRecorder) SetServiceAccountNamespaceAccess(a return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetServiceAccountNamespaceAccess", reflect.TypeOf((*MockCloudServiceServer)(nil).SetServiceAccountNamespaceAccess), arg0, arg1) } +// SetServiceAccountProjectAccess mocks base method. +func (m *MockCloudServiceServer) SetServiceAccountProjectAccess(arg0 context.Context, arg1 *cloudservice.SetServiceAccountProjectAccessRequest) (*cloudservice.SetServiceAccountProjectAccessResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SetServiceAccountProjectAccess", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.SetServiceAccountProjectAccessResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// SetServiceAccountProjectAccess indicates an expected call of SetServiceAccountProjectAccess. +func (mr *MockCloudServiceServerMockRecorder) SetServiceAccountProjectAccess(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetServiceAccountProjectAccess", reflect.TypeOf((*MockCloudServiceServer)(nil).SetServiceAccountProjectAccess), arg0, arg1) +} + // SetUserGroupNamespaceAccess mocks base method. func (m *MockCloudServiceServer) SetUserGroupNamespaceAccess(arg0 context.Context, arg1 *cloudservice.SetUserGroupNamespaceAccessRequest) (*cloudservice.SetUserGroupNamespaceAccessResponse, error) { m.ctrl.T.Helper() @@ -2564,6 +2939,21 @@ func (mr *MockCloudServiceServerMockRecorder) SetUserGroupNamespaceAccess(arg0, return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUserGroupNamespaceAccess", reflect.TypeOf((*MockCloudServiceServer)(nil).SetUserGroupNamespaceAccess), arg0, arg1) } +// SetUserGroupProjectAccess mocks base method. +func (m *MockCloudServiceServer) SetUserGroupProjectAccess(arg0 context.Context, arg1 *cloudservice.SetUserGroupProjectAccessRequest) (*cloudservice.SetUserGroupProjectAccessResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SetUserGroupProjectAccess", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.SetUserGroupProjectAccessResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// SetUserGroupProjectAccess indicates an expected call of SetUserGroupProjectAccess. +func (mr *MockCloudServiceServerMockRecorder) SetUserGroupProjectAccess(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUserGroupProjectAccess", reflect.TypeOf((*MockCloudServiceServer)(nil).SetUserGroupProjectAccess), arg0, arg1) +} + // SetUserNamespaceAccess mocks base method. func (m *MockCloudServiceServer) SetUserNamespaceAccess(arg0 context.Context, arg1 *cloudservice.SetUserNamespaceAccessRequest) (*cloudservice.SetUserNamespaceAccessResponse, error) { m.ctrl.T.Helper() @@ -2579,6 +2969,21 @@ func (mr *MockCloudServiceServerMockRecorder) SetUserNamespaceAccess(arg0, arg1 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUserNamespaceAccess", reflect.TypeOf((*MockCloudServiceServer)(nil).SetUserNamespaceAccess), arg0, arg1) } +// SetUserProjectAccess mocks base method. +func (m *MockCloudServiceServer) SetUserProjectAccess(arg0 context.Context, arg1 *cloudservice.SetUserProjectAccessRequest) (*cloudservice.SetUserProjectAccessResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SetUserProjectAccess", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.SetUserProjectAccessResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// SetUserProjectAccess indicates an expected call of SetUserProjectAccess. +func (mr *MockCloudServiceServerMockRecorder) SetUserProjectAccess(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUserProjectAccess", reflect.TypeOf((*MockCloudServiceServer)(nil).SetUserProjectAccess), arg0, arg1) +} + // StartMigration mocks base method. func (m *MockCloudServiceServer) StartMigration(arg0 context.Context, arg1 *cloudservice.StartMigrationRequest) (*cloudservice.StartMigrationResponse, error) { m.ctrl.T.Helper() @@ -2639,6 +3044,21 @@ func (mr *MockCloudServiceServerMockRecorder) UpdateApiKey(arg0, arg1 interface{ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateApiKey", reflect.TypeOf((*MockCloudServiceServer)(nil).UpdateApiKey), arg0, arg1) } +// UpdateCustomRole mocks base method. +func (m *MockCloudServiceServer) UpdateCustomRole(arg0 context.Context, arg1 *cloudservice.UpdateCustomRoleRequest) (*cloudservice.UpdateCustomRoleResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "UpdateCustomRole", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.UpdateCustomRoleResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// UpdateCustomRole indicates an expected call of UpdateCustomRole. +func (mr *MockCloudServiceServerMockRecorder) UpdateCustomRole(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateCustomRole", reflect.TypeOf((*MockCloudServiceServer)(nil).UpdateCustomRole), arg0, arg1) +} + // UpdateNamespace mocks base method. func (m *MockCloudServiceServer) UpdateNamespace(arg0 context.Context, arg1 *cloudservice.UpdateNamespaceRequest) (*cloudservice.UpdateNamespaceResponse, error) { m.ctrl.T.Helper() @@ -2788,3 +3208,50 @@ func (mr *MockCloudServiceServerMockRecorder) ValidateNamespaceExportSink(arg0, mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidateNamespaceExportSink", reflect.TypeOf((*MockCloudServiceServer)(nil).ValidateNamespaceExportSink), arg0, arg1) } + +// mustEmbedUnimplementedCloudServiceServer mocks base method. +func (m *MockCloudServiceServer) mustEmbedUnimplementedCloudServiceServer() { + m.ctrl.T.Helper() + m.ctrl.Call(m, "mustEmbedUnimplementedCloudServiceServer") +} + +// mustEmbedUnimplementedCloudServiceServer indicates an expected call of mustEmbedUnimplementedCloudServiceServer. +func (mr *MockCloudServiceServerMockRecorder) mustEmbedUnimplementedCloudServiceServer() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "mustEmbedUnimplementedCloudServiceServer", reflect.TypeOf((*MockCloudServiceServer)(nil).mustEmbedUnimplementedCloudServiceServer)) +} + +// MockUnsafeCloudServiceServer is a mock of UnsafeCloudServiceServer interface. +type MockUnsafeCloudServiceServer struct { + ctrl *gomock.Controller + recorder *MockUnsafeCloudServiceServerMockRecorder +} + +// MockUnsafeCloudServiceServerMockRecorder is the mock recorder for MockUnsafeCloudServiceServer. +type MockUnsafeCloudServiceServerMockRecorder struct { + mock *MockUnsafeCloudServiceServer +} + +// NewMockUnsafeCloudServiceServer creates a new mock instance. +func NewMockUnsafeCloudServiceServer(ctrl *gomock.Controller) *MockUnsafeCloudServiceServer { + mock := &MockUnsafeCloudServiceServer{ctrl: ctrl} + mock.recorder = &MockUnsafeCloudServiceServerMockRecorder{mock} + return mock +} + +// EXPECT returns an object that allows the caller to indicate expected use. +func (m *MockUnsafeCloudServiceServer) EXPECT() *MockUnsafeCloudServiceServerMockRecorder { + return m.recorder +} + +// mustEmbedUnimplementedCloudServiceServer mocks base method. +func (m *MockUnsafeCloudServiceServer) mustEmbedUnimplementedCloudServiceServer() { + m.ctrl.T.Helper() + m.ctrl.Call(m, "mustEmbedUnimplementedCloudServiceServer") +} + +// mustEmbedUnimplementedCloudServiceServer indicates an expected call of mustEmbedUnimplementedCloudServiceServer. +func (mr *MockUnsafeCloudServiceServerMockRecorder) mustEmbedUnimplementedCloudServiceServer() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "mustEmbedUnimplementedCloudServiceServer", reflect.TypeOf((*MockUnsafeCloudServiceServer)(nil).mustEmbedUnimplementedCloudServiceServer)) +} diff --git a/protogen/apimock/namespaceservice/v1/service.pb.mock.go b/protogen/apimock/namespaceservice/v1/service.pb.mock.go index 99102eae..eb0a6cc9 100644 --- a/protogen/apimock/namespaceservice/v1/service.pb.mock.go +++ b/protogen/apimock/namespaceservice/v1/service.pb.mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: api/namespaceservice/v1/service.pb.go +// Source: protogen/api/namespaceservice/v1/service_grpc.pb.go // Package apimock is a generated GoMock package. package apimock @@ -478,3 +478,50 @@ func (mr *MockNamespaceServiceServerMockRecorder) ValidateGlobalizeNamespace(arg mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidateGlobalizeNamespace", reflect.TypeOf((*MockNamespaceServiceServer)(nil).ValidateGlobalizeNamespace), arg0, arg1) } + +// mustEmbedUnimplementedNamespaceServiceServer mocks base method. +func (m *MockNamespaceServiceServer) mustEmbedUnimplementedNamespaceServiceServer() { + m.ctrl.T.Helper() + m.ctrl.Call(m, "mustEmbedUnimplementedNamespaceServiceServer") +} + +// mustEmbedUnimplementedNamespaceServiceServer indicates an expected call of mustEmbedUnimplementedNamespaceServiceServer. +func (mr *MockNamespaceServiceServerMockRecorder) mustEmbedUnimplementedNamespaceServiceServer() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "mustEmbedUnimplementedNamespaceServiceServer", reflect.TypeOf((*MockNamespaceServiceServer)(nil).mustEmbedUnimplementedNamespaceServiceServer)) +} + +// MockUnsafeNamespaceServiceServer is a mock of UnsafeNamespaceServiceServer interface. +type MockUnsafeNamespaceServiceServer struct { + ctrl *gomock.Controller + recorder *MockUnsafeNamespaceServiceServerMockRecorder +} + +// MockUnsafeNamespaceServiceServerMockRecorder is the mock recorder for MockUnsafeNamespaceServiceServer. +type MockUnsafeNamespaceServiceServerMockRecorder struct { + mock *MockUnsafeNamespaceServiceServer +} + +// NewMockUnsafeNamespaceServiceServer creates a new mock instance. +func NewMockUnsafeNamespaceServiceServer(ctrl *gomock.Controller) *MockUnsafeNamespaceServiceServer { + mock := &MockUnsafeNamespaceServiceServer{ctrl: ctrl} + mock.recorder = &MockUnsafeNamespaceServiceServerMockRecorder{mock} + return mock +} + +// EXPECT returns an object that allows the caller to indicate expected use. +func (m *MockUnsafeNamespaceServiceServer) EXPECT() *MockUnsafeNamespaceServiceServerMockRecorder { + return m.recorder +} + +// mustEmbedUnimplementedNamespaceServiceServer mocks base method. +func (m *MockUnsafeNamespaceServiceServer) mustEmbedUnimplementedNamespaceServiceServer() { + m.ctrl.T.Helper() + m.ctrl.Call(m, "mustEmbedUnimplementedNamespaceServiceServer") +} + +// mustEmbedUnimplementedNamespaceServiceServer indicates an expected call of mustEmbedUnimplementedNamespaceServiceServer. +func (mr *MockUnsafeNamespaceServiceServerMockRecorder) mustEmbedUnimplementedNamespaceServiceServer() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "mustEmbedUnimplementedNamespaceServiceServer", reflect.TypeOf((*MockUnsafeNamespaceServiceServer)(nil).mustEmbedUnimplementedNamespaceServiceServer)) +} diff --git a/protogen/apimock/requestservice/v1/service.pb.mock.go b/protogen/apimock/requestservice/v1/service.pb.mock.go index 4b49a606..3f3ac72e 100644 --- a/protogen/apimock/requestservice/v1/service.pb.mock.go +++ b/protogen/apimock/requestservice/v1/service.pb.mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: api/requestservice/v1/service.pb.go +// Source: protogen/api/requestservice/v1/service_grpc.pb.go // Package apimock is a generated GoMock package. package apimock @@ -93,3 +93,50 @@ func (mr *MockRequestServiceServerMockRecorder) GetRequestStatus(arg0, arg1 inte mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRequestStatus", reflect.TypeOf((*MockRequestServiceServer)(nil).GetRequestStatus), arg0, arg1) } + +// mustEmbedUnimplementedRequestServiceServer mocks base method. +func (m *MockRequestServiceServer) mustEmbedUnimplementedRequestServiceServer() { + m.ctrl.T.Helper() + m.ctrl.Call(m, "mustEmbedUnimplementedRequestServiceServer") +} + +// mustEmbedUnimplementedRequestServiceServer indicates an expected call of mustEmbedUnimplementedRequestServiceServer. +func (mr *MockRequestServiceServerMockRecorder) mustEmbedUnimplementedRequestServiceServer() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "mustEmbedUnimplementedRequestServiceServer", reflect.TypeOf((*MockRequestServiceServer)(nil).mustEmbedUnimplementedRequestServiceServer)) +} + +// MockUnsafeRequestServiceServer is a mock of UnsafeRequestServiceServer interface. +type MockUnsafeRequestServiceServer struct { + ctrl *gomock.Controller + recorder *MockUnsafeRequestServiceServerMockRecorder +} + +// MockUnsafeRequestServiceServerMockRecorder is the mock recorder for MockUnsafeRequestServiceServer. +type MockUnsafeRequestServiceServerMockRecorder struct { + mock *MockUnsafeRequestServiceServer +} + +// NewMockUnsafeRequestServiceServer creates a new mock instance. +func NewMockUnsafeRequestServiceServer(ctrl *gomock.Controller) *MockUnsafeRequestServiceServer { + mock := &MockUnsafeRequestServiceServer{ctrl: ctrl} + mock.recorder = &MockUnsafeRequestServiceServerMockRecorder{mock} + return mock +} + +// EXPECT returns an object that allows the caller to indicate expected use. +func (m *MockUnsafeRequestServiceServer) EXPECT() *MockUnsafeRequestServiceServerMockRecorder { + return m.recorder +} + +// mustEmbedUnimplementedRequestServiceServer mocks base method. +func (m *MockUnsafeRequestServiceServer) mustEmbedUnimplementedRequestServiceServer() { + m.ctrl.T.Helper() + m.ctrl.Call(m, "mustEmbedUnimplementedRequestServiceServer") +} + +// mustEmbedUnimplementedRequestServiceServer indicates an expected call of mustEmbedUnimplementedRequestServiceServer. +func (mr *MockUnsafeRequestServiceServerMockRecorder) mustEmbedUnimplementedRequestServiceServer() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "mustEmbedUnimplementedRequestServiceServer", reflect.TypeOf((*MockUnsafeRequestServiceServer)(nil).mustEmbedUnimplementedRequestServiceServer)) +} From 6d0e64ceaba251452e7401f3550533f2cbebc579 Mon Sep 17 00:00:00 2001 From: Chandler Ortman Date: Fri, 6 Feb 2026 12:41:34 -0800 Subject: [PATCH 2/5] deleted+removed blank import, go mod tidy --- go.mod | 1 - go.sum | 2 - .../api/cloud/cloudservice/v1/service.pb.go | 1 - .../cloud/cloudservice/v1/service_authz.pb.go | 744 ------------------ 4 files changed, 748 deletions(-) delete mode 100644 protogen/api/cloud/cloudservice/v1/service_authz.pb.go diff --git a/go.mod b/go.mod index 8bcd30f6..dea69659 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,6 @@ require ( github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.1.0 github.com/kylelemons/godebug v1.1.0 github.com/stretchr/testify v1.11.1 - github.com/temporalio/saas-proto v0.756.0 github.com/urfave/cli/v2 v2.25.7 go.temporal.io/api v1.62.0 go.uber.org/fx v1.20.1 diff --git a/go.sum b/go.sum index 3b4b6efa..c7bb0e28 100644 --- a/go.sum +++ b/go.sum @@ -49,8 +49,6 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= -github.com/temporalio/saas-proto v0.756.0 h1:4YD3v4vxe1uvp6gsEFQxYsAju3unwjkMtTaWI7JEbJ8= -github.com/temporalio/saas-proto v0.756.0/go.mod h1:nkjMDSgYA9etaE3RQ2rOwhwpMAtL8f8fa3FeKX9kH0M= github.com/urfave/cli/v2 v2.25.7 h1:VAzn5oq403l5pHjc4OhD54+XGO9cdKVL/7lDjF+iKUs= github.com/urfave/cli/v2 v2.25.7/go.mod h1:8qnjx1vcq5s2/wpsqoZFndg2CE5tNFyrTvS6SinrnYQ= github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 h1:bAn7/zixMGCfxrRTfdpNzjtPYqr8smhKouy9mxVdGPU= diff --git a/protogen/api/cloud/cloudservice/v1/service.pb.go b/protogen/api/cloud/cloudservice/v1/service.pb.go index c4ffc9d9..58a5b8ba 100644 --- a/protogen/api/cloud/cloudservice/v1/service.pb.go +++ b/protogen/api/cloud/cloudservice/v1/service.pb.go @@ -8,7 +8,6 @@ package cloudservice import ( proto "github.com/golang/protobuf/proto" - _ "github.com/temporalio/saas-proto/protogen/temporal/authz/v1" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" diff --git a/protogen/api/cloud/cloudservice/v1/service_authz.pb.go b/protogen/api/cloud/cloudservice/v1/service_authz.pb.go deleted file mode 100644 index ffc69309..00000000 --- a/protogen/api/cloud/cloudservice/v1/service_authz.pb.go +++ /dev/null @@ -1,744 +0,0 @@ -// Code generated by protoc-gen-go-codegen. DO NOT EDIT. - -package cloudservice - -import ( - authz "github.com/temporalio/saas-proto/authz" - runtime "github.com/temporalio/saas-proto/authz/runtime" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" -) - -// _CloudService_SetUserNamespaceAccess_ExtractResourceID extracts resource IDs from SetUserNamespaceAccessRequest using generated code. -func _CloudService_SetUserNamespaceAccess_ExtractResourceID(req *SetUserNamespaceAccessRequest, template string) (string, error) { - switch template { - case "namespace": - return req.Namespace, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_GetAsyncOperation_ExtractResourceID extracts resource IDs from GetAsyncOperationRequest using generated code. -func _CloudService_GetAsyncOperation_ExtractResourceID(req *GetAsyncOperationRequest, template string) (string, error) { - switch template { - case "": - return "", nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_CreateNamespace_ExtractResourceID extracts resource IDs from CreateNamespaceRequest using generated code. -func _CloudService_CreateNamespace_ExtractResourceID(req *CreateNamespaceRequest, template string) (string, error) { - switch template { - case "project_id": - return req.ProjectId, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_GetNamespace_ExtractResourceID extracts resource IDs from GetNamespaceRequest using generated code. -func _CloudService_GetNamespace_ExtractResourceID(req *GetNamespaceRequest, template string) (string, error) { - switch template { - case "namespace": - return req.Namespace, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_UpdateNamespace_ExtractResourceID extracts resource IDs from UpdateNamespaceRequest using generated code. -func _CloudService_UpdateNamespace_ExtractResourceID(req *UpdateNamespaceRequest, template string) (string, error) { - switch template { - case "namespace": - return req.Namespace, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_RenameCustomSearchAttribute_ExtractResourceID extracts resource IDs from RenameCustomSearchAttributeRequest using generated code. -func _CloudService_RenameCustomSearchAttribute_ExtractResourceID(req *RenameCustomSearchAttributeRequest, template string) (string, error) { - switch template { - case "namespace": - return req.Namespace, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_DeleteNamespace_ExtractResourceID extracts resource IDs from DeleteNamespaceRequest using generated code. -func _CloudService_DeleteNamespace_ExtractResourceID(req *DeleteNamespaceRequest, template string) (string, error) { - switch template { - case "namespace": - return req.Namespace, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_FailoverNamespaceRegion_ExtractResourceID extracts resource IDs from FailoverNamespaceRegionRequest using generated code. -func _CloudService_FailoverNamespaceRegion_ExtractResourceID(req *FailoverNamespaceRegionRequest, template string) (string, error) { - switch template { - case "namespace": - return req.Namespace, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_AddNamespaceRegion_ExtractResourceID extracts resource IDs from AddNamespaceRegionRequest using generated code. -func _CloudService_AddNamespaceRegion_ExtractResourceID(req *AddNamespaceRegionRequest, template string) (string, error) { - switch template { - case "namespace": - return req.Namespace, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_DeleteNamespaceRegion_ExtractResourceID extracts resource IDs from DeleteNamespaceRegionRequest using generated code. -func _CloudService_DeleteNamespaceRegion_ExtractResourceID(req *DeleteNamespaceRegionRequest, template string) (string, error) { - switch template { - case "namespace": - return req.Namespace, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_GetNexusEndpoint_ExtractResourceID extracts resource IDs from GetNexusEndpointRequest using generated code. -func _CloudService_GetNexusEndpoint_ExtractResourceID(req *GetNexusEndpointRequest, template string) (string, error) { - switch template { - case "endpoint_id": - return req.EndpointId, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_CreateNexusEndpoint_ExtractResourceID extracts resource IDs from CreateNexusEndpointRequest using generated code. -func _CloudService_CreateNexusEndpoint_ExtractResourceID(req *CreateNexusEndpointRequest, template string) (string, error) { - switch template { - case "project_id": - return req.ProjectId, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_UpdateNexusEndpoint_ExtractResourceID extracts resource IDs from UpdateNexusEndpointRequest using generated code. -func _CloudService_UpdateNexusEndpoint_ExtractResourceID(req *UpdateNexusEndpointRequest, template string) (string, error) { - switch template { - case "endpoint_id": - return req.EndpointId, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_DeleteNexusEndpoint_ExtractResourceID extracts resource IDs from DeleteNexusEndpointRequest using generated code. -func _CloudService_DeleteNexusEndpoint_ExtractResourceID(req *DeleteNexusEndpointRequest, template string) (string, error) { - switch template { - case "endpoint_id": - return req.EndpointId, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_SetUserGroupNamespaceAccess_ExtractResourceID extracts resource IDs from SetUserGroupNamespaceAccessRequest using generated code. -func _CloudService_SetUserGroupNamespaceAccess_ExtractResourceID(req *SetUserGroupNamespaceAccessRequest, template string) (string, error) { - switch template { - case "namespace": - return req.Namespace, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_CreateServiceAccount_ExtractResourceID extracts resource IDs from CreateServiceAccountRequest using generated code. -func _CloudService_CreateServiceAccount_ExtractResourceID(req *CreateServiceAccountRequest, template string) (string, error) { - switch template { - case "": - return "", nil - case "spec.namespace_scoped_access.namespace": - if req.Spec == nil { - return "", nil - } - if req.Spec.NamespaceScopedAccess == nil { - return "", nil - } - return req.Spec.NamespaceScopedAccess.Namespace, nil - case "spec.project_scoped_access.project_id": - if req.Spec == nil { - return "", nil - } - if req.Spec.ProjectScopedAccess == nil { - return "", nil - } - return req.Spec.ProjectScopedAccess.ProjectId, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_SetServiceAccountNamespaceAccess_ExtractResourceID extracts resource IDs from SetServiceAccountNamespaceAccessRequest using generated code. -func _CloudService_SetServiceAccountNamespaceAccess_ExtractResourceID(req *SetServiceAccountNamespaceAccessRequest, template string) (string, error) { - switch template { - case "namespace": - return req.Namespace, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_CreateNamespaceExportSink_ExtractResourceID extracts resource IDs from CreateNamespaceExportSinkRequest using generated code. -func _CloudService_CreateNamespaceExportSink_ExtractResourceID(req *CreateNamespaceExportSinkRequest, template string) (string, error) { - switch template { - case "namespace": - return req.Namespace, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_GetNamespaceExportSink_ExtractResourceID extracts resource IDs from GetNamespaceExportSinkRequest using generated code. -func _CloudService_GetNamespaceExportSink_ExtractResourceID(req *GetNamespaceExportSinkRequest, template string) (string, error) { - switch template { - case "namespace": - return req.Namespace, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_GetNamespaceExportSinks_ExtractResourceID extracts resource IDs from GetNamespaceExportSinksRequest using generated code. -func _CloudService_GetNamespaceExportSinks_ExtractResourceID(req *GetNamespaceExportSinksRequest, template string) (string, error) { - switch template { - case "namespace": - return req.Namespace, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_UpdateNamespaceExportSink_ExtractResourceID extracts resource IDs from UpdateNamespaceExportSinkRequest using generated code. -func _CloudService_UpdateNamespaceExportSink_ExtractResourceID(req *UpdateNamespaceExportSinkRequest, template string) (string, error) { - switch template { - case "namespace": - return req.Namespace, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_DeleteNamespaceExportSink_ExtractResourceID extracts resource IDs from DeleteNamespaceExportSinkRequest using generated code. -func _CloudService_DeleteNamespaceExportSink_ExtractResourceID(req *DeleteNamespaceExportSinkRequest, template string) (string, error) { - switch template { - case "namespace": - return req.Namespace, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_ValidateNamespaceExportSink_ExtractResourceID extracts resource IDs from ValidateNamespaceExportSinkRequest using generated code. -func _CloudService_ValidateNamespaceExportSink_ExtractResourceID(req *ValidateNamespaceExportSinkRequest, template string) (string, error) { - switch template { - case "namespace": - return req.Namespace, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_CreateConnectivityRule_ExtractResourceID extracts resource IDs from CreateConnectivityRuleRequest using generated code. -func _CloudService_CreateConnectivityRule_ExtractResourceID(req *CreateConnectivityRuleRequest, template string) (string, error) { - switch template { - case "project_id": - return req.ProjectId, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_GetConnectivityRule_ExtractResourceID extracts resource IDs from GetConnectivityRuleRequest using generated code. -func _CloudService_GetConnectivityRule_ExtractResourceID(req *GetConnectivityRuleRequest, template string) (string, error) { - switch template { - case "connectivity_rule_id": - return req.ConnectivityRuleId, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_DeleteConnectivityRule_ExtractResourceID extracts resource IDs from DeleteConnectivityRuleRequest using generated code. -func _CloudService_DeleteConnectivityRule_ExtractResourceID(req *DeleteConnectivityRuleRequest, template string) (string, error) { - switch template { - case "connectivity_rule_id": - return req.ConnectivityRuleId, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_GetProject_ExtractResourceID extracts resource IDs from GetProjectRequest using generated code. -func _CloudService_GetProject_ExtractResourceID(req *GetProjectRequest, template string) (string, error) { - switch template { - case "project_id": - return req.ProjectId, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_UpdateProject_ExtractResourceID extracts resource IDs from UpdateProjectRequest using generated code. -func _CloudService_UpdateProject_ExtractResourceID(req *UpdateProjectRequest, template string) (string, error) { - switch template { - case "project_id": - return req.ProjectId, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_DeleteProject_ExtractResourceID extracts resource IDs from DeleteProjectRequest using generated code. -func _CloudService_DeleteProject_ExtractResourceID(req *DeleteProjectRequest, template string) (string, error) { - switch template { - case "project_id": - return req.ProjectId, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_SetUserProjectAccess_ExtractResourceID extracts resource IDs from SetUserProjectAccessRequest using generated code. -func _CloudService_SetUserProjectAccess_ExtractResourceID(req *SetUserProjectAccessRequest, template string) (string, error) { - switch template { - case "project_id": - return req.ProjectId, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_SetUserGroupProjectAccess_ExtractResourceID extracts resource IDs from SetUserGroupProjectAccessRequest using generated code. -func _CloudService_SetUserGroupProjectAccess_ExtractResourceID(req *SetUserGroupProjectAccessRequest, template string) (string, error) { - switch template { - case "project_id": - return req.ProjectId, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_SetServiceAccountProjectAccess_ExtractResourceID extracts resource IDs from SetServiceAccountProjectAccessRequest using generated code. -func _CloudService_SetServiceAccountProjectAccess_ExtractResourceID(req *SetServiceAccountProjectAccessRequest, template string) (string, error) { - switch template { - case "project_id": - return req.ProjectId, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_UpdateNamespaceTags_ExtractResourceID extracts resource IDs from UpdateNamespaceTagsRequest using generated code. -func _CloudService_UpdateNamespaceTags_ExtractResourceID(req *UpdateNamespaceTagsRequest, template string) (string, error) { - switch template { - case "namespace": - return req.Namespace, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_GetCustomRole_ExtractResourceID extracts resource IDs from GetCustomRoleRequest using generated code. -func _CloudService_GetCustomRole_ExtractResourceID(req *GetCustomRoleRequest, template string) (string, error) { - switch template { - case "role_id": - return req.RoleId, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_UpdateCustomRole_ExtractResourceID extracts resource IDs from UpdateCustomRoleRequest using generated code. -func _CloudService_UpdateCustomRole_ExtractResourceID(req *UpdateCustomRoleRequest, template string) (string, error) { - switch template { - case "role_id": - return req.RoleId, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_DeleteCustomRole_ExtractResourceID extracts resource IDs from DeleteCustomRoleRequest using generated code. -func _CloudService_DeleteCustomRole_ExtractResourceID(req *DeleteCustomRoleRequest, template string) (string, error) { - switch template { - case "role_id": - return req.RoleId, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -// _CloudService_GetNamespaceCapacityInfo_ExtractResourceID extracts resource IDs from GetNamespaceCapacityInfoRequest using generated code. -func _CloudService_GetNamespaceCapacityInfo_ExtractResourceID(req *GetNamespaceCapacityInfoRequest, template string) (string, error) { - switch template { - case "namespace": - return req.Namespace, nil - default: - return "", status.Errorf(codes.Internal, "unknown template: %s", template) - } -} - -func RegisterCloudServiceAuthzInfo(r authz.ServiceRegistrar) { - r.RegisterAuthzInfoService(CloudServiceAuthzInfoDesc) -} - -func getServiceDesc_CloudService() protoreflect.ServiceDescriptor { - return File_temporal_api_cloud_cloudservice_v1_service_proto.Services().ByName("CloudService") -} - -var CloudServiceAuthzInfoDesc = authz.AuthzInfoServiceDesc{ - ServiceName: "temporal.api.cloud.cloudservice.v1.CloudService", - Methods: []authz.MethodAuthzDesc{ - { - MethodName: "SetUserNamespaceAccess", - Handler: runtime.MakeAuthzHandler[*SetUserNamespaceAccessRequest]( - getServiceDesc_CloudService, - "SetUserNamespaceAccess", - "saas-api:SetUserNamespaceAccess", - _CloudService_SetUserNamespaceAccess_ExtractResourceID, - ), - }, - { - MethodName: "GetAsyncOperation", - Handler: runtime.MakeAuthzHandler[*GetAsyncOperationRequest]( - getServiceDesc_CloudService, - "GetAsyncOperation", - "saas-api:GetAsyncOperation", - _CloudService_GetAsyncOperation_ExtractResourceID, - ), - }, - { - MethodName: "CreateNamespace", - Handler: runtime.MakeAuthzHandler[*CreateNamespaceRequest]( - getServiceDesc_CloudService, - "CreateNamespace", - "saas-api:CreateNamespace", - _CloudService_CreateNamespace_ExtractResourceID, - ), - }, - { - MethodName: "GetNamespace", - Handler: runtime.MakeAuthzHandler[*GetNamespaceRequest]( - getServiceDesc_CloudService, - "GetNamespace", - "saas-api:GetNamespace", - _CloudService_GetNamespace_ExtractResourceID, - ), - }, - { - MethodName: "UpdateNamespace", - Handler: runtime.MakeAuthzHandler[*UpdateNamespaceRequest]( - getServiceDesc_CloudService, - "UpdateNamespace", - "saas-api:UpdateNamespace", - _CloudService_UpdateNamespace_ExtractResourceID, - ), - }, - { - MethodName: "RenameCustomSearchAttribute", - Handler: runtime.MakeAuthzHandler[*RenameCustomSearchAttributeRequest]( - getServiceDesc_CloudService, - "RenameCustomSearchAttribute", - "saas-api:RenameCustomSearchAttribute", - _CloudService_RenameCustomSearchAttribute_ExtractResourceID, - ), - }, - { - MethodName: "DeleteNamespace", - Handler: runtime.MakeAuthzHandler[*DeleteNamespaceRequest]( - getServiceDesc_CloudService, - "DeleteNamespace", - "saas-api:DeleteNamespace", - _CloudService_DeleteNamespace_ExtractResourceID, - ), - }, - { - MethodName: "FailoverNamespaceRegion", - Handler: runtime.MakeAuthzHandler[*FailoverNamespaceRegionRequest]( - getServiceDesc_CloudService, - "FailoverNamespaceRegion", - "saas-api:FailoverNamespaceRegion", - _CloudService_FailoverNamespaceRegion_ExtractResourceID, - ), - }, - { - MethodName: "AddNamespaceRegion", - Handler: runtime.MakeAuthzHandler[*AddNamespaceRegionRequest]( - getServiceDesc_CloudService, - "AddNamespaceRegion", - "saas-api:AddNamespaceRegion", - _CloudService_AddNamespaceRegion_ExtractResourceID, - ), - }, - { - MethodName: "DeleteNamespaceRegion", - Handler: runtime.MakeAuthzHandler[*DeleteNamespaceRegionRequest]( - getServiceDesc_CloudService, - "DeleteNamespaceRegion", - "saas-api:DeleteNamespaceRegion", - _CloudService_DeleteNamespaceRegion_ExtractResourceID, - ), - }, - { - MethodName: "GetNexusEndpoint", - Handler: runtime.MakeAuthzHandler[*GetNexusEndpointRequest]( - getServiceDesc_CloudService, - "GetNexusEndpoint", - "saas-api:GetNexusEndpoint", - _CloudService_GetNexusEndpoint_ExtractResourceID, - ), - }, - { - MethodName: "CreateNexusEndpoint", - Handler: runtime.MakeAuthzHandler[*CreateNexusEndpointRequest]( - getServiceDesc_CloudService, - "CreateNexusEndpoint", - "saas-api:CreateNexusEndpoint", - _CloudService_CreateNexusEndpoint_ExtractResourceID, - ), - }, - { - MethodName: "UpdateNexusEndpoint", - Handler: runtime.MakeAuthzHandler[*UpdateNexusEndpointRequest]( - getServiceDesc_CloudService, - "UpdateNexusEndpoint", - "saas-api:UpdateNexusEndpoint", - _CloudService_UpdateNexusEndpoint_ExtractResourceID, - ), - }, - { - MethodName: "DeleteNexusEndpoint", - Handler: runtime.MakeAuthzHandler[*DeleteNexusEndpointRequest]( - getServiceDesc_CloudService, - "DeleteNexusEndpoint", - "saas-api:DeleteNexusEndpoint", - _CloudService_DeleteNexusEndpoint_ExtractResourceID, - ), - }, - { - MethodName: "SetUserGroupNamespaceAccess", - Handler: runtime.MakeAuthzHandler[*SetUserGroupNamespaceAccessRequest]( - getServiceDesc_CloudService, - "SetUserGroupNamespaceAccess", - "saas-api:SetUserGroupNamespaceAccess", - _CloudService_SetUserGroupNamespaceAccess_ExtractResourceID, - ), - }, - { - MethodName: "CreateServiceAccount", - Handler: runtime.MakeAuthzHandler[*CreateServiceAccountRequest]( - getServiceDesc_CloudService, - "CreateServiceAccount", - "saas-api:CreateServiceAccount", - _CloudService_CreateServiceAccount_ExtractResourceID, - ), - }, - { - MethodName: "SetServiceAccountNamespaceAccess", - Handler: runtime.MakeAuthzHandler[*SetServiceAccountNamespaceAccessRequest]( - getServiceDesc_CloudService, - "SetServiceAccountNamespaceAccess", - "saas-api:SetServiceAccountNamespaceAccess", - _CloudService_SetServiceAccountNamespaceAccess_ExtractResourceID, - ), - }, - { - MethodName: "CreateNamespaceExportSink", - Handler: runtime.MakeAuthzHandler[*CreateNamespaceExportSinkRequest]( - getServiceDesc_CloudService, - "CreateNamespaceExportSink", - "saas-api:CreateNamespaceExportSink", - _CloudService_CreateNamespaceExportSink_ExtractResourceID, - ), - }, - { - MethodName: "GetNamespaceExportSink", - Handler: runtime.MakeAuthzHandler[*GetNamespaceExportSinkRequest]( - getServiceDesc_CloudService, - "GetNamespaceExportSink", - "saas-api:GetNamespaceExportSink", - _CloudService_GetNamespaceExportSink_ExtractResourceID, - ), - }, - { - MethodName: "GetNamespaceExportSinks", - Handler: runtime.MakeAuthzHandler[*GetNamespaceExportSinksRequest]( - getServiceDesc_CloudService, - "GetNamespaceExportSinks", - "saas-api:GetNamespaceExportSinks", - _CloudService_GetNamespaceExportSinks_ExtractResourceID, - ), - }, - { - MethodName: "UpdateNamespaceExportSink", - Handler: runtime.MakeAuthzHandler[*UpdateNamespaceExportSinkRequest]( - getServiceDesc_CloudService, - "UpdateNamespaceExportSink", - "saas-api:UpdateNamespaceExportSink", - _CloudService_UpdateNamespaceExportSink_ExtractResourceID, - ), - }, - { - MethodName: "DeleteNamespaceExportSink", - Handler: runtime.MakeAuthzHandler[*DeleteNamespaceExportSinkRequest]( - getServiceDesc_CloudService, - "DeleteNamespaceExportSink", - "saas-api:DeleteNamespaceExportSink", - _CloudService_DeleteNamespaceExportSink_ExtractResourceID, - ), - }, - { - MethodName: "ValidateNamespaceExportSink", - Handler: runtime.MakeAuthzHandler[*ValidateNamespaceExportSinkRequest]( - getServiceDesc_CloudService, - "ValidateNamespaceExportSink", - "saas-api:ValidateNamespaceExportSink", - _CloudService_ValidateNamespaceExportSink_ExtractResourceID, - ), - }, - { - MethodName: "CreateConnectivityRule", - Handler: runtime.MakeAuthzHandler[*CreateConnectivityRuleRequest]( - getServiceDesc_CloudService, - "CreateConnectivityRule", - "saas-api:CreateConnectivityRule", - _CloudService_CreateConnectivityRule_ExtractResourceID, - ), - }, - { - MethodName: "GetConnectivityRule", - Handler: runtime.MakeAuthzHandler[*GetConnectivityRuleRequest]( - getServiceDesc_CloudService, - "GetConnectivityRule", - "saas-api:GetConnectivityRule", - _CloudService_GetConnectivityRule_ExtractResourceID, - ), - }, - { - MethodName: "DeleteConnectivityRule", - Handler: runtime.MakeAuthzHandler[*DeleteConnectivityRuleRequest]( - getServiceDesc_CloudService, - "DeleteConnectivityRule", - "saas-api:DeleteConnectivityRule", - _CloudService_DeleteConnectivityRule_ExtractResourceID, - ), - }, - { - MethodName: "GetProject", - Handler: runtime.MakeAuthzHandler[*GetProjectRequest]( - getServiceDesc_CloudService, - "GetProject", - "saas-api:GetProject", - _CloudService_GetProject_ExtractResourceID, - ), - }, - { - MethodName: "UpdateProject", - Handler: runtime.MakeAuthzHandler[*UpdateProjectRequest]( - getServiceDesc_CloudService, - "UpdateProject", - "saas-api:UpdateProject", - _CloudService_UpdateProject_ExtractResourceID, - ), - }, - { - MethodName: "DeleteProject", - Handler: runtime.MakeAuthzHandler[*DeleteProjectRequest]( - getServiceDesc_CloudService, - "DeleteProject", - "saas-api:DeleteProject", - _CloudService_DeleteProject_ExtractResourceID, - ), - }, - { - MethodName: "SetUserProjectAccess", - Handler: runtime.MakeAuthzHandler[*SetUserProjectAccessRequest]( - getServiceDesc_CloudService, - "SetUserProjectAccess", - "saas-api:SetUserProjectAccess", - _CloudService_SetUserProjectAccess_ExtractResourceID, - ), - }, - { - MethodName: "SetUserGroupProjectAccess", - Handler: runtime.MakeAuthzHandler[*SetUserGroupProjectAccessRequest]( - getServiceDesc_CloudService, - "SetUserGroupProjectAccess", - "saas-api:SetUserGroupProjectAccess", - _CloudService_SetUserGroupProjectAccess_ExtractResourceID, - ), - }, - { - MethodName: "SetServiceAccountProjectAccess", - Handler: runtime.MakeAuthzHandler[*SetServiceAccountProjectAccessRequest]( - getServiceDesc_CloudService, - "SetServiceAccountProjectAccess", - "saas-api:SetServiceAccountProjectAccess", - _CloudService_SetServiceAccountProjectAccess_ExtractResourceID, - ), - }, - { - MethodName: "UpdateNamespaceTags", - Handler: runtime.MakeAuthzHandler[*UpdateNamespaceTagsRequest]( - getServiceDesc_CloudService, - "UpdateNamespaceTags", - "saas-api:UpdateNamespaceTags", - _CloudService_UpdateNamespaceTags_ExtractResourceID, - ), - }, - { - MethodName: "GetCustomRole", - Handler: runtime.MakeAuthzHandler[*GetCustomRoleRequest]( - getServiceDesc_CloudService, - "GetCustomRole", - "saas-api:GetCustomRole", - _CloudService_GetCustomRole_ExtractResourceID, - ), - }, - { - MethodName: "UpdateCustomRole", - Handler: runtime.MakeAuthzHandler[*UpdateCustomRoleRequest]( - getServiceDesc_CloudService, - "UpdateCustomRole", - "saas-api:UpdateCustomRole", - _CloudService_UpdateCustomRole_ExtractResourceID, - ), - }, - { - MethodName: "DeleteCustomRole", - Handler: runtime.MakeAuthzHandler[*DeleteCustomRoleRequest]( - getServiceDesc_CloudService, - "DeleteCustomRole", - "saas-api:DeleteCustomRole", - _CloudService_DeleteCustomRole_ExtractResourceID, - ), - }, - { - MethodName: "GetNamespaceCapacityInfo", - Handler: runtime.MakeAuthzHandler[*GetNamespaceCapacityInfoRequest]( - getServiceDesc_CloudService, - "GetNamespaceCapacityInfo", - "saas-api:GetNamespaceCapacityInfo", - _CloudService_GetNamespaceCapacityInfo_ExtractResourceID, - ), - }, - }, -} From 1c63a257b5ec32e8ccbbd20414c589a72d71c31d Mon Sep 17 00:00:00 2001 From: Chandler Ortman Date: Fri, 6 Feb 2026 12:58:12 -0800 Subject: [PATCH 3/5] Fix copylocks lint errors in account and namespace tests --- app/account_test.go | 69 +++++++++++++++++++++---------------------- app/namespace_test.go | 53 +++++++++++++++++---------------- 2 files changed, 61 insertions(+), 61 deletions(-) diff --git a/app/account_test.go b/app/account_test.go index 34a5d51e..bdd89823 100644 --- a/app/account_test.go +++ b/app/account_test.go @@ -14,7 +14,6 @@ import ( "github.com/stretchr/testify/suite" "github.com/temporalio/tcld/protogen/api/account/v1" "github.com/temporalio/tcld/protogen/api/accountservice/v1" - "reflect" cloudaccount "github.com/temporalio/tcld/protogen/api/cloud/account/v1" "github.com/temporalio/tcld/protogen/api/cloud/cloudservice/v1" "github.com/temporalio/tcld/protogen/api/cloud/operation/v1" @@ -647,7 +646,7 @@ func (s *AccountTestSuite) TestCreateAuditLogSink() { name string args []string expectErr bool - expectRequest cloudservice.CreateAccountAuditLogSinkRequest + expectRequest *cloudservice.CreateAccountAuditLogSinkRequest createError error }{ { @@ -656,7 +655,7 @@ func (s *AccountTestSuite) TestCreateAuditLogSink() { "--destination-uri", "arn:aws:kinesis:us-east-1:123456789012:stream/TestStream", "--region", "us-east-1"}, expectErr: false, - expectRequest: cloudservice.CreateAccountAuditLogSinkRequest{ + expectRequest: &cloudservice.CreateAccountAuditLogSinkRequest{ Spec: &cloudaccount.AuditLogSinkSpec{ Name: "audit_log_01", Enabled: true, @@ -677,7 +676,7 @@ func (s *AccountTestSuite) TestCreateAuditLogSink() { "--destination-uri", "arn:aws:kinesis:us-east-1:123456789012:stream/TestStream", "--region", "us-east-1"}, expectErr: true, - expectRequest: cloudservice.CreateAccountAuditLogSinkRequest{ + expectRequest: &cloudservice.CreateAccountAuditLogSinkRequest{ Spec: &cloudaccount.AuditLogSinkSpec{ Name: "audit_log_01", Enabled: true, @@ -718,7 +717,7 @@ func (s *AccountTestSuite) TestCreateAuditLogSink() { args: []string{"a", "al", "pubsub", "create", "--sink-name", "audit_log_01", "--service-account-email", "123456789012@TestProject.iam.gserviceaccount.com", "--topic-name", "TestTopic"}, expectErr: false, - expectRequest: cloudservice.CreateAccountAuditLogSinkRequest{ + expectRequest: &cloudservice.CreateAccountAuditLogSinkRequest{ Spec: &cloudaccount.AuditLogSinkSpec{ Name: "audit_log_01", Enabled: true, @@ -747,8 +746,8 @@ func (s *AccountTestSuite) TestCreateAuditLogSink() { } for _, tc := range tests { s.Run(tc.name, func() { - if !reflect.DeepEqual(tc.expectRequest, cloudservice.CreateAccountAuditLogSinkRequest{}) { - s.mockCloudApiClient.EXPECT().CreateAccountAuditLogSink(gomock.Any(), &tc.expectRequest).Return(&cloudservice.CreateAccountAuditLogSinkResponse{ + if tc.expectRequest != nil { + s.mockCloudApiClient.EXPECT().CreateAccountAuditLogSink(gomock.Any(), tc.expectRequest).Return(&cloudservice.CreateAccountAuditLogSinkResponse{ AsyncOperation: &operation.AsyncOperation{ Id: "123", }, @@ -769,7 +768,7 @@ func (s *AccountTestSuite) TestUpdateAuditLogSink() { name string args []string expectErr bool - expectRequest cloudservice.UpdateAccountAuditLogSinkRequest + expectRequest *cloudservice.UpdateAccountAuditLogSinkRequest expectGetRequest bool updateError error getSinkError error @@ -782,7 +781,7 @@ func (s *AccountTestSuite) TestUpdateAuditLogSink() { "--region", "us-east-1", "--enabled", "true"}, expectErr: false, expectGetRequest: true, - expectRequest: cloudservice.UpdateAccountAuditLogSinkRequest{ + expectRequest: &cloudservice.UpdateAccountAuditLogSinkRequest{ ResourceVersion: "123", Spec: &cloudaccount.AuditLogSinkSpec{ Name: "audit_log_01", @@ -805,7 +804,7 @@ func (s *AccountTestSuite) TestUpdateAuditLogSink() { "--region", "us-east-1", "--enabled", "true"}, expectErr: true, expectGetRequest: true, - expectRequest: cloudservice.UpdateAccountAuditLogSinkRequest{ + expectRequest: &cloudservice.UpdateAccountAuditLogSinkRequest{ ResourceVersion: "123", Spec: &cloudaccount.AuditLogSinkSpec{ Name: "audit_log_01", @@ -829,7 +828,7 @@ func (s *AccountTestSuite) TestUpdateAuditLogSink() { "--region", "us-east-1", "--enabled", "true"}, expectErr: true, expectGetRequest: true, - expectRequest: cloudservice.UpdateAccountAuditLogSinkRequest{ + expectRequest: &cloudservice.UpdateAccountAuditLogSinkRequest{ ResourceVersion: "123", Spec: &cloudaccount.AuditLogSinkSpec{ Name: "audit_log_01", @@ -852,7 +851,7 @@ func (s *AccountTestSuite) TestUpdateAuditLogSink() { "--service-account-email", "123456789012@TestProject.iam.gserviceaccount.com", "--topic-name", "TestTopic"}, expectErr: false, expectGetRequest: true, - expectRequest: cloudservice.UpdateAccountAuditLogSinkRequest{ + expectRequest: &cloudservice.UpdateAccountAuditLogSinkRequest{ ResourceVersion: "123", Spec: &cloudaccount.AuditLogSinkSpec{ Name: "audit_log_01", @@ -874,7 +873,7 @@ func (s *AccountTestSuite) TestUpdateAuditLogSink() { "--service-account-email", "123456789012@TestProject.iam.gserviceaccount.com", "--topic-name", "TestTopic", "--resource-version", "345"}, expectErr: false, expectGetRequest: true, - expectRequest: cloudservice.UpdateAccountAuditLogSinkRequest{ + expectRequest: &cloudservice.UpdateAccountAuditLogSinkRequest{ ResourceVersion: "345", Spec: &cloudaccount.AuditLogSinkSpec{ Name: "audit_log_01", @@ -892,7 +891,7 @@ func (s *AccountTestSuite) TestUpdateAuditLogSink() { } for _, tc := range tests { s.Run(tc.name, func() { - if !reflect.DeepEqual(tc.expectRequest, cloudservice.UpdateAccountAuditLogSinkRequest{}) { + if tc.expectRequest != nil { if tc.expectGetRequest { sinkType := "" if len(tc.args) >= 3 { @@ -940,7 +939,7 @@ func (s *AccountTestSuite) TestUpdateAuditLogSink() { }, tc.getSinkError).Times(1) } if tc.getSinkError == nil { - s.mockCloudApiClient.EXPECT().UpdateAccountAuditLogSink(gomock.Any(), &tc.expectRequest).Return(&cloudservice.UpdateAccountAuditLogSinkResponse{ + s.mockCloudApiClient.EXPECT().UpdateAccountAuditLogSink(gomock.Any(), tc.expectRequest).Return(&cloudservice.UpdateAccountAuditLogSinkResponse{ AsyncOperation: &operation.AsyncOperation{ Id: "123", }, @@ -962,7 +961,7 @@ func (s *AccountTestSuite) TestDeleteAuditLogSink() { name string args []string expectErr bool - expectRequest cloudservice.DeleteAccountAuditLogSinkRequest + expectRequest *cloudservice.DeleteAccountAuditLogSinkRequest expectGetRequest bool deleteError error getSinkError error @@ -972,7 +971,7 @@ func (s *AccountTestSuite) TestDeleteAuditLogSink() { args: []string{"a", "al", "kinesis", "delete", "--sink-name", "audit_log_01"}, expectErr: false, expectGetRequest: true, - expectRequest: cloudservice.DeleteAccountAuditLogSinkRequest{ + expectRequest: &cloudservice.DeleteAccountAuditLogSinkRequest{ ResourceVersion: "123", Name: "audit_log_01", }, @@ -981,7 +980,7 @@ func (s *AccountTestSuite) TestDeleteAuditLogSink() { name: "delete audit log sink uses provided resource version", args: []string{"a", "al", "kinesis", "delete", "--sink-name", "audit_log_01", "--resource-version", "345"}, expectErr: false, - expectRequest: cloudservice.DeleteAccountAuditLogSinkRequest{ + expectRequest: &cloudservice.DeleteAccountAuditLogSinkRequest{ ResourceVersion: "345", Name: "audit_log_01", }, @@ -991,7 +990,7 @@ func (s *AccountTestSuite) TestDeleteAuditLogSink() { args: []string{"a", "al", "kinesis", "delete", "--sink-name", "audit_log_01"}, expectErr: true, expectGetRequest: true, - expectRequest: cloudservice.DeleteAccountAuditLogSinkRequest{ + expectRequest: &cloudservice.DeleteAccountAuditLogSinkRequest{ ResourceVersion: "123", Name: "audit_log_01", }, @@ -1002,7 +1001,7 @@ func (s *AccountTestSuite) TestDeleteAuditLogSink() { args: []string{"a", "al", "kinesis", "delete", "--sink-name", "audit_log_01"}, expectErr: true, expectGetRequest: true, - expectRequest: cloudservice.DeleteAccountAuditLogSinkRequest{ + expectRequest: &cloudservice.DeleteAccountAuditLogSinkRequest{ ResourceVersion: "123", Name: "audit_log_01", }, @@ -1011,7 +1010,7 @@ func (s *AccountTestSuite) TestDeleteAuditLogSink() { } for _, tc := range tests { s.Run(tc.name, func() { - if !reflect.DeepEqual(tc.expectRequest, cloudservice.DeleteAccountAuditLogSinkRequest{}) { + if tc.expectRequest != nil { if tc.expectGetRequest { s.mockCloudApiClient.EXPECT().GetAccountAuditLogSink(gomock.Any(), &cloudservice.GetAccountAuditLogSinkRequest{ Name: "audit_log_01", @@ -1022,7 +1021,7 @@ func (s *AccountTestSuite) TestDeleteAuditLogSink() { }, tc.getSinkError).Times(1) } if tc.getSinkError == nil { - s.mockCloudApiClient.EXPECT().DeleteAccountAuditLogSink(gomock.Any(), &tc.expectRequest).Return(&cloudservice.DeleteAccountAuditLogSinkResponse{ + s.mockCloudApiClient.EXPECT().DeleteAccountAuditLogSink(gomock.Any(), tc.expectRequest).Return(&cloudservice.DeleteAccountAuditLogSinkResponse{ AsyncOperation: &operation.AsyncOperation{ Id: "123", }, @@ -1044,7 +1043,7 @@ func (s *AccountTestSuite) TestValidateAuditLogSink() { name string args []string expectErr bool - expectRequest cloudservice.ValidateAccountAuditLogSinkRequest + expectRequest *cloudservice.ValidateAccountAuditLogSinkRequest validateError error }{ { @@ -1055,7 +1054,7 @@ func (s *AccountTestSuite) TestValidateAuditLogSink() { "--destination-uri", "arn:aws:kinesis:us-east-1:123456789012:stream/TestStream", "--region", "us-east-1"}, expectErr: false, - expectRequest: cloudservice.ValidateAccountAuditLogSinkRequest{ + expectRequest: &cloudservice.ValidateAccountAuditLogSinkRequest{ Spec: &cloudaccount.AuditLogSinkSpec{ Name: "test-sink", Enabled: true, @@ -1077,7 +1076,7 @@ func (s *AccountTestSuite) TestValidateAuditLogSink() { "--destination-uri", "arn:aws:kinesis:us-east-1:123456789012:stream/TestStream", "--region", "us-east-1"}, expectErr: true, - expectRequest: cloudservice.ValidateAccountAuditLogSinkRequest{ + expectRequest: &cloudservice.ValidateAccountAuditLogSinkRequest{ Spec: &cloudaccount.AuditLogSinkSpec{ Name: "test-sink", Enabled: true, @@ -1098,7 +1097,7 @@ func (s *AccountTestSuite) TestValidateAuditLogSink() { "--sink-name", "test-sink", "--service-account-email", "123456789012@TestProject.iam.gserviceaccount.com", "--topic-name", "TestTopic"}, expectErr: false, - expectRequest: cloudservice.ValidateAccountAuditLogSinkRequest{ + expectRequest: &cloudservice.ValidateAccountAuditLogSinkRequest{ Spec: &cloudaccount.AuditLogSinkSpec{ Name: "test-sink", Enabled: true, @@ -1115,8 +1114,8 @@ func (s *AccountTestSuite) TestValidateAuditLogSink() { } for _, tc := range tests { s.Run(tc.name, func() { - if !reflect.DeepEqual(tc.expectRequest, cloudservice.ValidateAccountAuditLogSinkRequest{}) { - s.mockCloudApiClient.EXPECT().ValidateAccountAuditLogSink(gomock.Any(), &tc.expectRequest).Return(&cloudservice.ValidateAccountAuditLogSinkResponse{}, tc.validateError).Times(1) + if tc.expectRequest != nil { + s.mockCloudApiClient.EXPECT().ValidateAccountAuditLogSink(gomock.Any(), tc.expectRequest).Return(&cloudservice.ValidateAccountAuditLogSinkResponse{}, tc.validateError).Times(1) } err := s.RunCmd(tc.args...) if tc.expectErr { @@ -1133,20 +1132,20 @@ func (s *AccountTestSuite) TestListAuditLogSinks() { name string args []string expectErr bool - expectRequest cloudservice.GetAccountAuditLogSinksRequest + expectRequest *cloudservice.GetAccountAuditLogSinksRequest listError error }{ { name: "list sinks succeeds", args: []string{"a", "al", "kinesis", "list"}, expectErr: false, - expectRequest: cloudservice.GetAccountAuditLogSinksRequest{}, + expectRequest: &cloudservice.GetAccountAuditLogSinksRequest{}, }, { name: "list sinks with error", args: []string{"a", "al", "kinesis", "list"}, expectErr: true, - expectRequest: cloudservice.GetAccountAuditLogSinksRequest{}, + expectRequest: &cloudservice.GetAccountAuditLogSinksRequest{}, listError: fmt.Errorf("error"), }, } @@ -1168,14 +1167,14 @@ func (s *AccountTestSuite) TestGetAuditLogSink() { name string args []string expectErr bool - expectRequest cloudservice.GetAccountAuditLogSinkRequest + expectRequest *cloudservice.GetAccountAuditLogSinkRequest getError error }{ { name: "get sink succeeds", args: []string{"a", "al", "kinesis", "get", "--sink-name", "audit_log_01"}, expectErr: false, - expectRequest: cloudservice.GetAccountAuditLogSinkRequest{ + expectRequest: &cloudservice.GetAccountAuditLogSinkRequest{ Name: "audit_log_01", }, }, @@ -1183,7 +1182,7 @@ func (s *AccountTestSuite) TestGetAuditLogSink() { name: "get sink with error", args: []string{"a", "al", "kinesis", "get", "--sink-name", "audit_log_01"}, expectErr: true, - expectRequest: cloudservice.GetAccountAuditLogSinkRequest{ + expectRequest: &cloudservice.GetAccountAuditLogSinkRequest{ Name: "audit_log_01", }, getError: fmt.Errorf("error"), @@ -1191,7 +1190,7 @@ func (s *AccountTestSuite) TestGetAuditLogSink() { } for _, tc := range tests { s.Run(tc.name, func() { - s.mockCloudApiClient.EXPECT().GetAccountAuditLogSink(gomock.Any(), &tc.expectRequest).Return(&cloudservice.GetAccountAuditLogSinkResponse{}, tc.getError).Times(1) + s.mockCloudApiClient.EXPECT().GetAccountAuditLogSink(gomock.Any(), tc.expectRequest).Return(&cloudservice.GetAccountAuditLogSinkResponse{}, tc.getError).Times(1) err := s.RunCmd(tc.args...) if tc.expectErr { s.Error(err) diff --git a/app/namespace_test.go b/app/namespace_test.go index e0af76dc..f716cff5 100644 --- a/app/namespace_test.go +++ b/app/namespace_test.go @@ -11,6 +11,7 @@ import ( "github.com/temporalio/tcld/protogen/api/cloud/operation/v1" "github.com/temporalio/tcld/protogen/api/common/v1" + "google.golang.org/protobuf/proto" "github.com/temporalio/tcld/protogen/api/auth/v1" "github.com/temporalio/tcld/protogen/api/authservice/v1" @@ -310,10 +311,10 @@ func (s *NamespaceTestSuite) TestDeleteProtection() { } if tc.expectUpdate != nil { - spec := *(getResp.Namespace.Spec) + spec := proto.Clone(getResp.Namespace.Spec).(*namespace.NamespaceSpec) req := namespaceservice.UpdateNamespaceRequest{ Namespace: ns, - Spec: &spec, + Spec: spec, ResourceVersion: getResp.Namespace.ResourceVersion, } tc.expectUpdate(&req) @@ -412,10 +413,10 @@ func (s *NamespaceTestSuite) TestUpdateAuthMethod() { } if tc.expectUpdate != nil { - spec := *(getResp.Namespace.Spec) + spec := proto.Clone(getResp.Namespace.Spec).(*namespace.NamespaceSpec) req := namespaceservice.UpdateNamespaceRequest{ Namespace: ns, - Spec: &spec, + Spec: spec, ResourceVersion: getResp.Namespace.ResourceVersion, } tc.expectUpdate(&req) @@ -595,10 +596,10 @@ func (s *NamespaceTestSuite) TestUpdateCA() { } if tc.expectUpdate != nil { - spec := *(getResp.Namespace.Spec) + spec := proto.Clone(getResp.Namespace.Spec).(*namespace.NamespaceSpec) req := namespaceservice.UpdateNamespaceRequest{ Namespace: ns, - Spec: &spec, + Spec: spec, ResourceVersion: getResp.Namespace.ResourceVersion, } tc.expectUpdate(&req) @@ -795,10 +796,10 @@ func (s *NamespaceTestSuite) TestUpdateRemoveCA() { } if tc.expectUpdate != nil { - spec := *(getResp.Namespace.Spec) + spec := proto.Clone(getResp.Namespace.Spec).(*namespace.NamespaceSpec) req := namespaceservice.UpdateNamespaceRequest{ Namespace: ns, - Spec: &spec, + Spec: spec, ResourceVersion: getResp.Namespace.ResourceVersion, } tc.expectUpdate(&req) @@ -924,10 +925,10 @@ func (s *NamespaceTestSuite) TestUpdateAddCA() { } if tc.expectUpdate != nil { - spec := *(getResp.Namespace.Spec) + spec := proto.Clone(getResp.Namespace.Spec).(*namespace.NamespaceSpec) req := namespaceservice.UpdateNamespaceRequest{ Namespace: ns, - Spec: &spec, + Spec: spec, ResourceVersion: getResp.Namespace.ResourceVersion, } tc.expectUpdate(&req) @@ -1022,10 +1023,10 @@ func (s *NamespaceTestSuite) TestUpdateAddSearchAttrs() { } if tc.expectUpdate != nil { - spec := *(getResp.Namespace.Spec) + spec := proto.Clone(getResp.Namespace.Spec).(*namespace.NamespaceSpec) req := namespaceservice.UpdateNamespaceRequest{ Namespace: ns, - Spec: &spec, + Spec: spec, ResourceVersion: getResp.Namespace.ResourceVersion, } tc.expectUpdate(&req) @@ -1100,10 +1101,10 @@ func (s *NamespaceTestSuite) TestUpdateRemoveSearchAttrs() { } if tc.expectUpdate != nil { - spec := *(getResp.Namespace.Spec) + spec := proto.Clone(getResp.Namespace.Spec).(*namespace.NamespaceSpec) req := namespaceservice.UpdateNamespaceRequest{ Namespace: ns, - Spec: &spec, + Spec: spec, ResourceVersion: getResp.Namespace.ResourceVersion, } tc.expectUpdate(&req) @@ -1297,10 +1298,10 @@ func (s *NamespaceTestSuite) TestImportCertificateFilters() { } if tc.expectUpdate != nil { - spec := *(getResp.Namespace.Spec) + spec := proto.Clone(getResp.Namespace.Spec).(*namespace.NamespaceSpec) req := namespaceservice.UpdateNamespaceRequest{ Namespace: ns, - Spec: &spec, + Spec: spec, ResourceVersion: getResp.Namespace.ResourceVersion, } tc.expectUpdate(&req) @@ -1463,10 +1464,10 @@ func (s *NamespaceTestSuite) TestAddCertificateFilters() { } if tc.expectUpdate != nil { - spec := *(getResp.Namespace.Spec) + spec := proto.Clone(getResp.Namespace.Spec).(*namespace.NamespaceSpec) req := namespaceservice.UpdateNamespaceRequest{ Namespace: ns, - Spec: &spec, + Spec: spec, ResourceVersion: getResp.Namespace.ResourceVersion, } tc.expectUpdate(&req) @@ -1538,10 +1539,10 @@ func (s *NamespaceTestSuite) TestClearCertificateFilters() { } if tc.expectUpdate != nil { - spec := *(getResp.Namespace.Spec) + spec := proto.Clone(getResp.Namespace.Spec).(*namespace.NamespaceSpec) req := namespaceservice.UpdateNamespaceRequest{ Namespace: ns, - Spec: &spec, + Spec: spec, ResourceVersion: getResp.Namespace.ResourceVersion, } tc.expectUpdate(&req) @@ -1640,10 +1641,10 @@ func (s *NamespaceTestSuite) TestUpdateCodecServer() { } if tc.expectUpdate != nil { - spec := *(getResp.Namespace.Spec) + spec := proto.Clone(getResp.Namespace.Spec).(*namespace.NamespaceSpec) req := namespaceservice.UpdateNamespaceRequest{ Namespace: ns, - Spec: &spec, + Spec: spec, ResourceVersion: getResp.Namespace.ResourceVersion, } tc.expectUpdate(&req) @@ -1758,10 +1759,10 @@ func (s *NamespaceTestSuite) TestUpdateNamespaceRetention() { } if tc.expectUpdate != nil { - spec := *(getResp.Namespace.Spec) + spec := proto.Clone(getResp.Namespace.Spec).(*namespace.NamespaceSpec) req := namespaceservice.UpdateNamespaceRequest{ Namespace: ns, - Spec: &spec, + Spec: spec, ResourceVersion: getResp.Namespace.ResourceVersion, } tc.expectUpdate(&req) @@ -3271,10 +3272,10 @@ func (s *NamespaceTestSuite) TestSetConnectivityRules() { } if tc.expectUpdate != nil { - spec := *(getResp.Namespace.Spec) + spec := proto.Clone(getResp.Namespace.Spec).(*namespace.NamespaceSpec) req := namespaceservice.UpdateNamespaceRequest{ Namespace: ns, - Spec: &spec, + Spec: spec, ResourceVersion: getResp.Namespace.ResourceVersion, } tc.expectUpdate(&req) From 0feafcbf6516e50e2606d6c9ba7ed7dc16c690d4 Mon Sep 17 00:00:00 2001 From: Chandler Ortman Date: Fri, 6 Feb 2026 13:04:34 -0800 Subject: [PATCH 4/5] Suppress deprecated API lint warnings in namespace.go --- app/namespace.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/namespace.go b/app/namespace.go index af5b4b10..2cefd380 100644 --- a/app/namespace.go +++ b/app/namespace.go @@ -294,7 +294,7 @@ func (c *NamespaceClient) addRegion(ctx *cli.Context) error { return err } - res, err := c.cloudAPIClient.AddNamespaceRegion(c.ctx, &cloudservice.AddNamespaceRegionRequest{ + res, err := c.cloudAPIClient.AddNamespaceRegion(c.ctx, &cloudservice.AddNamespaceRegionRequest{ //nolint:staticcheck Namespace: ctx.String(NamespaceFlagName), Region: targetRegion, ResourceVersion: ns.GetResourceVersion(), @@ -327,7 +327,7 @@ func (c *NamespaceClient) deleteRegion(ctx *cli.Context) error { return err } - res, err := c.cloudAPIClient.DeleteNamespaceRegion(c.ctx, &cloudservice.DeleteNamespaceRegionRequest{ + res, err := c.cloudAPIClient.DeleteNamespaceRegion(c.ctx, &cloudservice.DeleteNamespaceRegionRequest{ //nolint:staticcheck Namespace: ns.GetNamespace(), Region: deleteRegion, ResourceVersion: ns.GetResourceVersion(), @@ -568,7 +568,7 @@ func (c *NamespaceClient) failoverNamespace(ctx *cli.Context) error { return err } - res, err := c.cloudAPIClient.FailoverNamespaceRegion(c.ctx, &cloudservice.FailoverNamespaceRegionRequest{ + res, err := c.cloudAPIClient.FailoverNamespaceRegion(c.ctx, &cloudservice.FailoverNamespaceRegionRequest{ //nolint:staticcheck Namespace: namespace, Region: targetRegion, AsyncOperationId: ctx.String(RequestIDFlagName), From 39c1df93d02b42a5853fe6d75506be56ade96a65 Mon Sep 17 00:00:00 2001 From: Chandler Ortman Date: Fri, 6 Feb 2026 14:41:41 -0800 Subject: [PATCH 5/5] update NamespaceCapacityInfo_Stats proto --- .../cloud/cloudservice/v1/service_grpc.pb.go | 6 +- protogen/api/cloud/namespace/v1/message.pb.go | 102 +++++++----------- 2 files changed, 39 insertions(+), 69 deletions(-) diff --git a/protogen/api/cloud/cloudservice/v1/service_grpc.pb.go b/protogen/api/cloud/cloudservice/v1/service_grpc.pb.go index 36404e19..35adbfee 100644 --- a/protogen/api/cloud/cloudservice/v1/service_grpc.pb.go +++ b/protogen/api/cloud/cloudservice/v1/service_grpc.pb.go @@ -233,8 +233,7 @@ type CloudServiceClient interface { // temporal:dev GetBillingReport(ctx context.Context, in *GetBillingReportRequest, opts ...grpc.CallOption) (*GetBillingReportResponse, error) // GetNamespaceCapacityInfo returns capacity information for a namespace. - // This includes provisioned capacity options, on-demand limits, and 7 - // day historical APS statistics useful for capacity planning. + // This includes provisioned capacity options, on-demand limits, and 7 day historical APS statistics useful for capacity planning. // temporal:dev GetNamespaceCapacityInfo(ctx context.Context, in *GetNamespaceCapacityInfoRequest, opts ...grpc.CallOption) (*GetNamespaceCapacityInfoResponse, error) } @@ -1275,8 +1274,7 @@ type CloudServiceServer interface { // temporal:dev GetBillingReport(context.Context, *GetBillingReportRequest) (*GetBillingReportResponse, error) // GetNamespaceCapacityInfo returns capacity information for a namespace. - // This includes provisioned capacity options, on-demand limits, and 7 - // day historical APS statistics useful for capacity planning. + // This includes provisioned capacity options, on-demand limits, and 7 day historical APS statistics useful for capacity planning. // temporal:dev GetNamespaceCapacityInfo(context.Context, *GetNamespaceCapacityInfoRequest) (*GetNamespaceCapacityInfoResponse, error) mustEmbedUnimplementedCloudServiceServer() diff --git a/protogen/api/cloud/namespace/v1/message.pb.go b/protogen/api/cloud/namespace/v1/message.pb.go index d0e45420..6730f41a 100644 --- a/protogen/api/cloud/namespace/v1/message.pb.go +++ b/protogen/api/cloud/namespace/v1/message.pb.go @@ -3157,8 +3157,6 @@ type NamespaceCapacityInfo_Stats struct { // Actions-per-second measurements summarized over the last 7 days. Aps *NamespaceCapacityInfo_Stats_Summary `protobuf:"bytes,1,opt,name=aps,proto3" json:"aps,omitempty"` - // Requests-per-second measurements summarized over the last 7 days. - Rps *NamespaceCapacityInfo_Stats_Summary `protobuf:"bytes,2,opt,name=rps,proto3" json:"rps,omitempty"` } func (x *NamespaceCapacityInfo_Stats) Reset() { @@ -3200,13 +3198,6 @@ func (x *NamespaceCapacityInfo_Stats) GetAps() *NamespaceCapacityInfo_Stats_Summ return nil } -func (x *NamespaceCapacityInfo_Stats) GetRps() *NamespaceCapacityInfo_Stats_Summary { - if x != nil { - return x.Rps - } - return nil -} - type NamespaceCapacityInfo_CapacityModeOptions_Provisioned struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -3275,9 +3266,6 @@ type NamespaceCapacityInfo_CapacityModeOptions_OnDemand struct { // The APS limit that would apply to this namespace in on-demand mode. // See: https://docs.temporal.io/cloud/limits#actions-per-second ApsLimit float64 `protobuf:"fixed64,1,opt,name=aps_limit,json=apsLimit,proto3" json:"aps_limit,omitempty"` - // The RPS limit that would apply to this namespace in on-demand mode. - // See: https://docs.temporal.io/cloud/limits#requests-per-second - RpsLimit float64 `protobuf:"fixed64,2,opt,name=rps_limit,json=rpsLimit,proto3" json:"rps_limit,omitempty"` } func (x *NamespaceCapacityInfo_CapacityModeOptions_OnDemand) Reset() { @@ -3319,13 +3307,6 @@ func (x *NamespaceCapacityInfo_CapacityModeOptions_OnDemand) GetApsLimit() float return 0 } -func (x *NamespaceCapacityInfo_CapacityModeOptions_OnDemand) GetRpsLimit() float64 { - if x != nil { - return x.RpsLimit - } - return 0 -} - type NamespaceCapacityInfo_Stats_Summary struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -3975,8 +3956,8 @@ var file_temporal_api_cloud_namespace_v1_message_proto_rawDesc = []byte{ 0x0a, 0x1d, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x49, 0x56, 0x45, 0x5f, 0x49, 0x4e, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x10, 0x03, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x49, - 0x43, 0x41, 0x5f, 0x41, 0x42, 0x41, 0x4e, 0x44, 0x4f, 0x4e, 0x45, 0x44, 0x10, 0x04, 0x22, 0xb1, - 0x08, 0x0a, 0x15, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x61, 0x70, 0x61, + 0x43, 0x41, 0x5f, 0x41, 0x42, 0x41, 0x4e, 0x44, 0x4f, 0x4e, 0x45, 0x44, 0x10, 0x04, 0x22, 0xbc, + 0x07, 0x0a, 0x15, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x68, 0x61, 0x73, 0x5f, 0x6c, 0x65, @@ -3999,7 +3980,7 @@ var file_temporal_api_cloud_namespace_v1_message_proto_rawDesc = []byte{ 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, - 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x1a, 0xb7, 0x03, 0x0a, 0x13, + 0x74, 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x1a, 0x9a, 0x03, 0x0a, 0x13, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x78, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x56, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, @@ -4023,44 +4004,36 @@ var file_temporal_api_cloud_namespace_v1_message_proto_rawDesc = []byte{ 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x72, 0x75, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x14, 0x6d, 0x61, 0x78, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x72, 0x75, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, - 0x44, 0x0a, 0x08, 0x4f, 0x6e, 0x44, 0x65, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x61, + 0x27, 0x0a, 0x08, 0x4f, 0x6e, 0x44, 0x65, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x70, 0x73, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, - 0x61, 0x70, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x73, 0x5f, - 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x72, 0x70, 0x73, - 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x1a, 0xfa, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, - 0x56, 0x0a, 0x03, 0x61, 0x70, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x74, - 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, - 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, - 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x53, 0x75, 0x6d, 0x6d, 0x61, - 0x72, 0x79, 0x52, 0x03, 0x61, 0x70, 0x73, 0x12, 0x56, 0x0a, 0x03, 0x72, 0x70, 0x73, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, - 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, 0x74, 0x61, - 0x74, 0x73, 0x2e, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x03, 0x72, 0x70, 0x73, 0x1a, - 0x41, 0x0a, 0x07, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, - 0x61, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x04, 0x6d, 0x65, 0x61, 0x6e, 0x12, 0x10, - 0x0a, 0x03, 0x70, 0x39, 0x30, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03, 0x70, 0x39, 0x30, - 0x12, 0x10, 0x0a, 0x03, 0x70, 0x39, 0x39, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03, 0x70, - 0x39, 0x39, 0x42, 0x87, 0x02, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, - 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, - 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x6f, 0x2e, 0x74, - 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, - 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2f, 0x76, - 0x31, 0x3b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0xa2, 0x02, 0x04, 0x54, 0x41, - 0x43, 0x4e, 0xaa, 0x02, 0x1f, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x41, 0x70, - 0x69, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x20, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x5c, - 0x41, 0x70, 0x69, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x5f, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x2c, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, - 0x61, 0x6c, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x23, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, - 0x6c, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x4e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x61, 0x70, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x1a, 0xa2, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x12, 0x56, 0x0a, 0x03, 0x61, 0x70, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x44, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, + 0x69, 0x74, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x53, 0x75, + 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x03, 0x61, 0x70, 0x73, 0x1a, 0x41, 0x0a, 0x07, 0x53, 0x75, + 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x61, 0x6e, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x01, 0x52, 0x04, 0x6d, 0x65, 0x61, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x39, 0x30, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03, 0x70, 0x39, 0x30, 0x12, 0x10, 0x0a, 0x03, 0x70, + 0x39, 0x39, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03, 0x70, 0x39, 0x39, 0x42, 0x87, 0x02, + 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x6f, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6f, 0x72, + 0x61, 0x6c, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0xa2, 0x02, 0x04, 0x54, 0x41, 0x43, 0x4e, 0xaa, 0x02, 0x1f, + 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x2e, 0x41, 0x70, 0x69, 0x2e, 0x43, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x56, 0x31, 0xca, + 0x02, 0x20, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x43, + 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x5c, + 0x56, 0x31, 0xe2, 0x02, 0x2c, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x5c, 0x41, 0x70, + 0x69, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x5f, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0xea, 0x02, 0x23, 0x54, 0x65, 0x6d, 0x70, 0x6f, 0x72, 0x61, 0x6c, 0x3a, 0x3a, 0x41, 0x70, + 0x69, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -4192,12 +4165,11 @@ var file_temporal_api_cloud_namespace_v1_message_proto_depIdxs = []int32{ 46, // 55: temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions.provisioned:type_name -> temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions.Provisioned 47, // 56: temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions.on_demand:type_name -> temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.CapacityModeOptions.OnDemand 48, // 57: temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats.aps:type_name -> temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats.Summary - 48, // 58: temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats.rps:type_name -> temporal.api.cloud.namespace.v1.NamespaceCapacityInfo.Stats.Summary - 59, // [59:59] is the sub-list for method output_type - 59, // [59:59] is the sub-list for method input_type - 59, // [59:59] is the sub-list for extension type_name - 59, // [59:59] is the sub-list for extension extendee - 0, // [0:59] is the sub-list for field type_name + 58, // [58:58] is the sub-list for method output_type + 58, // [58:58] is the sub-list for method input_type + 58, // [58:58] is the sub-list for extension type_name + 58, // [58:58] is the sub-list for extension extendee + 0, // [0:58] is the sub-list for field type_name } func init() { file_temporal_api_cloud_namespace_v1_message_proto_init() }