diff --git a/app/account.go b/app/account.go index 2d98f286..82d797af 100644 --- a/app/account.go +++ b/app/account.go @@ -5,18 +5,93 @@ import ( "errors" "fmt" "sort" + "strconv" "strings" "github.com/temporalio/tcld/protogen/api/account/v1" "github.com/temporalio/tcld/protogen/api/accountservice/v1" + cloudaccount "github.com/temporalio/tcld/protogen/api/cloud/account/v1" + "github.com/temporalio/tcld/protogen/api/cloud/cloudservice/v1" + cloudSink "github.com/temporalio/tcld/protogen/api/cloud/sink/v1" "github.com/temporalio/tcld/protogen/api/common/v1" "github.com/urfave/cli/v2" "google.golang.org/grpc" ) +const ( + destinationUriFlagName = "destination-uri" + topicNameFlagName = "topic-name" + roleNameFlagName = "role-name" + kinesisAuditLogSinkType = "kinesis" + pubsubAuditLogSinkType = "pubsub" + sinkServiceAccountEmailFlagName = "service-account-email" +) + +var ( + // Kinesis audit log sink flags + roleNameFlag = &cli.StringFlag{ + Name: roleNameFlagName, + Usage: "The role name to use to write to the sink", + Aliases: []string{"rn"}, + Required: true, + } + roleNameFlagOptional = &cli.StringFlag{ + Name: roleNameFlagName, + Usage: "The role name to use to write to the sink", + Aliases: []string{"rn"}, + } + destinationUriFlag = &cli.StringFlag{ + Name: destinationUriFlagName, + Usage: "The destination URI of the audit log sink", + Aliases: []string{"du"}, + Required: true, + } + destinationUriFlagOptional = &cli.StringFlag{ + Name: destinationUriFlagName, + Usage: "The destination URI of the audit log sink", + Aliases: []string{"du"}, + } + sinkRegionFlagRequired = &cli.StringFlag{ + Name: sinkRegionFlagName, + Usage: "The region to use for the request", + Aliases: []string{"re"}, + Required: true, + } + sinkRegionFlagOptional = &cli.StringFlag{ + Name: sinkRegionFlagName, + Usage: "The region to use for the request", + Aliases: []string{"re"}, + } + + // PubSub audit log sink flags + sinkServiceAccountEmailFlag = &cli.StringFlag{ + Name: sinkServiceAccountEmailFlagName, + Usage: "The service account email to impersonate to write to the sink", + Aliases: []string{"sae"}, + Required: true, + } + sinkServiceAccountEmailFlagOptional = &cli.StringFlag{ + Name: sinkServiceAccountEmailFlagName, + Usage: "The service account email to impersonate to write to the sink", + Aliases: []string{"sae"}, + } + topicNameFlag = &cli.StringFlag{ + Name: topicNameFlagName, + Usage: "The topic name to write to the sink", + Aliases: []string{"tn"}, + Required: true, + } + topicNameFlagOptional = &cli.StringFlag{ + Name: topicNameFlagName, + Usage: "The topic name to write to the sink", + Aliases: []string{"tn"}, + } +) + type AccountClient struct { - client accountservice.AccountServiceClient - ctx context.Context + client accountservice.AccountServiceClient + cloudAPIClient cloudservice.CloudServiceClient + ctx context.Context } type regionInfo struct { @@ -26,8 +101,9 @@ type regionInfo struct { func NewAccountClient(ctx context.Context, conn *grpc.ClientConn) *AccountClient { return &AccountClient{ - client: accountservice.NewAccountServiceClient(conn), - ctx: ctx, + client: accountservice.NewAccountServiceClient(conn), + cloudAPIClient: cloudservice.NewCloudServiceClient(conn), + ctx: ctx, } } @@ -115,9 +191,91 @@ func (c *AccountClient) parseExistingMetricsCerts(ctx *cli.Context) (account *ac return a, existingCerts, nil } +func toKinesisAuditLogSinkSpec(ctx *cli.Context, name string, enabled bool, roleName string, destinationUri string, region string) (*cloudaccount.AuditLogSinkSpec, error) { + return &cloudaccount.AuditLogSinkSpec{ + Name: name, + Enabled: enabled, + SinkType: &cloudaccount.AuditLogSinkSpec_KinesisSink{ + KinesisSink: &cloudSink.KinesisSpec{ + RoleName: roleName, + DestinationUri: destinationUri, + Region: region, + }, + }, + }, nil +} + +func toPubsubAuditLogSinkSpec(ctx *cli.Context, name string, enabled bool, serviceAccountEmail string, topicName string) (*cloudaccount.AuditLogSinkSpec, error) { + saId, gcpProjectId, err := parseSAPrincipal(serviceAccountEmail) + if err != nil { + return nil, err + } + return &cloudaccount.AuditLogSinkSpec{ + Name: name, + Enabled: enabled, + SinkType: &cloudaccount.AuditLogSinkSpec_PubSubSink{ + PubSubSink: &cloudSink.PubSubSpec{ + ServiceAccountId: saId, + TopicName: topicName, + GcpProjectId: gcpProjectId, + }, + }, + }, nil +} + +func (c *AccountClient) createAuditLogSink(spec *cloudaccount.AuditLogSinkSpec) (*cloudservice.CreateAccountAuditLogSinkResponse, error) { + createAuditLogSinkResp, err := c.cloudAPIClient.CreateAccountAuditLogSink(c.ctx, &cloudservice.CreateAccountAuditLogSinkRequest{ + Spec: spec, + }) + if err != nil { + return nil, fmt.Errorf("unable to create audit log sink: %v", err) + } + return createAuditLogSinkResp, nil +} + +func (c *AccountClient) isSinkToggleChange(ctx *cli.Context, sink *cloudaccount.AuditLogSink) (bool, error) { + if !ctx.IsSet(sinkEnabledFlag.Name) { + return false, nil + } + + enabledValue, err := strconv.ParseBool(ctx.String(sinkEnabledFlag.Name)) + if err != nil { + return false, fmt.Errorf("invalid value for enabled flag: %w. Only allowed true or false", err) + } + + if sink.GetSpec().GetEnabled() == enabledValue { + return false, nil + } + return true, nil +} + +func (c *AccountClient) updateAuditLogSink(ctx *cli.Context, resourceVersion string, spec *cloudaccount.AuditLogSinkSpec) (*cloudservice.UpdateAccountAuditLogSinkResponse, error) { + updateAuditLogSinkRes, err := c.cloudAPIClient.UpdateAccountAuditLogSink(c.ctx, &cloudservice.UpdateAccountAuditLogSinkRequest{ + Spec: spec, + ResourceVersion: resourceVersion, + }) + if err != nil { + return nil, fmt.Errorf("unable to update audit log sink: %v", err) + } + return updateAuditLogSinkRes, nil +} + +func (c *AccountClient) validateAuditLogSink(spec *cloudaccount.AuditLogSinkSpec) error { + validateRequest := &cloudservice.ValidateAccountAuditLogSinkRequest{ + Spec: spec, + } + + _, err := c.cloudAPIClient.ValidateAccountAuditLogSink(c.ctx, validateRequest) + if err != nil { + return fmt.Errorf("validation failed with error %v", err) + } + + return nil +} + func NewAccountCommand(getAccountClientFn GetAccountClientFn) (CommandOut, error) { var c *AccountClient - return CommandOut{ + commandOut := CommandOut{ Command: &cli.Command{ Name: "account", Aliases: []string{"a"}, @@ -363,5 +521,353 @@ func NewAccountCommand(getAccountClientFn GetAccountClientFn) (CommandOut, error }, }, }, - }, nil + } + auditLogCommands := &cli.Command{ + Name: "audit-log", + Usage: "audit log commands", + Aliases: []string{"al"}, + } + + // Shared audit log sink commands (get, delete, list) + auditLogGeneralCommands := []*cli.Command{ + { + Name: "get", + Aliases: []string{"g"}, + Usage: "Get audit log sink", + Flags: []cli.Flag{ + sinkNameFlag, + }, + Action: func(ctx *cli.Context) error { + auditLogSinkRes, err := c.cloudAPIClient.GetAccountAuditLogSink(c.ctx, &cloudservice.GetAccountAuditLogSinkRequest{ + Name: ctx.String(sinkNameFlag.Name), + }) + if err != nil { + return fmt.Errorf("unable to get audit log sink: %v", err) + } + return PrintProto(auditLogSinkRes) + }, + }, + { + Name: "delete", + Aliases: []string{"d"}, + Usage: "Delete audit log sink", + Flags: []cli.Flag{ + sinkNameFlag, + ResourceVersionFlag, + }, + Action: func(ctx *cli.Context) error { + sinkName := ctx.String(sinkNameFlag.Name) + resourceVersion := ctx.String(ResourceVersionFlag.Name) + + if resourceVersion == "" { + getAuditLogSinkRes, err := c.cloudAPIClient.GetAccountAuditLogSink(c.ctx, &cloudservice.GetAccountAuditLogSinkRequest{ + Name: sinkName, + }) + if err != nil { + return fmt.Errorf("unable to get audit log sink: %v", err) + } + resourceVersion = getAuditLogSinkRes.GetSink().GetResourceVersion() + } + + deleteRequest := &cloudservice.DeleteAccountAuditLogSinkRequest{ + Name: sinkName, + ResourceVersion: resourceVersion, + } + + deleteResp, err := c.cloudAPIClient.DeleteAccountAuditLogSink(c.ctx, deleteRequest) + if err != nil { + return err + } + return PrintProto(deleteResp.GetAsyncOperation()) + }, + }, + { + Name: "list", + Aliases: []string{"l"}, + Usage: "List audit log sinks", + Flags: []cli.Flag{ + pageSizeFlag, + pageTokenFlag, + }, + Action: func(ctx *cli.Context) error { + request := &cloudservice.GetAccountAuditLogSinksRequest{ + PageSize: int32(ctx.Int(pageSizeFlag.Name)), + PageToken: ctx.String(pageTokenFlag.Name), + } + resp, err := c.cloudAPIClient.GetAccountAuditLogSinks(c.ctx, request) + if err != nil { + return err + } + return PrintProto(resp) + }, + }, + } + + // Kinesis audit log sink commands + kinesisAuditLogCommands := &cli.Command{ + Name: "kinesis", + Aliases: []string{"k"}, + Usage: "Manage Kinesis audit log sink", + Subcommands: []*cli.Command{ + { + Name: "create", + Aliases: []string{"c"}, + Usage: "Create a kinesis audit log sink", + Flags: []cli.Flag{ + // general audit log sink flags + sinkNameFlag, + // kinesis audit log sink flags + roleNameFlag, + destinationUriFlag, + sinkRegionFlagRequired, + }, + Action: func(ctx *cli.Context) error { + name := ctx.String(sinkNameFlag.Name) + enabled := true + roleName := ctx.String(roleNameFlag.Name) + destinationUri := ctx.String(destinationUriFlag.Name) + region := ctx.String(sinkRegionFlagRequired.Name) + spec, err := toKinesisAuditLogSinkSpec(ctx, name, enabled, roleName, destinationUri, region) + if err != nil { + return err + } + spec.Enabled = true + resp, err := c.createAuditLogSink(spec) + if err != nil { + return err + } + return PrintProto(resp) + }, + }, + { + Name: "validate", + Usage: "Validate kinesis audit log sink", + Aliases: []string{"v"}, + Flags: []cli.Flag{ + // general audit log sink flags + sinkNameFlag, + // kinesis audit log sink flags + roleNameFlag, + destinationUriFlag, + sinkRegionFlagRequired, + }, + Action: func(ctx *cli.Context) error { + name := ctx.String(sinkNameFlag.Name) + enabled := true + roleName := ctx.String(roleNameFlag.Name) + destinationUri := ctx.String(destinationUriFlag.Name) + region := ctx.String(sinkRegionFlagRequired.Name) + spec, err := toKinesisAuditLogSinkSpec(ctx, name, enabled, roleName, destinationUri, region) + if err != nil { + return err + } + err = c.validateAuditLogSink(spec) + if err != nil { + return err + } + fmt.Println("Temporal Cloud was able to validate the sink") + return nil + }, + }, + { + Name: "update", + Aliases: []string{"u"}, + Usage: "Update a kinesis audit log sink", + Flags: []cli.Flag{ + // general audit log sink flags + sinkNameFlag, + sinkEnabledFlag, + ResourceVersionFlag, + // kinesis audit log sink flags + roleNameFlagOptional, + destinationUriFlagOptional, + sinkRegionFlagOptional, + }, + Action: func(ctx *cli.Context) error { + sinkName := ctx.String(sinkNameFlag.Name) + getAuditLogSinkRes, err := c.cloudAPIClient.GetAccountAuditLogSink(c.ctx, &cloudservice.GetAccountAuditLogSinkRequest{ + Name: sinkName, + }) + if err != nil { + return fmt.Errorf("unable to get audit log sink: %v", err) + } + + resourceVersion := ctx.String(ResourceVersionFlag.Name) + if resourceVersion == "" { + resourceVersion = getAuditLogSinkRes.GetSink().GetResourceVersion() + } + + spec := getAuditLogSinkRes.GetSink().GetSpec() + isToggleChanged, err := c.isSinkToggleChange(ctx, getAuditLogSinkRes.GetSink()) + if err != nil { + return err + } + + if !isToggleChanged && !ctx.IsSet(roleNameFlagOptional.Name) && !ctx.IsSet(destinationUriFlagOptional.Name) && !ctx.IsSet(sinkRegionFlagOptional.Name) { + fmt.Println("nothing to update") + return nil + } + + if isToggleChanged { + spec.Enabled = !spec.Enabled + } + + if ctx.IsSet(roleNameFlagOptional.Name) { + spec.GetKinesisSink().RoleName = ctx.String(roleNameFlagOptional.Name) + } + + if ctx.IsSet(destinationUriFlagOptional.Name) { + spec.GetKinesisSink().DestinationUri = ctx.String(destinationUriFlagOptional.Name) + } + + if ctx.IsSet(sinkRegionFlagOptional.Name) { + spec.GetKinesisSink().Region = ctx.String(sinkRegionFlagOptional.Name) + } + + updateAuditLogSinkRes, err := c.updateAuditLogSink(ctx, resourceVersion, spec) + if err != nil { + return err + } + return PrintProto(updateAuditLogSinkRes) + }, + }, + }, + } + + // PubSub audit log sink commands + pubsubAuditLogCommands := &cli.Command{ + Name: "pubsub", + Aliases: []string{"ps"}, + Usage: "Manage PubSub audit log sink", + Subcommands: []*cli.Command{ + { + Name: "create", + Aliases: []string{"c"}, + Usage: "Create a pubsub audit log sink", + Flags: []cli.Flag{ + // general audit log sink flags + sinkNameFlag, + // pubsub audit log sink flags + sinkServiceAccountEmailFlag, + topicNameFlag, + }, + Action: func(ctx *cli.Context) error { + name := ctx.String(sinkNameFlag.Name) + enabled := true + serviceAccountEmail := ctx.String(sinkServiceAccountEmailFlag.Name) + topicName := ctx.String(topicNameFlag.Name) + spec, err := toPubsubAuditLogSinkSpec(ctx, name, enabled, serviceAccountEmail, topicName) + if err != nil { + return err + } + spec.Enabled = true + resp, err := c.createAuditLogSink(spec) + if err != nil { + return err + } + return PrintProto(resp) + }, + }, + { + Name: "validate", + Usage: "Validate pubsub audit log sink", + Aliases: []string{"v"}, + Flags: []cli.Flag{ + // general audit log sink flags + sinkNameFlag, + // pubsub audit log sink flags + sinkServiceAccountEmailFlag, + topicNameFlag, + }, + Action: func(ctx *cli.Context) error { + name := ctx.String(sinkNameFlag.Name) + enabled := true + serviceAccountEmail := ctx.String(sinkServiceAccountEmailFlag.Name) + topicName := ctx.String(topicNameFlag.Name) + spec, err := toPubsubAuditLogSinkSpec(ctx, name, enabled, serviceAccountEmail, topicName) + if err != nil { + return err + } + err = c.validateAuditLogSink(spec) + if err != nil { + return err + } + fmt.Println("Temporal Cloud was able to validate the sink") + return nil + }, + }, + { + Name: "update", + Aliases: []string{"u"}, + Usage: "Update a pubsub audit log sink", + Flags: []cli.Flag{ + // general audit log sink flags + sinkNameFlag, + sinkEnabledFlag, + ResourceVersionFlag, + // pubsub audit log sink flags + sinkServiceAccountEmailFlagOptional, + topicNameFlagOptional, + }, + Action: func(ctx *cli.Context) error { + sinkName := ctx.String(sinkNameFlag.Name) + getAuditLogSinkRes, err := c.cloudAPIClient.GetAccountAuditLogSink(c.ctx, &cloudservice.GetAccountAuditLogSinkRequest{ + Name: sinkName, + }) + if err != nil { + return fmt.Errorf("unable to get audit log sink: %v", err) + } + + resourceVersion := ctx.String(ResourceVersionFlag.Name) + if resourceVersion == "" { + resourceVersion = getAuditLogSinkRes.GetSink().GetResourceVersion() + } + + spec := getAuditLogSinkRes.GetSink().GetSpec() + isToggleChanged, err := c.isSinkToggleChange(ctx, getAuditLogSinkRes.GetSink()) + if err != nil { + return err + } + + if !isToggleChanged && !ctx.IsSet(sinkServiceAccountEmailFlagOptional.Name) && !ctx.IsSet(topicNameFlagOptional.Name) { + fmt.Println("nothing to update") + return nil + } + + if isToggleChanged { + spec.Enabled = !spec.Enabled + } + + if ctx.IsSet(sinkServiceAccountEmailFlagOptional.Name) { + saId, gcpProjectId, err := parseSAPrincipal(ctx.String(sinkServiceAccountEmailFlagOptional.Name)) + if err != nil { + return err + } + spec.GetPubSubSink().ServiceAccountId = saId + spec.GetPubSubSink().GcpProjectId = gcpProjectId + } + + if ctx.IsSet(topicNameFlagOptional.Name) { + spec.GetPubSubSink().TopicName = ctx.String(topicNameFlagOptional.Name) + } + + updateAuditLogSinkRes, err := c.updateAuditLogSink(ctx, resourceVersion, spec) + if err != nil { + return err + } + return PrintProto(updateAuditLogSinkRes) + }, + }, + }, + } + + kinesisAuditLogCommands.Subcommands = append(kinesisAuditLogCommands.Subcommands, auditLogGeneralCommands...) + pubsubAuditLogCommands.Subcommands = append(pubsubAuditLogCommands.Subcommands, auditLogGeneralCommands...) + + auditLogCommands.Subcommands = []*cli.Command{ + kinesisAuditLogCommands, + pubsubAuditLogCommands, + } + commandOut.Command.Subcommands = append(commandOut.Command.Subcommands, auditLogCommands) + return commandOut, nil } diff --git a/app/account_test.go b/app/account_test.go index fbf767a9..5a056898 100644 --- a/app/account_test.go +++ b/app/account_test.go @@ -14,9 +14,14 @@ import ( "github.com/stretchr/testify/suite" "github.com/temporalio/tcld/protogen/api/account/v1" "github.com/temporalio/tcld/protogen/api/accountservice/v1" + 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" + cloudSink "github.com/temporalio/tcld/protogen/api/cloud/sink/v1" "github.com/temporalio/tcld/protogen/api/common/v1" "github.com/temporalio/tcld/protogen/api/request/v1" accountservicemock "github.com/temporalio/tcld/protogen/apimock/accountservice/v1" + apimock "github.com/temporalio/tcld/protogen/apimock/cloudservice/v1" "github.com/urfave/cli/v2" ) @@ -26,18 +31,21 @@ func TestAccount(t *testing.T) { type AccountTestSuite struct { suite.Suite - cliApp *cli.App - mockCtrl *gomock.Controller - mockService *accountservicemock.MockAccountServiceClient + cliApp *cli.App + mockCtrl *gomock.Controller + mockService *accountservicemock.MockAccountServiceClient + mockCloudApiClient *apimock.MockCloudServiceClient } func (s *AccountTestSuite) SetupTest() { s.mockCtrl = gomock.NewController(s.T()) s.mockService = accountservicemock.NewMockAccountServiceClient(s.mockCtrl) + s.mockCloudApiClient = apimock.NewMockCloudServiceClient(s.mockCtrl) out, err := NewAccountCommand(func(ctx *cli.Context) (*AccountClient, error) { return &AccountClient{ - ctx: context.TODO(), - client: s.mockService, + ctx: context.TODO(), + client: s.mockService, + cloudAPIClient: s.mockCloudApiClient, }, nil }) s.Require().NoError(err) @@ -632,3 +640,563 @@ func (s *AccountTestSuite) copySpec(spec *account.AccountSpec) *account.AccountS s.NoError(json.Unmarshal(bytes, ©)) return © } + +func (s *AccountTestSuite) TestCreateAuditLogSink() { + tests := []struct { + name string + args []string + expectErr bool + expectRequest cloudservice.CreateAccountAuditLogSinkRequest + createError error + }{ + { + name: "kinesis audit log sink", + args: []string{"a", "al", "kinesis", "create", "--sink-name", "audit_log_01", "--role-name", "TestRole", + "--destination-uri", "arn:aws:kinesis:us-east-1:123456789012:stream/TestStream", + "--region", "us-east-1"}, + expectErr: false, + expectRequest: cloudservice.CreateAccountAuditLogSinkRequest{ + Spec: &cloudaccount.AuditLogSinkSpec{ + Name: "audit_log_01", + Enabled: true, + SinkType: &cloudaccount.AuditLogSinkSpec_KinesisSink{ + KinesisSink: &cloudSink.KinesisSpec{ + RoleName: "TestRole", + DestinationUri: "arn:aws:kinesis:us-east-1:123456789012:stream/TestStream", + Region: "us-east-1", + }, + }, + }, + }, + }, + { + name: "kinesis audit log sink with error", + args: []string{"a", "al", "kinesis", "create", "--sink-name", "audit_log_01", + "--role-name", "TestRole", + "--destination-uri", "arn:aws:kinesis:us-east-1:123456789012:stream/TestStream", + "--region", "us-east-1"}, + expectErr: true, + expectRequest: cloudservice.CreateAccountAuditLogSinkRequest{ + Spec: &cloudaccount.AuditLogSinkSpec{ + Name: "audit_log_01", + Enabled: true, + SinkType: &cloudaccount.AuditLogSinkSpec_KinesisSink{ + KinesisSink: &cloudSink.KinesisSpec{ + RoleName: "TestRole", + DestinationUri: "arn:aws:kinesis:us-east-1:123456789012:stream/TestStream", + Region: "us-east-1", + }, + }, + }, + }, + createError: fmt.Errorf("error"), + }, + { + name: "kinesis audit log sink missing role name", + args: []string{"a", "al", "kinesis", "create", "--sink-name", "audit_log_01", + "--destination-uri", "arn:aws:kinesis:us-east-1:123456789012:stream/TestStream", + "--region", "us-east-1"}, + expectErr: true, + }, + { + name: "kinesis audit log sink missing destination uri", + args: []string{"a", "al", "kinesis", "create", "--sink-name", "audit_log_01", + "--role-name", "TestRole", + "--region", "us-east-1"}, + expectErr: true, + }, + { + name: "kinesis audit log sink missing region", + args: []string{"a", "al", "kinesis", "create", "--sink-name", "audit_log_01", + "--role-name", "TestRole", + "--destination-uri", "arn:aws:kinesis:us-east-1:123456789012:stream/TestStream"}, + expectErr: true, + }, + { + name: "pubsub audit log sink", + 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{ + Spec: &cloudaccount.AuditLogSinkSpec{ + Name: "audit_log_01", + Enabled: true, + SinkType: &cloudaccount.AuditLogSinkSpec_PubSubSink{ + PubSubSink: &cloudSink.PubSubSpec{ + ServiceAccountId: "123456789012", + TopicName: "TestTopic", + GcpProjectId: "TestProject", + }, + }, + }, + }, + }, + { + name: "pubsub audit log sink missing service account email", + args: []string{"a", "al", "pubsub", "create", "--sink-name", "audit_log_01", + "--topic-name", "TestTopic"}, + expectErr: true, + }, + { + name: "pubsub audit log sink missing topic name", + args: []string{"a", "al", "pubsub", "create", "--sink-name", "audit_log_01", + "--service-account-email", "123456789012@TestProject.iam.gserviceaccount.com"}, + expectErr: true, + }, + } + for _, tc := range tests { + s.Run(tc.name, func() { + if tc.expectRequest != (cloudservice.CreateAccountAuditLogSinkRequest{}) { + s.mockCloudApiClient.EXPECT().CreateAccountAuditLogSink(gomock.Any(), &tc.expectRequest).Return(&cloudservice.CreateAccountAuditLogSinkResponse{ + AsyncOperation: &operation.AsyncOperation{ + Id: "123", + }, + }, tc.createError).Times(1) + } + err := s.RunCmd(tc.args...) + if tc.expectErr { + s.Error(err) + } else { + s.NoError(err) + } + }) + } +} + +func (s *AccountTestSuite) TestUpdateAuditLogSink() { + tests := []struct { + name string + args []string + expectErr bool + expectRequest cloudservice.UpdateAccountAuditLogSinkRequest + expectGetRequest bool + updateError error + getSinkError error + }{ + { + name: "kinesis audit log sink", + args: []string{"a", "al", "kinesis", "update", "--sink-name", "audit_log_01", + "--role-name", "TestRole", + "--destination-uri", "arn:aws:kinesis:us-east-1:123456789012:stream/TestStream", + "--region", "us-east-1", "--enabled", "true"}, + expectErr: false, + expectGetRequest: true, + expectRequest: cloudservice.UpdateAccountAuditLogSinkRequest{ + ResourceVersion: "123", + Spec: &cloudaccount.AuditLogSinkSpec{ + Name: "audit_log_01", + Enabled: true, + SinkType: &cloudaccount.AuditLogSinkSpec_KinesisSink{ + KinesisSink: &cloudSink.KinesisSpec{ + RoleName: "TestRole", + DestinationUri: "arn:aws:kinesis:us-east-1:123456789012:stream/TestStream", + Region: "us-east-1", + }, + }, + }, + }, + }, + { + name: "audit log sink get sink error", + args: []string{"a", "al", "kinesis", "update", "--sink-name", "audit_log_01", + "--role-name", "TestRole", + "--destination-uri", "arn:aws:kinesis:us-east-1:123456789012:stream/TestStream", + "--region", "us-east-1", "--enabled", "true"}, + expectErr: true, + expectGetRequest: true, + expectRequest: cloudservice.UpdateAccountAuditLogSinkRequest{ + ResourceVersion: "123", + Spec: &cloudaccount.AuditLogSinkSpec{ + Name: "audit_log_01", + Enabled: true, + SinkType: &cloudaccount.AuditLogSinkSpec_KinesisSink{ + KinesisSink: &cloudSink.KinesisSpec{ + RoleName: "TestRole", + DestinationUri: "arn:aws:kinesis:us-east-1:123456789012:stream/TestStream", + Region: "us-east-1", + }, + }, + }, + }, + getSinkError: fmt.Errorf("error"), + }, + { + name: "audit log sink update error", + args: []string{"a", "al", "kinesis", "update", "--sink-name", "audit_log_01", + "--role-name", "TestRole", + "--destination-uri", "arn:aws:kinesis:us-east-1:123456789012:stream/TestStream", + "--region", "us-east-1", "--enabled", "true"}, + expectErr: true, + expectGetRequest: true, + expectRequest: cloudservice.UpdateAccountAuditLogSinkRequest{ + ResourceVersion: "123", + Spec: &cloudaccount.AuditLogSinkSpec{ + Name: "audit_log_01", + Enabled: true, + SinkType: &cloudaccount.AuditLogSinkSpec_KinesisSink{ + KinesisSink: &cloudSink.KinesisSpec{ + RoleName: "TestRole", + DestinationUri: "arn:aws:kinesis:us-east-1:123456789012:stream/TestStream", + Region: "us-east-1", + }, + }, + }, + }, + updateError: fmt.Errorf("error"), + }, + { + name: "pubsub audit log sink", + args: []string{"a", "al", "pubsub", "update", "--sink-name", "audit_log_01", + "--enabled", "true", + "--service-account-email", "123456789012@TestProject.iam.gserviceaccount.com", "--topic-name", "TestTopic"}, + expectErr: false, + expectGetRequest: true, + expectRequest: cloudservice.UpdateAccountAuditLogSinkRequest{ + ResourceVersion: "123", + Spec: &cloudaccount.AuditLogSinkSpec{ + Name: "audit_log_01", + Enabled: true, + SinkType: &cloudaccount.AuditLogSinkSpec_PubSubSink{ + PubSubSink: &cloudSink.PubSubSpec{ + ServiceAccountId: "123456789012", + TopicName: "TestTopic", + GcpProjectId: "TestProject", + }, + }, + }, + }, + }, + { + name: "update sink uses provided resource version", + args: []string{"a", "al", "pubsub", "update", "--sink-name", "audit_log_01", + "--enabled", "true", + "--service-account-email", "123456789012@TestProject.iam.gserviceaccount.com", "--topic-name", "TestTopic", "--resource-version", "345"}, + expectErr: false, + expectGetRequest: true, + expectRequest: cloudservice.UpdateAccountAuditLogSinkRequest{ + ResourceVersion: "345", + Spec: &cloudaccount.AuditLogSinkSpec{ + Name: "audit_log_01", + Enabled: true, + SinkType: &cloudaccount.AuditLogSinkSpec_PubSubSink{ + PubSubSink: &cloudSink.PubSubSpec{ + ServiceAccountId: "123456789012", + TopicName: "TestTopic", + GcpProjectId: "TestProject", + }, + }, + }, + }, + }, + } + for _, tc := range tests { + s.Run(tc.name, func() { + if tc.expectRequest != (cloudservice.UpdateAccountAuditLogSinkRequest{}) { + if tc.expectGetRequest { + sinkType := "" + if len(tc.args) >= 3 { + sinkType = tc.args[2] + } + + var mockSink *cloudaccount.AuditLogSink + switch sinkType { + case "kinesis": + mockSink = &cloudaccount.AuditLogSink{ + ResourceVersion: "123", + Spec: &cloudaccount.AuditLogSinkSpec{ + Name: "audit_log_01", + Enabled: false, + SinkType: &cloudaccount.AuditLogSinkSpec_KinesisSink{ + KinesisSink: &cloudSink.KinesisSpec{ + RoleName: "OldRole", + DestinationUri: "old-uri", + Region: "old-region", + }, + }, + }, + } + case "pubsub": + mockSink = &cloudaccount.AuditLogSink{ + ResourceVersion: "123", + Spec: &cloudaccount.AuditLogSinkSpec{ + Name: "audit_log_01", + Enabled: false, + SinkType: &cloudaccount.AuditLogSinkSpec_PubSubSink{ + PubSubSink: &cloudSink.PubSubSpec{ + ServiceAccountId: "old-sa", + TopicName: "old-topic", + GcpProjectId: "old-project", + }, + }, + }, + } + + } + s.mockCloudApiClient.EXPECT().GetAccountAuditLogSink(gomock.Any(), &cloudservice.GetAccountAuditLogSinkRequest{ + Name: "audit_log_01", + }).Return(&cloudservice.GetAccountAuditLogSinkResponse{ + Sink: mockSink, + }, tc.getSinkError).Times(1) + } + if tc.getSinkError == nil { + s.mockCloudApiClient.EXPECT().UpdateAccountAuditLogSink(gomock.Any(), &tc.expectRequest).Return(&cloudservice.UpdateAccountAuditLogSinkResponse{ + AsyncOperation: &operation.AsyncOperation{ + Id: "123", + }, + }, tc.updateError).Times(1) + } + } + err := s.RunCmd(tc.args...) + if tc.expectErr { + s.Error(err) + } else { + s.NoError(err) + } + }) + } +} + +func (s *AccountTestSuite) TestDeleteAuditLogSink() { + tests := []struct { + name string + args []string + expectErr bool + expectRequest cloudservice.DeleteAccountAuditLogSinkRequest + expectGetRequest bool + deleteError error + getSinkError error + }{ + { + name: "delete audit log sink success", + args: []string{"a", "al", "kinesis", "delete", "--sink-name", "audit_log_01"}, + expectErr: false, + expectGetRequest: true, + expectRequest: cloudservice.DeleteAccountAuditLogSinkRequest{ + ResourceVersion: "123", + Name: "audit_log_01", + }, + }, + { + 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{ + ResourceVersion: "345", + Name: "audit_log_01", + }, + }, + { + name: "delete audit log sink get sink error", + args: []string{"a", "al", "kinesis", "delete", "--sink-name", "audit_log_01"}, + expectErr: true, + expectGetRequest: true, + expectRequest: cloudservice.DeleteAccountAuditLogSinkRequest{ + ResourceVersion: "123", + Name: "audit_log_01", + }, + getSinkError: fmt.Errorf("error"), + }, + { + name: "delete audit log sink delete error", + args: []string{"a", "al", "kinesis", "delete", "--sink-name", "audit_log_01"}, + expectErr: true, + expectGetRequest: true, + expectRequest: cloudservice.DeleteAccountAuditLogSinkRequest{ + ResourceVersion: "123", + Name: "audit_log_01", + }, + deleteError: fmt.Errorf("error"), + }, + } + for _, tc := range tests { + s.Run(tc.name, func() { + if tc.expectRequest != (cloudservice.DeleteAccountAuditLogSinkRequest{}) { + if tc.expectGetRequest { + s.mockCloudApiClient.EXPECT().GetAccountAuditLogSink(gomock.Any(), &cloudservice.GetAccountAuditLogSinkRequest{ + Name: "audit_log_01", + }).Return(&cloudservice.GetAccountAuditLogSinkResponse{ + Sink: &cloudaccount.AuditLogSink{ + ResourceVersion: "123", + }, + }, tc.getSinkError).Times(1) + } + if tc.getSinkError == nil { + s.mockCloudApiClient.EXPECT().DeleteAccountAuditLogSink(gomock.Any(), &tc.expectRequest).Return(&cloudservice.DeleteAccountAuditLogSinkResponse{ + AsyncOperation: &operation.AsyncOperation{ + Id: "123", + }, + }, tc.deleteError).Times(1) + } + } + err := s.RunCmd(tc.args...) + if tc.expectErr { + s.Error(err) + } else { + s.NoError(err) + } + }) + } +} + +func (s *AccountTestSuite) TestValidateAuditLogSink() { + tests := []struct { + name string + args []string + expectErr bool + expectRequest cloudservice.ValidateAccountAuditLogSinkRequest + validateError error + }{ + { + name: "kinesis audit log sink", + args: []string{"a", "al", "kinesis", "validate", + "--sink-name", "test-sink", + "--role-name", "TestRole", + "--destination-uri", "arn:aws:kinesis:us-east-1:123456789012:stream/TestStream", + "--region", "us-east-1"}, + expectErr: false, + expectRequest: cloudservice.ValidateAccountAuditLogSinkRequest{ + Spec: &cloudaccount.AuditLogSinkSpec{ + Name: "test-sink", + Enabled: true, + SinkType: &cloudaccount.AuditLogSinkSpec_KinesisSink{ + KinesisSink: &cloudSink.KinesisSpec{ + RoleName: "TestRole", + DestinationUri: "arn:aws:kinesis:us-east-1:123456789012:stream/TestStream", + Region: "us-east-1", + }, + }, + }, + }, + }, + { + name: "kinesis audit log sink with error", + args: []string{"a", "al", "kinesis", "validate", + "--sink-name", "test-sink", + "--role-name", "TestRole", + "--destination-uri", "arn:aws:kinesis:us-east-1:123456789012:stream/TestStream", + "--region", "us-east-1"}, + expectErr: true, + expectRequest: cloudservice.ValidateAccountAuditLogSinkRequest{ + Spec: &cloudaccount.AuditLogSinkSpec{ + Name: "test-sink", + Enabled: true, + SinkType: &cloudaccount.AuditLogSinkSpec_KinesisSink{ + KinesisSink: &cloudSink.KinesisSpec{ + RoleName: "TestRole", + DestinationUri: "arn:aws:kinesis:us-east-1:123456789012:stream/TestStream", + Region: "us-east-1", + }, + }, + }, + }, + validateError: fmt.Errorf("error"), + }, + { + name: "pubsub audit log sink", + args: []string{"a", "al", "pubsub", "validate", + "--sink-name", "test-sink", + "--service-account-email", "123456789012@TestProject.iam.gserviceaccount.com", "--topic-name", "TestTopic"}, + expectErr: false, + expectRequest: cloudservice.ValidateAccountAuditLogSinkRequest{ + Spec: &cloudaccount.AuditLogSinkSpec{ + Name: "test-sink", + Enabled: true, + SinkType: &cloudaccount.AuditLogSinkSpec_PubSubSink{ + PubSubSink: &cloudSink.PubSubSpec{ + ServiceAccountId: "123456789012", + TopicName: "TestTopic", + GcpProjectId: "TestProject", + }, + }, + }, + }, + }, + } + for _, tc := range tests { + s.Run(tc.name, func() { + if tc.expectRequest != (cloudservice.ValidateAccountAuditLogSinkRequest{}) { + s.mockCloudApiClient.EXPECT().ValidateAccountAuditLogSink(gomock.Any(), &tc.expectRequest).Return(&cloudservice.ValidateAccountAuditLogSinkResponse{}, tc.validateError).Times(1) + } + err := s.RunCmd(tc.args...) + if tc.expectErr { + s.Error(err) + } else { + s.NoError(err) + } + }) + } +} + +func (s *AccountTestSuite) TestListAuditLogSinks() { + tests := []struct { + name string + args []string + expectErr bool + expectRequest cloudservice.GetAccountAuditLogSinksRequest + listError error + }{ + { + name: "list sinks succeeds", + args: []string{"a", "al", "kinesis", "list"}, + expectErr: false, + expectRequest: cloudservice.GetAccountAuditLogSinksRequest{}, + }, + { + name: "list sinks with error", + args: []string{"a", "al", "kinesis", "list"}, + expectErr: true, + expectRequest: cloudservice.GetAccountAuditLogSinksRequest{}, + listError: fmt.Errorf("error"), + }, + } + for _, tc := range tests { + s.Run(tc.name, func() { + s.mockCloudApiClient.EXPECT().GetAccountAuditLogSinks(gomock.Any(), gomock.Any()).Return(&cloudservice.GetAccountAuditLogSinksResponse{}, tc.listError).Times(1) + err := s.RunCmd(tc.args...) + if tc.expectErr { + s.Error(err) + } else { + s.NoError(err) + } + }) + } +} + +func (s *AccountTestSuite) TestGetAuditLogSink() { + tests := []struct { + name string + args []string + expectErr bool + 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{ + Name: "audit_log_01", + }, + }, + { + name: "get sink with error", + args: []string{"a", "al", "kinesis", "get", "--sink-name", "audit_log_01"}, + expectErr: true, + expectRequest: cloudservice.GetAccountAuditLogSinkRequest{ + Name: "audit_log_01", + }, + getError: fmt.Errorf("error"), + }, + } + for _, tc := range tests { + s.Run(tc.name, func() { + 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) + } else { + s.NoError(err) + } + }) + } +} diff --git a/protogen/api/account/v1/message.pb.go b/protogen/api/account/v1/message.pb.go index 8932268d..99708b65 100644 --- a/protogen/api/account/v1/message.pb.go +++ b/protogen/api/account/v1/message.pb.go @@ -446,8 +446,6 @@ type Account struct { OutputSinks map[string]*v1.Sink `protobuf:"bytes,10,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"` // GCP Sink Specific GcpSinkSettings *GCPSinkSettings `protobuf:"bytes,11,opt,name=gcp_sink_settings,json=gcpSinkSettings,proto3" json:"gcp_sink_settings,omitempty"` - // Indicating the cloud providers this account actually USES - CloudProvidersUsed []v11.RegionID_CloudProvider `protobuf:"varint,12,rep,packed,name=cloud_providers_used,json=cloudProvidersUsed,proto3,enum=api.common.v1.RegionID_CloudProvider" json:"cloud_providers_used,omitempty"` // Indicating the cloud providers that are available for this account to use 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"` } @@ -554,13 +552,6 @@ func (m *Account) GetGcpSinkSettings() *GCPSinkSettings { return nil } -func (m *Account) GetCloudProvidersUsed() []v11.RegionID_CloudProvider { - if m != nil { - return m.CloudProvidersUsed - } - return nil -} - func (m *Account) GetCloudProvidersAvailable() []v11.RegionID_CloudProvider { if m != nil { return m.CloudProvidersAvailable @@ -639,79 +630,78 @@ func init() { func init() { proto.RegisterFile("api/account/v1/message.proto", fileDescriptor_603c66a56913ad55) } var fileDescriptor_603c66a56913ad55 = []byte{ - // 1144 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x4f, 0x73, 0xdb, 0x44, - 0x14, 0xb7, 0xec, 0x24, 0x8e, 0x9f, 0x13, 0x5b, 0xd9, 0xba, 0xc4, 0x75, 0x5a, 0x35, 0xe3, 0x81, - 0x62, 0x4a, 0x47, 0xa6, 0x29, 0x9d, 0x81, 0x32, 0x1c, 0x5c, 0x5b, 0x2d, 0xa6, 0x6d, 0x62, 0xe4, - 0xb8, 0x40, 0x0f, 0x68, 0x36, 0xd2, 0xd6, 0xb3, 0x53, 0x5b, 0x12, 0xda, 0x95, 0xdb, 0xdc, 0xf8, - 0x08, 0x5c, 0xf8, 0x0e, 0x7c, 0x09, 0x6e, 0x1c, 0x38, 0xf6, 0xd8, 0x23, 0x75, 0x0f, 0x70, 0xec, - 0xf0, 0x09, 0x98, 0x5d, 0xad, 0xf0, 0x9f, 0x36, 0x09, 0xcc, 0x70, 0xd3, 0xbe, 0xf7, 0xfb, 0xfd, - 0xde, 0x6f, 0xdf, 0xbe, 0x5d, 0x1b, 0x2e, 0xe2, 0x90, 0x36, 0xb1, 0xeb, 0x06, 0xb1, 0xcf, 0x9b, - 0x93, 0xeb, 0xcd, 0x31, 0x61, 0x0c, 0x0f, 0x89, 0x19, 0x46, 0x01, 0x0f, 0x50, 0x09, 0x87, 0xd4, - 0x54, 0x59, 0x73, 0x72, 0xbd, 0x76, 0x79, 0x18, 0x04, 0xc3, 0x11, 0x69, 0xca, 0xec, 0x51, 0xfc, - 0xb8, 0xc9, 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 0x2e, 0x14, 0x83, 0x59, 0xa4, 0x36, 0x00, 0x7d, 0x19, 0xf0, 0x96, 0x63, 0xfd, 0x70, 0xf1, 0x58, - 0xcf, 0xcb, 0x7a, 0xc2, 0x81, 0x28, 0x26, 0x98, 0xd2, 0xe5, 0xec, 0x34, 0xbf, 0x5c, 0x59, 0xcf, - 0xea, 0xb9, 0xfa, 0xaf, 0x6b, 0x90, 0x57, 0x56, 0xd0, 0x07, 0xa0, 0x47, 0x84, 0x05, 0x71, 0xe4, - 0x12, 0x67, 0x42, 0x22, 0x46, 0x03, 0x5f, 0x55, 0x28, 0xa7, 0xf1, 0x87, 0x49, 0x18, 0x35, 0x61, - 0x85, 0x85, 0xc4, 0x55, 0xc5, 0x76, 0x4e, 0xd9, 0x9c, 0x2d, 0x81, 0xc2, 0x1e, 0xe3, 0x98, 0x93, - 0x6a, 0x6e, 0x57, 0x6b, 0x94, 0x94, 0xbd, 0x39, 0x46, 0x5f, 0x24, 0xed, 0x04, 0x83, 0x2e, 0x01, - 0x44, 0xe4, 0xfb, 0x98, 0x30, 0xee, 0x50, 0xaf, 0xba, 0x92, 0x4c, 0x94, 0x8a, 0x74, 0x3d, 0xf4, - 0x39, 0x6c, 0xb8, 0x11, 0xc1, 0xe2, 0xc8, 0xe5, 0x43, 0xb1, 0x7a, 0xe6, 0x43, 0x51, 0x54, 0x78, - 0xf9, 0x58, 0x7c, 0x01, 0x68, 0x84, 0x19, 0x77, 0xc6, 0x81, 0x47, 0x1f, 0xd3, 0x54, 0x64, 0xed, - 0x4c, 0x11, 0x5d, 0xb0, 0x1e, 0x28, 0x92, 0x54, 0xba, 0x3e, 0x9b, 0x90, 0xbc, 0xa4, 0x6f, 0x9f, - 0x30, 0x21, 0xb3, 0xe9, 0xb8, 0x02, 0x65, 0xfc, 0x94, 0x39, 0xe4, 0x19, 0x27, 0x91, 0x8f, 0x47, - 0x62, 0x7f, 0x05, 0xb9, 0xbf, 0x4d, 0xfc, 0x94, 0x59, 0x2a,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, 0x46, 0xe6, 0xc5, 0x4b, 0x23, 0xf3, 0xfa, 0xa5, 0xa1, - 0xfd, 0x30, 0x35, 0xb4, 0x9f, 0xa7, 0x86, 0xf6, 0xdb, 0xd4, 0xd0, 0x9e, 0x4f, 0x0d, 0xed, 0xf7, - 0xa9, 0xa1, 0xfd, 0x39, 0x35, 0x32, 0xaf, 0xa7, 0x86, 0xf6, 0xe3, 0x2b, 0x23, 0xf3, 0xfc, 0x95, - 0x91, 0x79, 0xf1, 0xca, 0xc8, 0x3c, 0xaa, 0xf3, 0x71, 0x18, 0x8d, 0x4c, 0x39, 0xb7, 0xcd, 0xc5, - 0xff, 0x84, 0x9f, 0xa9, 0xcf, 0xa3, 0x35, 0xf9, 0x26, 0xdd, 0xf8, 0x3b, 0x00, 0x00, 0xff, 0xff, - 0x7b, 0x52, 0x61, 0x59, 0x34, 0x0a, 0x00, 0x00, + // 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, 0xf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, + 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 (x State) String() string { @@ -962,14 +952,6 @@ func (this *Account) Equal(that interface{}) bool { if !this.GcpSinkSettings.Equal(that1.GcpSinkSettings) { return false } - if len(this.CloudProvidersUsed) != len(that1.CloudProvidersUsed) { - return false - } - for i := range this.CloudProvidersUsed { - if this.CloudProvidersUsed[i] != that1.CloudProvidersUsed[i] { - return false - } - } if len(this.CloudProvidersAvailable) != len(that1.CloudProvidersAvailable) { return false } @@ -1132,7 +1114,7 @@ func (this *Account) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 16) + s := make([]string, 0, 15) s = append(s, "&account.Account{") s = append(s, "ResourceVersion: "+fmt.Sprintf("%#v", this.ResourceVersion)+",\n") if this.Spec != nil { @@ -1166,7 +1148,6 @@ func (this *Account) GoString() string { if this.GcpSinkSettings != nil { s = append(s, "GcpSinkSettings: "+fmt.Sprintf("%#v", this.GcpSinkSettings)+",\n") } - s = append(s, "CloudProvidersUsed: "+fmt.Sprintf("%#v", this.CloudProvidersUsed)+",\n") s = append(s, "CloudProvidersAvailable: "+fmt.Sprintf("%#v", this.CloudProvidersAvailable)+",\n") s = append(s, "}") return strings.Join(s, "") @@ -1536,24 +1517,6 @@ func (m *Account) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x6a } - if len(m.CloudProvidersUsed) > 0 { - dAtA11 := make([]byte, len(m.CloudProvidersUsed)*10) - var j10 int - for _, num := range m.CloudProvidersUsed { - for num >= 1<<7 { - dAtA11[j10] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j10++ - } - dAtA11[j10] = uint8(num) - j10++ - } - i -= j10 - copy(dAtA[i:], dAtA11[:j10]) - i = encodeVarintMessage(dAtA, i, uint64(j10)) - i-- - dAtA[i] = 0x62 - } if m.GcpSinkSettings != nil { { size, err := m.GcpSinkSettings.MarshalToSizedBuffer(dAtA[:i]) @@ -1906,13 +1869,6 @@ func (m *Account) Size() (n int) { l = m.GcpSinkSettings.Size() n += 1 + l + sovMessage(uint64(l)) } - if len(m.CloudProvidersUsed) > 0 { - l = 0 - for _, e := range m.CloudProvidersUsed { - l += sovMessage(uint64(e)) - } - n += 1 + sovMessage(uint64(l)) + l - } if len(m.CloudProvidersAvailable) > 0 { l = 0 for _, e := range m.CloudProvidersAvailable { @@ -2072,7 +2028,6 @@ func (this *Account) String() string { `AwsExternalId:` + fmt.Sprintf("%v", this.AwsExternalId) + `,`, `OutputSinks:` + mapStringForOutputSinks + `,`, `GcpSinkSettings:` + strings.Replace(this.GcpSinkSettings.String(), "GCPSinkSettings", "GCPSinkSettings", 1) + `,`, - `CloudProvidersUsed:` + fmt.Sprintf("%v", this.CloudProvidersUsed) + `,`, `CloudProvidersAvailable:` + fmt.Sprintf("%v", this.CloudProvidersAvailable) + `,`, `}`, }, "") @@ -3558,75 +3513,6 @@ func (m *Account) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 12: - 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.CloudProvidersUsed = append(m.CloudProvidersUsed, 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.CloudProvidersUsed) == 0 { - m.CloudProvidersUsed = 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.CloudProvidersUsed = append(m.CloudProvidersUsed, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field CloudProvidersUsed", wireType) - } case 13: if wireType == 0 { var v v11.RegionID_CloudProvider diff --git a/protogen/api/cloud/account/v1/message.pb.go b/protogen/api/cloud/account/v1/message.pb.go index 7b7a9f4d..2e12669c 100644 --- a/protogen/api/cloud/account/v1/message.pb.go +++ b/protogen/api/cloud/account/v1/message.pb.go @@ -7,11 +7,14 @@ import ( bytes "bytes" fmt "fmt" proto "github.com/gogo/protobuf/proto" + types "github.com/gogo/protobuf/types" 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" reflect "reflect" + strconv "strconv" strings "strings" ) @@ -26,6 +29,33 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +type AuditLogSink_Health int32 + +const ( + HEALTH_UNSPECIFIED AuditLogSink_Health = 0 + HEALTH_OK AuditLogSink_Health = 1 + HEALTH_ERROR_INTERNAL AuditLogSink_Health = 2 + HEALTH_ERROR_USER_CONFIGURATION AuditLogSink_Health = 3 +) + +var AuditLogSink_Health_name = map[int32]string{ + 0: "HealthUnspecified", + 1: "HealthOk", + 2: "HealthErrorInternal", + 3: "HealthErrorUserConfiguration", +} + +var AuditLogSink_Health_value = map[string]int32{ + "HealthUnspecified": 0, + "HealthOk": 1, + "HealthErrorInternal": 2, + "HealthErrorUserConfiguration": 3, +} + +func (AuditLogSink_Health) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_0da0883d6b494eb5, []int{5, 0} +} + type MetricsSpec struct { // 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. @@ -251,11 +281,218 @@ func (m *Account) GetMetrics() *Metrics { return nil } +// AuditLogSinkSpec is only used by Audit Log +type AuditLogSinkSpec struct { + // 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: + // *AuditLogSinkSpec_KinesisSink + // *AuditLogSinkSpec_PubSubSink + SinkType isAuditLogSinkSpec_SinkType `protobuf_oneof:"sink_type"` + // Enabled indicates whether the sink is enabled or not. + 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 (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) +} + +var xxx_messageInfo_AuditLogSinkSpec proto.InternalMessageInfo + +type isAuditLogSinkSpec_SinkType interface { + isAuditLogSinkSpec_SinkType() + Equal(interface{}) bool + MarshalTo([]byte) (int, error) + Size() int +} + +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"` +} + +func (*AuditLogSinkSpec_KinesisSink) isAuditLogSinkSpec_SinkType() {} +func (*AuditLogSinkSpec_PubSubSink) isAuditLogSinkSpec_SinkType() {} + +func (m *AuditLogSinkSpec) GetSinkType() isAuditLogSinkSpec_SinkType { + if m != nil { + return m.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 { + return x.KinesisSink + } + return nil +} + +func (m *AuditLogSinkSpec) GetPubSubSink() *v11.PubSubSpec { + if x, ok := m.GetSinkType().(*AuditLogSinkSpec_PubSubSink); ok { + return x.PubSubSink + } + return nil +} + +func (m *AuditLogSinkSpec) GetEnabled() bool { + if m != nil { + return m.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), + } +} + +// AuditLogSink is only used by Audit Log +// temporal:dev +type AuditLogSink struct { + // 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. + ResourceVersion string `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` + // The current state of the audit log sink. + State v1.ResourceState `protobuf:"varint,3,opt,name=state,proto3,enum=temporal.api.cloud.resource.v1.ResourceState" json:"state,omitempty"` + // The specification details of the audit log sink. + Spec *AuditLogSinkSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"` + // The health status of the audit log sink. + Health AuditLogSink_Health `protobuf:"varint,5,opt,name=health,proto3,enum=temporal.api.cloud.account.v1.AuditLogSink_Health" json:"health,omitempty"` + // 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"` +} + +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 (m *AuditLogSink) XXX_Merge(src proto.Message) { + xxx_messageInfo_AuditLogSink.Merge(m, src) +} +func (m *AuditLogSink) XXX_Size() int { + return m.Size() +} +func (m *AuditLogSink) XXX_DiscardUnknown() { + xxx_messageInfo_AuditLogSink.DiscardUnknown(m) +} + +var xxx_messageInfo_AuditLogSink proto.InternalMessageInfo + +func (m *AuditLogSink) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *AuditLogSink) GetResourceVersion() string { + if m != nil { + return m.ResourceVersion + } + return "" +} + +func (m *AuditLogSink) GetState() v1.ResourceState { + if m != nil { + return m.State + } + return v1.RESOURCE_STATE_UNSPECIFIED +} + +func (m *AuditLogSink) GetSpec() *AuditLogSinkSpec { + if m != nil { + return m.Spec + } + return nil +} + +func (m *AuditLogSink) GetHealth() AuditLogSink_Health { + if m != nil { + return m.Health + } + return HEALTH_UNSPECIFIED +} + +func (m *AuditLogSink) GetErrorMessage() string { + if m != nil { + return m.ErrorMessage + } + return "" +} + +func (m *AuditLogSink) GetLastSucceededTime() *types.Timestamp { + if m != nil { + return m.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() { @@ -263,38 +500,66 @@ func init() { } var fileDescriptor_0da0883d6b494eb5 = []byte{ - // 461 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0xcf, 0x8a, 0x13, 0x31, - 0x18, 0x9f, 0xcc, 0xfe, 0x29, 0xa6, 0xcb, 0x5a, 0x72, 0x1a, 0x14, 0x63, 0xa9, 0x20, 0xd5, 0x5d, - 0x33, 0x74, 0xbd, 0xcd, 0x82, 0xd8, 0xad, 0x17, 0x0f, 0x8b, 0xcb, 0x54, 0x7a, 0xf0, 0x32, 0xc4, - 0x4c, 0x58, 0x02, 0xed, 0x24, 0x24, 0x69, 0xc1, 0x9b, 0x8f, 0xe0, 0x63, 0x88, 0x6f, 0xe0, 0x1b, - 0x78, 0xec, 0x71, 0xc1, 0x8b, 0x9d, 0x5e, 0xc4, 0xd3, 0x3e, 0x82, 0x4c, 0x26, 0xe3, 0x16, 0x2c, - 0xab, 0xb7, 0xf0, 0xfd, 0xfe, 0x7d, 0xf3, 0x9b, 0x0f, 0x1e, 0x59, 0x3e, 0x53, 0x52, 0xd3, 0x69, - 0x4c, 0x95, 0x88, 0xd9, 0x54, 0xce, 0xf3, 0x98, 0x32, 0x26, 0xe7, 0x85, 0x8d, 0x17, 0x83, 0x78, - 0xc6, 0x8d, 0xa1, 0x97, 0x9c, 0x28, 0x2d, 0xad, 0x44, 0x0f, 0x1a, 0x32, 0xa1, 0x4a, 0x10, 0x47, - 0x26, 0x9e, 0x4c, 0x16, 0x83, 0x7b, 0xc7, 0x5b, 0xbc, 0x34, 0x37, 0x72, 0xae, 0x19, 0xff, 0xcb, - 0xac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, 0x29, 0x77, 0xdf, 0x7d, 0xe0, 0xe3, 0xff, 0x2b, 0xf7, 0x4f, 0xb1, - 0x67, 0xdf, 0xc1, 0x72, 0x85, 0x83, 0xab, 0x15, 0x0e, 0xae, 0x57, 0x18, 0x7c, 0x2c, 0x31, 0xf8, - 0x5c, 0x62, 0xf0, 0xad, 0xc4, 0x60, 0x59, 0x62, 0xf0, 0xa3, 0xc4, 0xe0, 0x67, 0x89, 0x83, 0xeb, - 0x12, 0x83, 0x4f, 0x6b, 0x1c, 0x2c, 0xd7, 0x38, 0xb8, 0x5a, 0xe3, 0x00, 0x76, 0x85, 0xbc, 0x3d, - 0xe9, 0xec, 0xe0, 0xbc, 0x3e, 0xa9, 0x8b, 0xea, 0xa2, 0x2e, 0xc0, 0xbb, 0xa3, 0xcb, 0x0d, 0x85, - 0x90, 0x5b, 0x6f, 0xfa, 0xd4, 0x3f, 0xbf, 0x84, 0x0f, 0xdf, 0x7a, 0xaa, 0x90, 0x64, 0xa8, 0x04, - 0x19, 0x39, 0x7b, 0xff, 0x7b, 0xc8, 0x64, 0xf0, 0x2b, 0x7c, 0x74, 0xc3, 0x48, 0x92, 0xa1, 0x12, - 0x49, 0xe2, 0x38, 0x49, 0xe2, 0x49, 0x49, 0x32, 0x19, 0xbc, 0xdf, 0x77, 0xf7, 0xfc, 0xfc, 0x77, - 0x00, 0x00, 0x00, 0xff, 0xff, 0xef, 0xeb, 0xe5, 0xae, 0x4b, 0x03, 0x00, 0x00, + // 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, 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a, 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 @@ -406,6 +671,132 @@ func (this *Account) Equal(that interface{}) bool { } 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" @@ -457,6 +848,56 @@ func (this *Account) GoString() string { 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() { @@ -633,10 +1074,179 @@ func (m *Account) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func encodeVarintMessage(dAtA []byte, offset int, v uint64) int { - offset -= sovMessage(v) - base := offset - for v >= 1<<7 { +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++ @@ -715,6 +1325,84 @@ func (m *Account) Size() (n int) { 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 } @@ -766,6 +1454,54 @@ func (this *Account) String() string { }, "") 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() { @@ -1275,6 +2011,440 @@ func (m *Account) Unmarshal(dAtA []byte) error { } 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 diff --git a/protogen/api/cloud/auditlog/v1/message.pb.go b/protogen/api/cloud/auditlog/v1/message.pb.go index ea463b79..afeb5333 100644 --- a/protogen/api/cloud/auditlog/v1/message.pb.go +++ b/protogen/api/cloud/auditlog/v1/message.pb.go @@ -91,28 +91,34 @@ func (LogLevel) EnumDescriptor() ([]byte, []int) { type LogRecord struct { // 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"` - // Level of the log, i.e. info, warn, error etc - Level LogLevel `protobuf:"varint,2,opt,name=level,proto3,enum=temporal.api.cloud.auditlog.v1.LogLevel" json:"level,omitempty"` - // Operator email address - optional - UserEmail string `protobuf:"bytes,3,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` - // Operator IP address or server name - CallerIpAddress string `protobuf:"bytes,4,opt,name=caller_ip_address,json=callerIpAddress,proto3" json:"caller_ip_address,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. + // 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. + // 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. // Operation performed Operation string `protobuf:"bytes,5,opt,name=operation,proto3" json:"operation,omitempty"` - // Detailed information about the operation. - Details *OperationDetail `protobuf:"bytes,6,opt,name=details,proto3" json:"details,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. // Operation status from API call Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"` - // Admin or System - Category LogCategory `protobuf:"varint,8,opt,name=category,proto3,enum=temporal.api.cloud.auditlog.v1.LogCategory" json:"category,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. // 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"` + RequestId string `protobuf:"bytes,11,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // Deprecated: Do not use. // Principal struct Principal *Principal `protobuf:"bytes,12,opt,name=principal,proto3" json:"principal,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{} } @@ -154,6 +160,7 @@ func (m *LogRecord) GetEmitTime() *types.Timestamp { return nil } +// Deprecated: Do not use. func (m *LogRecord) GetLevel() LogLevel { if m != nil { return m.Level @@ -161,6 +168,7 @@ func (m *LogRecord) GetLevel() LogLevel { return LOG_LEVEL_UNSPECIFIED } +// Deprecated: Do not use. func (m *LogRecord) GetUserEmail() string { if m != nil { return m.UserEmail @@ -168,6 +176,7 @@ func (m *LogRecord) GetUserEmail() string { return "" } +// Deprecated: Do not use. func (m *LogRecord) GetCallerIpAddress() string { if m != nil { return m.CallerIpAddress @@ -182,6 +191,7 @@ func (m *LogRecord) GetOperation() string { return "" } +// Deprecated: Do not use. func (m *LogRecord) GetDetails() *OperationDetail { if m != nil { return m.Details @@ -196,6 +206,7 @@ func (m *LogRecord) GetStatus() string { return "" } +// Deprecated: Do not use. func (m *LogRecord) GetCategory() LogCategory { if m != nil { return m.Category @@ -217,6 +228,7 @@ func (m *LogRecord) GetLogId() string { return "" } +// Deprecated: Do not use. func (m *LogRecord) GetRequestId() string { if m != nil { return m.RequestId @@ -231,6 +243,20 @@ func (m *LogRecord) GetPrincipal() *Principal { return nil } +func (m *LogRecord) GetXForwardedFor() string { + if m != nil { + return m.XForwardedFor + } + return "" +} + +func (m *LogRecord) GetAsyncOperationId() string { + if m != nil { + return m.AsyncOperationId + } + return "" +} + // OperationDetails includes potential more detailed operation logs extracted from the different fields in the // Temporal API logs or third party logs, e.g. auth0 // temporal:dev @@ -625,9 +651,10 @@ func (m *ThirdPartyLogDetail) GetRawMessage() string { // temporal:dev type Principal struct { // 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"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + ApiKeyId string `protobuf:"bytes,4,opt,name=api_key_id,json=apiKeyId,proto3" json:"api_key_id,omitempty"` } func (m *Principal) Reset() { *m = Principal{} } @@ -683,6 +710,13 @@ func (m *Principal) GetName() string { return "" } +func (m *Principal) GetApiKeyId() string { + if m != nil { + return m.ApiKeyId + } + 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) @@ -702,79 +736,84 @@ func init() { } var fileDescriptor_283286ea48ab34f8 = []byte{ - // 1142 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xcd, 0x6e, 0xdb, 0x46, - 0x10, 0x16, 0x69, 0xcb, 0x31, 0x47, 0x8e, 0x2d, 0xaf,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0xce, 0xbc, - 0x20, 0x8b, 0x2d, 0x7a, 0x08, 0xe5, 0x90, 0x9c, 0x90, 0xd0, 0xd4, 0xd7, 0xb5, 0x8d, 0xc5, 0xad, - 0x0d, 0xfb, 0xbf, 0xcf, 0x65, 0x77, 0xe2, 0xa0, 0x23, 0xf8, 0x4e, 0x2e, 0x43, 0x1f, 0x03, 0x64, - 0x29, 0x61, 0x2e, 0xe9, 0x61, 0x1a, 0x9a, 0x33, 0xeb, 0xda, 0x86, 0xe1, 0x18, 0x02, 0x69, 0x09, - 0x00, 0xdd, 0x83, 0x65, 0x0f, 0x87, 0x21, 0x61, 0x2e, 0x4d, 0x5c, 0xec, 0xfb, 0x8c, 0xa4, 0xa9, - 0x39, 0x2b, 0x59, 0x4b, 0xb9, 0xa1, 0x9d, 0x34, 0x73, 0x18, 0xdd, 0x04, 0x23, 0x4e, 0x08, 0xc3, - 0x9c, 0xc6, 0x91, 0x59, 0xce, 0x3d, 0x0d, 0x00, 0xd4, 0x86, 0x2b, 0x3e, 0xe1, 0x98, 0x86, 0xa9, - 0x39, 0x27, 0xf3, 0xab, 0x4f, 0x3b, 0xea, 0x41, 0xa1, 0xdd, 0x91, 0x3a, 0xa7, 0xd0, 0xa3, 0x35, - 0x98, 0x4b, 0x39, 0xe6, 0x59, 0x6a, 0x5e, 0x91, 0x51, 0xd4, 0x0e, 0xed, 0xc1, 0xbc, 0x87, 0x39, - 0x09, 0x62, 0x76, 0x66, 0xce, 0xcb, 0x72, 0x7c, 0x76, 0x89, 0x72, 0x6c, 0x2b, 0x89, 0x33, 0x10, - 0x23, 0x13, 0xae, 0x9c, 0x10, 0x96, 0x8a, 0x3c, 0x8c, 0x75, 0x6d, 0xa3, 0xec, 0x14, 0x5b, 0xb4, - 0x0a, 0x73, 0x61, 0x1c, 0xb8, 0xd4, 0x37, 0x41, 0x86, 0x2e, 0x87, 0x71, 0xd0, 0xf6, 0x45, 0x15, - 0x19, 0xf9, 0x31, 0x23, 0x29, 0x17, 0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f6, 0xbc, 0x38, - 0x8b, 0xb8, 0xfb, 0x82, 0x60, 0x9e, 0x31, 0x92, 0x9a, 0xf3, 0x32, 0xcb, 0x25, 0x85, 0xef, 0x2a, - 0x18, 0x79, 0xb0, 0xc2, 0x5f, 0x52, 0xe6, 0xbb, 0x09, 0x66, 0xfc, 0xcc, 0x2d, 0x5a, 0xda, 0x90, - 0xc9, 0x3d, 0x98, 0x96, 0x5c, 0x57, 0x48, 0x0f, 0x85, 0xb2, 0x13, 0x07, 0xaa, 0xad, 0x97, 0xf9, - 0x00, 0xdc, 0x51, 0x0d, 0xfe, 0x10, 0xe6, 0xb0, 0xe7, 0x89, 0x51, 0x03, 0xe9, 0xf7, 0xd3, 0x69, - 0x7e, 0x9b, 0x92, 0xed, 0x28, 0x15, 0x7a, 0x06, 0xd5, 0x41, 0x07, 0xb8, 0xca, 0x53, 0xe5, 0x72, - 0x43, 0xb7, 0x5f, 0xe8, 0x94, 0xcb, 0xa5, 0x68, 0x1c, 0xa8, 0xfd, 0xa1, 0xc3, 0x5c, 0xbe, 0x44, - 0x5d, 0x58, 0x2c, 0xca, 0xa6, 0x82, 0xe4, 0x2f, 0xd7, 0xfd, 0x4b, 0x1c, 0x57, 0xa8, 0x54, 0x88, - 0xab, 0x78, 0x74, 0x8b, 0x42, 0x40, 0x93, 0x87, 0x27, 0x79, 0xdf, 0x56, 0xb6, 0xbe, 0xbd, 0x5c, - 0x21, 0x26, 0xb3, 0x20, 0x69, 0x2b, 0xe2, 0xec, 0xcc, 0x59, 0x8e, 0x26, 0xf1, 0x1b, 0x19, 0xac, - 0x5d, 0x4c, 0x46, 0x55, 0x98, 0x79, 0x45, 0xce, 0xd4, 0x44, 0x89, 0x25, 0x6a, 0x41, 0xf9, 0x04, - 0x87, 0x19, 0x91, 0x6f, 0xed, 0xff, 0xa8, 0x65, 0xae, 0x6e, 0xe8, 0x5f, 0x6b, 0xb5, 0x3b, 0x70, - 0x75, 0xac, 0x08, 0x08, 0xc1, 0xac,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xf9, 0x9c, 0xfc, 0x1d, 0x7a, 0xf0, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x64, 0x9b, - 0x63, 0x46, 0xaf, 0x09, 0x00, 0x00, + // 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, 0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xed, 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 { @@ -846,6 +885,12 @@ func (this *LogRecord) Equal(that interface{}) bool { 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 { @@ -1087,13 +1132,16 @@ func (this *Principal) Equal(that interface{}) bool { 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, 16) + s := make([]string, 0, 18) s = append(s, "&auditlog.LogRecord{") if this.EmitTime != nil { s = append(s, "EmitTime: "+fmt.Sprintf("%#v", this.EmitTime)+",\n") @@ -1113,6 +1161,8 @@ func (this *LogRecord) GoString() string { 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, "") } @@ -1216,11 +1266,12 @@ func (this *Principal) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 7) + 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, "") } @@ -1252,6 +1303,20 @@ func (m *LogRecord) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = 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]) @@ -1698,6 +1763,13 @@ func (m *Principal) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = 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) @@ -1784,6 +1856,14 @@ func (m *LogRecord) Size() (n int) { 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 } @@ -1956,6 +2036,10 @@ func (m *Principal) Size() (n int) { if l > 0 { n += 1 + l + sovMessage(uint64(l)) } + l = len(m.ApiKeyId) + if l > 0 { + n += 1 + l + sovMessage(uint64(l)) + } return n } @@ -1982,6 +2066,8 @@ func (this *LogRecord) String() string { `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 @@ -2078,6 +2164,7 @@ func (this *Principal) String() string { `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 @@ -2476,6 +2563,70 @@ func (m *LogRecord) Unmarshal(dAtA []byte) error { 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:]) @@ -3700,6 +3851,38 @@ func (m *Principal) Unmarshal(dAtA []byte) error { } 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:]) diff --git a/protogen/api/cloud/cloudservice/v1/request_response.pb.go b/protogen/api/cloud/cloudservice/v1/request_response.pb.go index d2b70ce3..bd638a00 100644 --- a/protogen/api/cloud/cloudservice/v1/request_response.pb.go +++ b/protogen/api/cloud/cloudservice/v1/request_response.pb.go @@ -798,7 +798,6 @@ type CreateNamespaceRequest struct { // 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"` // The tags to add to the namespace - can be set by global admins or account owners only - // temporal:dev 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"` } @@ -2110,6 +2109,8 @@ type GetNexusEndpointsRequest struct { TargetTaskQueue string `protobuf:"bytes,4,opt,name=target_task_queue,json=targetTaskQueue,proto3" json:"target_task_queue,omitempty"` // Filter endpoints by their name - optional, treated as an AND if specified. Specifying this will result in zero or one results. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` + // temporal:dev + ProjectId string `protobuf:"bytes,6,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` } func (m *GetNexusEndpointsRequest) Reset() { *m = GetNexusEndpointsRequest{} } @@ -2179,6 +2180,13 @@ func (m *GetNexusEndpointsRequest) GetName() string { return "" } +func (m *GetNexusEndpointsRequest) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + type GetNexusEndpointsResponse struct { // The list of endpoints in ascending id order. Endpoints []*v14.Endpoint `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"` @@ -2325,6 +2333,8 @@ type CreateNexusEndpointRequest struct { Spec *v14.EndpointSpec `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"` + // temporal:dev + ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` } func (m *CreateNexusEndpointRequest) Reset() { *m = CreateNexusEndpointRequest{} } @@ -2373,6 +2383,13 @@ func (m *CreateNexusEndpointRequest) GetAsyncOperationId() string { return "" } +func (m *CreateNexusEndpointRequest) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + type CreateNexusEndpointResponse struct { // The id of the endpoint that was created. EndpointId string `protobuf:"bytes,1,opt,name=endpoint_id,json=endpointId,proto3" json:"endpoint_id,omitempty"` @@ -4282,6 +4299,135 @@ func (m *UpdateServiceAccountResponse) GetAsyncOperation() *v11.AsyncOperation { return nil } +type SetServiceAccountNamespaceAccessRequest struct { + // 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. + Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` + // The namespace access to assign the service account. + Access *v1.NamespaceAccess `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 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 *SetServiceAccountNamespaceAccessRequest) Reset() { + *m = SetServiceAccountNamespaceAccessRequest{} +} +func (*SetServiceAccountNamespaceAccessRequest) ProtoMessage() {} +func (*SetServiceAccountNamespaceAccessRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{76} +} +func (m *SetServiceAccountNamespaceAccessRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +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 + } + return b[:n], nil + } +} +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) +} + +var xxx_messageInfo_SetServiceAccountNamespaceAccessRequest proto.InternalMessageInfo + +func (m *SetServiceAccountNamespaceAccessRequest) GetServiceAccountId() string { + if m != nil { + return m.ServiceAccountId + } + return "" +} + +func (m *SetServiceAccountNamespaceAccessRequest) GetNamespace() string { + if m != nil { + return m.Namespace + } + return "" +} + +func (m *SetServiceAccountNamespaceAccessRequest) GetAccess() *v1.NamespaceAccess { + if m != nil { + return m.Access + } + return nil +} + +func (m *SetServiceAccountNamespaceAccessRequest) GetResourceVersion() string { + if m != nil { + return m.ResourceVersion + } + return "" +} + +func (m *SetServiceAccountNamespaceAccessRequest) GetAsyncOperationId() string { + if m != nil { + return m.AsyncOperationId + } + return "" +} + +type SetServiceAccountNamespaceAccessResponse struct { + // 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 (m *SetServiceAccountNamespaceAccessResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +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 + } + return b[:n], nil + } +} +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) +} + +var xxx_messageInfo_SetServiceAccountNamespaceAccessResponse proto.InternalMessageInfo + +func (m *SetServiceAccountNamespaceAccessResponse) GetAsyncOperation() *v11.AsyncOperation { + if m != nil { + return m.AsyncOperation + } + 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"` @@ -4295,7 +4441,7 @@ type DeleteServiceAccountRequest struct { func (m *DeleteServiceAccountRequest) Reset() { *m = DeleteServiceAccountRequest{} } func (*DeleteServiceAccountRequest) ProtoMessage() {} func (*DeleteServiceAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{76} + return fileDescriptor_d04330087ace166d, []int{78} } func (m *DeleteServiceAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4353,7 +4499,7 @@ type DeleteServiceAccountResponse struct { func (m *DeleteServiceAccountResponse) Reset() { *m = DeleteServiceAccountResponse{} } func (*DeleteServiceAccountResponse) ProtoMessage() {} func (*DeleteServiceAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{77} + return fileDescriptor_d04330087ace166d, []int{79} } func (m *DeleteServiceAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4408,7 +4554,7 @@ type GetApiKeysRequest struct { func (m *GetApiKeysRequest) Reset() { *m = GetApiKeysRequest{} } func (*GetApiKeysRequest) ProtoMessage() {} func (*GetApiKeysRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{78} + return fileDescriptor_d04330087ace166d, []int{80} } func (m *GetApiKeysRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4483,7 +4629,7 @@ type GetApiKeysResponse struct { func (m *GetApiKeysResponse) Reset() { *m = GetApiKeysResponse{} } func (*GetApiKeysResponse) ProtoMessage() {} func (*GetApiKeysResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{79} + return fileDescriptor_d04330087ace166d, []int{81} } func (m *GetApiKeysResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4534,7 +4680,7 @@ type GetApiKeyRequest struct { func (m *GetApiKeyRequest) Reset() { *m = GetApiKeyRequest{} } func (*GetApiKeyRequest) ProtoMessage() {} func (*GetApiKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{80} + return fileDescriptor_d04330087ace166d, []int{82} } func (m *GetApiKeyRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4578,7 +4724,7 @@ type GetApiKeyResponse struct { func (m *GetApiKeyResponse) Reset() { *m = GetApiKeyResponse{} } func (*GetApiKeyResponse) ProtoMessage() {} func (*GetApiKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{81} + return fileDescriptor_d04330087ace166d, []int{83} } func (m *GetApiKeyResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4625,7 +4771,7 @@ type CreateApiKeyRequest struct { func (m *CreateApiKeyRequest) Reset() { *m = CreateApiKeyRequest{} } func (*CreateApiKeyRequest) ProtoMessage() {} func (*CreateApiKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{82} + return fileDescriptor_d04330087ace166d, []int{84} } func (m *CreateApiKeyRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4682,7 +4828,7 @@ type CreateApiKeyResponse struct { func (m *CreateApiKeyResponse) Reset() { *m = CreateApiKeyResponse{} } func (*CreateApiKeyResponse) ProtoMessage() {} func (*CreateApiKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{83} + return fileDescriptor_d04330087ace166d, []int{85} } func (m *CreateApiKeyResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4747,7 +4893,7 @@ type UpdateApiKeyRequest struct { func (m *UpdateApiKeyRequest) Reset() { *m = UpdateApiKeyRequest{} } func (*UpdateApiKeyRequest) ProtoMessage() {} func (*UpdateApiKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{84} + return fileDescriptor_d04330087ace166d, []int{86} } func (m *UpdateApiKeyRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4812,7 +4958,7 @@ type UpdateApiKeyResponse struct { func (m *UpdateApiKeyResponse) Reset() { *m = UpdateApiKeyResponse{} } func (*UpdateApiKeyResponse) ProtoMessage() {} func (*UpdateApiKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{85} + return fileDescriptor_d04330087ace166d, []int{87} } func (m *UpdateApiKeyResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4861,7 +5007,7 @@ type DeleteApiKeyRequest struct { func (m *DeleteApiKeyRequest) Reset() { *m = DeleteApiKeyRequest{} } func (*DeleteApiKeyRequest) ProtoMessage() {} func (*DeleteApiKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{86} + return fileDescriptor_d04330087ace166d, []int{88} } func (m *DeleteApiKeyRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4919,7 +5065,7 @@ type DeleteApiKeyResponse struct { func (m *DeleteApiKeyResponse) Reset() { *m = DeleteApiKeyResponse{} } func (*DeleteApiKeyResponse) ProtoMessage() {} func (*DeleteApiKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{87} + return fileDescriptor_d04330087ace166d, []int{89} } func (m *DeleteApiKeyResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4955,30 +5101,22 @@ func (m *DeleteApiKeyResponse) GetAsyncOperation() *v11.AsyncOperation { return nil } -// temporal:dev -type GetAuditLogsRequest struct { - // 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"` - // 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"` +type ValidateAccountAuditLogSinkRequest struct { + // The audit log sink spec that will be validated + Spec *v15.AuditLogSinkSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` } -func (m *GetAuditLogsRequest) Reset() { *m = GetAuditLogsRequest{} } -func (*GetAuditLogsRequest) ProtoMessage() {} -func (*GetAuditLogsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{88} +func (m *ValidateAccountAuditLogSinkRequest) Reset() { *m = ValidateAccountAuditLogSinkRequest{} } +func (*ValidateAccountAuditLogSinkRequest) ProtoMessage() {} +func (*ValidateAccountAuditLogSinkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{90} } -func (m *GetAuditLogsRequest) XXX_Unmarshal(b []byte) error { +func (m *ValidateAccountAuditLogSinkRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetAuditLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ValidateAccountAuditLogSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetAuditLogsRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_ValidateAccountAuditLogSinkRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -4988,65 +5126,79 @@ func (m *GetAuditLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *GetAuditLogsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAuditLogsRequest.Merge(m, src) +func (m *ValidateAccountAuditLogSinkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ValidateAccountAuditLogSinkRequest.Merge(m, src) } -func (m *GetAuditLogsRequest) XXX_Size() int { +func (m *ValidateAccountAuditLogSinkRequest) XXX_Size() int { return m.Size() } -func (m *GetAuditLogsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAuditLogsRequest.DiscardUnknown(m) +func (m *ValidateAccountAuditLogSinkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ValidateAccountAuditLogSinkRequest.DiscardUnknown(m) } -var xxx_messageInfo_GetAuditLogsRequest proto.InternalMessageInfo +var xxx_messageInfo_ValidateAccountAuditLogSinkRequest proto.InternalMessageInfo -func (m *GetAuditLogsRequest) GetPageSize() int32 { +func (m *ValidateAccountAuditLogSinkRequest) GetSpec() *v15.AuditLogSinkSpec { if m != nil { - return m.PageSize + return m.Spec } - return 0 + return nil } -func (m *GetAuditLogsRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" +type ValidateAccountAuditLogSinkResponse struct { } -func (m *GetAuditLogsRequest) GetStartTimeInclusive() *types.Timestamp { - if m != nil { - return m.StartTimeInclusive - } - return nil +func (m *ValidateAccountAuditLogSinkResponse) Reset() { *m = ValidateAccountAuditLogSinkResponse{} } +func (*ValidateAccountAuditLogSinkResponse) ProtoMessage() {} +func (*ValidateAccountAuditLogSinkResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{91} } - -func (m *GetAuditLogsRequest) GetEndTimeExclusive() *types.Timestamp { - if m != nil { - return m.EndTimeExclusive +func (m *ValidateAccountAuditLogSinkResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +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 + } + return b[:n], nil } - return nil +} +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) } +var xxx_messageInfo_ValidateAccountAuditLogSinkResponse proto.InternalMessageInfo + // 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"` - // The next page's token. - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` +type CreateAccountAuditLogSinkRequest struct { + // 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 *GetAuditLogsResponse) Reset() { *m = GetAuditLogsResponse{} } -func (*GetAuditLogsResponse) ProtoMessage() {} -func (*GetAuditLogsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{89} +func (m *CreateAccountAuditLogSinkRequest) Reset() { *m = CreateAccountAuditLogSinkRequest{} } +func (*CreateAccountAuditLogSinkRequest) ProtoMessage() {} +func (*CreateAccountAuditLogSinkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{92} } -func (m *GetAuditLogsResponse) XXX_Unmarshal(b []byte) error { +func (m *CreateAccountAuditLogSinkRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetAuditLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CreateAccountAuditLogSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetAuditLogsResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_CreateAccountAuditLogSinkRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5056,62 +5208,49 @@ func (m *GetAuditLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *GetAuditLogsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAuditLogsResponse.Merge(m, src) +func (m *CreateAccountAuditLogSinkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateAccountAuditLogSinkRequest.Merge(m, src) } -func (m *GetAuditLogsResponse) XXX_Size() int { +func (m *CreateAccountAuditLogSinkRequest) XXX_Size() int { return m.Size() } -func (m *GetAuditLogsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetAuditLogsResponse.DiscardUnknown(m) +func (m *CreateAccountAuditLogSinkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateAccountAuditLogSinkRequest.DiscardUnknown(m) } -var xxx_messageInfo_GetAuditLogsResponse proto.InternalMessageInfo +var xxx_messageInfo_CreateAccountAuditLogSinkRequest proto.InternalMessageInfo -func (m *GetAuditLogsResponse) GetLogs() []*v16.LogRecord { +func (m *CreateAccountAuditLogSinkRequest) GetSpec() *v15.AuditLogSinkSpec { if m != nil { - return m.Logs + return m.Spec } return nil } -func (m *GetAuditLogsResponse) GetNextPageToken() string { +func (m *CreateAccountAuditLogSinkRequest) GetAsyncOperationId() string { if m != nil { - return m.NextPageToken + return m.AsyncOperationId } return "" } -type GetUsageRequest struct { - // 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"` - // 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"` - // 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. - PageSize int32 `protobuf:"varint,3,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,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` +// temporal:dev +type CreateAccountAuditLogSinkResponse struct { + // The async operation. + AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *GetUsageRequest) Reset() { *m = GetUsageRequest{} } -func (*GetUsageRequest) ProtoMessage() {} -func (*GetUsageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{90} +func (m *CreateAccountAuditLogSinkResponse) Reset() { *m = CreateAccountAuditLogSinkResponse{} } +func (*CreateAccountAuditLogSinkResponse) ProtoMessage() {} +func (*CreateAccountAuditLogSinkResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{93} } -func (m *GetUsageRequest) XXX_Unmarshal(b []byte) error { +func (m *CreateAccountAuditLogSinkResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetUsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CreateAccountAuditLogSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetUsageRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_CreateAccountAuditLogSinkResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5121,65 +5260,87 @@ func (m *GetUsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } -func (m *GetUsageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUsageRequest.Merge(m, src) +func (m *CreateAccountAuditLogSinkResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateAccountAuditLogSinkResponse.Merge(m, src) } -func (m *GetUsageRequest) XXX_Size() int { +func (m *CreateAccountAuditLogSinkResponse) XXX_Size() int { return m.Size() } -func (m *GetUsageRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetUsageRequest.DiscardUnknown(m) +func (m *CreateAccountAuditLogSinkResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateAccountAuditLogSinkResponse.DiscardUnknown(m) } -var xxx_messageInfo_GetUsageRequest proto.InternalMessageInfo +var xxx_messageInfo_CreateAccountAuditLogSinkResponse proto.InternalMessageInfo -func (m *GetUsageRequest) GetStartTimeInclusive() *types.Timestamp { +func (m *CreateAccountAuditLogSinkResponse) GetAsyncOperation() *v11.AsyncOperation { if m != nil { - return m.StartTimeInclusive + return m.AsyncOperation } return nil } -func (m *GetUsageRequest) GetEndTimeExclusive() *types.Timestamp { - if m != nil { - return m.EndTimeExclusive - } - return nil +// temporal:dev +type GetAccountAuditLogSinkRequest struct { + // The name of the sink to retrieve. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } -func (m *GetUsageRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize +func (m *GetAccountAuditLogSinkRequest) Reset() { *m = GetAccountAuditLogSinkRequest{} } +func (*GetAccountAuditLogSinkRequest) ProtoMessage() {} +func (*GetAccountAuditLogSinkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{94} +} +func (m *GetAccountAuditLogSinkRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +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 + } + return b[:n], nil } - return 0 +} +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) } -func (m *GetUsageRequest) GetPageToken() string { +var xxx_messageInfo_GetAccountAuditLogSinkRequest proto.InternalMessageInfo + +func (m *GetAccountAuditLogSinkRequest) GetName() string { if m != nil { - return m.PageToken + return m.Name } return "" } -type GetUsageResponse struct { - // 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"` - // The next page's token. - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` +// temporal:dev +type GetAccountAuditLogSinkResponse struct { + // The audit log sink retrieved. + Sink *v15.AuditLogSink `protobuf:"bytes,1,opt,name=sink,proto3" json:"sink,omitempty"` } -func (m *GetUsageResponse) Reset() { *m = GetUsageResponse{} } -func (*GetUsageResponse) ProtoMessage() {} -func (*GetUsageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{91} +func (m *GetAccountAuditLogSinkResponse) Reset() { *m = GetAccountAuditLogSinkResponse{} } +func (*GetAccountAuditLogSinkResponse) ProtoMessage() {} +func (*GetAccountAuditLogSinkResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{95} } -func (m *GetUsageResponse) XXX_Unmarshal(b []byte) error { +func (m *GetAccountAuditLogSinkResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetUsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetAccountAuditLogSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetUsageResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_GetAccountAuditLogSinkResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5189,46 +5350,45 @@ func (m *GetUsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *GetUsageResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetUsageResponse.Merge(m, src) +func (m *GetAccountAuditLogSinkResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAccountAuditLogSinkResponse.Merge(m, src) } -func (m *GetUsageResponse) XXX_Size() int { +func (m *GetAccountAuditLogSinkResponse) XXX_Size() int { return m.Size() } -func (m *GetUsageResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetUsageResponse.DiscardUnknown(m) +func (m *GetAccountAuditLogSinkResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetAccountAuditLogSinkResponse.DiscardUnknown(m) } -var xxx_messageInfo_GetUsageResponse proto.InternalMessageInfo +var xxx_messageInfo_GetAccountAuditLogSinkResponse proto.InternalMessageInfo -func (m *GetUsageResponse) GetSummaries() []*v17.Summary { +func (m *GetAccountAuditLogSinkResponse) GetSink() *v15.AuditLogSink { if m != nil { - return m.Summaries + return m.Sink } return nil } -func (m *GetUsageResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -type GetAccountRequest struct { +// temporal:dev +type GetAccountAuditLogSinksRequest struct { + // 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"` + // 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 (m *GetAccountRequest) Reset() { *m = GetAccountRequest{} } -func (*GetAccountRequest) ProtoMessage() {} -func (*GetAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{92} +func (m *GetAccountAuditLogSinksRequest) Reset() { *m = GetAccountAuditLogSinksRequest{} } +func (*GetAccountAuditLogSinksRequest) ProtoMessage() {} +func (*GetAccountAuditLogSinksRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{96} } -func (m *GetAccountRequest) XXX_Unmarshal(b []byte) error { +func (m *GetAccountAuditLogSinksRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetAccountAuditLogSinksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetAccountRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_GetAccountAuditLogSinksRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5238,34 +5398,51 @@ func (m *GetAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *GetAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountRequest.Merge(m, src) +func (m *GetAccountAuditLogSinksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAccountAuditLogSinksRequest.Merge(m, src) } -func (m *GetAccountRequest) XXX_Size() int { +func (m *GetAccountAuditLogSinksRequest) XXX_Size() int { return m.Size() } -func (m *GetAccountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountRequest.DiscardUnknown(m) +func (m *GetAccountAuditLogSinksRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetAccountAuditLogSinksRequest.DiscardUnknown(m) } -var xxx_messageInfo_GetAccountRequest proto.InternalMessageInfo +var xxx_messageInfo_GetAccountAuditLogSinksRequest proto.InternalMessageInfo -type GetAccountResponse struct { - // The account. - Account *v15.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` +func (m *GetAccountAuditLogSinksRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 } -func (m *GetAccountResponse) Reset() { *m = GetAccountResponse{} } -func (*GetAccountResponse) ProtoMessage() {} -func (*GetAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{93} +func (m *GetAccountAuditLogSinksRequest) GetPageToken() string { + if m != nil { + return m.PageToken + } + return "" } -func (m *GetAccountResponse) XXX_Unmarshal(b []byte) error { + +// temporal:dev +type GetAccountAuditLogSinksResponse struct { + // 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 (m *GetAccountAuditLogSinksResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetAccountAuditLogSinksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetAccountResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_GetAccountAuditLogSinksResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5275,45 +5452,54 @@ func (m *GetAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *GetAccountResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAccountResponse.Merge(m, src) +func (m *GetAccountAuditLogSinksResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAccountAuditLogSinksResponse.Merge(m, src) } -func (m *GetAccountResponse) XXX_Size() int { +func (m *GetAccountAuditLogSinksResponse) XXX_Size() int { return m.Size() } -func (m *GetAccountResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetAccountResponse.DiscardUnknown(m) +func (m *GetAccountAuditLogSinksResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetAccountAuditLogSinksResponse.DiscardUnknown(m) } -var xxx_messageInfo_GetAccountResponse proto.InternalMessageInfo +var xxx_messageInfo_GetAccountAuditLogSinksResponse proto.InternalMessageInfo -func (m *GetAccountResponse) GetAccount() *v15.Account { +func (m *GetAccountAuditLogSinksResponse) GetSinks() []*v15.AuditLogSink { if m != nil { - return m.Account + return m.Sinks } return nil } -type CreateNamespaceExportSinkRequest struct { - // 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. - Spec *v12.ExportSinkSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - // Optional. The ID to use for this async operation. +func (m *GetAccountAuditLogSinksResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +// temporal:dev +type UpdateAccountAuditLogSinkRequest struct { + // 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 + // retrieved using the GetAuditLogSink call. + 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. 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{94} +func (m *UpdateAccountAuditLogSinkRequest) Reset() { *m = UpdateAccountAuditLogSinkRequest{} } +func (*UpdateAccountAuditLogSinkRequest) ProtoMessage() {} +func (*UpdateAccountAuditLogSinkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{98} } -func (m *CreateNamespaceExportSinkRequest) XXX_Unmarshal(b []byte) error { +func (m *UpdateAccountAuditLogSinkRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CreateNamespaceExportSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *UpdateAccountAuditLogSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CreateNamespaceExportSinkRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_UpdateAccountAuditLogSinkRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5323,55 +5509,56 @@ func (m *CreateNamespaceExportSinkRequest) XXX_Marshal(b []byte, deterministic b return b[:n], nil } } -func (m *CreateNamespaceExportSinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateNamespaceExportSinkRequest.Merge(m, src) +func (m *UpdateAccountAuditLogSinkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateAccountAuditLogSinkRequest.Merge(m, src) } -func (m *CreateNamespaceExportSinkRequest) XXX_Size() int { +func (m *UpdateAccountAuditLogSinkRequest) XXX_Size() int { return m.Size() } -func (m *CreateNamespaceExportSinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateNamespaceExportSinkRequest.DiscardUnknown(m) +func (m *UpdateAccountAuditLogSinkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateAccountAuditLogSinkRequest.DiscardUnknown(m) } -var xxx_messageInfo_CreateNamespaceExportSinkRequest proto.InternalMessageInfo +var xxx_messageInfo_UpdateAccountAuditLogSinkRequest proto.InternalMessageInfo -func (m *CreateNamespaceExportSinkRequest) GetNamespace() string { +func (m *UpdateAccountAuditLogSinkRequest) GetSpec() *v15.AuditLogSinkSpec { if m != nil { - return m.Namespace + return m.Spec } - return "" + return nil } -func (m *CreateNamespaceExportSinkRequest) GetSpec() *v12.ExportSinkSpec { +func (m *UpdateAccountAuditLogSinkRequest) GetResourceVersion() string { if m != nil { - return m.Spec + return m.ResourceVersion } - return nil + return "" } -func (m *CreateNamespaceExportSinkRequest) GetAsyncOperationId() string { +func (m *UpdateAccountAuditLogSinkRequest) GetAsyncOperationId() string { if m != nil { return m.AsyncOperationId } return "" } -type CreateNamespaceExportSinkResponse struct { +// temporal:dev +type UpdateAccountAuditLogSinkResponse struct { // 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{95} +func (m *UpdateAccountAuditLogSinkResponse) Reset() { *m = UpdateAccountAuditLogSinkResponse{} } +func (*UpdateAccountAuditLogSinkResponse) ProtoMessage() {} +func (*UpdateAccountAuditLogSinkResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{99} } -func (m *CreateNamespaceExportSinkResponse) XXX_Unmarshal(b []byte) error { +func (m *UpdateAccountAuditLogSinkResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CreateNamespaceExportSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *UpdateAccountAuditLogSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CreateNamespaceExportSinkResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_UpdateAccountAuditLogSinkResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5381,43 +5568,47 @@ func (m *CreateNamespaceExportSinkResponse) XXX_Marshal(b []byte, deterministic return b[:n], nil } } -func (m *CreateNamespaceExportSinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateNamespaceExportSinkResponse.Merge(m, src) +func (m *UpdateAccountAuditLogSinkResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateAccountAuditLogSinkResponse.Merge(m, src) } -func (m *CreateNamespaceExportSinkResponse) XXX_Size() int { +func (m *UpdateAccountAuditLogSinkResponse) XXX_Size() int { return m.Size() } -func (m *CreateNamespaceExportSinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateNamespaceExportSinkResponse.DiscardUnknown(m) +func (m *UpdateAccountAuditLogSinkResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateAccountAuditLogSinkResponse.DiscardUnknown(m) } -var xxx_messageInfo_CreateNamespaceExportSinkResponse proto.InternalMessageInfo +var xxx_messageInfo_UpdateAccountAuditLogSinkResponse proto.InternalMessageInfo -func (m *CreateNamespaceExportSinkResponse) GetAsyncOperation() *v11.AsyncOperation { +func (m *UpdateAccountAuditLogSinkResponse) GetAsyncOperation() *v11.AsyncOperation { if m != nil { return m.AsyncOperation } return nil } -type GetNamespaceExportSinkRequest struct { - // 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"` +// temporal:dev +type DeleteAccountAuditLogSinkRequest struct { + // 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 + // retrieved using the GetAuditLogSink call. + 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. + AsyncOperationId string `protobuf:"bytes,3,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *GetNamespaceExportSinkRequest) Reset() { *m = GetNamespaceExportSinkRequest{} } -func (*GetNamespaceExportSinkRequest) ProtoMessage() {} -func (*GetNamespaceExportSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{96} +func (m *DeleteAccountAuditLogSinkRequest) Reset() { *m = DeleteAccountAuditLogSinkRequest{} } +func (*DeleteAccountAuditLogSinkRequest) ProtoMessage() {} +func (*DeleteAccountAuditLogSinkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{100} } -func (m *GetNamespaceExportSinkRequest) XXX_Unmarshal(b []byte) error { +func (m *DeleteAccountAuditLogSinkRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetNamespaceExportSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *DeleteAccountAuditLogSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetNamespaceExportSinkRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_DeleteAccountAuditLogSinkRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5427,48 +5618,56 @@ func (m *GetNamespaceExportSinkRequest) XXX_Marshal(b []byte, deterministic bool return b[:n], nil } } -func (m *GetNamespaceExportSinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNamespaceExportSinkRequest.Merge(m, src) +func (m *DeleteAccountAuditLogSinkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteAccountAuditLogSinkRequest.Merge(m, src) } -func (m *GetNamespaceExportSinkRequest) XXX_Size() int { +func (m *DeleteAccountAuditLogSinkRequest) XXX_Size() int { return m.Size() } -func (m *GetNamespaceExportSinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetNamespaceExportSinkRequest.DiscardUnknown(m) +func (m *DeleteAccountAuditLogSinkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteAccountAuditLogSinkRequest.DiscardUnknown(m) } -var xxx_messageInfo_GetNamespaceExportSinkRequest proto.InternalMessageInfo +var xxx_messageInfo_DeleteAccountAuditLogSinkRequest proto.InternalMessageInfo -func (m *GetNamespaceExportSinkRequest) GetNamespace() string { +func (m *DeleteAccountAuditLogSinkRequest) GetName() string { if m != nil { - return m.Namespace + return m.Name } return "" } -func (m *GetNamespaceExportSinkRequest) GetName() string { +func (m *DeleteAccountAuditLogSinkRequest) GetResourceVersion() string { if m != nil { - return m.Name + return m.ResourceVersion } return "" } -type GetNamespaceExportSinkResponse struct { - // The export sink retrieved. - Sink *v12.ExportSink `protobuf:"bytes,1,opt,name=sink,proto3" json:"sink,omitempty"` +func (m *DeleteAccountAuditLogSinkRequest) GetAsyncOperationId() string { + if m != nil { + return m.AsyncOperationId + } + return "" } -func (m *GetNamespaceExportSinkResponse) Reset() { *m = GetNamespaceExportSinkResponse{} } -func (*GetNamespaceExportSinkResponse) ProtoMessage() {} -func (*GetNamespaceExportSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{97} +// temporal:dev +type DeleteAccountAuditLogSinkResponse struct { + // The async operation. + AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *GetNamespaceExportSinkResponse) XXX_Unmarshal(b []byte) error { + +func (m *DeleteAccountAuditLogSinkResponse) Reset() { *m = DeleteAccountAuditLogSinkResponse{} } +func (*DeleteAccountAuditLogSinkResponse) ProtoMessage() {} +func (*DeleteAccountAuditLogSinkResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{101} +} +func (m *DeleteAccountAuditLogSinkResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetNamespaceExportSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *DeleteAccountAuditLogSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetNamespaceExportSinkResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_DeleteAccountAuditLogSinkResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5478,46 +5677,49 @@ func (m *GetNamespaceExportSinkResponse) XXX_Marshal(b []byte, deterministic boo return b[:n], nil } } -func (m *GetNamespaceExportSinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNamespaceExportSinkResponse.Merge(m, src) +func (m *DeleteAccountAuditLogSinkResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteAccountAuditLogSinkResponse.Merge(m, src) } -func (m *GetNamespaceExportSinkResponse) XXX_Size() int { +func (m *DeleteAccountAuditLogSinkResponse) XXX_Size() int { return m.Size() } -func (m *GetNamespaceExportSinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetNamespaceExportSinkResponse.DiscardUnknown(m) +func (m *DeleteAccountAuditLogSinkResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteAccountAuditLogSinkResponse.DiscardUnknown(m) } -var xxx_messageInfo_GetNamespaceExportSinkResponse proto.InternalMessageInfo +var xxx_messageInfo_DeleteAccountAuditLogSinkResponse proto.InternalMessageInfo -func (m *GetNamespaceExportSinkResponse) GetSink() *v12.ExportSink { +func (m *DeleteAccountAuditLogSinkResponse) GetAsyncOperation() *v11.AsyncOperation { if m != nil { - return m.Sink + return m.AsyncOperation } return nil } -type GetNamespaceExportSinksRequest struct { - // 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. - // Defaults to 100 if not specified. - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` +// temporal:dev +type GetAuditLogsRequest struct { + // 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,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + 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"` + // 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"` } -func (m *GetNamespaceExportSinksRequest) Reset() { *m = GetNamespaceExportSinksRequest{} } -func (*GetNamespaceExportSinksRequest) ProtoMessage() {} -func (*GetNamespaceExportSinksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{98} +func (m *GetAuditLogsRequest) Reset() { *m = GetAuditLogsRequest{} } +func (*GetAuditLogsRequest) ProtoMessage() {} +func (*GetAuditLogsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{102} } -func (m *GetNamespaceExportSinksRequest) XXX_Unmarshal(b []byte) error { +func (m *GetAuditLogsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetNamespaceExportSinksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetAuditLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetNamespaceExportSinksRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_GetAuditLogsRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5527,57 +5729,65 @@ func (m *GetNamespaceExportSinksRequest) XXX_Marshal(b []byte, deterministic boo return b[:n], nil } } -func (m *GetNamespaceExportSinksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNamespaceExportSinksRequest.Merge(m, src) +func (m *GetAuditLogsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAuditLogsRequest.Merge(m, src) } -func (m *GetNamespaceExportSinksRequest) XXX_Size() int { +func (m *GetAuditLogsRequest) XXX_Size() int { return m.Size() } -func (m *GetNamespaceExportSinksRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetNamespaceExportSinksRequest.DiscardUnknown(m) +func (m *GetAuditLogsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetAuditLogsRequest.DiscardUnknown(m) } -var xxx_messageInfo_GetNamespaceExportSinksRequest proto.InternalMessageInfo +var xxx_messageInfo_GetAuditLogsRequest proto.InternalMessageInfo -func (m *GetNamespaceExportSinksRequest) GetNamespace() string { +func (m *GetAuditLogsRequest) GetPageSize() int32 { if m != nil { - return m.Namespace + return m.PageSize + } + return 0 +} + +func (m *GetAuditLogsRequest) GetPageToken() string { + if m != nil { + return m.PageToken } return "" } -func (m *GetNamespaceExportSinksRequest) GetPageSize() int32 { +func (m *GetAuditLogsRequest) GetStartTimeInclusive() *types.Timestamp { if m != nil { - return m.PageSize + return m.StartTimeInclusive } - return 0 + return nil } -func (m *GetNamespaceExportSinksRequest) GetPageToken() string { +func (m *GetAuditLogsRequest) GetEndTimeExclusive() *types.Timestamp { if m != nil { - return m.PageToken + return m.EndTimeExclusive } - return "" + return nil } -type GetNamespaceExportSinksResponse struct { - // 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. +// 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"` + // 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 *GetNamespaceExportSinksResponse) Reset() { *m = GetNamespaceExportSinksResponse{} } -func (*GetNamespaceExportSinksResponse) ProtoMessage() {} -func (*GetNamespaceExportSinksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{99} +func (m *GetAuditLogsResponse) Reset() { *m = GetAuditLogsResponse{} } +func (*GetAuditLogsResponse) ProtoMessage() {} +func (*GetAuditLogsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{103} } -func (m *GetNamespaceExportSinksResponse) XXX_Unmarshal(b []byte) error { +func (m *GetAuditLogsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetNamespaceExportSinksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetAuditLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetNamespaceExportSinksResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_GetAuditLogsResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5587,55 +5797,62 @@ func (m *GetNamespaceExportSinksResponse) XXX_Marshal(b []byte, deterministic bo return b[:n], nil } } -func (m *GetNamespaceExportSinksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNamespaceExportSinksResponse.Merge(m, src) +func (m *GetAuditLogsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAuditLogsResponse.Merge(m, src) } -func (m *GetNamespaceExportSinksResponse) XXX_Size() int { +func (m *GetAuditLogsResponse) XXX_Size() int { return m.Size() } -func (m *GetNamespaceExportSinksResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetNamespaceExportSinksResponse.DiscardUnknown(m) +func (m *GetAuditLogsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetAuditLogsResponse.DiscardUnknown(m) } -var xxx_messageInfo_GetNamespaceExportSinksResponse proto.InternalMessageInfo +var xxx_messageInfo_GetAuditLogsResponse proto.InternalMessageInfo -func (m *GetNamespaceExportSinksResponse) GetSinks() []*v12.ExportSink { +func (m *GetAuditLogsResponse) GetLogs() []*v16.LogRecord { if m != nil { - return m.Sinks + return m.Logs } return nil } -func (m *GetNamespaceExportSinksResponse) GetNextPageToken() string { +func (m *GetAuditLogsResponse) GetNextPageToken() string { if m != nil { return m.NextPageToken } return "" } -type UpdateNamespaceExportSinkRequest struct { - // The namespace to which the sink belongs. - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // The updated export sink specification. - Spec *v12.ExportSinkSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - // The version of the sink to update. The latest version can be - // retrieved using the GetNamespaceExportSink call. - 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. - AsyncOperationId string `protobuf:"bytes,4,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` +type GetUsageRequest struct { + // 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"` + // 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"` + // 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. + PageSize int32 `protobuf:"varint,3,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,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *UpdateNamespaceExportSinkRequest) Reset() { *m = UpdateNamespaceExportSinkRequest{} } -func (*UpdateNamespaceExportSinkRequest) ProtoMessage() {} -func (*UpdateNamespaceExportSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{100} +func (m *GetUsageRequest) Reset() { *m = GetUsageRequest{} } +func (*GetUsageRequest) ProtoMessage() {} +func (*GetUsageRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{104} } -func (m *UpdateNamespaceExportSinkRequest) XXX_Unmarshal(b []byte) error { +func (m *GetUsageRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *UpdateNamespaceExportSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetUsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_UpdateNamespaceExportSinkRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_GetUsageRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5645,62 +5862,65 @@ func (m *UpdateNamespaceExportSinkRequest) XXX_Marshal(b []byte, deterministic b return b[:n], nil } } -func (m *UpdateNamespaceExportSinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNamespaceExportSinkRequest.Merge(m, src) +func (m *GetUsageRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetUsageRequest.Merge(m, src) } -func (m *UpdateNamespaceExportSinkRequest) XXX_Size() int { +func (m *GetUsageRequest) XXX_Size() int { return m.Size() } -func (m *UpdateNamespaceExportSinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateNamespaceExportSinkRequest.DiscardUnknown(m) +func (m *GetUsageRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetUsageRequest.DiscardUnknown(m) } -var xxx_messageInfo_UpdateNamespaceExportSinkRequest proto.InternalMessageInfo +var xxx_messageInfo_GetUsageRequest proto.InternalMessageInfo -func (m *UpdateNamespaceExportSinkRequest) GetNamespace() string { +func (m *GetUsageRequest) GetStartTimeInclusive() *types.Timestamp { if m != nil { - return m.Namespace + return m.StartTimeInclusive } - return "" + return nil } -func (m *UpdateNamespaceExportSinkRequest) GetSpec() *v12.ExportSinkSpec { +func (m *GetUsageRequest) GetEndTimeExclusive() *types.Timestamp { if m != nil { - return m.Spec + return m.EndTimeExclusive } return nil } -func (m *UpdateNamespaceExportSinkRequest) GetResourceVersion() string { +func (m *GetUsageRequest) GetPageSize() int32 { if m != nil { - return m.ResourceVersion + return m.PageSize } - return "" + return 0 } -func (m *UpdateNamespaceExportSinkRequest) GetAsyncOperationId() string { +func (m *GetUsageRequest) GetPageToken() string { if m != nil { - return m.AsyncOperationId + return m.PageToken } return "" } -type UpdateNamespaceExportSinkResponse struct { - // The async operation. - AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` +type GetUsageResponse struct { + // 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"` + // 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 *UpdateNamespaceExportSinkResponse) Reset() { *m = UpdateNamespaceExportSinkResponse{} } -func (*UpdateNamespaceExportSinkResponse) ProtoMessage() {} -func (*UpdateNamespaceExportSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{101} +func (m *GetUsageResponse) Reset() { *m = GetUsageResponse{} } +func (*GetUsageResponse) ProtoMessage() {} +func (*GetUsageResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{105} } -func (m *UpdateNamespaceExportSinkResponse) XXX_Unmarshal(b []byte) error { +func (m *GetUsageResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *UpdateNamespaceExportSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetUsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_UpdateNamespaceExportSinkResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_GetUsageResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5710,48 +5930,46 @@ func (m *UpdateNamespaceExportSinkResponse) XXX_Marshal(b []byte, deterministic return b[:n], nil } } -func (m *UpdateNamespaceExportSinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNamespaceExportSinkResponse.Merge(m, src) +func (m *GetUsageResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetUsageResponse.Merge(m, src) } -func (m *UpdateNamespaceExportSinkResponse) XXX_Size() int { +func (m *GetUsageResponse) XXX_Size() int { return m.Size() } -func (m *UpdateNamespaceExportSinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateNamespaceExportSinkResponse.DiscardUnknown(m) +func (m *GetUsageResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetUsageResponse.DiscardUnknown(m) } -var xxx_messageInfo_UpdateNamespaceExportSinkResponse proto.InternalMessageInfo +var xxx_messageInfo_GetUsageResponse proto.InternalMessageInfo -func (m *UpdateNamespaceExportSinkResponse) GetAsyncOperation() *v11.AsyncOperation { +func (m *GetUsageResponse) GetSummaries() []*v17.Summary { if m != nil { - return m.AsyncOperation + return m.Summaries } return nil } -type DeleteNamespaceExportSinkRequest struct { - // 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. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // The version of the sink to delete. The latest version can be - // retrieved using the GetNamespaceExportSink call. - 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. - AsyncOperationId string `protobuf:"bytes,4,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` +func (m *GetUsageResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" } -func (m *DeleteNamespaceExportSinkRequest) Reset() { *m = DeleteNamespaceExportSinkRequest{} } -func (*DeleteNamespaceExportSinkRequest) ProtoMessage() {} -func (*DeleteNamespaceExportSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{102} +type GetAccountRequest struct { } -func (m *DeleteNamespaceExportSinkRequest) XXX_Unmarshal(b []byte) error { + +func (m *GetAccountRequest) Reset() { *m = GetAccountRequest{} } +func (*GetAccountRequest) ProtoMessage() {} +func (*GetAccountRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{106} +} +func (m *GetAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *DeleteNamespaceExportSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_DeleteNamespaceExportSinkRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_GetAccountRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5761,62 +5979,34 @@ func (m *DeleteNamespaceExportSinkRequest) XXX_Marshal(b []byte, deterministic b return b[:n], nil } } -func (m *DeleteNamespaceExportSinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNamespaceExportSinkRequest.Merge(m, src) +func (m *GetAccountRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAccountRequest.Merge(m, src) } -func (m *DeleteNamespaceExportSinkRequest) XXX_Size() int { +func (m *GetAccountRequest) XXX_Size() int { return m.Size() } -func (m *DeleteNamespaceExportSinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteNamespaceExportSinkRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteNamespaceExportSinkRequest proto.InternalMessageInfo - -func (m *DeleteNamespaceExportSinkRequest) GetNamespace() string { - if m != nil { - return m.Namespace - } - return "" -} - -func (m *DeleteNamespaceExportSinkRequest) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *DeleteNamespaceExportSinkRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion - } - return "" +func (m *GetAccountRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetAccountRequest.DiscardUnknown(m) } -func (m *DeleteNamespaceExportSinkRequest) GetAsyncOperationId() string { - if m != nil { - return m.AsyncOperationId - } - return "" -} +var xxx_messageInfo_GetAccountRequest proto.InternalMessageInfo -type DeleteNamespaceExportSinkResponse struct { - // The async operation. - AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` +type GetAccountResponse struct { + // The account. + Account *v15.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` } -func (m *DeleteNamespaceExportSinkResponse) Reset() { *m = DeleteNamespaceExportSinkResponse{} } -func (*DeleteNamespaceExportSinkResponse) ProtoMessage() {} -func (*DeleteNamespaceExportSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{103} +func (m *GetAccountResponse) Reset() { *m = GetAccountResponse{} } +func (*GetAccountResponse) ProtoMessage() {} +func (*GetAccountResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{107} } -func (m *DeleteNamespaceExportSinkResponse) XXX_Unmarshal(b []byte) error { +func (m *GetAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *DeleteNamespaceExportSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_DeleteNamespaceExportSinkResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_GetAccountResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5826,43 +6016,45 @@ func (m *DeleteNamespaceExportSinkResponse) XXX_Marshal(b []byte, deterministic return b[:n], nil } } -func (m *DeleteNamespaceExportSinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteNamespaceExportSinkResponse.Merge(m, src) +func (m *GetAccountResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAccountResponse.Merge(m, src) } -func (m *DeleteNamespaceExportSinkResponse) XXX_Size() int { +func (m *GetAccountResponse) XXX_Size() int { return m.Size() } -func (m *DeleteNamespaceExportSinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteNamespaceExportSinkResponse.DiscardUnknown(m) +func (m *GetAccountResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetAccountResponse.DiscardUnknown(m) } -var xxx_messageInfo_DeleteNamespaceExportSinkResponse proto.InternalMessageInfo +var xxx_messageInfo_GetAccountResponse proto.InternalMessageInfo -func (m *DeleteNamespaceExportSinkResponse) GetAsyncOperation() *v11.AsyncOperation { +func (m *GetAccountResponse) GetAccount() *v15.Account { if m != nil { - return m.AsyncOperation + return m.Account } return nil } -type ValidateNamespaceExportSinkRequest struct { - // The namespace to which the sink belongs. +type CreateNamespaceExportSinkRequest struct { + // The namespace under which the sink is configured. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // The export sink specification to validate. + // The specification for the export sink. Spec *v12.ExportSinkSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + // Optional. The ID to use for this async operation. + AsyncOperationId string `protobuf:"bytes,3,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"` } -func (m *ValidateNamespaceExportSinkRequest) Reset() { *m = ValidateNamespaceExportSinkRequest{} } -func (*ValidateNamespaceExportSinkRequest) ProtoMessage() {} -func (*ValidateNamespaceExportSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{104} +func (m *CreateNamespaceExportSinkRequest) Reset() { *m = CreateNamespaceExportSinkRequest{} } +func (*CreateNamespaceExportSinkRequest) ProtoMessage() {} +func (*CreateNamespaceExportSinkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{108} } -func (m *ValidateNamespaceExportSinkRequest) XXX_Unmarshal(b []byte) error { +func (m *CreateNamespaceExportSinkRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ValidateNamespaceExportSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CreateNamespaceExportSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ValidateNamespaceExportSinkRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_CreateNamespaceExportSinkRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5872,46 +6064,55 @@ func (m *ValidateNamespaceExportSinkRequest) XXX_Marshal(b []byte, deterministic return b[:n], nil } } -func (m *ValidateNamespaceExportSinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidateNamespaceExportSinkRequest.Merge(m, src) +func (m *CreateNamespaceExportSinkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateNamespaceExportSinkRequest.Merge(m, src) } -func (m *ValidateNamespaceExportSinkRequest) XXX_Size() int { +func (m *CreateNamespaceExportSinkRequest) XXX_Size() int { return m.Size() } -func (m *ValidateNamespaceExportSinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ValidateNamespaceExportSinkRequest.DiscardUnknown(m) +func (m *CreateNamespaceExportSinkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateNamespaceExportSinkRequest.DiscardUnknown(m) } -var xxx_messageInfo_ValidateNamespaceExportSinkRequest proto.InternalMessageInfo +var xxx_messageInfo_CreateNamespaceExportSinkRequest proto.InternalMessageInfo -func (m *ValidateNamespaceExportSinkRequest) GetNamespace() string { +func (m *CreateNamespaceExportSinkRequest) GetNamespace() string { if m != nil { return m.Namespace } return "" } -func (m *ValidateNamespaceExportSinkRequest) GetSpec() *v12.ExportSinkSpec { +func (m *CreateNamespaceExportSinkRequest) GetSpec() *v12.ExportSinkSpec { if m != nil { return m.Spec } return nil } -type ValidateNamespaceExportSinkResponse struct { +func (m *CreateNamespaceExportSinkRequest) GetAsyncOperationId() string { + if m != nil { + return m.AsyncOperationId + } + return "" } -func (m *ValidateNamespaceExportSinkResponse) Reset() { *m = ValidateNamespaceExportSinkResponse{} } -func (*ValidateNamespaceExportSinkResponse) ProtoMessage() {} -func (*ValidateNamespaceExportSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{105} +type CreateNamespaceExportSinkResponse struct { + // The async operation. + AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *ValidateNamespaceExportSinkResponse) XXX_Unmarshal(b []byte) error { + +func (m *CreateNamespaceExportSinkResponse) Reset() { *m = CreateNamespaceExportSinkResponse{} } +func (*CreateNamespaceExportSinkResponse) ProtoMessage() {} +func (*CreateNamespaceExportSinkResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{109} +} +func (m *CreateNamespaceExportSinkResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ValidateNamespaceExportSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CreateNamespaceExportSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ValidateNamespaceExportSinkResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_CreateNamespaceExportSinkResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5921,38 +6122,43 @@ func (m *ValidateNamespaceExportSinkResponse) XXX_Marshal(b []byte, deterministi return b[:n], nil } } -func (m *ValidateNamespaceExportSinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidateNamespaceExportSinkResponse.Merge(m, src) +func (m *CreateNamespaceExportSinkResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateNamespaceExportSinkResponse.Merge(m, src) } -func (m *ValidateNamespaceExportSinkResponse) XXX_Size() int { +func (m *CreateNamespaceExportSinkResponse) XXX_Size() int { return m.Size() } -func (m *ValidateNamespaceExportSinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ValidateNamespaceExportSinkResponse.DiscardUnknown(m) +func (m *CreateNamespaceExportSinkResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateNamespaceExportSinkResponse.DiscardUnknown(m) } -var xxx_messageInfo_ValidateNamespaceExportSinkResponse proto.InternalMessageInfo +var xxx_messageInfo_CreateNamespaceExportSinkResponse proto.InternalMessageInfo -// temporal:dev -type StartMigrationRequest struct { - // The migration specification. - Spec *v12.MigrationSpec `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 *CreateNamespaceExportSinkResponse) GetAsyncOperation() *v11.AsyncOperation { + if m != nil { + return m.AsyncOperation + } + return nil } -func (m *StartMigrationRequest) Reset() { *m = StartMigrationRequest{} } -func (*StartMigrationRequest) ProtoMessage() {} -func (*StartMigrationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{106} +type GetNamespaceExportSinkRequest struct { + // 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 *StartMigrationRequest) XXX_Unmarshal(b []byte) error { + +func (m *GetNamespaceExportSinkRequest) Reset() { *m = GetNamespaceExportSinkRequest{} } +func (*GetNamespaceExportSinkRequest) ProtoMessage() {} +func (*GetNamespaceExportSinkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{110} +} +func (m *GetNamespaceExportSinkRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *StartMigrationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetNamespaceExportSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_StartMigrationRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_GetNamespaceExportSinkRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -5962,51 +6168,48 @@ func (m *StartMigrationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *StartMigrationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartMigrationRequest.Merge(m, src) +func (m *GetNamespaceExportSinkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetNamespaceExportSinkRequest.Merge(m, src) } -func (m *StartMigrationRequest) XXX_Size() int { +func (m *GetNamespaceExportSinkRequest) XXX_Size() int { return m.Size() } -func (m *StartMigrationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StartMigrationRequest.DiscardUnknown(m) +func (m *GetNamespaceExportSinkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetNamespaceExportSinkRequest.DiscardUnknown(m) } -var xxx_messageInfo_StartMigrationRequest proto.InternalMessageInfo +var xxx_messageInfo_GetNamespaceExportSinkRequest proto.InternalMessageInfo -func (m *StartMigrationRequest) GetSpec() *v12.MigrationSpec { +func (m *GetNamespaceExportSinkRequest) GetNamespace() string { if m != nil { - return m.Spec + return m.Namespace } - return nil + return "" } -func (m *StartMigrationRequest) GetAsyncOperationId() string { +func (m *GetNamespaceExportSinkRequest) GetName() string { if m != nil { - return m.AsyncOperationId + return m.Name } return "" } -// temporal:dev -type StartMigrationResponse struct { - // 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"` +type GetNamespaceExportSinkResponse struct { + // The export sink retrieved. + Sink *v12.ExportSink `protobuf:"bytes,1,opt,name=sink,proto3" json:"sink,omitempty"` } -func (m *StartMigrationResponse) Reset() { *m = StartMigrationResponse{} } -func (*StartMigrationResponse) ProtoMessage() {} -func (*StartMigrationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{107} +func (m *GetNamespaceExportSinkResponse) Reset() { *m = GetNamespaceExportSinkResponse{} } +func (*GetNamespaceExportSinkResponse) ProtoMessage() {} +func (*GetNamespaceExportSinkResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{111} } -func (m *StartMigrationResponse) XXX_Unmarshal(b []byte) error { +func (m *GetNamespaceExportSinkResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *StartMigrationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetNamespaceExportSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_StartMigrationResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_GetNamespaceExportSinkResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6016,49 +6219,46 @@ func (m *StartMigrationResponse) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } -func (m *StartMigrationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartMigrationResponse.Merge(m, src) +func (m *GetNamespaceExportSinkResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetNamespaceExportSinkResponse.Merge(m, src) } -func (m *StartMigrationResponse) XXX_Size() int { +func (m *GetNamespaceExportSinkResponse) XXX_Size() int { return m.Size() } -func (m *StartMigrationResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StartMigrationResponse.DiscardUnknown(m) +func (m *GetNamespaceExportSinkResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetNamespaceExportSinkResponse.DiscardUnknown(m) } -var xxx_messageInfo_StartMigrationResponse proto.InternalMessageInfo - -func (m *StartMigrationResponse) GetMigrationId() string { - if m != nil { - return m.MigrationId - } - return "" -} +var xxx_messageInfo_GetNamespaceExportSinkResponse proto.InternalMessageInfo -func (m *StartMigrationResponse) GetAsyncOperation() *v11.AsyncOperation { +func (m *GetNamespaceExportSinkResponse) GetSink() *v12.ExportSink { if m != nil { - return m.AsyncOperation + return m.Sink } return nil } -// temporal:dev -type GetMigrationRequest struct { - // The migration id. - MigrationId string `protobuf:"bytes,1,opt,name=migration_id,json=migrationId,proto3" json:"migration_id,omitempty"` +type GetNamespaceExportSinksRequest struct { + // 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. + // Defaults to 100 if not specified. + PageSize int32 `protobuf:"varint,2,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,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *GetMigrationRequest) Reset() { *m = GetMigrationRequest{} } -func (*GetMigrationRequest) ProtoMessage() {} -func (*GetMigrationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{108} +func (m *GetNamespaceExportSinksRequest) Reset() { *m = GetNamespaceExportSinksRequest{} } +func (*GetNamespaceExportSinksRequest) ProtoMessage() {} +func (*GetNamespaceExportSinksRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{112} } -func (m *GetMigrationRequest) XXX_Unmarshal(b []byte) error { +func (m *GetNamespaceExportSinksRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetMigrationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetNamespaceExportSinksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetMigrationRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_GetNamespaceExportSinksRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6068,146 +6268,57 @@ func (m *GetMigrationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -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) -} - -var xxx_messageInfo_GetMigrationRequest proto.InternalMessageInfo - -func (m *GetMigrationRequest) GetMigrationId() string { - if m != nil { - return m.MigrationId - } - return "" -} - -// temporal:dev -type GetMigrationResponse struct { - // 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{109} -} -func (m *GetMigrationResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -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 - } - return b[:n], nil - } -} -func (m *GetMigrationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMigrationResponse.Merge(m, src) +func (m *GetNamespaceExportSinksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetNamespaceExportSinksRequest.Merge(m, src) } -func (m *GetMigrationResponse) XXX_Size() int { +func (m *GetNamespaceExportSinksRequest) XXX_Size() int { return m.Size() } -func (m *GetMigrationResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetMigrationResponse.DiscardUnknown(m) +func (m *GetNamespaceExportSinksRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetNamespaceExportSinksRequest.DiscardUnknown(m) } -var xxx_messageInfo_GetMigrationResponse proto.InternalMessageInfo +var xxx_messageInfo_GetNamespaceExportSinksRequest proto.InternalMessageInfo -func (m *GetMigrationResponse) GetMigration() *v12.Migration { +func (m *GetNamespaceExportSinksRequest) GetNamespace() string { if m != nil { - return m.Migration - } - return nil -} - -// temporal:dev -type GetMigrationsRequest struct { - // The requested size of the page to retrieve. - // Cannot exceed 1000. - // 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"` -} - -func (m *GetMigrationsRequest) Reset() { *m = GetMigrationsRequest{} } -func (*GetMigrationsRequest) ProtoMessage() {} -func (*GetMigrationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{110} -} -func (m *GetMigrationsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -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 - } - return b[:n], nil + return m.Namespace } + return "" } -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) -} - -var xxx_messageInfo_GetMigrationsRequest proto.InternalMessageInfo -func (m *GetMigrationsRequest) GetPageSize() int32 { +func (m *GetNamespaceExportSinksRequest) GetPageSize() int32 { if m != nil { return m.PageSize } return 0 } -func (m *GetMigrationsRequest) GetPageToken() string { +func (m *GetNamespaceExportSinksRequest) GetPageToken() string { if m != nil { return m.PageToken } return "" } -// temporal:dev -type GetMigrationsResponse struct { - // The list of migrations. - Migrations []*v12.Migration `protobuf:"bytes,1,rep,name=migrations,proto3" json:"migrations,omitempty"` - // The next page's token. +type GetNamespaceExportSinksResponse struct { + // 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 *GetMigrationsResponse) Reset() { *m = GetMigrationsResponse{} } -func (*GetMigrationsResponse) ProtoMessage() {} -func (*GetMigrationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{111} +func (m *GetNamespaceExportSinksResponse) Reset() { *m = GetNamespaceExportSinksResponse{} } +func (*GetNamespaceExportSinksResponse) ProtoMessage() {} +func (*GetNamespaceExportSinksResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{113} } -func (m *GetMigrationsResponse) XXX_Unmarshal(b []byte) error { +func (m *GetNamespaceExportSinksResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetMigrationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetNamespaceExportSinksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetMigrationsResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_GetNamespaceExportSinksResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6217,54 +6328,55 @@ func (m *GetMigrationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *GetMigrationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMigrationsResponse.Merge(m, src) +func (m *GetNamespaceExportSinksResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetNamespaceExportSinksResponse.Merge(m, src) } -func (m *GetMigrationsResponse) XXX_Size() int { +func (m *GetNamespaceExportSinksResponse) XXX_Size() int { return m.Size() } -func (m *GetMigrationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetMigrationsResponse.DiscardUnknown(m) +func (m *GetNamespaceExportSinksResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetNamespaceExportSinksResponse.DiscardUnknown(m) } -var xxx_messageInfo_GetMigrationsResponse proto.InternalMessageInfo +var xxx_messageInfo_GetNamespaceExportSinksResponse proto.InternalMessageInfo -func (m *GetMigrationsResponse) GetMigrations() []*v12.Migration { +func (m *GetNamespaceExportSinksResponse) GetSinks() []*v12.ExportSink { if m != nil { - return m.Migrations + return m.Sinks } return nil } -func (m *GetMigrationsResponse) GetNextPageToken() string { +func (m *GetNamespaceExportSinksResponse) GetNextPageToken() string { if m != nil { return m.NextPageToken } return "" } -// temporal:dev -type HandoverNamespaceRequest struct { - // 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. - ToReplicaId string `protobuf:"bytes,2,opt,name=to_replica_id,json=toReplicaId,proto3" json:"to_replica_id,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"` +type UpdateNamespaceExportSinkRequest struct { + // The namespace to which the sink belongs. + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + // The updated export sink specification. + Spec *v12.ExportSinkSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + // The version of the sink to update. The latest version can be + // retrieved using the GetNamespaceExportSink call. + 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. + AsyncOperationId string `protobuf:"bytes,4,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{112} +func (m *UpdateNamespaceExportSinkRequest) Reset() { *m = UpdateNamespaceExportSinkRequest{} } +func (*UpdateNamespaceExportSinkRequest) ProtoMessage() {} +func (*UpdateNamespaceExportSinkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{114} } -func (m *HandoverNamespaceRequest) XXX_Unmarshal(b []byte) error { +func (m *UpdateNamespaceExportSinkRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *HandoverNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *UpdateNamespaceExportSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_HandoverNamespaceRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_UpdateNamespaceExportSinkRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6274,56 +6386,62 @@ func (m *HandoverNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } -func (m *HandoverNamespaceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_HandoverNamespaceRequest.Merge(m, src) +func (m *UpdateNamespaceExportSinkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateNamespaceExportSinkRequest.Merge(m, src) } -func (m *HandoverNamespaceRequest) XXX_Size() int { +func (m *UpdateNamespaceExportSinkRequest) XXX_Size() int { return m.Size() } -func (m *HandoverNamespaceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_HandoverNamespaceRequest.DiscardUnknown(m) +func (m *UpdateNamespaceExportSinkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateNamespaceExportSinkRequest.DiscardUnknown(m) } -var xxx_messageInfo_HandoverNamespaceRequest proto.InternalMessageInfo +var xxx_messageInfo_UpdateNamespaceExportSinkRequest proto.InternalMessageInfo -func (m *HandoverNamespaceRequest) GetMigrationId() string { +func (m *UpdateNamespaceExportSinkRequest) GetNamespace() string { if m != nil { - return m.MigrationId + return m.Namespace } return "" } -func (m *HandoverNamespaceRequest) GetToReplicaId() string { +func (m *UpdateNamespaceExportSinkRequest) GetSpec() *v12.ExportSinkSpec { if m != nil { - return m.ToReplicaId + return m.Spec + } + return nil +} + +func (m *UpdateNamespaceExportSinkRequest) GetResourceVersion() string { + if m != nil { + return m.ResourceVersion } return "" } -func (m *HandoverNamespaceRequest) GetAsyncOperationId() string { +func (m *UpdateNamespaceExportSinkRequest) GetAsyncOperationId() string { if m != nil { return m.AsyncOperationId } return "" } -// temporal:dev -type HandoverNamespaceResponse struct { +type UpdateNamespaceExportSinkResponse struct { // 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{113} +func (m *UpdateNamespaceExportSinkResponse) Reset() { *m = UpdateNamespaceExportSinkResponse{} } +func (*UpdateNamespaceExportSinkResponse) ProtoMessage() {} +func (*UpdateNamespaceExportSinkResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{115} } -func (m *HandoverNamespaceResponse) XXX_Unmarshal(b []byte) error { +func (m *UpdateNamespaceExportSinkResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *HandoverNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *UpdateNamespaceExportSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_HandoverNamespaceResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_UpdateNamespaceExportSinkResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6333,45 +6451,48 @@ func (m *HandoverNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } -func (m *HandoverNamespaceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_HandoverNamespaceResponse.Merge(m, src) +func (m *UpdateNamespaceExportSinkResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateNamespaceExportSinkResponse.Merge(m, src) } -func (m *HandoverNamespaceResponse) XXX_Size() int { +func (m *UpdateNamespaceExportSinkResponse) XXX_Size() int { return m.Size() } -func (m *HandoverNamespaceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_HandoverNamespaceResponse.DiscardUnknown(m) +func (m *UpdateNamespaceExportSinkResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateNamespaceExportSinkResponse.DiscardUnknown(m) } -var xxx_messageInfo_HandoverNamespaceResponse proto.InternalMessageInfo +var xxx_messageInfo_UpdateNamespaceExportSinkResponse proto.InternalMessageInfo -func (m *HandoverNamespaceResponse) GetAsyncOperation() *v11.AsyncOperation { +func (m *UpdateNamespaceExportSinkResponse) GetAsyncOperation() *v11.AsyncOperation { if m != nil { return m.AsyncOperation } return nil } -// temporal:dev -type ConfirmMigrationRequest struct { - // 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. - // 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"` +type DeleteNamespaceExportSinkRequest struct { + // 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. + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + // The version of the sink to delete. The latest version can be + // retrieved using the GetNamespaceExportSink call. + 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. + AsyncOperationId string `protobuf:"bytes,4,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{114} +func (m *DeleteNamespaceExportSinkRequest) Reset() { *m = DeleteNamespaceExportSinkRequest{} } +func (*DeleteNamespaceExportSinkRequest) ProtoMessage() {} +func (*DeleteNamespaceExportSinkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{116} } -func (m *ConfirmMigrationRequest) XXX_Unmarshal(b []byte) error { +func (m *DeleteNamespaceExportSinkRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ConfirmMigrationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *DeleteNamespaceExportSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ConfirmMigrationRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_DeleteNamespaceExportSinkRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6381,49 +6502,62 @@ func (m *ConfirmMigrationRequest) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } -func (m *ConfirmMigrationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfirmMigrationRequest.Merge(m, src) +func (m *DeleteNamespaceExportSinkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteNamespaceExportSinkRequest.Merge(m, src) } -func (m *ConfirmMigrationRequest) XXX_Size() int { +func (m *DeleteNamespaceExportSinkRequest) XXX_Size() int { return m.Size() } -func (m *ConfirmMigrationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ConfirmMigrationRequest.DiscardUnknown(m) +func (m *DeleteNamespaceExportSinkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteNamespaceExportSinkRequest.DiscardUnknown(m) } -var xxx_messageInfo_ConfirmMigrationRequest proto.InternalMessageInfo +var xxx_messageInfo_DeleteNamespaceExportSinkRequest proto.InternalMessageInfo -func (m *ConfirmMigrationRequest) GetMigrationId() string { +func (m *DeleteNamespaceExportSinkRequest) GetNamespace() string { if m != nil { - return m.MigrationId + return m.Namespace } return "" } -func (m *ConfirmMigrationRequest) GetAsyncOperationId() string { +func (m *DeleteNamespaceExportSinkRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *DeleteNamespaceExportSinkRequest) GetResourceVersion() string { + if m != nil { + return m.ResourceVersion + } + return "" +} + +func (m *DeleteNamespaceExportSinkRequest) GetAsyncOperationId() string { if m != nil { return m.AsyncOperationId } return "" } -// temporal:dev -type ConfirmMigrationResponse struct { +type DeleteNamespaceExportSinkResponse struct { // 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{115} +func (m *DeleteNamespaceExportSinkResponse) Reset() { *m = DeleteNamespaceExportSinkResponse{} } +func (*DeleteNamespaceExportSinkResponse) ProtoMessage() {} +func (*DeleteNamespaceExportSinkResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{117} } -func (m *ConfirmMigrationResponse) XXX_Unmarshal(b []byte) error { +func (m *DeleteNamespaceExportSinkResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ConfirmMigrationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *DeleteNamespaceExportSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ConfirmMigrationResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_DeleteNamespaceExportSinkResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6433,45 +6567,43 @@ func (m *ConfirmMigrationResponse) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } -func (m *ConfirmMigrationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfirmMigrationResponse.Merge(m, src) +func (m *DeleteNamespaceExportSinkResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteNamespaceExportSinkResponse.Merge(m, src) } -func (m *ConfirmMigrationResponse) XXX_Size() int { +func (m *DeleteNamespaceExportSinkResponse) XXX_Size() int { return m.Size() } -func (m *ConfirmMigrationResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ConfirmMigrationResponse.DiscardUnknown(m) +func (m *DeleteNamespaceExportSinkResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteNamespaceExportSinkResponse.DiscardUnknown(m) } -var xxx_messageInfo_ConfirmMigrationResponse proto.InternalMessageInfo +var xxx_messageInfo_DeleteNamespaceExportSinkResponse proto.InternalMessageInfo -func (m *ConfirmMigrationResponse) GetAsyncOperation() *v11.AsyncOperation { +func (m *DeleteNamespaceExportSinkResponse) GetAsyncOperation() *v11.AsyncOperation { if m != nil { return m.AsyncOperation } return nil } -// temporal:dev -type AbortMigrationRequest struct { - // 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. - // 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"` +type ValidateNamespaceExportSinkRequest struct { + // 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 *AbortMigrationRequest) Reset() { *m = AbortMigrationRequest{} } -func (*AbortMigrationRequest) ProtoMessage() {} -func (*AbortMigrationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{116} +func (m *ValidateNamespaceExportSinkRequest) Reset() { *m = ValidateNamespaceExportSinkRequest{} } +func (*ValidateNamespaceExportSinkRequest) ProtoMessage() {} +func (*ValidateNamespaceExportSinkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{118} } -func (m *AbortMigrationRequest) XXX_Unmarshal(b []byte) error { +func (m *ValidateNamespaceExportSinkRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *AbortMigrationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ValidateNamespaceExportSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_AbortMigrationRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_ValidateNamespaceExportSinkRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6481,49 +6613,46 @@ func (m *AbortMigrationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *AbortMigrationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AbortMigrationRequest.Merge(m, src) +func (m *ValidateNamespaceExportSinkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ValidateNamespaceExportSinkRequest.Merge(m, src) } -func (m *AbortMigrationRequest) XXX_Size() int { +func (m *ValidateNamespaceExportSinkRequest) XXX_Size() int { return m.Size() } -func (m *AbortMigrationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AbortMigrationRequest.DiscardUnknown(m) +func (m *ValidateNamespaceExportSinkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ValidateNamespaceExportSinkRequest.DiscardUnknown(m) } -var xxx_messageInfo_AbortMigrationRequest proto.InternalMessageInfo +var xxx_messageInfo_ValidateNamespaceExportSinkRequest proto.InternalMessageInfo -func (m *AbortMigrationRequest) GetMigrationId() string { +func (m *ValidateNamespaceExportSinkRequest) GetNamespace() string { if m != nil { - return m.MigrationId + return m.Namespace } return "" } -func (m *AbortMigrationRequest) GetAsyncOperationId() string { +func (m *ValidateNamespaceExportSinkRequest) GetSpec() *v12.ExportSinkSpec { if m != nil { - return m.AsyncOperationId + return m.Spec } - return "" + return nil } -// temporal:dev -type AbortMigrationResponse struct { - // The async operation. - AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` +type ValidateNamespaceExportSinkResponse struct { } -func (m *AbortMigrationResponse) Reset() { *m = AbortMigrationResponse{} } -func (*AbortMigrationResponse) ProtoMessage() {} -func (*AbortMigrationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{117} +func (m *ValidateNamespaceExportSinkResponse) Reset() { *m = ValidateNamespaceExportSinkResponse{} } +func (*ValidateNamespaceExportSinkResponse) ProtoMessage() {} +func (*ValidateNamespaceExportSinkResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{119} } -func (m *AbortMigrationResponse) XXX_Unmarshal(b []byte) error { +func (m *ValidateNamespaceExportSinkResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *AbortMigrationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ValidateNamespaceExportSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_AbortMigrationResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_ValidateNamespaceExportSinkResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6533,43 +6662,38 @@ func (m *AbortMigrationResponse) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } -func (m *AbortMigrationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AbortMigrationResponse.Merge(m, src) +func (m *ValidateNamespaceExportSinkResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ValidateNamespaceExportSinkResponse.Merge(m, src) } -func (m *AbortMigrationResponse) XXX_Size() int { +func (m *ValidateNamespaceExportSinkResponse) XXX_Size() int { return m.Size() } -func (m *AbortMigrationResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AbortMigrationResponse.DiscardUnknown(m) +func (m *ValidateNamespaceExportSinkResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ValidateNamespaceExportSinkResponse.DiscardUnknown(m) } -var xxx_messageInfo_AbortMigrationResponse proto.InternalMessageInfo - -func (m *AbortMigrationResponse) GetAsyncOperation() *v11.AsyncOperation { - if m != nil { - return m.AsyncOperation - } - return nil -} +var xxx_messageInfo_ValidateNamespaceExportSinkResponse proto.InternalMessageInfo -type CreateConnectivityRuleRequest struct { - Spec *v18.ConnectivityRuleSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` +// temporal:dev +type StartMigrationRequest struct { + // The migration specification. + Spec *v12.MigrationSpec `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 *CreateConnectivityRuleRequest) Reset() { *m = CreateConnectivityRuleRequest{} } -func (*CreateConnectivityRuleRequest) ProtoMessage() {} -func (*CreateConnectivityRuleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{118} +func (m *StartMigrationRequest) Reset() { *m = StartMigrationRequest{} } +func (*StartMigrationRequest) ProtoMessage() {} +func (*StartMigrationRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{120} } -func (m *CreateConnectivityRuleRequest) XXX_Unmarshal(b []byte) error { +func (m *StartMigrationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CreateConnectivityRuleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *StartMigrationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CreateConnectivityRuleRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_StartMigrationRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6579,49 +6703,51 @@ func (m *CreateConnectivityRuleRequest) XXX_Marshal(b []byte, deterministic bool return b[:n], nil } } -func (m *CreateConnectivityRuleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateConnectivityRuleRequest.Merge(m, src) +func (m *StartMigrationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartMigrationRequest.Merge(m, src) } -func (m *CreateConnectivityRuleRequest) XXX_Size() int { +func (m *StartMigrationRequest) XXX_Size() int { return m.Size() } -func (m *CreateConnectivityRuleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateConnectivityRuleRequest.DiscardUnknown(m) +func (m *StartMigrationRequest) XXX_DiscardUnknown() { + xxx_messageInfo_StartMigrationRequest.DiscardUnknown(m) } -var xxx_messageInfo_CreateConnectivityRuleRequest proto.InternalMessageInfo +var xxx_messageInfo_StartMigrationRequest proto.InternalMessageInfo -func (m *CreateConnectivityRuleRequest) GetSpec() *v18.ConnectivityRuleSpec { +func (m *StartMigrationRequest) GetSpec() *v12.MigrationSpec { if m != nil { return m.Spec } return nil } -func (m *CreateConnectivityRuleRequest) GetAsyncOperationId() string { +func (m *StartMigrationRequest) GetAsyncOperationId() string { if m != nil { return m.AsyncOperationId } return "" } -type CreateConnectivityRuleResponse struct { - ConnectivityRuleId string `protobuf:"bytes,1,opt,name=connectivity_rule_id,json=connectivityRuleId,proto3" json:"connectivity_rule_id,omitempty"` - // The async operation +// temporal:dev +type StartMigrationResponse struct { + // 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 *CreateConnectivityRuleResponse) Reset() { *m = CreateConnectivityRuleResponse{} } -func (*CreateConnectivityRuleResponse) ProtoMessage() {} -func (*CreateConnectivityRuleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{119} +func (m *StartMigrationResponse) Reset() { *m = StartMigrationResponse{} } +func (*StartMigrationResponse) ProtoMessage() {} +func (*StartMigrationResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{121} } -func (m *CreateConnectivityRuleResponse) XXX_Unmarshal(b []byte) error { +func (m *StartMigrationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CreateConnectivityRuleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *StartMigrationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CreateConnectivityRuleResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_StartMigrationResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6631,47 +6757,49 @@ func (m *CreateConnectivityRuleResponse) XXX_Marshal(b []byte, deterministic boo return b[:n], nil } } -func (m *CreateConnectivityRuleResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateConnectivityRuleResponse.Merge(m, src) +func (m *StartMigrationResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartMigrationResponse.Merge(m, src) } -func (m *CreateConnectivityRuleResponse) XXX_Size() int { +func (m *StartMigrationResponse) XXX_Size() int { return m.Size() } -func (m *CreateConnectivityRuleResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateConnectivityRuleResponse.DiscardUnknown(m) +func (m *StartMigrationResponse) XXX_DiscardUnknown() { + xxx_messageInfo_StartMigrationResponse.DiscardUnknown(m) } -var xxx_messageInfo_CreateConnectivityRuleResponse proto.InternalMessageInfo +var xxx_messageInfo_StartMigrationResponse proto.InternalMessageInfo -func (m *CreateConnectivityRuleResponse) GetConnectivityRuleId() string { +func (m *StartMigrationResponse) GetMigrationId() string { if m != nil { - return m.ConnectivityRuleId + return m.MigrationId } return "" } -func (m *CreateConnectivityRuleResponse) GetAsyncOperation() *v11.AsyncOperation { +func (m *StartMigrationResponse) GetAsyncOperation() *v11.AsyncOperation { if m != nil { return m.AsyncOperation } return nil } -type GetConnectivityRuleRequest struct { - ConnectivityRuleId string `protobuf:"bytes,1,opt,name=connectivity_rule_id,json=connectivityRuleId,proto3" json:"connectivity_rule_id,omitempty"` +// temporal:dev +type GetMigrationRequest struct { + // The migration id. + MigrationId string `protobuf:"bytes,1,opt,name=migration_id,json=migrationId,proto3" json:"migration_id,omitempty"` } -func (m *GetConnectivityRuleRequest) Reset() { *m = GetConnectivityRuleRequest{} } -func (*GetConnectivityRuleRequest) ProtoMessage() {} -func (*GetConnectivityRuleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{120} +func (m *GetMigrationRequest) Reset() { *m = GetMigrationRequest{} } +func (*GetMigrationRequest) ProtoMessage() {} +func (*GetMigrationRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{122} } -func (m *GetConnectivityRuleRequest) XXX_Unmarshal(b []byte) error { +func (m *GetMigrationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetConnectivityRuleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetMigrationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetConnectivityRuleRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_GetMigrationRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6681,40 +6809,42 @@ func (m *GetConnectivityRuleRequest) XXX_Marshal(b []byte, deterministic bool) ( return b[:n], nil } } -func (m *GetConnectivityRuleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetConnectivityRuleRequest.Merge(m, src) +func (m *GetMigrationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetMigrationRequest.Merge(m, src) } -func (m *GetConnectivityRuleRequest) XXX_Size() int { +func (m *GetMigrationRequest) XXX_Size() int { return m.Size() } -func (m *GetConnectivityRuleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetConnectivityRuleRequest.DiscardUnknown(m) +func (m *GetMigrationRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetMigrationRequest.DiscardUnknown(m) } -var xxx_messageInfo_GetConnectivityRuleRequest proto.InternalMessageInfo +var xxx_messageInfo_GetMigrationRequest proto.InternalMessageInfo -func (m *GetConnectivityRuleRequest) GetConnectivityRuleId() string { +func (m *GetMigrationRequest) GetMigrationId() string { if m != nil { - return m.ConnectivityRuleId + return m.MigrationId } return "" } -type GetConnectivityRuleResponse struct { - ConnectivityRule *v18.ConnectivityRule `protobuf:"bytes,1,opt,name=connectivity_rule,json=connectivityRule,proto3" json:"connectivity_rule,omitempty"` +// temporal:dev +type GetMigrationResponse struct { + // The migration. + Migration *v12.Migration `protobuf:"bytes,1,opt,name=migration,proto3" json:"migration,omitempty"` } -func (m *GetConnectivityRuleResponse) Reset() { *m = GetConnectivityRuleResponse{} } -func (*GetConnectivityRuleResponse) ProtoMessage() {} -func (*GetConnectivityRuleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{121} +func (m *GetMigrationResponse) Reset() { *m = GetMigrationResponse{} } +func (*GetMigrationResponse) ProtoMessage() {} +func (*GetMigrationResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{123} } -func (m *GetConnectivityRuleResponse) XXX_Unmarshal(b []byte) error { +func (m *GetMigrationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetConnectivityRuleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetMigrationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetConnectivityRuleResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_GetMigrationResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6724,47 +6854,47 @@ func (m *GetConnectivityRuleResponse) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } -func (m *GetConnectivityRuleResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetConnectivityRuleResponse.Merge(m, src) +func (m *GetMigrationResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetMigrationResponse.Merge(m, src) } -func (m *GetConnectivityRuleResponse) XXX_Size() int { +func (m *GetMigrationResponse) XXX_Size() int { return m.Size() } -func (m *GetConnectivityRuleResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetConnectivityRuleResponse.DiscardUnknown(m) +func (m *GetMigrationResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetMigrationResponse.DiscardUnknown(m) } -var xxx_messageInfo_GetConnectivityRuleResponse proto.InternalMessageInfo +var xxx_messageInfo_GetMigrationResponse proto.InternalMessageInfo -func (m *GetConnectivityRuleResponse) GetConnectivityRule() *v18.ConnectivityRule { +func (m *GetMigrationResponse) GetMigration() *v12.Migration { if m != nil { - return m.ConnectivityRule + return m.Migration } return nil } -type GetConnectivityRulesRequest struct { +// temporal:dev +type GetMigrationsRequest struct { // The requested size of the page to retrieve. + // Cannot exceed 1000. // 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 - Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` } -func (m *GetConnectivityRulesRequest) Reset() { *m = GetConnectivityRulesRequest{} } -func (*GetConnectivityRulesRequest) ProtoMessage() {} -func (*GetConnectivityRulesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{122} +func (m *GetMigrationsRequest) Reset() { *m = GetMigrationsRequest{} } +func (*GetMigrationsRequest) ProtoMessage() {} +func (*GetMigrationsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{124} } -func (m *GetConnectivityRulesRequest) XXX_Unmarshal(b []byte) error { +func (m *GetMigrationsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetConnectivityRulesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetMigrationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetConnectivityRulesRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_GetMigrationsRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6774,57 +6904,51 @@ func (m *GetConnectivityRulesRequest) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } -func (m *GetConnectivityRulesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetConnectivityRulesRequest.Merge(m, src) +func (m *GetMigrationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetMigrationsRequest.Merge(m, src) } -func (m *GetConnectivityRulesRequest) XXX_Size() int { +func (m *GetMigrationsRequest) XXX_Size() int { return m.Size() } -func (m *GetConnectivityRulesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetConnectivityRulesRequest.DiscardUnknown(m) +func (m *GetMigrationsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetMigrationsRequest.DiscardUnknown(m) } -var xxx_messageInfo_GetConnectivityRulesRequest proto.InternalMessageInfo +var xxx_messageInfo_GetMigrationsRequest proto.InternalMessageInfo -func (m *GetConnectivityRulesRequest) GetPageSize() int32 { +func (m *GetMigrationsRequest) GetPageSize() int32 { if m != nil { return m.PageSize } return 0 } -func (m *GetConnectivityRulesRequest) GetPageToken() string { +func (m *GetMigrationsRequest) GetPageToken() string { if m != nil { return m.PageToken } return "" } -func (m *GetConnectivityRulesRequest) GetNamespace() string { - if m != nil { - return m.Namespace - } - return "" -} - -type GetConnectivityRulesResponse struct { - // connectivity_rules returned - ConnectivityRules []*v18.ConnectivityRule `protobuf:"bytes,1,rep,name=connectivity_rules,json=connectivityRules,proto3" json:"connectivity_rules,omitempty"` - // The next page token +// temporal:dev +type GetMigrationsResponse struct { + // 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 *GetConnectivityRulesResponse) Reset() { *m = GetConnectivityRulesResponse{} } -func (*GetConnectivityRulesResponse) ProtoMessage() {} -func (*GetConnectivityRulesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{123} +func (m *GetMigrationsResponse) Reset() { *m = GetMigrationsResponse{} } +func (*GetMigrationsResponse) ProtoMessage() {} +func (*GetMigrationsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{125} } -func (m *GetConnectivityRulesResponse) XXX_Unmarshal(b []byte) error { +func (m *GetMigrationsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetConnectivityRulesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetMigrationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetConnectivityRulesResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_GetMigrationsResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6834,53 +6958,54 @@ func (m *GetConnectivityRulesResponse) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } -func (m *GetConnectivityRulesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetConnectivityRulesResponse.Merge(m, src) +func (m *GetMigrationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetMigrationsResponse.Merge(m, src) } -func (m *GetConnectivityRulesResponse) XXX_Size() int { +func (m *GetMigrationsResponse) XXX_Size() int { return m.Size() } -func (m *GetConnectivityRulesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetConnectivityRulesResponse.DiscardUnknown(m) +func (m *GetMigrationsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetMigrationsResponse.DiscardUnknown(m) } -var xxx_messageInfo_GetConnectivityRulesResponse proto.InternalMessageInfo +var xxx_messageInfo_GetMigrationsResponse proto.InternalMessageInfo -func (m *GetConnectivityRulesResponse) GetConnectivityRules() []*v18.ConnectivityRule { +func (m *GetMigrationsResponse) GetMigrations() []*v12.Migration { if m != nil { - return m.ConnectivityRules + return m.Migrations } return nil } -func (m *GetConnectivityRulesResponse) GetNextPageToken() string { +func (m *GetMigrationsResponse) GetNextPageToken() string { if m != nil { return m.NextPageToken } return "" } -type DeleteConnectivityRuleRequest struct { - // 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 - ResourceVersion string `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` +// temporal:dev +type HandoverNamespaceRequest struct { + // 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. + ToReplicaId string `protobuf:"bytes,2,opt,name=to_replica_id,json=toReplicaId,proto3" json:"to_replica_id,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 (m *DeleteConnectivityRuleRequest) Reset() { *m = DeleteConnectivityRuleRequest{} } -func (*DeleteConnectivityRuleRequest) ProtoMessage() {} -func (*DeleteConnectivityRuleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{124} +func (m *HandoverNamespaceRequest) Reset() { *m = HandoverNamespaceRequest{} } +func (*HandoverNamespaceRequest) ProtoMessage() {} +func (*HandoverNamespaceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{126} } -func (m *DeleteConnectivityRuleRequest) XXX_Unmarshal(b []byte) error { +func (m *HandoverNamespaceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *DeleteConnectivityRuleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *HandoverNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_DeleteConnectivityRuleRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_HandoverNamespaceRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6890,55 +7015,56 @@ func (m *DeleteConnectivityRuleRequest) XXX_Marshal(b []byte, deterministic bool return b[:n], nil } } -func (m *DeleteConnectivityRuleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteConnectivityRuleRequest.Merge(m, src) +func (m *HandoverNamespaceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_HandoverNamespaceRequest.Merge(m, src) } -func (m *DeleteConnectivityRuleRequest) XXX_Size() int { +func (m *HandoverNamespaceRequest) XXX_Size() int { return m.Size() } -func (m *DeleteConnectivityRuleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteConnectivityRuleRequest.DiscardUnknown(m) +func (m *HandoverNamespaceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_HandoverNamespaceRequest.DiscardUnknown(m) } -var xxx_messageInfo_DeleteConnectivityRuleRequest proto.InternalMessageInfo +var xxx_messageInfo_HandoverNamespaceRequest proto.InternalMessageInfo -func (m *DeleteConnectivityRuleRequest) GetConnectivityRuleId() string { +func (m *HandoverNamespaceRequest) GetMigrationId() string { if m != nil { - return m.ConnectivityRuleId + return m.MigrationId } return "" } -func (m *DeleteConnectivityRuleRequest) GetResourceVersion() string { +func (m *HandoverNamespaceRequest) GetToReplicaId() string { if m != nil { - return m.ResourceVersion + return m.ToReplicaId } return "" } -func (m *DeleteConnectivityRuleRequest) GetAsyncOperationId() string { +func (m *HandoverNamespaceRequest) GetAsyncOperationId() string { if m != nil { return m.AsyncOperationId } return "" } -type DeleteConnectivityRuleResponse struct { - // The async operation +// temporal:dev +type HandoverNamespaceResponse struct { + // 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{125} +func (m *HandoverNamespaceResponse) Reset() { *m = HandoverNamespaceResponse{} } +func (*HandoverNamespaceResponse) ProtoMessage() {} +func (*HandoverNamespaceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{127} } -func (m *DeleteConnectivityRuleResponse) XXX_Unmarshal(b []byte) error { +func (m *HandoverNamespaceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *DeleteConnectivityRuleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *HandoverNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_DeleteConnectivityRuleResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_HandoverNamespaceResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6948,19 +7074,19 @@ func (m *DeleteConnectivityRuleResponse) XXX_Marshal(b []byte, deterministic boo return b[:n], nil } } -func (m *DeleteConnectivityRuleResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteConnectivityRuleResponse.Merge(m, src) +func (m *HandoverNamespaceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_HandoverNamespaceResponse.Merge(m, src) } -func (m *DeleteConnectivityRuleResponse) XXX_Size() int { +func (m *HandoverNamespaceResponse) XXX_Size() int { return m.Size() } -func (m *DeleteConnectivityRuleResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteConnectivityRuleResponse.DiscardUnknown(m) +func (m *HandoverNamespaceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_HandoverNamespaceResponse.DiscardUnknown(m) } -var xxx_messageInfo_DeleteConnectivityRuleResponse proto.InternalMessageInfo +var xxx_messageInfo_HandoverNamespaceResponse proto.InternalMessageInfo -func (m *DeleteConnectivityRuleResponse) GetAsyncOperation() *v11.AsyncOperation { +func (m *HandoverNamespaceResponse) GetAsyncOperation() *v11.AsyncOperation { if m != nil { return m.AsyncOperation } @@ -6968,25 +7094,25 @@ func (m *DeleteConnectivityRuleResponse) GetAsyncOperation() *v11.AsyncOperation } // temporal:dev -type GetProjectsRequest struct { - // 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"` +type ConfirmMigrationRequest struct { + // 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. + // 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 *GetProjectsRequest) Reset() { *m = GetProjectsRequest{} } -func (*GetProjectsRequest) ProtoMessage() {} -func (*GetProjectsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{126} +func (m *ConfirmMigrationRequest) Reset() { *m = ConfirmMigrationRequest{} } +func (*ConfirmMigrationRequest) ProtoMessage() {} +func (*ConfirmMigrationRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{128} } -func (m *GetProjectsRequest) XXX_Unmarshal(b []byte) error { +func (m *ConfirmMigrationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetProjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ConfirmMigrationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetProjectsRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_ConfirmMigrationRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6996,51 +7122,49 @@ func (m *GetProjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *GetProjectsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetProjectsRequest.Merge(m, src) +func (m *ConfirmMigrationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfirmMigrationRequest.Merge(m, src) } -func (m *GetProjectsRequest) XXX_Size() int { +func (m *ConfirmMigrationRequest) XXX_Size() int { return m.Size() } -func (m *GetProjectsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetProjectsRequest.DiscardUnknown(m) +func (m *ConfirmMigrationRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ConfirmMigrationRequest.DiscardUnknown(m) } -var xxx_messageInfo_GetProjectsRequest proto.InternalMessageInfo +var xxx_messageInfo_ConfirmMigrationRequest proto.InternalMessageInfo -func (m *GetProjectsRequest) GetPageSize() int32 { +func (m *ConfirmMigrationRequest) GetMigrationId() string { if m != nil { - return m.PageSize + return m.MigrationId } - return 0 + return "" } -func (m *GetProjectsRequest) GetPageToken() string { +func (m *ConfirmMigrationRequest) GetAsyncOperationId() string { if m != nil { - return m.PageToken + return m.AsyncOperationId } return "" } // temporal:dev -type GetProjectsResponse struct { - // The list of projects in ascending ids order - Projects []*v19.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"` +type ConfirmMigrationResponse struct { + // The async operation. + AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *GetProjectsResponse) Reset() { *m = GetProjectsResponse{} } -func (*GetProjectsResponse) ProtoMessage() {} -func (*GetProjectsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{127} +func (m *ConfirmMigrationResponse) Reset() { *m = ConfirmMigrationResponse{} } +func (*ConfirmMigrationResponse) ProtoMessage() {} +func (*ConfirmMigrationResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{129} } -func (m *GetProjectsResponse) XXX_Unmarshal(b []byte) error { +func (m *ConfirmMigrationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetProjectsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ConfirmMigrationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetProjectsResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_ConfirmMigrationResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7050,49 +7174,45 @@ func (m *GetProjectsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *GetProjectsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetProjectsResponse.Merge(m, src) +func (m *ConfirmMigrationResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfirmMigrationResponse.Merge(m, src) } -func (m *GetProjectsResponse) XXX_Size() int { +func (m *ConfirmMigrationResponse) XXX_Size() int { return m.Size() } -func (m *GetProjectsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetProjectsResponse.DiscardUnknown(m) +func (m *ConfirmMigrationResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ConfirmMigrationResponse.DiscardUnknown(m) } -var xxx_messageInfo_GetProjectsResponse proto.InternalMessageInfo +var xxx_messageInfo_ConfirmMigrationResponse proto.InternalMessageInfo -func (m *GetProjectsResponse) GetProjects() []*v19.Project { +func (m *ConfirmMigrationResponse) GetAsyncOperation() *v11.AsyncOperation { if m != nil { - return m.Projects + return m.AsyncOperation } return nil } -func (m *GetProjectsResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - // temporal:dev -type GetProjectRequest struct { - // The id of the project to get - ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` +type AbortMigrationRequest struct { + // 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. + // 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 *GetProjectRequest) Reset() { *m = GetProjectRequest{} } -func (*GetProjectRequest) ProtoMessage() {} -func (*GetProjectRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{128} +func (m *AbortMigrationRequest) Reset() { *m = AbortMigrationRequest{} } +func (*AbortMigrationRequest) ProtoMessage() {} +func (*AbortMigrationRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{130} } -func (m *GetProjectRequest) XXX_Unmarshal(b []byte) error { +func (m *AbortMigrationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *AbortMigrationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetProjectRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_AbortMigrationRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7102,42 +7222,49 @@ func (m *GetProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *GetProjectRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetProjectRequest.Merge(m, src) +func (m *AbortMigrationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AbortMigrationRequest.Merge(m, src) } -func (m *GetProjectRequest) XXX_Size() int { +func (m *AbortMigrationRequest) XXX_Size() int { return m.Size() } -func (m *GetProjectRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetProjectRequest.DiscardUnknown(m) +func (m *AbortMigrationRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AbortMigrationRequest.DiscardUnknown(m) } -var xxx_messageInfo_GetProjectRequest proto.InternalMessageInfo +var xxx_messageInfo_AbortMigrationRequest proto.InternalMessageInfo -func (m *GetProjectRequest) GetProjectId() string { +func (m *AbortMigrationRequest) GetMigrationId() string { if m != nil { - return m.ProjectId + return m.MigrationId + } + return "" +} + +func (m *AbortMigrationRequest) GetAsyncOperationId() string { + if m != nil { + return m.AsyncOperationId } return "" } // temporal:dev -type GetProjectResponse struct { - // The project - Project *v19.Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` +type AbortMigrationResponse struct { + // The async operation. + AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` } -func (m *GetProjectResponse) Reset() { *m = GetProjectResponse{} } -func (*GetProjectResponse) ProtoMessage() {} -func (*GetProjectResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{129} +func (m *AbortMigrationResponse) Reset() { *m = AbortMigrationResponse{} } +func (*AbortMigrationResponse) ProtoMessage() {} +func (*AbortMigrationResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{131} } -func (m *GetProjectResponse) XXX_Unmarshal(b []byte) error { +func (m *AbortMigrationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *AbortMigrationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetProjectResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_AbortMigrationResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7147,45 +7274,43 @@ func (m *GetProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *GetProjectResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetProjectResponse.Merge(m, src) +func (m *AbortMigrationResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_AbortMigrationResponse.Merge(m, src) } -func (m *GetProjectResponse) XXX_Size() int { +func (m *AbortMigrationResponse) XXX_Size() int { return m.Size() } -func (m *GetProjectResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetProjectResponse.DiscardUnknown(m) +func (m *AbortMigrationResponse) XXX_DiscardUnknown() { + xxx_messageInfo_AbortMigrationResponse.DiscardUnknown(m) } -var xxx_messageInfo_GetProjectResponse proto.InternalMessageInfo +var xxx_messageInfo_AbortMigrationResponse proto.InternalMessageInfo -func (m *GetProjectResponse) GetProject() *v19.Project { +func (m *AbortMigrationResponse) GetAsyncOperation() *v11.AsyncOperation { if m != nil { - return m.Project + return m.AsyncOperation } return nil } -// temporal:dev -type CreateProjectRequest struct { - // The spec for the project to create. - Spec *v19.ProjectSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` +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. 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{130} +func (m *CreateConnectivityRuleRequest) Reset() { *m = CreateConnectivityRuleRequest{} } +func (*CreateConnectivityRuleRequest) ProtoMessage() {} +func (*CreateConnectivityRuleRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{132} } -func (m *CreateProjectRequest) XXX_Unmarshal(b []byte) error { +func (m *CreateConnectivityRuleRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CreateProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CreateConnectivityRuleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CreateProjectRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_CreateConnectivityRuleRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7195,51 +7320,49 @@ func (m *CreateProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *CreateProjectRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateProjectRequest.Merge(m, src) +func (m *CreateConnectivityRuleRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateConnectivityRuleRequest.Merge(m, src) } -func (m *CreateProjectRequest) XXX_Size() int { +func (m *CreateConnectivityRuleRequest) XXX_Size() int { return m.Size() } -func (m *CreateProjectRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateProjectRequest.DiscardUnknown(m) +func (m *CreateConnectivityRuleRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateConnectivityRuleRequest.DiscardUnknown(m) } -var xxx_messageInfo_CreateProjectRequest proto.InternalMessageInfo +var xxx_messageInfo_CreateConnectivityRuleRequest proto.InternalMessageInfo -func (m *CreateProjectRequest) GetSpec() *v19.ProjectSpec { +func (m *CreateConnectivityRuleRequest) GetSpec() *v18.ConnectivityRuleSpec { if m != nil { return m.Spec } return nil } -func (m *CreateProjectRequest) GetAsyncOperationId() string { +func (m *CreateConnectivityRuleRequest) GetAsyncOperationId() string { if m != nil { return m.AsyncOperationId } return "" } -// temporal:dev -type CreateProjectResponse struct { - // 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. +type CreateConnectivityRuleResponse struct { + 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 *CreateProjectResponse) Reset() { *m = CreateProjectResponse{} } -func (*CreateProjectResponse) ProtoMessage() {} -func (*CreateProjectResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{131} +func (m *CreateConnectivityRuleResponse) Reset() { *m = CreateConnectivityRuleResponse{} } +func (*CreateConnectivityRuleResponse) ProtoMessage() {} +func (*CreateConnectivityRuleResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{133} } -func (m *CreateProjectResponse) XXX_Unmarshal(b []byte) error { +func (m *CreateConnectivityRuleResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CreateProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CreateConnectivityRuleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CreateProjectResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_CreateConnectivityRuleResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7249,57 +7372,47 @@ func (m *CreateProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *CreateProjectResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateProjectResponse.Merge(m, src) +func (m *CreateConnectivityRuleResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateConnectivityRuleResponse.Merge(m, src) } -func (m *CreateProjectResponse) XXX_Size() int { +func (m *CreateConnectivityRuleResponse) XXX_Size() int { return m.Size() } -func (m *CreateProjectResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateProjectResponse.DiscardUnknown(m) +func (m *CreateConnectivityRuleResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateConnectivityRuleResponse.DiscardUnknown(m) } -var xxx_messageInfo_CreateProjectResponse proto.InternalMessageInfo +var xxx_messageInfo_CreateConnectivityRuleResponse proto.InternalMessageInfo -func (m *CreateProjectResponse) GetProjectId() string { +func (m *CreateConnectivityRuleResponse) GetConnectivityRuleId() string { if m != nil { - return m.ProjectId + return m.ConnectivityRuleId } return "" } -func (m *CreateProjectResponse) GetAsyncOperation() *v11.AsyncOperation { +func (m *CreateConnectivityRuleResponse) GetAsyncOperation() *v11.AsyncOperation { if m != nil { return m.AsyncOperation } return nil } -// temporal:dev -type UpdateProjectRequest struct { - // 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"` - // 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"` - // 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"` +type GetConnectivityRuleRequest struct { + ConnectivityRuleId string `protobuf:"bytes,1,opt,name=connectivity_rule_id,json=connectivityRuleId,proto3" json:"connectivity_rule_id,omitempty"` } -func (m *UpdateProjectRequest) Reset() { *m = UpdateProjectRequest{} } -func (*UpdateProjectRequest) ProtoMessage() {} -func (*UpdateProjectRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{132} +func (m *GetConnectivityRuleRequest) Reset() { *m = GetConnectivityRuleRequest{} } +func (*GetConnectivityRuleRequest) ProtoMessage() {} +func (*GetConnectivityRuleRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{134} } -func (m *UpdateProjectRequest) XXX_Unmarshal(b []byte) error { +func (m *GetConnectivityRuleRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *UpdateProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetConnectivityRuleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_UpdateProjectRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_GetConnectivityRuleRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7309,63 +7422,150 @@ func (m *UpdateProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *UpdateProjectRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateProjectRequest.Merge(m, src) +func (m *GetConnectivityRuleRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetConnectivityRuleRequest.Merge(m, src) } -func (m *UpdateProjectRequest) XXX_Size() int { +func (m *GetConnectivityRuleRequest) XXX_Size() int { return m.Size() } -func (m *UpdateProjectRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateProjectRequest.DiscardUnknown(m) +func (m *GetConnectivityRuleRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetConnectivityRuleRequest.DiscardUnknown(m) } -var xxx_messageInfo_UpdateProjectRequest proto.InternalMessageInfo +var xxx_messageInfo_GetConnectivityRuleRequest proto.InternalMessageInfo -func (m *UpdateProjectRequest) GetProjectId() string { +func (m *GetConnectivityRuleRequest) GetConnectivityRuleId() string { if m != nil { - return m.ProjectId + return m.ConnectivityRuleId } return "" } -func (m *UpdateProjectRequest) GetSpec() *v19.ProjectSpec { +type GetConnectivityRuleResponse struct { + ConnectivityRule *v18.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 (m *GetConnectivityRuleResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +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 + } + return b[:n], nil + } +} +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) +} + +var xxx_messageInfo_GetConnectivityRuleResponse proto.InternalMessageInfo + +func (m *GetConnectivityRuleResponse) GetConnectivityRule() *v18.ConnectivityRule { if m != nil { - return m.Spec + return m.ConnectivityRule } return nil } -func (m *UpdateProjectRequest) GetResourceVersion() string { +type GetConnectivityRulesRequest struct { + // 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 + Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` +} + +func (m *GetConnectivityRulesRequest) Reset() { *m = GetConnectivityRulesRequest{} } +func (*GetConnectivityRulesRequest) ProtoMessage() {} +func (*GetConnectivityRulesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{136} +} +func (m *GetConnectivityRulesRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +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 + } + return b[:n], nil + } +} +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) +} + +var xxx_messageInfo_GetConnectivityRulesRequest proto.InternalMessageInfo + +func (m *GetConnectivityRulesRequest) GetPageSize() int32 { if m != nil { - return m.ResourceVersion + return m.PageSize + } + return 0 +} + +func (m *GetConnectivityRulesRequest) GetPageToken() string { + if m != nil { + return m.PageToken } return "" } -func (m *UpdateProjectRequest) GetAsyncOperationId() string { +func (m *GetConnectivityRulesRequest) GetNamespace() string { if m != nil { - return m.AsyncOperationId + return m.Namespace } return "" } -// temporal:dev -type UpdateProjectResponse struct { - // The async operation. - AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` +type GetConnectivityRulesResponse struct { + // connectivity_rules returned + ConnectivityRules []*v18.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 *UpdateProjectResponse) Reset() { *m = UpdateProjectResponse{} } -func (*UpdateProjectResponse) ProtoMessage() {} -func (*UpdateProjectResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{133} +func (m *GetConnectivityRulesResponse) Reset() { *m = GetConnectivityRulesResponse{} } +func (*GetConnectivityRulesResponse) ProtoMessage() {} +func (*GetConnectivityRulesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{137} } -func (m *UpdateProjectResponse) XXX_Unmarshal(b []byte) error { +func (m *GetConnectivityRulesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *UpdateProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetConnectivityRulesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_UpdateProjectResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_GetConnectivityRulesResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7375,48 +7575,53 @@ func (m *UpdateProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *UpdateProjectResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateProjectResponse.Merge(m, src) +func (m *GetConnectivityRulesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetConnectivityRulesResponse.Merge(m, src) } -func (m *UpdateProjectResponse) XXX_Size() int { +func (m *GetConnectivityRulesResponse) XXX_Size() int { return m.Size() } -func (m *UpdateProjectResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateProjectResponse.DiscardUnknown(m) +func (m *GetConnectivityRulesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetConnectivityRulesResponse.DiscardUnknown(m) } -var xxx_messageInfo_UpdateProjectResponse proto.InternalMessageInfo +var xxx_messageInfo_GetConnectivityRulesResponse proto.InternalMessageInfo -func (m *UpdateProjectResponse) GetAsyncOperation() *v11.AsyncOperation { +func (m *GetConnectivityRulesResponse) GetConnectivityRules() []*v18.ConnectivityRule { if m != nil { - return m.AsyncOperation + return m.ConnectivityRules } return nil } -// temporal:dev -type DeleteProjectRequest struct { - // 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. - // The latest version can be found in the GetProject operation response. +func (m *GetConnectivityRulesResponse) GetNextPageToken() string { + if m != nil { + return m.NextPageToken + } + return "" +} + +type DeleteConnectivityRuleRequest struct { + // 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 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 (m *DeleteProjectRequest) Reset() { *m = DeleteProjectRequest{} } -func (*DeleteProjectRequest) ProtoMessage() {} -func (*DeleteProjectRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{134} +func (m *DeleteConnectivityRuleRequest) Reset() { *m = DeleteConnectivityRuleRequest{} } +func (*DeleteConnectivityRuleRequest) ProtoMessage() {} +func (*DeleteConnectivityRuleRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{138} } -func (m *DeleteProjectRequest) XXX_Unmarshal(b []byte) error { +func (m *DeleteConnectivityRuleRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *DeleteProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *DeleteConnectivityRuleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_DeleteProjectRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_DeleteConnectivityRuleRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7426,56 +7631,55 @@ func (m *DeleteProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *DeleteProjectRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteProjectRequest.Merge(m, src) +func (m *DeleteConnectivityRuleRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteConnectivityRuleRequest.Merge(m, src) } -func (m *DeleteProjectRequest) XXX_Size() int { +func (m *DeleteConnectivityRuleRequest) XXX_Size() int { return m.Size() } -func (m *DeleteProjectRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteProjectRequest.DiscardUnknown(m) +func (m *DeleteConnectivityRuleRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteConnectivityRuleRequest.DiscardUnknown(m) } -var xxx_messageInfo_DeleteProjectRequest proto.InternalMessageInfo +var xxx_messageInfo_DeleteConnectivityRuleRequest proto.InternalMessageInfo -func (m *DeleteProjectRequest) GetProjectId() string { +func (m *DeleteConnectivityRuleRequest) GetConnectivityRuleId() string { if m != nil { - return m.ProjectId + return m.ConnectivityRuleId } return "" } -func (m *DeleteProjectRequest) GetResourceVersion() string { +func (m *DeleteConnectivityRuleRequest) GetResourceVersion() string { if m != nil { return m.ResourceVersion } return "" } -func (m *DeleteProjectRequest) GetAsyncOperationId() string { +func (m *DeleteConnectivityRuleRequest) GetAsyncOperationId() string { if m != nil { return m.AsyncOperationId } return "" } -// temporal:dev -type DeleteProjectResponse struct { - // The async operation. +type DeleteConnectivityRuleResponse struct { + // 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{135} +func (m *DeleteConnectivityRuleResponse) Reset() { *m = DeleteConnectivityRuleResponse{} } +func (*DeleteConnectivityRuleResponse) ProtoMessage() {} +func (*DeleteConnectivityRuleResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{139} } -func (m *DeleteProjectResponse) XXX_Unmarshal(b []byte) error { +func (m *DeleteConnectivityRuleResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *DeleteProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *DeleteConnectivityRuleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_DeleteProjectResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_DeleteConnectivityRuleResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7485,19 +7689,19 @@ func (m *DeleteProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *DeleteProjectResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteProjectResponse.Merge(m, src) +func (m *DeleteConnectivityRuleResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteConnectivityRuleResponse.Merge(m, src) } -func (m *DeleteProjectResponse) XXX_Size() int { +func (m *DeleteConnectivityRuleResponse) XXX_Size() int { return m.Size() } -func (m *DeleteProjectResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteProjectResponse.DiscardUnknown(m) +func (m *DeleteConnectivityRuleResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteConnectivityRuleResponse.DiscardUnknown(m) } -var xxx_messageInfo_DeleteProjectResponse proto.InternalMessageInfo +var xxx_messageInfo_DeleteConnectivityRuleResponse proto.InternalMessageInfo -func (m *DeleteProjectResponse) GetAsyncOperation() *v11.AsyncOperation { +func (m *DeleteConnectivityRuleResponse) GetAsyncOperation() *v11.AsyncOperation { if m != nil { return m.AsyncOperation } @@ -7505,33 +7709,25 @@ func (m *DeleteProjectResponse) GetAsyncOperation() *v11.AsyncOperation { } // temporal:dev -// 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 list 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"` +type GetProjectsRequest struct { + // 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 (m *UpdateNamespaceTagsRequest) Reset() { *m = UpdateNamespaceTagsRequest{} } -func (*UpdateNamespaceTagsRequest) ProtoMessage() {} -func (*UpdateNamespaceTagsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{136} +func (m *GetProjectsRequest) Reset() { *m = GetProjectsRequest{} } +func (*GetProjectsRequest) ProtoMessage() {} +func (*GetProjectsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{140} } -func (m *UpdateNamespaceTagsRequest) XXX_Unmarshal(b []byte) error { +func (m *GetProjectsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *UpdateNamespaceTagsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetProjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_UpdateNamespaceTagsRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_GetProjectsRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7541,63 +7737,148 @@ func (m *UpdateNamespaceTagsRequest) XXX_Marshal(b []byte, deterministic bool) ( return b[:n], nil } } -func (m *UpdateNamespaceTagsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNamespaceTagsRequest.Merge(m, src) +func (m *GetProjectsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetProjectsRequest.Merge(m, src) } -func (m *UpdateNamespaceTagsRequest) XXX_Size() int { +func (m *GetProjectsRequest) XXX_Size() int { return m.Size() } -func (m *UpdateNamespaceTagsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateNamespaceTagsRequest.DiscardUnknown(m) +func (m *GetProjectsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetProjectsRequest.DiscardUnknown(m) } -var xxx_messageInfo_UpdateNamespaceTagsRequest proto.InternalMessageInfo +var xxx_messageInfo_GetProjectsRequest proto.InternalMessageInfo -func (m *UpdateNamespaceTagsRequest) GetNamespace() string { +func (m *GetProjectsRequest) GetPageSize() int32 { if m != nil { - return m.Namespace + return m.PageSize + } + return 0 +} + +func (m *GetProjectsRequest) GetPageToken() string { + if m != nil { + return m.PageToken } return "" } -func (m *UpdateNamespaceTagsRequest) GetTagsToUpsert() map[string]string { +// temporal:dev +type GetProjectsResponse struct { + // The list of projects in ascending ids order + Projects []*v19.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 (m *GetProjectsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +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 + } + return b[:n], nil + } +} +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) +} + +var xxx_messageInfo_GetProjectsResponse proto.InternalMessageInfo + +func (m *GetProjectsResponse) GetProjects() []*v19.Project { if m != nil { - return m.TagsToUpsert + return m.Projects } return nil } -func (m *UpdateNamespaceTagsRequest) GetTagsToRemove() []string { +func (m *GetProjectsResponse) GetNextPageToken() string { if m != nil { - return m.TagsToRemove + return m.NextPageToken } - return nil + return "" } -func (m *UpdateNamespaceTagsRequest) GetAsyncOperationId() string { +// temporal:dev +type GetProjectRequest struct { + // 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 (m *GetProjectRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +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 + } + return b[:n], nil + } +} +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) +} + +var xxx_messageInfo_GetProjectRequest proto.InternalMessageInfo + +func (m *GetProjectRequest) GetProjectId() string { if m != nil { - return m.AsyncOperationId + return m.ProjectId } return "" } // temporal:dev -type UpdateNamespaceTagsResponse struct { - // The async operation. - AsyncOperation *v11.AsyncOperation `protobuf:"bytes,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` +type GetProjectResponse struct { + // The project + Project *v19.Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` } -func (m *UpdateNamespaceTagsResponse) Reset() { *m = UpdateNamespaceTagsResponse{} } -func (*UpdateNamespaceTagsResponse) ProtoMessage() {} -func (*UpdateNamespaceTagsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{137} +func (m *GetProjectResponse) Reset() { *m = GetProjectResponse{} } +func (*GetProjectResponse) ProtoMessage() {} +func (*GetProjectResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{143} } -func (m *UpdateNamespaceTagsResponse) XXX_Unmarshal(b []byte) error { +func (m *GetProjectResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *UpdateNamespaceTagsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_UpdateNamespaceTagsResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_GetProjectResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7607,44 +7888,45 @@ func (m *UpdateNamespaceTagsResponse) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } -func (m *UpdateNamespaceTagsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateNamespaceTagsResponse.Merge(m, src) +func (m *GetProjectResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetProjectResponse.Merge(m, src) } -func (m *UpdateNamespaceTagsResponse) XXX_Size() int { +func (m *GetProjectResponse) XXX_Size() int { return m.Size() } -func (m *UpdateNamespaceTagsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateNamespaceTagsResponse.DiscardUnknown(m) +func (m *GetProjectResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetProjectResponse.DiscardUnknown(m) } -var xxx_messageInfo_UpdateNamespaceTagsResponse proto.InternalMessageInfo +var xxx_messageInfo_GetProjectResponse proto.InternalMessageInfo -func (m *UpdateNamespaceTagsResponse) GetAsyncOperation() *v11.AsyncOperation { +func (m *GetProjectResponse) GetProject() *v19.Project { if m != nil { - return m.AsyncOperation + return m.Project } 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"` +// temporal:dev +type CreateProjectRequest struct { + // The spec for the project to create. + Spec *v19.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 *ResendUserInviteRequest) Reset() { *m = ResendUserInviteRequest{} } -func (*ResendUserInviteRequest) ProtoMessage() {} -func (*ResendUserInviteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d04330087ace166d, []int{138} +func (m *CreateProjectRequest) Reset() { *m = CreateProjectRequest{} } +func (*CreateProjectRequest) ProtoMessage() {} +func (*CreateProjectRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{144} } -func (m *ResendUserInviteRequest) XXX_Unmarshal(b []byte) error { +func (m *CreateProjectRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ResendUserInviteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CreateProjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ResendUserInviteRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_CreateProjectRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7654,49 +7936,51 @@ func (m *ResendUserInviteRequest) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } -func (m *ResendUserInviteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResendUserInviteRequest.Merge(m, src) +func (m *CreateProjectRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateProjectRequest.Merge(m, src) } -func (m *ResendUserInviteRequest) XXX_Size() int { +func (m *CreateProjectRequest) XXX_Size() int { return m.Size() } -func (m *ResendUserInviteRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ResendUserInviteRequest.DiscardUnknown(m) +func (m *CreateProjectRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateProjectRequest.DiscardUnknown(m) } -var xxx_messageInfo_ResendUserInviteRequest proto.InternalMessageInfo +var xxx_messageInfo_CreateProjectRequest proto.InternalMessageInfo -func (m *ResendUserInviteRequest) GetUserId() string { +func (m *CreateProjectRequest) GetSpec() *v19.ProjectSpec { if m != nil { - return m.UserId + return m.Spec } - return "" + return nil } -func (m *ResendUserInviteRequest) GetAsyncOperationId() string { +func (m *CreateProjectRequest) GetAsyncOperationId() string { if m != nil { return m.AsyncOperationId } return "" } -// temporal:ui -type ResendUserInviteResponse struct { +// temporal:dev +type CreateProjectResponse struct { + // 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,1,opt,name=async_operation,json=asyncOperation,proto3" json:"async_operation,omitempty"` + AsyncOperation *v11.AsyncOperation `protobuf:"bytes,2,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{139} +func (m *CreateProjectResponse) Reset() { *m = CreateProjectResponse{} } +func (*CreateProjectResponse) ProtoMessage() {} +func (*CreateProjectResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{145} } -func (m *ResendUserInviteResponse) XXX_Unmarshal(b []byte) error { +func (m *CreateProjectResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ResendUserInviteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CreateProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ResendUserInviteResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_CreateProjectResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7706,616 +7990,967 @@ func (m *ResendUserInviteResponse) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } -func (m *ResendUserInviteResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResendUserInviteResponse.Merge(m, src) +func (m *CreateProjectResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateProjectResponse.Merge(m, src) } -func (m *ResendUserInviteResponse) XXX_Size() int { +func (m *CreateProjectResponse) XXX_Size() int { return m.Size() } -func (m *ResendUserInviteResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ResendUserInviteResponse.DiscardUnknown(m) +func (m *CreateProjectResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateProjectResponse.DiscardUnknown(m) } -var xxx_messageInfo_ResendUserInviteResponse proto.InternalMessageInfo +var xxx_messageInfo_CreateProjectResponse proto.InternalMessageInfo -func (m *ResendUserInviteResponse) GetAsyncOperation() *v11.AsyncOperation { +func (m *CreateProjectResponse) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + +func (m *CreateProjectResponse) GetAsyncOperation() *v11.AsyncOperation { if m != nil { return m.AsyncOperation } 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((*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((*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") +// temporal:dev +type UpdateProjectRequest struct { + // 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"` + // 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"` + // 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 init() { - proto.RegisterFile("temporal/api/cloud/cloudservice/v1/request_response.proto", fileDescriptor_d04330087ace166d) +func (m *UpdateProjectRequest) Reset() { *m = UpdateProjectRequest{} } +func (*UpdateProjectRequest) ProtoMessage() {} +func (*UpdateProjectRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{146} } - -var fileDescriptor_d04330087ace166d = []byte{ - // 3252 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5c, 0xdb, 0x6f, 0x1c, 0x57, - 0x19, 0xcf, 0x59, 0xdf, 0xe2, 0xcf, 0x49, 0x6c, 0x8f, 0xaf, 0x71, 0x9c, 0x8d, 0x33, 0x69, 0xaa, - 0x24, 0x6d, 0xd7, 0x4d, 0xca, 0x25, 0x98, 0x5e, 0xd8, 0x38, 0x89, 0xbd, 0xbd, 0xa4, 0xee, 0xd8, - 0x49, 0x2b, 0x24, 0xb4, 0x9d, 0xec, 0x9c, 0x6e, 0xa7, 0xde, 0x9d, 0x99, 0xce, 0xcc, 0x6e, 0xbc, - 0x41, 0x25, 0x14, 0x8a, 0x4a, 0x45, 0xd5, 0x16, 0x21, 0x50, 0x5f, 0x2a, 0x5e, 0x10, 0x42, 0x15, - 0xa8, 0x0f, 0x80, 0xf8, 0x03, 0x10, 0x97, 0x27, 0x5a, 0x09, 0x21, 0xf5, 0x09, 0x51, 0x57, 0x48, - 0x80, 0xfa, 0xd0, 0x47, 0x1e, 0x90, 0x40, 0x73, 0x2e, 0x73, 0xdb, 0x99, 0xf5, 0xec, 0x76, 0x4f, - 0x5a, 0x5e, 0x12, 0xcf, 0x99, 0xf3, 0x7d, 0xdf, 0xef, 0xfb, 0x9d, 0xdb, 0x37, 0xdf, 0x39, 0x67, - 0xe1, 0x4b, 0x2e, 0xae, 0x5b, 0xa6, 0xad, 0xd6, 0x96, 0x55, 0x4b, 0x5f, 0xae, 0xd4, 0xcc, 0x86, - 0x46, 0xff, 0x75, 0xb0, 0xdd, 0xd4, 0x2b, 0x78, 0xb9, 0x79, 0x76, 0xd9, 0xc6, 0xcf, 0x37, 0xb0, - 0xe3, 0x96, 0x6d, 0xec, 0x58, 0xa6, 0xe1, 0xe0, 0x82, 0x65, 0x9b, 0xae, 0x29, 0xc9, 0x5c, 0xb4, - 0xa0, 0x5a, 0x7a, 0x81, 0x08, 0x15, 0xc2, 0xa2, 0x85, 0xe6, 0xd9, 0x85, 0x63, 0x55, 0xd3, 0xac, - 0xd6, 0xf0, 0x32, 0x91, 0xb8, 0xde, 0x78, 0x66, 0xd9, 0xd5, 0xeb, 0xd8, 0x71, 0xd5, 0xba, 0x45, - 0x95, 0x2c, 0xdc, 0x93, 0x60, 0xdf, 0xb4, 0xb0, 0xad, 0xba, 0xba, 0x69, 0x78, 0xc6, 0xeb, 0xd8, - 0x71, 0xd4, 0x2a, 0xb3, 0xb9, 0x70, 0x77, 0x42, 0x75, 0x5d, 0xc3, 0x86, 0xab, 0xbb, 0xad, 0xf6, - 0xda, 0x49, 0xca, 0x0d, 0xb5,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, 0xee, 0x77, 0x61, 0x9a, 0x71, 0xc4, - 0x1d, 0xd9, 0xb0, 0x4d, 0xd7, 0xdc, 0x40, 0x5f, 0xfd, 0x7c, 0x35, 0x24, 0xae, 0x9b, 0xe9, 0xbf, - 0xc3, 0xf6, 0xe5, 0xf0, 0xf3, 0xdb, 0xb9, 0x3b, 0xb6, 0x98, 0x90, 0x6e, 0x16, 0x8a, 0x96, 0x5e, - 0x58, 0x25, 0x56, 0xc9, 0xbf, 0xec, 0x00, 0x45, 0xe1, 0xda, 0xd9, 0x7f, 0xe5, 0x4e, 0x05, 0xd5, - 0x56, 0x56, 0x8a, 0x96, 0xbe, 0xb2, 0x42, 0xaa, 0xb0, 0xff, 0x58, 0xcd, 0x95, 0x95, 0x6b, 0x67, - 0xaf, 0x0f, 0x93, 0x9d, 0x9c, 0xfb, 0xfe, 0x17, 0x00, 0x00, 0xff, 0xff, 0x6f, 0xde, 0x0c, 0x68, - 0x13, 0x4e, 0x00, 0x00, +func (m *UpdateProjectRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -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 +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 } + return b[:n], nil } - 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 - } +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) +} - 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 +var xxx_messageInfo_UpdateProjectRequest proto.InternalMessageInfo + +func (m *UpdateProjectRequest) GetProjectId() string { + if m != nil { + return m.ProjectId } - 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 - } - if this.UserId != that1.UserId { - return false +func (m *UpdateProjectRequest) GetSpec() *v19.ProjectSpec { + if m != nil { + return m.Spec } - return true + return nil } -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 +func (m *UpdateProjectRequest) GetResourceVersion() string { + if m != nil { + return m.ResourceVersion } - return true + return "" } -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 (m *UpdateProjectRequest) GetAsyncOperationId() string { + if m != nil { + return m.AsyncOperationId } - return true + return "" } -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 +// temporal:dev +type UpdateProjectResponse struct { + // 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 (m *UpdateProjectResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +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 } + return b[:n], nil } - 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 (this *UpdateUserRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil +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) +} + +var xxx_messageInfo_UpdateProjectResponse proto.InternalMessageInfo + +func (m *UpdateProjectResponse) GetAsyncOperation() *v11.AsyncOperation { + if m != nil { + return m.AsyncOperation } + return nil +} - that1, ok := that.(*UpdateUserRequest) - if !ok { - that2, ok := that.(UpdateUserRequest) - if ok { - that1 = &that2 - } else { - return false +// temporal:dev +type DeleteProjectRequest struct { + // 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. + // The latest version can be found in the GetProject 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 (m *DeleteProjectRequest) Reset() { *m = DeleteProjectRequest{} } +func (*DeleteProjectRequest) ProtoMessage() {} +func (*DeleteProjectRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{148} +} +func (m *DeleteProjectRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +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 } + return b[:n], nil } - 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 (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) +} + +var xxx_messageInfo_DeleteProjectRequest proto.InternalMessageInfo + +func (m *DeleteProjectRequest) GetProjectId() string { + if m != nil { + return m.ProjectId } - if this.AsyncOperationId != that1.AsyncOperationId { - return false + return "" +} + +func (m *DeleteProjectRequest) GetResourceVersion() string { + if m != nil { + return m.ResourceVersion } - return true + return "" } -func (this *UpdateUserResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil + +func (m *DeleteProjectRequest) GetAsyncOperationId() string { + if m != nil { + return m.AsyncOperationId } + return "" +} - that1, ok := that.(*UpdateUserResponse) - if !ok { - that2, ok := that.(UpdateUserResponse) - if ok { - that1 = &that2 - } else { - return false +// temporal:dev +type DeleteProjectResponse struct { + // 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 (m *DeleteProjectResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +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 } + return b[:n], nil } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { - return false - } - return true } -func (this *DeleteUserRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil +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) +} + +var xxx_messageInfo_DeleteProjectResponse proto.InternalMessageInfo + +func (m *DeleteProjectResponse) GetAsyncOperation() *v11.AsyncOperation { + if m != nil { + return m.AsyncOperation } + return nil +} - that1, ok := that.(*DeleteUserRequest) +// 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"` + // 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 (m *UpdateNamespaceTagsRequest) Reset() { *m = UpdateNamespaceTagsRequest{} } +func (*UpdateNamespaceTagsRequest) ProtoMessage() {} +func (*UpdateNamespaceTagsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{150} +} +func (m *UpdateNamespaceTagsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +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 + } + return b[:n], nil + } +} +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) +} + +var xxx_messageInfo_UpdateNamespaceTagsRequest proto.InternalMessageInfo + +func (m *UpdateNamespaceTagsRequest) GetNamespace() string { + if m != nil { + return m.Namespace + } + return "" +} + +func (m *UpdateNamespaceTagsRequest) GetTagsToUpsert() map[string]string { + if m != nil { + return m.TagsToUpsert + } + return nil +} + +func (m *UpdateNamespaceTagsRequest) GetTagsToRemove() []string { + if m != nil { + return m.TagsToRemove + } + return nil +} + +func (m *UpdateNamespaceTagsRequest) GetAsyncOperationId() string { + if m != nil { + return m.AsyncOperationId + } + return "" +} + +type UpdateNamespaceTagsResponse struct { + // 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 (m *UpdateNamespaceTagsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +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 + } + return b[:n], nil + } +} +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) +} + +var xxx_messageInfo_UpdateNamespaceTagsResponse proto.InternalMessageInfo + +func (m *UpdateNamespaceTagsResponse) GetAsyncOperation() *v11.AsyncOperation { + if m != nil { + return m.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"` +} + +func (m *ResendUserInviteRequest) Reset() { *m = ResendUserInviteRequest{} } +func (*ResendUserInviteRequest) ProtoMessage() {} +func (*ResendUserInviteRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d04330087ace166d, []int{152} +} +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 (m *ResendUserInviteRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResendUserInviteRequest.Merge(m, src) +} +func (m *ResendUserInviteRequest) XXX_Size() int { + return m.Size() +} +func (m *ResendUserInviteRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ResendUserInviteRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ResendUserInviteRequest proto.InternalMessageInfo + +func (m *ResendUserInviteRequest) GetUserId() string { + if m != nil { + return m.UserId + } + return "" +} + +func (m *ResendUserInviteRequest) GetAsyncOperationId() string { + if m != nil { + return m.AsyncOperationId + } + return "" +} + +// temporal:ui +type ResendUserInviteResponse struct { + // 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 (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 (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) +} + +var xxx_messageInfo_ResendUserInviteResponse proto.InternalMessageInfo + +func (m *ResendUserInviteResponse) GetAsyncOperation() *v11.AsyncOperation { + if m != nil { + return m.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"` +} + +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) +} +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 (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) +} + +var xxx_messageInfo_GetTagKeysRequest proto.InternalMessageInfo + +func (m *GetTagKeysRequest) GetPrefix() string { + if m != nil { + return m.Prefix + } + return "" +} + +// 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"` +} + +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 (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) +} + +var xxx_messageInfo_GetTagKeysResponse proto.InternalMessageInfo + +func (m *GetTagKeysResponse) GetTagKeys() []string { + if m != nil { + return m.TagKeys + } + 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, + 0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89, 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, 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 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.(DeleteUserRequest) + that2, ok := that.(GetUsersRequest) if ok { that1 = &that2 } else { @@ -8327,25 +8962,28 @@ func (this *DeleteUserRequest) Equal(that interface{}) bool { } else if this == nil { return false } - if this.UserId != that1.UserId { + if this.PageSize != that1.PageSize { return false } - if this.ResourceVersion != that1.ResourceVersion { + if this.PageToken != that1.PageToken { return false } - if this.AsyncOperationId != that1.AsyncOperationId { + if this.Email != that1.Email { + return false + } + if this.Namespace != that1.Namespace { return false } return true } -func (this *DeleteUserResponse) Equal(that interface{}) bool { +func (this *GetUsersResponse) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*DeleteUserResponse) + that1, ok := that.(*GetUsersResponse) if !ok { - that2, ok := that.(DeleteUserResponse) + that2, ok := that.(GetUsersResponse) if ok { that1 = &that2 } else { @@ -8357,19 +8995,27 @@ func (this *DeleteUserResponse) Equal(that interface{}) bool { } else if this == nil { return false } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { + 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 } return true } -func (this *SetUserNamespaceAccessRequest) Equal(that interface{}) bool { +func (this *GetUserRequest) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*SetUserNamespaceAccessRequest) + that1, ok := that.(*GetUserRequest) if !ok { - that2, ok := that.(SetUserNamespaceAccessRequest) + that2, ok := that.(GetUserRequest) if ok { that1 = &that2 } else { @@ -8381,31 +9027,19 @@ func (this *SetUserNamespaceAccessRequest) Equal(that interface{}) bool { } 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 - } - if this.AsyncOperationId != that1.AsyncOperationId { - return false - } return true } -func (this *SetUserNamespaceAccessResponse) Equal(that interface{}) bool { +func (this *GetUserResponse) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*SetUserNamespaceAccessResponse) + that1, ok := that.(*GetUserResponse) if !ok { - that2, ok := that.(SetUserNamespaceAccessResponse) + that2, ok := that.(GetUserResponse) if ok { that1 = &that2 } else { @@ -8417,19 +9051,19 @@ func (this *SetUserNamespaceAccessResponse) Equal(that interface{}) bool { } else if this == nil { return false } - if !this.AsyncOperation.Equal(that1.AsyncOperation) { + if !this.User.Equal(that1.User) { return false } return true } -func (this *GetAsyncOperationRequest) Equal(that interface{}) bool { +func (this *CreateUserRequest) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*GetAsyncOperationRequest) + that1, ok := that.(*CreateUserRequest) if !ok { - that2, ok := that.(GetAsyncOperationRequest) + that2, ok := that.(CreateUserRequest) if ok { that1 = &that2 } else { @@ -8441,19 +9075,22 @@ func (this *GetAsyncOperationRequest) Equal(that interface{}) bool { } else if this == nil { return false } + if !this.Spec.Equal(that1.Spec) { + return false + } if this.AsyncOperationId != that1.AsyncOperationId { return false } return true } -func (this *GetAsyncOperationResponse) Equal(that interface{}) bool { +func (this *CreateUserResponse) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*GetAsyncOperationResponse) + that1, ok := that.(*CreateUserResponse) if !ok { - that2, ok := that.(GetAsyncOperationResponse) + that2, ok := that.(CreateUserResponse) if ok { that1 = &that2 } else { @@ -8465,19 +9102,22 @@ func (this *GetAsyncOperationResponse) Equal(that interface{}) bool { } else if this == nil { return false } + if this.UserId != that1.UserId { + return false + } if !this.AsyncOperation.Equal(that1.AsyncOperation) { return false } return true } -func (this *CreateNamespaceRequest) Equal(that interface{}) bool { +func (this *UpdateUserRequest) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*CreateNamespaceRequest) + that1, ok := that.(*UpdateUserRequest) if !ok { - that2, ok := that.(CreateNamespaceRequest) + that2, ok := that.(UpdateUserRequest) if ok { that1 = &that2 } else { @@ -8489,13 +9129,232 @@ func (this *CreateNamespaceRequest) Equal(that interface{}) bool { } else if this == nil { return false } + if this.UserId != that1.UserId { + return false + } if !this.Spec.Equal(that1.Spec) { return false } - if this.AsyncOperationId != that1.AsyncOperationId { + if this.ResourceVersion != that1.ResourceVersion { return false } - if len(this.Tags) != len(that1.Tags) { + if this.AsyncOperationId != that1.AsyncOperationId { + return false + } + return true +} +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 +} +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 + } + } + 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 +} +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 +} +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 + } + 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 (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 + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.AsyncOperationId != that1.AsyncOperationId { + return false + } + return true +} +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 +} +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 { @@ -9175,6 +10034,9 @@ func (this *GetNexusEndpointsRequest) Equal(that interface{}) bool { if this.Name != that1.Name { return false } + if this.ProjectId != that1.ProjectId { + return false + } return true } func (this *GetNexusEndpointsResponse) Equal(that interface{}) bool { @@ -9282,6 +10144,9 @@ func (this *CreateNexusEndpointRequest) Equal(that interface{}) bool { if this.AsyncOperationId != that1.AsyncOperationId { return false } + if this.ProjectId != that1.ProjectId { + return false + } return true } func (this *CreateNexusEndpointResponse) Equal(that interface{}) bool { @@ -10256,6 +11121,66 @@ func (this *UpdateServiceAccountResponse) Equal(that interface{}) bool { } return true } +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 + } + 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 +} +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 +} func (this *DeleteServiceAccountRequest) Equal(that interface{}) bool { if that == nil { return this == nil @@ -10594,6 +11519,317 @@ func (this *DeleteApiKeyResponse) Equal(that interface{}) bool { } return true } +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 + } + return true +} +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 + } + return true +} +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 + } + if !this.Spec.Equal(that1.Spec) { + return false + } + if this.AsyncOperationId != that1.AsyncOperationId { + return false + } + return true +} +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 +} +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 + } + 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 (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 + } + } + 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 *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 +} +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 + } + return true +} +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 +} +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 + } + 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 (this *GetAuditLogsRequest) Equal(that interface{}) bool { if that == nil { return this == nil @@ -12023,6 +13259,59 @@ func (this *ResendUserInviteResponse) Equal(that interface{}) bool { } 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" @@ -12505,13 +13794,14 @@ func (this *GetNexusEndpointsRequest) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 9) + 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, "") } @@ -12554,12 +13844,13 @@ func (this *CreateNexusEndpointRequest) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 6) + 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, "") } @@ -13008,6 +14299,34 @@ func (this *UpdateServiceAccountResponse) GoString() string { 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" @@ -13159,6 +14478,148 @@ func (this *DeleteApiKeyResponse) GoString() string { 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" @@ -13810,6 +15271,26 @@ func (this *ResendUserInviteResponse) GoString() string { 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() { @@ -15387,6 +16868,13 @@ func (m *GetNexusEndpointsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error _ = 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) @@ -15552,6 +17040,13 @@ func (m *CreateNexusEndpointRequest) MarshalToSizedBuffer(dAtA []byte) (int, err _ = 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) @@ -17037,6 +18532,104 @@ func (m *UpdateServiceAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, e 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) @@ -17540,6 +19133,448 @@ func (m *DeleteApiKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 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) @@ -19623,6 +21658,68 @@ func (m *ResendUserInviteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error 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 @@ -20322,6 +22419,10 @@ func (m *GetNexusEndpointsRequest) Size() (n int) { if l > 0 { n += 1 + l + sovRequestResponse(uint64(l)) } + l = len(m.ProjectId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } return n } @@ -20384,6 +22485,10 @@ func (m *CreateNexusEndpointRequest) Size() (n int) { if l > 0 { n += 1 + l + sovRequestResponse(uint64(l)) } + l = len(m.ProjectId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } return n } @@ -21001,6 +23106,48 @@ func (m *UpdateServiceAccountResponse) Size() (n int) { 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 @@ -21217,6 +23364,187 @@ func (m *DeleteApiKeyResponse) Size() (n int) { 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 @@ -22093,6 +24421,34 @@ func (m *ResendUserInviteResponse) Size() (n int) { 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 } @@ -22554,6 +24910,7 @@ func (this *GetNexusEndpointsRequest) String() string { `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 @@ -22601,6 +24958,7 @@ func (this *CreateNexusEndpointRequest) String() string { 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 @@ -23009,6 +25367,30 @@ func (this *UpdateServiceAccountResponse) String() string { }, "") 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" @@ -23149,6 +25531,137 @@ func (this *DeleteApiKeyResponse) String() string { }, "") 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" @@ -23710,61 +26223,1687 @@ func (this *UpdateNamespaceTagsRequest) String() string { 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]) + 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 } - 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 + return nil } -func (this *UpdateNamespaceTagsResponse) String() string { - if this == nil { - 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 + } } - 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" + + if iNdEx > l { + return io.ErrUnexpectedEOF } - s := strings.Join([]string{`&ResendUserInviteRequest{`, - `UserId:` + fmt.Sprintf("%v", this.UserId) + `,`, - `AsyncOperationId:` + fmt.Sprintf("%v", this.AsyncOperationId) + `,`, - `}`, - }, "") - return s + return nil } -func (this *ResendUserInviteResponse) String() string { - if this == nil { - 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 + } } - s := strings.Join([]string{`&ResendUserInviteResponse{`, - `AsyncOperation:` + strings.Replace(fmt.Sprintf("%v", this.AsyncOperation), "AsyncOperation", "v11.AsyncOperation", 1) + `,`, - `}`, - }, "") - return s -} -func valueToStringRequestResponse(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { - return "nil" + + if iNdEx > l { + return io.ErrUnexpectedEOF } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("*%v", pv) + return nil } -func (m *GetUsersRequest) Unmarshal(dAtA []byte) error { +func (m *GetAsyncOperationResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -23787,17 +27926,17 @@ func (m *GetUsersRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetUsersRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetAsyncOperationResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetUsersRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetAsyncOperationResponse: 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) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } - m.PageSize = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -23807,16 +27946,86 @@ func (m *GetUsersRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.PageSize |= int32(b&0x7F) << shift + 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 PageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -23826,27 +28035,31 @@ func (m *GetUsersRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.PageToken = string(dAtA[iNdEx:postIndex]) + 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 Email", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -23874,13 +28087,13 @@ func (m *GetUsersRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Email = string(dAtA[iNdEx:postIndex]) + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -23890,23 +28103,118 @@ func (m *GetUsersRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + 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 @@ -23932,7 +28240,7 @@ func (m *GetUsersRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetUsersResponse) Unmarshal(dAtA []byte) error { +func (m *CreateNamespaceResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -23955,17 +28263,17 @@ func (m *GetUsersResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetUsersResponse: wiretype end group for non-group") + return fmt.Errorf("proto: CreateNamespaceResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetUsersResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 Users", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -23975,31 +28283,29 @@ func (m *GetUsersResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen 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 - } + m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -24009,23 +28315,27 @@ func (m *GetUsersResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) + 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 @@ -24051,7 +28361,7 @@ func (m *GetUsersResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetUserRequest) Unmarshal(dAtA []byte) error { +func (m *GetNamespacesRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -24074,15 +28384,34 @@ func (m *GetUserRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetUserRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetNamespacesRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetUserRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 UserId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -24110,66 +28439,45 @@ func (m *GetUserRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.UserId = string(dAtA[iNdEx:postIndex]) + m.PageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) } - if skippy < 0 { - return ErrInvalidLengthRequestResponse + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - if (iNdEx + skippy) < 0 { + intStringLen := int(stringLen) + if intStringLen < 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 + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRequestResponse } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - 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: + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ConnectivityRuleId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -24179,27 +28487,23 @@ func (m *GetUserResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen 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 - } + m.ConnectivityRuleId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -24225,7 +28529,7 @@ func (m *GetUserResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateUserRequest) Unmarshal(dAtA []byte) error { +func (m *GetNamespacesResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -24248,15 +28552,15 @@ func (m *CreateUserRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateUserRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetNamespacesResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateUserRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 Spec", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Namespaces", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -24283,16 +28587,14 @@ func (m *CreateUserRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Spec == nil { - m.Spec = &v1.UserSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + 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 AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -24320,7 +28622,7 @@ func (m *CreateUserRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.NextPageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -24346,7 +28648,7 @@ func (m *CreateUserRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateUserResponse) Unmarshal(dAtA []byte) error { +func (m *GetNamespaceIDsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -24369,17 +28671,17 @@ func (m *CreateUserResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateUserResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetNamespaceIDsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateUserResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetNamespaceIDsRequest: 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) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) } - var stringLen uint64 + m.PageSize = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -24389,29 +28691,16 @@ func (m *CreateUserResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.PageSize |= int32(b&0x7F) << shift if b < 0x80 { 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) + return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -24421,27 +28710,23 @@ func (m *CreateUserResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen 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 - } + m.PageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -24467,7 +28752,7 @@ func (m *CreateUserResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateUserRequest) Unmarshal(dAtA []byte) error { +func (m *GetNamespaceIDsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -24490,15 +28775,15 @@ func (m *UpdateUserRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateUserRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetNamespaceIDsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateUserRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 UserId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field NamespaceIds", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -24526,13 +28811,13 @@ func (m *UpdateUserRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.UserId = string(dAtA[iNdEx:postIndex]) + 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 Spec", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -24542,63 +28827,80 @@ func (m *UpdateUserRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen 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 - } + m.NextPageToken = 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 - } + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err } - intStringLen := int(stringLen) - if intStringLen < 0 { + if skippy < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (iNdEx + skippy) < 0 { return ErrInvalidLengthRequestResponse } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: + 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 AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -24626,7 +28928,7 @@ func (m *UpdateUserRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -24652,7 +28954,7 @@ func (m *UpdateUserRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateUserResponse) Unmarshal(dAtA []byte) error { +func (m *GetNamespaceResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -24675,15 +28977,15 @@ func (m *UpdateUserResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateUserResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetNamespaceResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateUserResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -24710,10 +29012,10 @@ func (m *UpdateUserResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} + if m.Namespace == nil { + m.Namespace = &v12.Namespace{} } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Namespace.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -24741,7 +29043,7 @@ func (m *UpdateUserResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteUserRequest) Unmarshal(dAtA []byte) error { +func (m *UpdateNamespaceRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -24764,15 +29066,15 @@ func (m *DeleteUserRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteUserRequest: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateNamespaceRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteUserRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 UserId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -24800,9 +29102,45 @@ func (m *DeleteUserRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.UserId = string(dAtA[iNdEx:postIndex]) + 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) } @@ -24834,7 +29172,7 @@ func (m *DeleteUserRequest) Unmarshal(dAtA []byte) error { } m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } @@ -24890,7 +29228,7 @@ func (m *DeleteUserRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteUserResponse) Unmarshal(dAtA []byte) error { +func (m *UpdateNamespaceResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -24913,10 +29251,10 @@ func (m *DeleteUserResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteUserResponse: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateNamespaceResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteUserResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -24979,7 +29317,7 @@ func (m *DeleteUserResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *SetUserNamespaceAccessRequest) Unmarshal(dAtA []byte) error { +func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -25002,10 +29340,10 @@ func (m *SetUserNamespaceAccessRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SetUserNamespaceAccessRequest: wiretype end group for non-group") + return fmt.Errorf("proto: RenameCustomSearchAttributeRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SetUserNamespaceAccessRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: RenameCustomSearchAttributeRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -25042,7 +29380,7 @@ func (m *SetUserNamespaceAccessRequest) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UserId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ExistingCustomSearchAttributeName", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -25070,47 +29408,11 @@ func (m *SetUserNamespaceAccessRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.UserId = string(dAtA[iNdEx:postIndex]) + m.ExistingCustomSearchAttributeName = 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) + return fmt.Errorf("proto: wrong wireType = %d for field NewCustomSearchAttributeName", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -25138,11 +29440,11 @@ func (m *SetUserNamespaceAccessRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + m.NewCustomSearchAttributeName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -25170,151 +29472,9 @@ func (m *SetUserNamespaceAccessRequest) Unmarshal(dAtA []byte) error { 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 - } + 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 *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: + case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } @@ -25370,7 +29530,7 @@ func (m *GetAsyncOperationRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetAsyncOperationResponse) Unmarshal(dAtA []byte) error { +func (m *RenameCustomSearchAttributeResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -25393,10 +29553,10 @@ func (m *GetAsyncOperationResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetAsyncOperationResponse: wiretype end group for non-group") + return fmt.Errorf("proto: RenameCustomSearchAttributeResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetAsyncOperationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: RenameCustomSearchAttributeResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -25459,7 +29619,7 @@ func (m *GetAsyncOperationResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateNamespaceRequest) Unmarshal(dAtA []byte) error { +func (m *DeleteNamespaceRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -25482,17 +29642,17 @@ func (m *CreateNamespaceRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateNamespaceRequest: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteNamespaceRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 2: + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -25502,31 +29662,27 @@ func (m *CreateNamespaceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen 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 - } + m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -25554,13 +29710,13 @@ func (m *CreateNamespaceRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -25570,118 +29726,23 @@ func (m *CreateNamespaceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen 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 + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -25707,7 +29768,7 @@ func (m *CreateNamespaceRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateNamespaceResponse) Unmarshal(dAtA []byte) error { +func (m *DeleteNamespaceResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -25730,45 +29791,13 @@ func (m *CreateNamespaceResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateNamespaceResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteNamespaceResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 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) } @@ -25828,7 +29857,7 @@ func (m *CreateNamespaceResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNamespacesRequest) Unmarshal(dAtA []byte) error { +func (m *FailoverNamespaceRegionRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -25851,17 +29880,17 @@ func (m *GetNamespacesRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNamespacesRequest: wiretype end group for non-group") + return fmt.Errorf("proto: FailoverNamespaceRegionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespacesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: FailoverNamespaceRegionRequest: 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) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } - m.PageSize = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -25871,14 +29900,27 @@ func (m *GetNamespacesRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.PageSize |= int32(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { 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 PageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -25906,11 +29948,11 @@ func (m *GetNamespacesRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PageToken = string(dAtA[iNdEx:postIndex]) + m.Region = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -25938,13 +29980,66 @@ func (m *GetNamespacesRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + 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 ConnectivityRuleId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -25954,23 +30049,27 @@ func (m *GetNamespacesRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.ConnectivityRuleId = string(dAtA[iNdEx:postIndex]) + 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 @@ -25996,7 +30095,7 @@ func (m *GetNamespacesRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNamespacesResponse) Unmarshal(dAtA []byte) error { +func (m *AddNamespaceRegionRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -26019,17 +30118,17 @@ func (m *GetNamespacesResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNamespacesResponse: wiretype end group for non-group") + return fmt.Errorf("proto: AddNamespaceRegionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespacesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 Namespaces", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -26039,29 +30138,27 @@ func (m *GetNamespacesResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen 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 - } + m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -26089,7 +30186,71 @@ func (m *GetNamespacesResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) + 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 @@ -26115,7 +30276,7 @@ func (m *GetNamespacesResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNamespaceIDsRequest) Unmarshal(dAtA []byte) error { +func (m *AddNamespaceRegionResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -26138,36 +30299,17 @@ func (m *GetNamespaceIDsRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNamespaceIDsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: AddNamespaceRegionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespaceIDsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: AddNamespaceRegionResponse: 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) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -26177,23 +30319,27 @@ func (m *GetNamespaceIDsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.PageToken = string(dAtA[iNdEx:postIndex]) + 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 @@ -26219,7 +30365,7 @@ func (m *GetNamespaceIDsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNamespaceIDsResponse) Unmarshal(dAtA []byte) error { +func (m *DeleteNamespaceRegionRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -26242,15 +30388,15 @@ func (m *GetNamespaceIDsResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNamespaceIDsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteNamespaceRegionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespaceIDsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 NamespaceIds", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -26278,11 +30424,11 @@ func (m *GetNamespaceIDsResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.NamespaceIds = append(m.NamespaceIds, string(dAtA[iNdEx:postIndex])) + m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -26310,7 +30456,71 @@ func (m *GetNamespaceIDsResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) + 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 @@ -26336,7 +30546,7 @@ func (m *GetNamespaceIDsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNamespaceRequest) Unmarshal(dAtA []byte) error { +func (m *DeleteNamespaceRegionResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -26359,17 +30569,17 @@ func (m *GetNamespaceRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNamespaceRequest: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteNamespaceRegionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 Namespace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -26379,23 +30589,27 @@ func (m *GetNamespaceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + 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 @@ -26421,7 +30635,7 @@ func (m *GetNamespaceRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNamespaceResponse) Unmarshal(dAtA []byte) error { +func (m *GetRegionsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -26444,48 +30658,12 @@ func (m *GetNamespaceResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNamespaceResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetRegionsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetRegionsRequest: 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:]) @@ -26510,7 +30688,7 @@ func (m *GetNamespaceResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateNamespaceRequest) Unmarshal(dAtA []byte) error { +func (m *GetRegionsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -26533,47 +30711,15 @@ func (m *UpdateNamespaceRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateNamespaceRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetRegionsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 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) + return fmt.Errorf("proto: wrong wireType = %d for field Regions", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -26600,48 +30746,67 @@ func (m *UpdateNamespaceRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Spec == nil { - m.Spec = &v12.NamespaceSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + 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 - 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 - } + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err } - intStringLen := int(stringLen) - if intStringLen < 0 { + if skippy < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (iNdEx + skippy) < 0 { return ErrInvalidLengthRequestResponse } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: + 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 AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -26669,7 +30834,7 @@ func (m *UpdateNamespaceRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.Region = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -26695,7 +30860,7 @@ func (m *UpdateNamespaceRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateNamespaceResponse) Unmarshal(dAtA []byte) error { +func (m *GetRegionResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -26718,15 +30883,15 @@ func (m *UpdateNamespaceResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateNamespaceResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetRegionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -26753,10 +30918,10 @@ func (m *UpdateNamespaceResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} + if m.Region == nil { + m.Region = &v13.Region{} } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Region.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -26784,7 +30949,7 @@ func (m *UpdateNamespaceResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { +func (m *GetNexusEndpointsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -26807,15 +30972,34 @@ func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RenameCustomSearchAttributeRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetNexusEndpointsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RenameCustomSearchAttributeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 Namespace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -26843,11 +31027,11 @@ func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + m.PageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExistingCustomSearchAttributeName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TargetNamespaceId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -26875,11 +31059,11 @@ func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ExistingCustomSearchAttributeName = string(dAtA[iNdEx:postIndex]) + m.TargetNamespaceId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NewCustomSearchAttributeName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TargetTaskQueue", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -26907,11 +31091,11 @@ func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.NewCustomSearchAttributeName = string(dAtA[iNdEx:postIndex]) + m.TargetTaskQueue = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -26939,11 +31123,11 @@ func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: + case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -26971,7 +31155,7 @@ func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.ProjectId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -26997,7 +31181,7 @@ func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *RenameCustomSearchAttributeResponse) Unmarshal(dAtA []byte) error { +func (m *GetNexusEndpointsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -27020,15 +31204,15 @@ func (m *RenameCustomSearchAttributeResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RenameCustomSearchAttributeResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetNexusEndpointsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RenameCustomSearchAttributeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Endpoints", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -27055,13 +31239,43 @@ func (m *RenameCustomSearchAttributeResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + 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:]) @@ -27086,7 +31300,7 @@ func (m *RenameCustomSearchAttributeResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteNamespaceRequest) Unmarshal(dAtA []byte) error { +func (m *GetNexusEndpointRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -27109,79 +31323,15 @@ func (m *DeleteNamespaceRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteNamespaceRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetNexusEndpointRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 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) + return fmt.Errorf("proto: wrong wireType = %d for field EndpointId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -27209,7 +31359,7 @@ func (m *DeleteNamespaceRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.EndpointId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -27235,7 +31385,7 @@ func (m *DeleteNamespaceRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteNamespaceResponse) Unmarshal(dAtA []byte) error { +func (m *GetNexusEndpointResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -27258,15 +31408,15 @@ func (m *DeleteNamespaceResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteNamespaceResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetNexusEndpointResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteNamespaceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Endpoint", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -27293,10 +31443,10 @@ func (m *DeleteNamespaceResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} + if m.Endpoint == nil { + m.Endpoint = &v14.Endpoint{} } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Endpoint.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -27324,7 +31474,7 @@ func (m *DeleteNamespaceResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *FailoverNamespaceRegionRequest) Unmarshal(dAtA []byte) error { +func (m *CreateNexusEndpointRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -27347,17 +31497,17 @@ func (m *FailoverNamespaceRegionRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: FailoverNamespaceRegionRequest: wiretype end group for non-group") + return fmt.Errorf("proto: CreateNexusEndpointRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: FailoverNamespaceRegionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 Namespace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -27367,27 +31517,31 @@ func (m *FailoverNamespaceRegionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + 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 Region", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -27415,11 +31569,11 @@ func (m *FailoverNamespaceRegionRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Region = string(dAtA[iNdEx:postIndex]) + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProjectId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -27447,7 +31601,7 @@ func (m *FailoverNamespaceRegionRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.ProjectId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -27473,7 +31627,7 @@ func (m *FailoverNamespaceRegionRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *FailoverNamespaceRegionResponse) Unmarshal(dAtA []byte) error { +func (m *CreateNexusEndpointResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -27496,13 +31650,45 @@ func (m *FailoverNamespaceRegionResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: FailoverNamespaceRegionResponse: wiretype end group for non-group") + return fmt.Errorf("proto: CreateNexusEndpointResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: FailoverNamespaceRegionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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) } @@ -27562,7 +31748,7 @@ func (m *FailoverNamespaceRegionResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *AddNamespaceRegionRequest) Unmarshal(dAtA []byte) error { +func (m *UpdateNexusEndpointRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -27585,15 +31771,15 @@ func (m *AddNamespaceRegionRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: AddNamespaceRegionRequest: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateNexusEndpointRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: AddNamespaceRegionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 Namespace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EndpointId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -27621,13 +31807,13 @@ func (m *AddNamespaceRegionRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + m.EndpointId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -27637,23 +31823,27 @@ func (m *AddNamespaceRegionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.Region = string(dAtA[iNdEx:postIndex]) + 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 { @@ -27743,7 +31933,7 @@ func (m *AddNamespaceRegionRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *AddNamespaceRegionResponse) Unmarshal(dAtA []byte) error { +func (m *UpdateNexusEndpointResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -27766,10 +31956,10 @@ func (m *AddNamespaceRegionResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: AddNamespaceRegionResponse: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateNexusEndpointResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: AddNamespaceRegionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateNexusEndpointResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -27832,7 +32022,7 @@ func (m *AddNamespaceRegionResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteNamespaceRegionRequest) Unmarshal(dAtA []byte) error { +func (m *DeleteNexusEndpointRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -27855,15 +32045,15 @@ func (m *DeleteNamespaceRegionRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteNamespaceRegionRequest: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteNexusEndpointRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteNamespaceRegionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 Namespace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EndpointId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -27891,41 +32081,9 @@ func (m *DeleteNamespaceRegionRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + m.EndpointId = 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) } @@ -27957,7 +32115,7 @@ func (m *DeleteNamespaceRegionRequest) Unmarshal(dAtA []byte) error { } m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } @@ -28013,7 +32171,7 @@ func (m *DeleteNamespaceRegionRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteNamespaceRegionResponse) Unmarshal(dAtA []byte) error { +func (m *DeleteNexusEndpointResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -28036,10 +32194,10 @@ func (m *DeleteNamespaceRegionResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteNamespaceRegionResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteNexusEndpointResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteNamespaceRegionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteNexusEndpointResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -28102,7 +32260,7 @@ func (m *DeleteNamespaceRegionResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetRegionsRequest) Unmarshal(dAtA []byte) error { +func (m *UpdateAccountRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -28125,12 +32283,112 @@ func (m *GetRegionsRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetRegionsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateAccountRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetRegionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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:]) @@ -28155,7 +32413,7 @@ func (m *GetRegionsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetRegionsResponse) Unmarshal(dAtA []byte) error { +func (m *UpdateAccountResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -28178,15 +32436,15 @@ func (m *GetRegionsResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetRegionsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateAccountResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetRegionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 Regions", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -28213,8 +32471,10 @@ func (m *GetRegionsResponse) Unmarshal(dAtA []byte) error { 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 { + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} + } + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -28242,7 +32502,7 @@ func (m *GetRegionsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetRegionRequest) Unmarshal(dAtA []byte) error { +func (m *GetUserGroupsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -28265,15 +32525,98 @@ func (m *GetRegionRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetRegionRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetUserGroupsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetRegionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 Region", wireType) + 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 { @@ -28301,64 +32644,47 @@ func (m *GetRegionRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Region = string(dAtA[iNdEx:postIndex]) + m.DisplayName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipRequestResponse(dAtA[iNdEx:]) - if err != nil { - return err + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GoogleGroup", wireType) } - if skippy < 0 { + 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 } - if (iNdEx + skippy) < 0 { + postIndex := iNdEx + msglen + if postIndex < 0 { return ErrInvalidLengthRequestResponse } - if (iNdEx + skippy) > l { + if postIndex > 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 + if m.GoogleGroup == nil { + m.GoogleGroup = &GetUserGroupsRequest_GoogleGroupFilter{} } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if err := m.GoogleGroup.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - } - 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: + iNdEx = postIndex + case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ScimGroup", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -28385,10 +32711,10 @@ func (m *GetRegionResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Region == nil { - m.Region = &v13.Region{} + if m.ScimGroup == nil { + m.ScimGroup = &GetUserGroupsRequest_SCIMGroupFilter{} } - if err := m.Region.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ScimGroup.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -28416,7 +32742,7 @@ func (m *GetRegionResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNexusEndpointsRequest) Unmarshal(dAtA []byte) error { +func (m *GetUserGroupsRequest_GoogleGroupFilter) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -28439,34 +32765,15 @@ func (m *GetNexusEndpointsRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNexusEndpointsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GoogleGroupFilter: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNexusEndpointsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GoogleGroupFilter: 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) + return fmt.Errorf("proto: wrong wireType = %d for field EmailAddress", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -28494,75 +32801,64 @@ func (m *GetNexusEndpointsRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PageToken = string(dAtA[iNdEx:postIndex]) + m.EmailAddress = 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 - } + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err } - intStringLen := int(stringLen) - if intStringLen < 0 { + if skippy < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (iNdEx + skippy) < 0 { return ErrInvalidLengthRequestResponse } - if postIndex > l { + if (iNdEx + skippy) > 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 + 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 postIndex > l { + if iNdEx >= l { return io.ErrUnexpectedEOF } - m.TargetTaskQueue = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: + b := dAtA[iNdEx] + iNdEx++ + 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 Name", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IdpId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -28590,7 +32886,7 @@ func (m *GetNexusEndpointsRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + m.IdpId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -28616,7 +32912,7 @@ func (m *GetNexusEndpointsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNexusEndpointsResponse) Unmarshal(dAtA []byte) error { +func (m *GetUserGroupsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -28639,15 +32935,15 @@ func (m *GetNexusEndpointsResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNexusEndpointsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetUserGroupsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNexusEndpointsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 Endpoints", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Groups", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -28674,8 +32970,8 @@ func (m *GetNexusEndpointsResponse) Unmarshal(dAtA []byte) error { 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 { + 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 @@ -28735,7 +33031,7 @@ func (m *GetNexusEndpointsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNexusEndpointRequest) Unmarshal(dAtA []byte) error { +func (m *GetUserGroupRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -28758,15 +33054,15 @@ func (m *GetNexusEndpointRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNexusEndpointRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetUserGroupRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNexusEndpointRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 EndpointId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -28794,7 +33090,7 @@ func (m *GetNexusEndpointRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.EndpointId = string(dAtA[iNdEx:postIndex]) + m.GroupId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -28820,7 +33116,7 @@ func (m *GetNexusEndpointRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNexusEndpointResponse) Unmarshal(dAtA []byte) error { +func (m *GetUserGroupResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -28843,15 +33139,15 @@ func (m *GetNexusEndpointResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNexusEndpointResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetUserGroupResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNexusEndpointResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 Endpoint", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -28878,10 +33174,10 @@ func (m *GetNexusEndpointResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Endpoint == nil { - m.Endpoint = &v14.Endpoint{} + if m.Group == nil { + m.Group = &v1.UserGroup{} } - if err := m.Endpoint.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Group.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -28909,7 +33205,7 @@ func (m *GetNexusEndpointResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateNexusEndpointRequest) Unmarshal(dAtA []byte) error { +func (m *CreateUserGroupRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -28932,10 +33228,10 @@ func (m *CreateNexusEndpointRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateNexusEndpointRequest: wiretype end group for non-group") + return fmt.Errorf("proto: CreateUserGroupRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateNexusEndpointRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateUserGroupRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -28968,7 +33264,7 @@ func (m *CreateNexusEndpointRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Spec == nil { - m.Spec = &v14.EndpointSpec{} + m.Spec = &v1.UserGroupSpec{} } if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -29030,7 +33326,7 @@ func (m *CreateNexusEndpointRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateNexusEndpointResponse) Unmarshal(dAtA []byte) error { +func (m *CreateUserGroupResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -29053,15 +33349,15 @@ func (m *CreateNexusEndpointResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateNexusEndpointResponse: wiretype end group for non-group") + return fmt.Errorf("proto: CreateUserGroupResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateNexusEndpointResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 EndpointId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -29089,7 +33385,7 @@ func (m *CreateNexusEndpointResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.EndpointId = string(dAtA[iNdEx:postIndex]) + m.GroupId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -29151,7 +33447,7 @@ func (m *CreateNexusEndpointResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateNexusEndpointRequest) Unmarshal(dAtA []byte) error { +func (m *UpdateUserGroupRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -29174,15 +33470,15 @@ func (m *UpdateNexusEndpointRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateNexusEndpointRequest: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateUserGroupRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateNexusEndpointRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 EndpointId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -29210,7 +33506,7 @@ func (m *UpdateNexusEndpointRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.EndpointId = string(dAtA[iNdEx:postIndex]) + m.GroupId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -29242,7 +33538,7 @@ func (m *UpdateNexusEndpointRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Spec == nil { - m.Spec = &v14.EndpointSpec{} + m.Spec = &v1.UserGroupSpec{} } if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -29336,7 +33632,7 @@ func (m *UpdateNexusEndpointRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateNexusEndpointResponse) Unmarshal(dAtA []byte) error { +func (m *UpdateUserGroupResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -29359,10 +33655,10 @@ func (m *UpdateNexusEndpointResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateNexusEndpointResponse: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateUserGroupResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateNexusEndpointResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateUserGroupResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -29425,7 +33721,7 @@ func (m *UpdateNexusEndpointResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteNexusEndpointRequest) Unmarshal(dAtA []byte) error { +func (m *DeleteUserGroupRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -29448,15 +33744,15 @@ func (m *DeleteNexusEndpointRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteNexusEndpointRequest: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteUserGroupRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteNexusEndpointRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 EndpointId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -29484,7 +33780,7 @@ func (m *DeleteNexusEndpointRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.EndpointId = string(dAtA[iNdEx:postIndex]) + m.GroupId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -29574,7 +33870,7 @@ func (m *DeleteNexusEndpointRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteNexusEndpointResponse) Unmarshal(dAtA []byte) error { +func (m *DeleteUserGroupResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -29597,10 +33893,10 @@ func (m *DeleteNexusEndpointResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteNexusEndpointResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteUserGroupResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteNexusEndpointResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteUserGroupResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -29663,7 +33959,7 @@ func (m *DeleteNexusEndpointResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateAccountRequest) Unmarshal(dAtA []byte) error { +func (m *SetUserGroupNamespaceAccessRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -29686,15 +33982,79 @@ func (m *UpdateAccountRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateAccountRequest: wiretype end group for non-group") + return fmt.Errorf("proto: SetUserGroupNamespaceAccessRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 Spec", wireType) + 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 { @@ -29721,14 +34081,14 @@ func (m *UpdateAccountRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Spec == nil { - m.Spec = &v15.AccountSpec{} + if m.Access == nil { + m.Access = &v1.NamespaceAccess{} } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: + case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } @@ -29760,7 +34120,7 @@ func (m *UpdateAccountRequest) Unmarshal(dAtA []byte) error { } m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } @@ -29816,7 +34176,7 @@ func (m *UpdateAccountRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateAccountResponse) Unmarshal(dAtA []byte) error { +func (m *SetUserGroupNamespaceAccessResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -29839,10 +34199,10 @@ func (m *UpdateAccountResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateAccountResponse: wiretype end group for non-group") + return fmt.Errorf("proto: SetUserGroupNamespaceAccessResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SetUserGroupNamespaceAccessResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -29905,7 +34265,7 @@ func (m *UpdateAccountResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetUserGroupsRequest) Unmarshal(dAtA []byte) error { +func (m *AddUserGroupMemberRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -29928,98 +34288,15 @@ func (m *GetUserGroupsRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetUserGroupsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: AddUserGroupMemberRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetUserGroupsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: AddUserGroupMemberRequest: 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) + return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -30047,11 +34324,11 @@ func (m *GetUserGroupsRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.DisplayName = string(dAtA[iNdEx:postIndex]) + m.GroupId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GoogleGroup", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field MemberId", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -30078,18 +34355,18 @@ func (m *GetUserGroupsRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.GoogleGroup == nil { - m.GoogleGroup = &GetUserGroupsRequest_GoogleGroupFilter{} + if m.MemberId == nil { + m.MemberId = &v1.UserGroupMemberId{} } - if err := m.GoogleGroup.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.MemberId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 6: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ScimGroup", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -30099,27 +34376,23 @@ func (m *GetUserGroupsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen 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 - } + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -30145,7 +34418,7 @@ func (m *GetUserGroupsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetUserGroupsRequest_GoogleGroupFilter) Unmarshal(dAtA []byte) error { +func (m *AddUserGroupMemberResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30168,17 +34441,17 @@ func (m *GetUserGroupsRequest_GoogleGroupFilter) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GoogleGroupFilter: wiretype end group for non-group") + return fmt.Errorf("proto: AddUserGroupMemberResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GoogleGroupFilter: illegal tag %d (wire type %d)", fieldNum, wire) + 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 EmailAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -30188,23 +34461,27 @@ func (m *GetUserGroupsRequest_GoogleGroupFilter) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.EmailAddress = string(dAtA[iNdEx:postIndex]) + 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 @@ -30230,7 +34507,7 @@ func (m *GetUserGroupsRequest_GoogleGroupFilter) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetUserGroupsRequest_SCIMGroupFilter) Unmarshal(dAtA []byte) error { +func (m *RemoveUserGroupMemberRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30253,15 +34530,15 @@ func (m *GetUserGroupsRequest_SCIMGroupFilter) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SCIMGroupFilter: wiretype end group for non-group") + return fmt.Errorf("proto: RemoveUserGroupMemberRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SCIMGroupFilter: illegal tag %d (wire type %d)", fieldNum, wire) + 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 IdpId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -30289,64 +34566,11 @@ func (m *GetUserGroupsRequest_SCIMGroupFilter) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.IdpId = string(dAtA[iNdEx:postIndex]) + 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 *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: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Groups", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field MemberId", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -30373,14 +34597,16 @@ func (m *GetUserGroupsResponse) Unmarshal(dAtA []byte) error { 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 { + if m.MemberId == nil { + m.MemberId = &v1.UserGroupMemberId{} + } + if err := m.MemberId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -30408,7 +34634,7 @@ func (m *GetUserGroupsResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -30434,7 +34660,7 @@ func (m *GetUserGroupsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetUserGroupRequest) Unmarshal(dAtA []byte) error { +func (m *RemoveUserGroupMemberResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30457,17 +34683,17 @@ func (m *GetUserGroupRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetUserGroupRequest: wiretype end group for non-group") + return fmt.Errorf("proto: RemoveUserGroupMemberResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetUserGroupRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 GroupId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -30477,23 +34703,27 @@ func (m *GetUserGroupRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.GroupId = string(dAtA[iNdEx:postIndex]) + 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 @@ -30519,7 +34749,7 @@ func (m *GetUserGroupRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetUserGroupResponse) Unmarshal(dAtA []byte) error { +func (m *GetUserGroupMembersRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30542,17 +34772,36 @@ func (m *GetUserGroupResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetUserGroupResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetUserGroupMembersRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetUserGroupResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 Group", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -30562,27 +34811,55 @@ func (m *GetUserGroupResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Group == nil { - m.Group = &v1.UserGroup{} + m.PageToken = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) } - if err := m.Group.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + 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 @@ -30608,7 +34885,7 @@ func (m *GetUserGroupResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateUserGroupRequest) Unmarshal(dAtA []byte) error { +func (m *GetUserGroupMembersResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30631,15 +34908,15 @@ func (m *CreateUserGroupRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateUserGroupRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetUserGroupMembersResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateUserGroupRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 Spec", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Members", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -30666,16 +34943,14 @@ func (m *CreateUserGroupRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Spec == nil { - m.Spec = &v1.UserGroupSpec{} - } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + 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 AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -30703,7 +34978,7 @@ func (m *CreateUserGroupRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.NextPageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -30729,7 +35004,7 @@ func (m *CreateUserGroupRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateUserGroupResponse) Unmarshal(dAtA []byte) error { +func (m *CreateServiceAccountRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30752,17 +35027,17 @@ func (m *CreateUserGroupResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateUserGroupResponse: wiretype end group for non-group") + return fmt.Errorf("proto: CreateServiceAccountRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateUserGroupResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 GroupId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -30772,29 +35047,33 @@ func (m *CreateUserGroupResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.GroupId = string(dAtA[iNdEx:postIndex]) + 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 AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -30804,27 +35083,23 @@ func (m *CreateUserGroupResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen 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 - } + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -30850,7 +35125,7 @@ func (m *CreateUserGroupResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateUserGroupRequest) Unmarshal(dAtA []byte) error { +func (m *CreateServiceAccountResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30873,15 +35148,15 @@ func (m *UpdateUserGroupRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateUserGroupRequest: wiretype end group for non-group") + return fmt.Errorf("proto: CreateServiceAccountResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateUserGroupRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 GroupId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -30909,11 +35184,11 @@ func (m *UpdateUserGroupRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GroupId = string(dAtA[iNdEx:postIndex]) + m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -30940,48 +35215,69 @@ func (m *UpdateUserGroupRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Spec == nil { - m.Spec = &v1.UserGroupSpec{} + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.AsyncOperation.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 - } + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err } - intStringLen := int(stringLen) - if intStringLen < 0 { + if skippy < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (iNdEx + skippy) < 0 { return ErrInvalidLengthRequestResponse } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: + 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 AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -31009,7 +35305,7 @@ func (m *UpdateUserGroupRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -31035,7 +35331,7 @@ func (m *UpdateUserGroupRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateUserGroupResponse) Unmarshal(dAtA []byte) error { +func (m *GetServiceAccountResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -31058,15 +35354,15 @@ func (m *UpdateUserGroupResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateUserGroupResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetServiceAccountResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateUserGroupResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccount", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -31093,10 +35389,10 @@ func (m *UpdateUserGroupResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} + if m.ServiceAccount == nil { + m.ServiceAccount = &v1.ServiceAccount{} } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ServiceAccount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -31124,7 +35420,7 @@ func (m *UpdateUserGroupResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteUserGroupRequest) Unmarshal(dAtA []byte) error { +func (m *GetServiceAccountsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -31147,17 +35443,17 @@ func (m *DeleteUserGroupRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteUserGroupRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetServiceAccountsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteUserGroupRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetServiceAccountsRequest: 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) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) } - var stringLen uint64 + m.PageSize = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -31167,59 +35463,14 @@ func (m *DeleteUserGroupRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.PageSize |= int32(b&0x7F) << shift if b < 0x80 { 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) + return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -31247,7 +35498,7 @@ func (m *DeleteUserGroupRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + m.PageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -31273,7 +35524,7 @@ func (m *DeleteUserGroupRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteUserGroupResponse) Unmarshal(dAtA []byte) error { +func (m *GetServiceAccountsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -31296,15 +35547,15 @@ func (m *DeleteUserGroupResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteUserGroupResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetServiceAccountsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteUserGroupResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccount", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -31331,13 +35582,43 @@ func (m *DeleteUserGroupResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} - } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + 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:]) @@ -31362,7 +35643,7 @@ func (m *DeleteUserGroupResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *SetUserGroupNamespaceAccessRequest) Unmarshal(dAtA []byte) error { +func (m *UpdateServiceAccountRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -31385,15 +35666,15 @@ func (m *SetUserGroupNamespaceAccessRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SetUserGroupNamespaceAccessRequest: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateServiceAccountRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SetUserGroupNamespaceAccessRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 Namespace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -31421,43 +35702,11 @@ func (m *SetUserGroupNamespaceAccessRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + m.ServiceAccountId = 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) + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -31484,14 +35733,14 @@ func (m *SetUserGroupNamespaceAccessRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Access == nil { - m.Access = &v1.NamespaceAccess{} + if m.Spec == nil { + m.Spec = &v1.ServiceAccountSpec{} } - if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 4: + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } @@ -31523,7 +35772,7 @@ func (m *SetUserGroupNamespaceAccessRequest) Unmarshal(dAtA []byte) error { } m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: + case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } @@ -31579,7 +35828,7 @@ func (m *SetUserGroupNamespaceAccessRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *SetUserGroupNamespaceAccessResponse) Unmarshal(dAtA []byte) error { +func (m *UpdateServiceAccountResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -31602,10 +35851,10 @@ func (m *SetUserGroupNamespaceAccessResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SetUserGroupNamespaceAccessResponse: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateServiceAccountResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SetUserGroupNamespaceAccessResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateServiceAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -31668,7 +35917,7 @@ func (m *SetUserGroupNamespaceAccessResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *AddUserGroupMemberRequest) Unmarshal(dAtA []byte) error { +func (m *SetServiceAccountNamespaceAccessRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -31691,15 +35940,15 @@ func (m *AddUserGroupMemberRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: AddUserGroupMemberRequest: wiretype end group for non-group") + return fmt.Errorf("proto: SetServiceAccountNamespaceAccessRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: AddUserGroupMemberRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 GroupId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -31727,47 +35976,11 @@ func (m *AddUserGroupMemberRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GroupId = string(dAtA[iNdEx:postIndex]) + m.ServiceAccountId = 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) + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -31795,64 +36008,11 @@ func (m *AddUserGroupMemberRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + 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 *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: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -31879,69 +36039,16 @@ func (m *AddUserGroupMemberResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AsyncOperation == nil { - m.AsyncOperation = &v11.AsyncOperation{} + if m.Access == nil { + m.Access = &v1.NamespaceAccess{} } - if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Access.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: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -31969,45 +36076,9 @@ func (m *RemoveUserGroupMemberRequest) Unmarshal(dAtA []byte) error { 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 - } + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } @@ -32063,7 +36134,7 @@ func (m *RemoveUserGroupMemberRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *RemoveUserGroupMemberResponse) Unmarshal(dAtA []byte) error { +func (m *SetServiceAccountNamespaceAccessResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32086,10 +36157,10 @@ func (m *RemoveUserGroupMemberResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RemoveUserGroupMemberResponse: wiretype end group for non-group") + return fmt.Errorf("proto: SetServiceAccountNamespaceAccessResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RemoveUserGroupMemberResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SetServiceAccountNamespaceAccessResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -32152,7 +36223,7 @@ func (m *RemoveUserGroupMemberResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetUserGroupMembersRequest) Unmarshal(dAtA []byte) error { +func (m *DeleteServiceAccountRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32175,17 +36246,17 @@ func (m *GetUserGroupMembersRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetUserGroupMembersRequest: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteServiceAccountRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetUserGroupMembersRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteServiceAccountRequest: 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) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccountId", wireType) } - m.PageSize = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -32195,14 +36266,27 @@ func (m *GetUserGroupMembersRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.PageSize |= int32(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { 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 PageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -32230,11 +36314,11 @@ func (m *GetUserGroupMembersRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PageToken = string(dAtA[iNdEx:postIndex]) + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GroupId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -32262,7 +36346,7 @@ func (m *GetUserGroupMembersRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GroupId = string(dAtA[iNdEx:postIndex]) + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -32288,7 +36372,7 @@ func (m *GetUserGroupMembersRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetUserGroupMembersResponse) Unmarshal(dAtA []byte) error { +func (m *DeleteServiceAccountResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32311,15 +36395,15 @@ func (m *GetUserGroupMembersResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetUserGroupMembersResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteServiceAccountResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetUserGroupMembersResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 Members", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -32346,42 +36430,12 @@ func (m *GetUserGroupMembersResponse) Unmarshal(dAtA []byte) error { 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 m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} } - if postIndex > l { - return io.ErrUnexpectedEOF + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -32407,7 +36461,7 @@ func (m *GetUserGroupMembersResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateServiceAccountRequest) Unmarshal(dAtA []byte) error { +func (m *GetApiKeysRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32430,17 +36484,36 @@ func (m *CreateServiceAccountRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateServiceAccountRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetApiKeysRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateServiceAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 Spec", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -32450,31 +36523,59 @@ func (m *CreateServiceAccountRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Spec == nil { - m.Spec = &v1.ServiceAccountSpec{} + m.PageToken = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OwnerId", wireType) } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + 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 2: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field OwnerTypeDeprecated", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -32502,8 +36603,27 @@ func (m *CreateServiceAccountRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + 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:]) @@ -32528,7 +36648,7 @@ func (m *CreateServiceAccountRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateServiceAccountResponse) Unmarshal(dAtA []byte) error { +func (m *GetApiKeysResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32551,17 +36671,17 @@ func (m *CreateServiceAccountResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateServiceAccountResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetApiKeysResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateServiceAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 ServiceAccountId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ApiKeys", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -32571,29 +36691,31 @@ func (m *CreateServiceAccountResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) + 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 AsyncOperation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -32603,27 +36725,23 @@ func (m *CreateServiceAccountResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen 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 - } + m.NextPageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -32649,7 +36767,7 @@ func (m *CreateServiceAccountResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetServiceAccountRequest) Unmarshal(dAtA []byte) error { +func (m *GetApiKeyRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32672,15 +36790,15 @@ func (m *GetServiceAccountRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetServiceAccountRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetApiKeyRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetServiceAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 ServiceAccountId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field KeyId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -32708,7 +36826,7 @@ func (m *GetServiceAccountRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) + m.KeyId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -32734,7 +36852,7 @@ func (m *GetServiceAccountRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetServiceAccountResponse) Unmarshal(dAtA []byte) error { +func (m *GetApiKeyResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32757,15 +36875,15 @@ func (m *GetServiceAccountResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetServiceAccountResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetApiKeyResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetServiceAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 ServiceAccount", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ApiKey", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -32792,10 +36910,10 @@ func (m *GetServiceAccountResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ServiceAccount == nil { - m.ServiceAccount = &v1.ServiceAccount{} + if m.ApiKey == nil { + m.ApiKey = &v1.ApiKey{} } - if err := m.ServiceAccount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ApiKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -32823,7 +36941,7 @@ func (m *GetServiceAccountResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetServiceAccountsRequest) Unmarshal(dAtA []byte) error { +func (m *CreateApiKeyRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32846,17 +36964,17 @@ func (m *GetServiceAccountsRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetServiceAccountsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: CreateApiKeyRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetServiceAccountsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateApiKeyRequest: 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) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } - m.PageSize = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -32866,14 +36984,31 @@ func (m *GetServiceAccountsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.PageSize |= int32(b&0x7F) << shift + 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 PageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -32901,7 +37036,7 @@ func (m *GetServiceAccountsRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PageToken = string(dAtA[iNdEx:postIndex]) + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -32927,7 +37062,7 @@ func (m *GetServiceAccountsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetServiceAccountsResponse) Unmarshal(dAtA []byte) error { +func (m *CreateApiKeyResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32950,17 +37085,17 @@ func (m *GetServiceAccountsResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetServiceAccountsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: CreateApiKeyResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetServiceAccountsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 ServiceAccount", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field KeyId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -32970,29 +37105,27 @@ func (m *GetServiceAccountsResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen 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 - } + m.KeyId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -33020,7 +37153,43 @@ func (m *GetServiceAccountsResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) + 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 @@ -33046,7 +37215,7 @@ func (m *GetServiceAccountsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateServiceAccountRequest) Unmarshal(dAtA []byte) error { +func (m *UpdateApiKeyRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33069,15 +37238,15 @@ func (m *UpdateServiceAccountRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateServiceAccountRequest: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateApiKeyRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateServiceAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 ServiceAccountId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field KeyId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -33105,7 +37274,7 @@ func (m *UpdateServiceAccountRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) + m.KeyId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -33137,7 +37306,7 @@ func (m *UpdateServiceAccountRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Spec == nil { - m.Spec = &v1.ServiceAccountSpec{} + m.Spec = &v1.ApiKeySpec{} } if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -33231,7 +37400,7 @@ func (m *UpdateServiceAccountRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateServiceAccountResponse) Unmarshal(dAtA []byte) error { +func (m *UpdateApiKeyResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33254,10 +37423,10 @@ func (m *UpdateServiceAccountResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateServiceAccountResponse: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateApiKeyResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateServiceAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateApiKeyResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -33320,7 +37489,7 @@ func (m *UpdateServiceAccountResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteServiceAccountRequest) Unmarshal(dAtA []byte) error { +func (m *DeleteApiKeyRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33343,15 +37512,15 @@ func (m *DeleteServiceAccountRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteServiceAccountRequest: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteApiKeyRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteServiceAccountRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 ServiceAccountId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field KeyId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -33379,7 +37548,7 @@ func (m *DeleteServiceAccountRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ServiceAccountId = string(dAtA[iNdEx:postIndex]) + m.KeyId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -33469,7 +37638,7 @@ func (m *DeleteServiceAccountRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteServiceAccountResponse) Unmarshal(dAtA []byte) error { +func (m *DeleteApiKeyResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33492,10 +37661,10 @@ func (m *DeleteServiceAccountResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteServiceAccountResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteApiKeyResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteServiceAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteApiKeyResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -33558,194 +37727,7 @@ func (m *DeleteServiceAccountResponse) Unmarshal(dAtA []byte) error { } 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 { +func (m *ValidateAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33768,15 +37750,15 @@ func (m *GetApiKeysResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetApiKeysResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ValidateAccountAuditLogSinkRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetApiKeysResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 ApiKeys", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -33803,43 +37785,66 @@ func (m *GetApiKeysResponse) Unmarshal(dAtA []byte) error { 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 { + 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 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 - } + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { + return err } - intStringLen := int(stringLen) - if intStringLen < 0 { + if skippy < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (iNdEx + skippy) < 0 { return ErrInvalidLengthRequestResponse } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex + 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:]) @@ -33864,7 +37869,7 @@ func (m *GetApiKeysResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetApiKeyRequest) Unmarshal(dAtA []byte) error { +func (m *CreateAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33887,15 +37892,51 @@ func (m *GetApiKeyRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetApiKeyRequest: wiretype end group for non-group") + return fmt.Errorf("proto: CreateAccountAuditLogSinkRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetApiKeyRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 KeyId", wireType) + 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 { @@ -33923,7 +37964,7 @@ func (m *GetApiKeyRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.KeyId = string(dAtA[iNdEx:postIndex]) + m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -33949,7 +37990,7 @@ func (m *GetApiKeyRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetApiKeyResponse) Unmarshal(dAtA []byte) error { +func (m *CreateAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33972,15 +38013,15 @@ func (m *GetApiKeyResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetApiKeyResponse: wiretype end group for non-group") + return fmt.Errorf("proto: CreateAccountAuditLogSinkResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetApiKeyResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 ApiKey", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperation", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -34007,10 +38048,10 @@ func (m *GetApiKeyResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ApiKey == nil { - m.ApiKey = &v1.ApiKey{} + if m.AsyncOperation == nil { + m.AsyncOperation = &v11.AsyncOperation{} } - if err := m.ApiKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.AsyncOperation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -34038,7 +38079,7 @@ func (m *GetApiKeyResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateApiKeyRequest) Unmarshal(dAtA []byte) error { +func (m *GetAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34061,17 +38102,17 @@ func (m *CreateApiKeyRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateApiKeyRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetAccountAuditLogSinkRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateApiKeyRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 Spec", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -34081,33 +38122,82 @@ func (m *CreateApiKeyRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen 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 { + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipRequestResponse(dAtA[iNdEx:]) + if err != nil { return err } - iNdEx = postIndex - case 2: + 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 AsyncOperationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Sink", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -34117,23 +38207,27 @@ func (m *CreateApiKeyRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.AsyncOperationId = string(dAtA[iNdEx:postIndex]) + 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 @@ -34159,7 +38253,7 @@ func (m *CreateApiKeyRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateApiKeyResponse) Unmarshal(dAtA []byte) error { +func (m *GetAccountAuditLogSinksRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34182,17 +38276,17 @@ func (m *CreateApiKeyResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateApiKeyResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetAccountAuditLogSinksRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateApiKeyResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetAccountAuditLogSinksRequest: 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) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) } - var stringLen uint64 + m.PageSize = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -34202,27 +38296,14 @@ func (m *CreateApiKeyResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.PageSize |= int32(b&0x7F) << shift if b < 0x80 { 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) + return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -34250,43 +38331,7 @@ func (m *CreateApiKeyResponse) Unmarshal(dAtA []byte) error { 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 - } + m.PageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -34312,7 +38357,7 @@ func (m *CreateApiKeyResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateApiKeyRequest) Unmarshal(dAtA []byte) error { +func (m *GetAccountAuditLogSinksResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34335,15 +38380,49 @@ func (m *UpdateApiKeyRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateApiKeyRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetAccountAuditLogSinksResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateApiKeyRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 KeyId", wireType) + 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 { @@ -34371,9 +38450,62 @@ func (m *UpdateApiKeyRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.KeyId = string(dAtA[iNdEx:postIndex]) + m.NextPageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + 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) } @@ -34403,13 +38535,13 @@ func (m *UpdateApiKeyRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Spec == nil { - m.Spec = &v1.ApiKeySpec{} + m.Spec = &v15.AuditLogSinkSpec{} } if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 3: + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } @@ -34441,7 +38573,7 @@ func (m *UpdateApiKeyRequest) Unmarshal(dAtA []byte) error { } m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AsyncOperationId", wireType) } @@ -34497,7 +38629,7 @@ func (m *UpdateApiKeyRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateApiKeyResponse) Unmarshal(dAtA []byte) error { +func (m *UpdateAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34520,10 +38652,10 @@ func (m *UpdateApiKeyResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateApiKeyResponse: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateAccountAuditLogSinkResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateApiKeyResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateAccountAuditLogSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -34586,7 +38718,7 @@ func (m *UpdateApiKeyResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteApiKeyRequest) Unmarshal(dAtA []byte) error { +func (m *DeleteAccountAuditLogSinkRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34609,15 +38741,15 @@ func (m *DeleteApiKeyRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteApiKeyRequest: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteAccountAuditLogSinkRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteApiKeyRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 KeyId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -34645,7 +38777,7 @@ func (m *DeleteApiKeyRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.KeyId = string(dAtA[iNdEx:postIndex]) + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -34735,7 +38867,7 @@ func (m *DeleteApiKeyRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteApiKeyResponse) Unmarshal(dAtA []byte) error { +func (m *DeleteAccountAuditLogSinkResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34758,10 +38890,10 @@ func (m *DeleteApiKeyResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteApiKeyResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteAccountAuditLogSinkResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteApiKeyResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteAccountAuditLogSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -40897,6 +45029,176 @@ func (m *ResendUserInviteResponse) Unmarshal(dAtA []byte) error { } 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 diff --git a/protogen/api/cloud/cloudservice/v1/service.pb.go b/protogen/api/cloud/cloudservice/v1/service.pb.go index ba353cac..54217757 100644 --- a/protogen/api/cloud/cloudservice/v1/service.pb.go +++ b/protogen/api/cloud/cloudservice/v1/service.pb.go @@ -30,156 +30,169 @@ func init() { } var fileDescriptor_9201a2f120d8d47c = []byte{ - // 2375 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x9b, 0x5f, 0x6c, 0x1c,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b, - 0xed, 0x87, 0x03, 0x3f, 0x9e, 0x94, 0xb2, 0x45, 0xec, 0xc5, 0x22, 0xca, 0x25, 0xbc, 0x10, 0x10, - 0x4f, 0x08, 0xc4, 0x47, 0xd9, 0xb1, 0x91, 0x37, 0x20, 0x7b, 0x93, 0xd0, 0x09, 0x39, 0x43, 0x22, - 0x73, 0x34, 0x25, 0x42, 0x75, 0x6b, 0x46, 0x0b, 0xcc, 0xa7, 0x04, 0xb3, 0x61, 0x8c, 0x66, 0x0e, - 0xf3, 0xf5, 0xbf, 0x84, 0x1e, 0x59, 0xe7, 0xe1, 0x77, 0xab, 0x7d, 0x3f, 0x70, 0xb7, 0x36, 0xb8, - 0xe5, 0xb5, 0x5e, 0x6a, 0x06, 0x81, 0x67, 0xdf, 0xee, 0x07, 0x9c, 0xdd, 0xd0, 0xc1, 0x18, 0x11, - 0x20, 0xb2, 0xb3, 0xb6, 0xef, 0x38, 0x60, 0x6d, 0x4d, 0x58, 0x6b, 0x1a, 0x17, 0x47, 0xcf, 0x87, - 0x9e, 0x08, 0x55, 0x6b, 0x89, 0x58, 0x35, 0x5f, 0x04, 0xab, 0x59, 0x51, 0xb4, 0xd0, 0xf9, 0x0f, - 0x08, 0x9d, 0x90, 0x4f, 0x0c, 0xe4, 0x80, 0xa5, 0x44, 0xa8, 0x01, 0xcb, 0x68, 0xd5, 0x24, 0xab, - 0xee, 0x91, 0x64, 0x7f, 0x21, 0x74, 0xe6, 0x86, 0x65, 0x77, 0xdd, 0xed, 0xc4, 0x03, 0x63, 0x9d, - 0x77, 0xc2, 0x19, 0x5d, 0xeb, 0x61, 0x53, 0x20, 0x8e, 0x3c, 0xac, 0xee, 0x2b, 0x06, 0x78, 0x59, - 0x12, 0x5e, 0xce, 0x1a, 0xb5, 0xd1, 0x23, 0xf4, 0x22, 0x84, 0xa9, 0x79, 0x42, 0x1e, 0x0e, 0xc9, - 0xdb, 0x84, 0xb2, 0x66, 0xbb, 0x9d, 0x76, 0xa6, 0xf5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0x6f, 0x75, 0x7c, 0xd4, 0x2b, 0x29, - 0x49, 0x61, 0x99, 0x57, 0x52, 0x54, 0x7d, 0x41, 0xf9, 0x55, 0x74, 0x08, 0x2b, 0x42, 0xd4, 0x02, - 0xab, 0x13, 0x66, 0xf9, 0xd5, 0x7f, 0x93, 0xfb, 0x0f, 0x2a, 0x63, 0xef, 0x3c, 0xa8, 0x8c, 0xbd, - 0xf7, 0xa0, 0x42, 0x3e, 0xbd, 0x53, 0x21, 0xaf, 0xed, 0x54, 0xc8, 0xdb, 0x3b, 0x15, 0x72, 0x7f, - 0xa7, 0x42, 0xde, 0xdd, 0xa9, 0x90, 0xbf, 0xef, 0x54, 0xc6, 0xde, 0xdb, 0xa9, 0x90, 0xcf, 0xed, - 0x56, 0xc6, 0xee, 0xef, 0x56, 0xc6, 0xde, 0xd9, 0xad, 0x8c, 0xd1, 0x13, 0xb6, 0xab, 0xc1, 0x7b, - 0x75, 0x1c, 0x36, 0xf4, 0x6f, 0x7a, 0x6e, 0xe0, 0xde, 0x24, 0x9f, 0x38, 0xdf, 0x49, 0xc8, 0x6c, - 0xb7, 0xf8, 0x77, 0x3c, 0x2b, 0xc9, 0xff, 0x7f, 0xe3, 0xc0, 0xf1, 0xe7, 0x41, 0x64, 0xbb, 0xf5, - 0x66, 0xcf, 0xae, 0x8b, 0x1f, 0xeb, 0xd4, 0x93, 0x3f, 0xd9, 0xa9, 0xdf, 0x9a, 0xff, 0xc7, 0x81, - 0x53, 0xc3, 0x66, 0x8d, 0x46, 0xb3, 0x67, 0x37, 0x1a, 0xa2, 0x09, 0xfc, 0x81, 0x96, 0x8d, 0xc6, - 0xad, 0xf9, 0xdb, 0xef, 0x13, 0x3f, 0xfc, 0x59, 0xf8, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x06, - 0x54, 0x02, 0x50, 0xa9, 0x34, 0x00, 0x00, + // 2588 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 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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, + 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c, 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. @@ -268,6 +281,8 @@ type CloudServiceClient interface { 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 @@ -283,6 +298,24 @@ type CloudServiceClient interface { // 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 @@ -347,8 +380,10 @@ type CloudServiceClient interface { // temporal:ui ResendUserInvite(ctx context.Context, in *ResendUserInviteRequest, opts ...grpc.CallOption) (*ResendUserInviteResponse, error) // Updates tags for a namespace - // temporal:dev 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 { @@ -692,6 +727,15 @@ func (c *cloudServiceClient) UpdateServiceAccount(ctx context.Context, in *Updat 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...) @@ -755,6 +799,60 @@ func (c *cloudServiceClient) GetAuditLogs(ctx context.Context, in *GetAuditLogsR 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...) @@ -989,6 +1087,15 @@ func (c *cloudServiceClient) UpdateNamespaceTags(ctx context.Context, in *Update 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 @@ -1065,6 +1172,8 @@ type CloudServiceServer interface { 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 @@ -1080,6 +1189,24 @@ type CloudServiceServer interface { // 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 @@ -1144,8 +1271,10 @@ type CloudServiceServer interface { // temporal:ui ResendUserInvite(context.Context, *ResendUserInviteRequest) (*ResendUserInviteResponse, error) // Updates tags for a namespace - // temporal:dev 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. @@ -1263,6 +1392,9 @@ func (*UnimplementedCloudServiceServer) GetServiceAccounts(ctx context.Context, 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") } @@ -1284,6 +1416,24 @@ func (*UnimplementedCloudServiceServer) DeleteApiKey(ctx context.Context, req *D 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") } @@ -1362,6 +1512,9 @@ func (*UnimplementedCloudServiceServer) ResendUserInvite(ctx context.Context, re 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) @@ -2033,6 +2186,24 @@ func _CloudService_UpdateServiceAccount_Handler(srv interface{}, ctx context.Con 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 { @@ -2159,6 +2330,114 @@ func _CloudService_GetAuditLogs_Handler(srv interface{}, ctx context.Context, de 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 { @@ -2627,6 +2906,24 @@ func _CloudService_UpdateNamespaceTags_Handler(srv interface{}, ctx context.Cont 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) +} + var _CloudService_serviceDesc = grpc.ServiceDesc{ ServiceName: "temporal.api.cloud.cloudservice.v1.CloudService", HandlerType: (*CloudServiceServer)(nil), @@ -2779,6 +3076,10 @@ var _CloudService_serviceDesc = grpc.ServiceDesc{ MethodName: "UpdateServiceAccount", Handler: _CloudService_UpdateServiceAccount_Handler, }, + { + MethodName: "SetServiceAccountNamespaceAccess", + Handler: _CloudService_SetServiceAccountNamespaceAccess_Handler, + }, { MethodName: "DeleteServiceAccount", Handler: _CloudService_DeleteServiceAccount_Handler, @@ -2807,6 +3108,30 @@ var _CloudService_serviceDesc = grpc.ServiceDesc{ 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, @@ -2911,6 +3236,10 @@ var _CloudService_serviceDesc = grpc.ServiceDesc{ MethodName: "UpdateNamespaceTags", Handler: _CloudService_UpdateNamespaceTags_Handler, }, + { + MethodName: "GetTagKeys", + Handler: _CloudService_GetTagKeys_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "temporal/api/cloud/cloudservice/v1/service.proto", diff --git a/protogen/api/cloud/namespace/v1/message.pb.go b/protogen/api/cloud/namespace/v1/message.pb.go index f5db349c..38dd86c2 100644 --- a/protogen/api/cloud/namespace/v1/message.pb.go +++ b/protogen/api/cloud/namespace/v1/message.pb.go @@ -204,7 +204,7 @@ var Migration_State_value = map[string]int32{ } func (Migration_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{19, 0} + return fileDescriptor_4ea8dce281a9b52e, []int{21, 0} } type MigrationReplica_State int32 @@ -235,7 +235,7 @@ var MigrationReplica_State_value = map[string]int32{ } func (MigrationReplica_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{20, 0} + return fileDescriptor_4ea8dce281a9b52e, []int{22, 0} } type CertificateFilterSpec struct { @@ -1368,6 +1368,12 @@ type Limits struct { // 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{} } @@ -1409,6 +1415,20 @@ func (m *Limits) GetActionsPerSecondLimit() int32 { return 0 } +func (m *Limits) GetRequestsPerSecondLimit() int32 { + if m != nil { + return m.RequestsPerSecondLimit + } + return 0 +} + +func (m *Limits) GetConcurrentTaskPollerLimit() int32 { + if m != nil { + return m.ConcurrentTaskPollerLimit + } + return 0 +} + type AWSPrivateLinkInfo struct { // 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"` @@ -1554,7 +1574,6 @@ type Namespace struct { // 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. - // temporal:dev 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 @@ -1962,6 +1981,7 @@ type MigrationSpec struct { // Types that are valid to be assigned to Spec: // // *MigrationSpec_ToCloudSpec + // *MigrationSpec_ToSelfHostedSpec Spec isMigrationSpec_Spec `protobuf_oneof:"spec"` } @@ -2007,8 +2027,12 @@ type isMigrationSpec_Spec interface { 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"` +} -func (*MigrationSpec_ToCloudSpec) isMigrationSpec_Spec() {} +func (*MigrationSpec_ToCloudSpec) isMigrationSpec_Spec() {} +func (*MigrationSpec_ToSelfHostedSpec) isMigrationSpec_Spec() {} func (m *MigrationSpec) GetSpec() isMigrationSpec_Spec { if m != nil { @@ -2031,10 +2055,18 @@ func (m *MigrationSpec) GetToCloudSpec() *MigrationToCloudSpec { return nil } +func (m *MigrationSpec) GetToSelfHostedSpec() *MigrationToSelfHostedSpec { + if x, ok := m.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), } } @@ -2092,6 +2124,132 @@ func (m *MigrationToCloudSpec) GetTargetNamespace() string { return "" } +// temporal:dev +type MigrationToSelfHostedSpec struct { + // 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 (m *MigrationToSelfHostedSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_MigrationToSelfHostedSpec.Merge(m, src) +} +func (m *MigrationToSelfHostedSpec) XXX_Size() int { + return m.Size() +} +func (m *MigrationToSelfHostedSpec) XXX_DiscardUnknown() { + xxx_messageInfo_MigrationToSelfHostedSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_MigrationToSelfHostedSpec proto.InternalMessageInfo + +func (m *MigrationToSelfHostedSpec) GetSourceNamespace() string { + if m != nil { + return m.SourceNamespace + } + return "" +} + +func (m *MigrationToSelfHostedSpec) GetTargetNamespace() string { + if m != nil { + return m.TargetNamespace + } + return "" +} + +// temporal:dev +type ReplicationEstimate struct { + // 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 + ReplicatedCount int64 `protobuf:"varint,2,opt,name=replicated_count,json=replicatedCount,proto3" json:"replicated_count,omitempty"` + // Number of workflows remaining to be replicated + RemainingCount int64 `protobuf:"varint,3,opt,name=remaining_count,json=remainingCount,proto3" json:"remaining_count,omitempty"` + // Replication rate (workflows per second) + 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 (m *ReplicationEstimate) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReplicationEstimate.Merge(m, src) +} +func (m *ReplicationEstimate) XXX_Size() int { + return m.Size() +} +func (m *ReplicationEstimate) XXX_DiscardUnknown() { + xxx_messageInfo_ReplicationEstimate.DiscardUnknown(m) +} + +var xxx_messageInfo_ReplicationEstimate proto.InternalMessageInfo + +func (m *ReplicationEstimate) GetTimeRemainingSeconds() int64 { + if m != nil { + return m.TimeRemainingSeconds + } + return 0 +} + +func (m *ReplicationEstimate) GetReplicatedCount() int64 { + if m != nil { + return m.ReplicatedCount + } + return 0 +} + +func (m *ReplicationEstimate) GetRemainingCount() int64 { + if m != nil { + return m.RemainingCount + } + return 0 +} + +func (m *ReplicationEstimate) GetRate() float64 { + if m != nil { + return m.Rate + } + return 0 +} + // temporal:dev type Migration struct { // The unique id of this migration. @@ -2103,17 +2261,21 @@ type Migration struct { // The source and destination replicas involved in the migration. Replicas []*MigrationReplica `protobuf:"bytes,4,rep,name=replicas,proto3" json:"replicas,omitempty"` // The number of workflows replicated. - ReplicatedWorkflows int64 `protobuf:"varint,5,opt,name=replicated_workflows,json=replicatedWorkflows,proto3" json:"replicated_workflows,omitempty"` + // 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. // The number of workflows remaining. - ReplicatedWorkflowsRemaining int64 `protobuf:"varint,6,opt,name=replicated_workflows_remaining,json=replicatedWorkflowsRemaining,proto3" json:"replicated_workflows_remaining,omitempty"` + // 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. // 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{19} + return fileDescriptor_4ea8dce281a9b52e, []int{21} } func (m *Migration) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2170,6 +2332,7 @@ func (m *Migration) GetReplicas() []*MigrationReplica { return nil } +// Deprecated: Do not use. func (m *Migration) GetReplicatedWorkflows() int64 { if m != nil { return m.ReplicatedWorkflows @@ -2177,6 +2340,7 @@ func (m *Migration) GetReplicatedWorkflows() int64 { return 0 } +// Deprecated: Do not use. func (m *Migration) GetReplicatedWorkflowsRemaining() int64 { if m != nil { return m.ReplicatedWorkflowsRemaining @@ -2191,6 +2355,13 @@ func (m *Migration) GetFailureMessage() string { return "" } +func (m *Migration) GetReplicationEstimate() *ReplicationEstimate { + if m != nil { + return m.ReplicationEstimate + } + return nil +} + // temporal:dev type MigrationReplica struct { // The id of this replica. Indicates whether the replica is on the source @@ -2203,7 +2374,7 @@ type MigrationReplica struct { func (m *MigrationReplica) Reset() { *m = MigrationReplica{} } func (*MigrationReplica) ProtoMessage() {} func (*MigrationReplica) Descriptor() ([]byte, []int) { - return fileDescriptor_4ea8dce281a9b52e, []int{20} + return fileDescriptor_4ea8dce281a9b52e, []int{22} } func (m *MigrationReplica) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2283,6 +2454,8 @@ func init() { 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") } @@ -2292,192 +2465,204 @@ func init() { } var fileDescriptor_4ea8dce281a9b52e = []byte{ - // 2948 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x5a, 0xcd, 0x6f, 0x23, 0xc7, - 0x95, 0x57, 0x93, 0xfa, 0xe2, 0x23, 0x25, 0xf5, 0x94, 0x3e, 0x4c, 0xd3, 0x33, 0x9c, 0x19, 0x8e, - 0xed, 0x19, 0xcf, 0xda, 0x94, 0x47, 0x63, 0xaf, 0xc7, 0xb2, 0x17, 0x8b, 0x16, 0xd9, 0x92, 0x68, - 0x4b, 0x22, 0xa7, 0x48, 0xcd, 0x78, 0x76, 0x61, 0x34, 0x4a, 0xcd, 0x12, 0x55, 0x56, 0xb3, 0x9b, - 0xee, 0x6e, 0x4a, 0xab, 0xf5, 0x65, 0xb1, 0x17, 0xe7, 0x90, 0x43, 0x0e, 0xb9, 0xe5, 0x12, 0x20, - 0x87, 0x38, 0x41, 0xfe, 0x86, 0x5c, 0x82, 0x20, 0x39, 0x3a, 0x37, 0x23, 0x01, 0x82, 0x78, 0x8c, - 0x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a, 0x43, 0x94, 0x4a, 0xab, 0xf6, 0x48, - 0x57, 0x53, 0xe8, 0x0a, 0xcc, 0x09, 0x4a, 0x43, 0x6b, 0x36, 0x03, 0x52, 0x1a, 0x21, 0x98, 0x17, - 0x24, 0xac, 0xef, 0xd6, 0x1f, 0x05, 0x8a, 0x93, 0x03, 0x45, 0x79, 0x73, 0x9b, 0x2a, 0xfd, 0x4c, - 0x81, 0x79, 0xfd, 0x7f, 0x7a, 0x8e, 0xeb, 0x37, 0x99, 0x7d, 0xfc, 0xac, 0xab, 0x5a, 0xf8, 0x54, - 0x99, 0x8a, 0x3d, 0x55, 0xa2, 0x35, 0x48, 0x79, 0xf7, 0x65, 0x87, 0x28, 0x25, 0x39, 0xcf, 0x63, - 0xf6, 0x71, 0xe0, 0xb7, 0xe6, 0x7d, 0xde, 0x15, 0x52, 0xde, 0x7d, 0xf4, 0x36, 0xa4, 0x3b, 0xa6, - 0x27, 0x6f, 0x6c, 0xb7, 0x9e, 0xa5, 0xb4, 0x55, 0x69, 0x72, 0xad, 0x40, 0xbe, 0xf4, 0x87, 0x49, - 0x80, 0x81, 0xad, 0x89, 0x76, 0x3e, 0x47, 0x73, 0xab, 0xc4, 0x3f, 0xfc, 0x77, 0xeb, 0x34, 0x15, - 0xd9, 0x21, 0x27, 0xc7, 0xbc, 0x2d, 0xc6, 0x5d, 0x2d, 0x5b, 0xe4, 0x07, 0x30, 0x7d, 0x44, 0x89, - 0xe5, 0x1f, 0xf1, 0x16, 0x35, 0x3f, 0xc6, 0x1b, 0xd3, 0x00, 0xa6, 0xbc, 0xcd, 0x35, 0xb1, 0x44, - 0x08, 0x5a, 0x50, 0xfc, 0x09, 0x75, 0x5a, 0xb4, 0x20, 0x3a, 0xfc, 0xc8, 0xf8, 0x10, 0x5e, 0x90, - 0x2f, 0x45, 0x6d, 0xe2, 0x13, 0x83, 0x72, 0x34, 0x51, 0x9a, 0x67, 0x2e, 0x2d, 0xcd, 0x4b, 0x42, - 0xb5, 0x4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x75, 0x51, 0xf9, 0xbf, 0xa7, 0x45, 0xe5, 0x8b, 0xa7, 0x45, 0xe5, 0xb7, 0x4f, 0x8b, 0xca, - 0x97, 0x4f, 0x8b, 0xca, 0x9f, 0x9e, 0x16, 0x95, 0xbf, 0x3c, 0x2d, 0x4e, 0x7c, 0xfb, 0xb4, 0xa8, - 0xfc, 0xe0, 0x9b, 0xe2, 0xc4, 0x97, 0xdf, 0x14, 0x27, 0xbe, 0xfa, 0xa6, 0x38, 0x01, 0x25, 0xe6, - 0x5c, 0xe6, 0xa2, 0x8d, 0x9c, 0xcc, 0x93, 0x46, 0xd0, 0x86, 0x1a, 0xca, 0x7f, 0xad, 0x76, 0x86, - 0x74, 0x98, 0x73, 0xc1, 0x7f, 0x1a, 0xbc, 0x17, 0x2d, 0x7e, 0x9e, 0xba, 0xd9, 0x92, 0xe2, 0xcc, - 0x29, 0x6b, 0x3d, 0x56, 0xe6, 0xe5, 0x77, 0x68, 0x44, 0x7f, 0x74, 0xef, 0xaf, 0xa9, 0x57, 0x06, - 0x32, 0xeb, 0xeb, 0x5a, 0x8f, 0xad, 0xaf, 0x73, 0xa9, 0xf5, 0xf5, 0x48, 0x6c, 0x7d, 0xfd, 0xd1, - 0xbd, 0x83, 0x69, 0xde, 0x0c, 0xef, 0xff, 0x23, 0x00, 0x00, 0xff, 0xff, 0xf5, 0xfe, 0xc1, 0xf3, - 0xe9, 0x20, 0x00, 0x00, + // 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, + 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x23, 0x00, 0x00, } func (x Capacity_Request_State) String() string { @@ -3163,6 +3348,12 @@ func (this *Limits) Equal(that interface{}) bool { 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 { @@ -3483,6 +3674,30 @@ func (this *MigrationSpec_ToCloudSpec) Equal(that interface{}) bool { } 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 @@ -3510,6 +3725,66 @@ func (this *MigrationToCloudSpec) Equal(that interface{}) bool { } 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 @@ -3555,6 +3830,9 @@ func (this *Migration) Equal(that interface{}) bool { if this.FailureMessage != that1.FailureMessage { return false } + if !this.ReplicationEstimate.Equal(that1.ReplicationEstimate) { + return false + } return true } func (this *MigrationReplica) Equal(that interface{}) bool { @@ -3870,9 +4148,11 @@ func (this *Limits) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 5) + 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, "") } @@ -4021,7 +4301,7 @@ func (this *MigrationSpec) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 6) + s := make([]string, 0, 7) s = append(s, "&namespace.MigrationSpec{") s = append(s, "MigrationEndpointId: "+fmt.Sprintf("%#v", this.MigrationEndpointId)+",\n") if this.Spec != nil { @@ -4038,6 +4318,14 @@ func (this *MigrationSpec_ToCloudSpec) GoString() string { `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" @@ -4049,11 +4337,35 @@ func (this *MigrationToCloudSpec) GoString() string { 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, 11) + s := make([]string, 0, 12) s = append(s, "&namespace.Migration{") s = append(s, "MigrationId: "+fmt.Sprintf("%#v", this.MigrationId)+",\n") if this.Spec != nil { @@ -4066,6 +4378,9 @@ func (this *Migration) GoString() string { 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, "") } @@ -4993,6 +5308,16 @@ func (m *Limits) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = 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-- @@ -5550,6 +5875,27 @@ func (m *MigrationSpec_ToCloudSpec) MarshalToSizedBuffer(dAtA []byte) (int, erro } 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) @@ -5587,7 +5933,7 @@ func (m *MigrationToCloudSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Migration) Marshal() (dAtA []byte, err error) { +func (m *MigrationToSelfHostedSpec) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5597,30 +5943,123 @@ func (m *Migration) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Migration) MarshalTo(dAtA []byte) (int, error) { +func (m *MigrationToSelfHostedSpec) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Migration) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MigrationToSelfHostedSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.FailureMessage) > 0 { - i -= len(m.FailureMessage) - copy(dAtA[i:], m.FailureMessage) - i = encodeVarintMessage(dAtA, i, uint64(len(m.FailureMessage))) + 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] = 0x3a + dAtA[i] = 0x12 } - if m.ReplicatedWorkflowsRemaining != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.ReplicatedWorkflowsRemaining)) + 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] = 0x30 + dAtA[i] = 0xa } - if m.ReplicatedWorkflows != 0 { - i = encodeVarintMessage(dAtA, i, uint64(m.ReplicatedWorkflows)) + 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 } @@ -6095,6 +6534,12 @@ func (m *Limits) Size() (n int) { 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 } @@ -6336,6 +6781,18 @@ func (m *MigrationSpec_ToCloudSpec) Size() (n int) { } 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 @@ -6353,6 +6810,44 @@ func (m *MigrationToCloudSpec) Size() (n int) { 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 @@ -6386,6 +6881,10 @@ func (m *Migration) Size() (n int) { 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 } @@ -6678,6 +7177,8 @@ func (this *Limits) String() string { } 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 @@ -6822,6 +7323,16 @@ func (this *MigrationSpec_ToCloudSpec) String() string { }, "") 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" @@ -6833,6 +7344,30 @@ func (this *MigrationToCloudSpec) String() string { }, "") 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" @@ -6850,6 +7385,7 @@ func (this *Migration) String() string { `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 @@ -9362,6 +9898,44 @@ func (m *Limits) Unmarshal(dAtA []byte) error { 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:]) @@ -11100,6 +11674,41 @@ func (m *MigrationSpec) Unmarshal(dAtA []byte) error { } 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:]) @@ -11241,6 +11850,244 @@ func (m *MigrationToCloudSpec) Unmarshal(dAtA []byte) error { } 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 @@ -11461,6 +12308,42 @@ func (m *Migration) Unmarshal(dAtA []byte) error { } 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:]) diff --git a/protogen/api/cloud/nexus/v1/message.pb.go b/protogen/api/cloud/nexus/v1/message.pb.go index adbca503..dbfdbea0 100644 --- a/protogen/api/cloud/nexus/v1/message.pb.go +++ b/protogen/api/cloud/nexus/v1/message.pb.go @@ -375,6 +375,9 @@ type Endpoint struct { CreatedTime *types.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"` + // 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{} } @@ -458,6 +461,13 @@ func (m *Endpoint) GetLastModifiedTime() *types.Timestamp { return nil } +func (m *Endpoint) GetProjectId() string { + if m != nil { + return m.ProjectId + } + return "" +} + func init() { proto.RegisterType((*EndpointSpec)(nil), "temporal.api.cloud.nexus.v1.EndpointSpec") proto.RegisterType((*EndpointTargetSpec)(nil), "temporal.api.cloud.nexus.v1.EndpointTargetSpec") @@ -472,53 +482,55 @@ func init() { } var fileDescriptor_799995496fe512b8 = []byte{ - // 734 bytes of a gzipped FileDescriptorProto + // 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, 0xdc, 0x4c, 0x22, 0x6e, 0x34, 0xd2, 0xbd, 0x8a, 0xa8, 0x70, 0x20, 0xad, - 0x54, 0x90, 0xa8, 0xad, 0xb4, 0xab, 0xba, 0x65, 0x91, 0x40, 0x25, 0x58, 0x40, 0x53, 0x13, 0x51, - 0xa9, 0x52, 0x65, 0x0d, 0xf6, 0x10, 0x8d, 0xb0, 0x3d, 0x53, 0xcf, 0x24, 0x94, 0x4d, 0xc5, 0x03, - 0x74, 0xd1, 0xc7, 0x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, + 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,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 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 { @@ -761,6 +773,9 @@ func (this *Endpoint) Equal(that interface{}) bool { if !this.LastModifiedTime.Equal(that1.LastModifiedTime) { return false } + if this.ProjectId != that1.ProjectId { + return false + } return true } func (this *EndpointSpec) GoString() string { @@ -848,7 +863,7 @@ func (this *Endpoint) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 11) + 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") @@ -863,6 +878,7 @@ func (this *Endpoint) GoString() string { 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, "") } @@ -1142,6 +1158,13 @@ func (m *Endpoint) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = 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]) @@ -1360,6 +1383,10 @@ func (m *Endpoint) Size() (n int) { 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 } @@ -1461,6 +1488,7 @@ func (this *Endpoint) String() string { `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 @@ -2326,6 +2354,38 @@ func (m *Endpoint) Unmarshal(dAtA []byte) error { 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:]) diff --git a/protogen/api/cloud/region/v1/message.pb.go b/protogen/api/cloud/region/v1/message.pb.go index 58241b83..8ddf28e5 100644 --- a/protogen/api/cloud/region/v1/message.pb.go +++ b/protogen/api/cloud/region/v1/message.pb.go @@ -66,6 +66,9 @@ type Region struct { CloudProviderRegion string `protobuf:"bytes,3,opt,name=cloud_provider_region,json=cloudProviderRegion,proto3" json:"cloud_provider_region,omitempty"` // The human readable location of the region. Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` + // 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"` } func (m *Region) Reset() { *m = Region{} } @@ -136,6 +139,13 @@ func (m *Region) GetLocation() string { return "" } +func (m *Region) GetConnectableRegionIds() []string { + if m != nil { + return m.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") @@ -146,33 +156,35 @@ func init() { } var fileDescriptor_ec4b65943296208a = []byte{ - // 402 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0xd2, 0x41, 0xcf, 0xd2, 0x30, - 0x18, 0x07, 0xf0, 0xb5, 0x2a, 0xd1, 0x46, 0x08, 0xa9, 0x51, 0x27, 0x31, 0x95, 0x70, 0x42, 0x0f, - 0x5d, 0x86, 0xb7, 0x9a, 0x98, 0xc0, 0x86, 0x86, 0x44, 0x65, 0x19,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 0xf7, 0xc7, 0x72, 0x18, 0x26, 0x1b, 0x76, 0x57, 0xb3, 0xfd, 0xba, 0x16, 0xa0, 0x62, 0x6e, 0x3f, - 0x4c, 0x50, 0xc5, 0xf9, 0xd0, 0xed, 0xbb, 0x81, 0xe7, 0x77, 0x07, 0x1d, 0xb7, 0xed, 0x07, 0xfd, - 0x4f, 0x3d, 0xaf, 0xed, 0x74, 0xde, 0x75, 0xda, 0x6e, 0xd9, 0xc0, 0x4f, 0x10, 0x3e, 0xfa, 0xde, - 0xfc, 0xd2, 0x2b, 0x83, 0x13, 0xef, 0xdf, 0x3b, 0x5e, 0x19, 0xb6, 0xfe, 0x83, 0xf9, 0x92, 0x18, - 0x8b, 0x25, 0x31, 0xd6, 0x4b, 0x02, 0x7e, 0xa5, 0x04, 0xfc, 0x49, 0x09, 0xf8, 0x97, 0x12, 0x30, - 0x4f, 0x09, 0xb8, 0x48, 0x09, 0xb8, 0x4a, 0x89, 0xb1, 0x4e, 0x09, 0xf8, 0xbd, 0x22, 0xc6, 0x7c, - 0x45, 0x8c, 0xc5, 0x8a, 0x18, 0xe8, 0x85, 0x90, 0x67, 0x9b, 0xd5, 0x7a, 0xf8, 0x31, 0xbb, 0x6b, - 0x6f, 0x73, 0xd5, 0x1e, 0xf8, 0xf6, 0x72, 0x74, 0x50, 0x20, 0xe4, 0xa9, 0xf1, 0x78, 0x93, 0x3d, - 0xfd, 0x85, 0xe4, 0xf3, 0x16, 0x0a, 0x49, 0x9b, 0x4a, 0x64, 0x1d, 0xdf, 0xb5, 0x7f, 0x60, 0x5f, - 0xc3, 0xda, 0x2d, 0x60, 0xac, 0xa9, 0x04, 0x63, 0x9a, 0x30, 0x96, 0x19, 0xc6, 0x06, 0xf6, 0xf7, - 0x82, 0x1e, 0xb2, 0xd7, 0x37, 0x01, 0x00, 0x00, 0xff, 0xff, 0x1b, 0x02, 0x42, 0xcf, 0x92, 0x02, - 0x00, 0x00, + // 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, 0x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xcc, + 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 { @@ -216,19 +228,28 @@ func (this *Region) Equal(that interface{}) bool { 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, 9) + 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, "") } @@ -260,6 +281,15 @@ func (m *Region) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = 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-- @@ -332,6 +362,12 @@ func (m *Region) Size() (n int) { 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 } @@ -351,6 +387,7 @@ func (this *Region) String() string { `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 @@ -539,6 +576,38 @@ func (m *Region) Unmarshal(dAtA []byte) error { 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:]) diff --git a/protogen/api/cloud/sink/v1/message.pb.go b/protogen/api/cloud/sink/v1/message.pb.go index d8a67f5b..ee278206 100644 --- a/protogen/api/cloud/sink/v1/message.pb.go +++ b/protogen/api/cloud/sink/v1/message.pb.go @@ -175,9 +175,135 @@ func (m *GCSSpec) GetRegion() string { return "" } +type KinesisSpec struct { + // 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. + DestinationUri string `protobuf:"bytes,2,opt,name=destination_uri,json=destinationUri,proto3" json:"destination_uri,omitempty"` + // The sink's region. + 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 (m *KinesisSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +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 + } + return b[:n], nil + } +} +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) +} + +var xxx_messageInfo_KinesisSpec proto.InternalMessageInfo + +func (m *KinesisSpec) GetRoleName() string { + if m != nil { + return m.RoleName + } + return "" +} + +func (m *KinesisSpec) GetDestinationUri() string { + if m != nil { + return m.DestinationUri + } + return "" +} + +func (m *KinesisSpec) GetRegion() string { + if m != nil { + return m.Region + } + return "" +} + +type PubSubSpec struct { + // 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 + TopicName string `protobuf:"bytes,2,opt,name=topic_name,json=topicName,proto3" json:"topic_name,omitempty"` + // The gcp project id of pubsub topic and service account + 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 (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() { @@ -185,32 +311,37 @@ func init() { } var fileDescriptor_b248175bea0f2dac = []byte{ - // 394 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xbd, 0xae, 0xd3, 0x30, - 0x18, 0x86, 0xe3, 0xd2, 0xd3, 0xc3, 0x31, 0x55, 0x87, 0x20, 0x41, 0xc4, 0x8f, 0xa9, 0xaa, 0x22, - 0x75, 0x72, 0x14, 0x75, 0x33, 0x53, 0xda, 0x01, 0x75, 0x00, 0x55, 0x04, 0x75, 0x60, 0x89, 0x5c, - 0xc7, 0x8a, 0x4c, 0x9a, 0xd8, 0x8a, 0xd3, 0x76, 0x42, 0xe2, 0x12, 0xb8, 0x01, 0x76, 0xc4, 0x95, - 0x30, 0x30, 0x74, 0xec, 0x48, 0xd3, 0x05, 0x31, 0xf5, 0x12, 0x50, 0xec, 0x22, 0x2a, 0x21, 0x74, - 0xa6, 0x28, 0xef, 0xfb, 0xe8, 0xf3, 0x23, 0x7f, 0x86, 0xa3, 0x8a, 0xe7, 0x4a, 0x96, 0x74, 0xe5, - 0x53, 0x25, 0x7c, 0xb6, 0x92, 0xeb, 0xc4, 0xd7, 0xa2, 0xc8, 0xfc, 0x4d, 0xe0, 0xe7, 0x5c, 0x6b, - 0x9a, 0x72, 0xac, 0x4a, 0x59, 0x49, 0xf7, 0xd1, 0x1f, 0x12, 0x53, 0x25, 0xb0, 0x21, 0x71, 0x43, - 0xe2, 0x4d, 0x30, 0xf8, 0x0c, 0x60, 0x27, 0x1a, 0x47, 0x8a, 0x33, 0xf7, 0x31, 0xbc, 0x29, 0xe5, - 0x8a, 0xc7, 0x05, 0xcd, 0xb9, 0x07, 0xfa, 0x60, 0x74, 0xf3, 0xe6, 0x6e, 0x13, 0xbc, 0xa6, 0x39, - 0x77, 0x9f, 0xc1, 0x7b, 0xcb, 0x35, 0xcb, 0x78, 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42, 0xe2, 0x50, 0x09, - 0x3c, 0x35, 0x53, 0xa3, 0x66, 0xea, 0x22, 0xf8, 0xd5, 0xea, 0xff, 0xad, 0x09, 0x09, 0x95, 0x20, - 0xc4, 0x00, 0x84, 0x34, 0x04, 0x21, 0x8b, 0x60, 0xd9, 0x31, 0x0f, 0x62, 0xfc, 0x3b, 0x00, 0x00, - 0xff, 0xff, 0x7d, 0x4b, 0xac, 0x4b, 0x3c, 0x02, 0x00, 0x00, + // 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, 0x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73, 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 { @@ -282,6 +413,66 @@ func (this *GCSSpec) Equal(that interface{}) bool { } return true } +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 + } + + 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.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" @@ -309,6 +500,30 @@ func (this *GCSSpec) GoString() string { 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() { @@ -426,6 +641,94 @@ func (m *GCSSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { 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 @@ -491,6 +794,48 @@ func (m *GCSSpec) Size() (n int) { return n } +func (m *KinesisSpec) 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.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 *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)) + } + 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 } @@ -524,12 +869,36 @@ func (this *GCSSpec) String() string { }, "") return s } -func valueToStringMessage(v interface{}) string { - rv := reflect.ValueOf(v) - if rv.IsNil() { +func (this *KinesisSpec) String() string { + if this == nil { return "nil" } - pv := reflect.Indirect(rv).Interface() + 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) } func (m *S3Spec) Unmarshal(dAtA []byte) error { @@ -926,6 +1295,304 @@ func (m *GCSSpec) Unmarshal(dAtA []byte) error { } 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 + } + } + + 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 + } + b := dAtA[iNdEx] + iNdEx++ + 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 + } + 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 diff --git a/protogen/api/namespaceservice/v1/request_response.pb.go b/protogen/api/namespaceservice/v1/request_response.pb.go index 420a9568..8e398072 100644 --- a/protogen/api/namespaceservice/v1/request_response.pb.go +++ b/protogen/api/namespaceservice/v1/request_response.pb.go @@ -18,7 +18,6 @@ import ( 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" - v14 "github.com/temporalio/tcld/protogen/api/sink/v1" ) // Reference imports to suppress errors if they are not otherwise used. @@ -877,26 +876,28 @@ func (m *DeleteNamespaceResponse) GetRequestStatus() *v12.RequestStatus { return nil } -type CreateExportSinkRequest struct { - // the namespace the sink is configured under +type FailoverNamespaceRequest struct { + // The namespace to be failed over. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // the spec for the sink - Spec *v14.ExportSinkSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,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"` + RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + // The target region is the region to be primary after the failover. + TargetRegion *v13.RegionID `protobuf:"bytes,3,opt,name=target_region,json=targetRegion,proto3" json:"target_region,omitempty"` + // This will skip graceful failover and fail over namespace without any condition. + SkipGracefulFailover bool `protobuf:"varint,4,opt,name=skip_graceful_failover,json=skipGracefulFailover,proto3" json:"skip_graceful_failover,omitempty"` } -func (m *CreateExportSinkRequest) Reset() { *m = CreateExportSinkRequest{} } -func (*CreateExportSinkRequest) ProtoMessage() {} -func (*CreateExportSinkRequest) Descriptor() ([]byte, []int) { +func (m *FailoverNamespaceRequest) Reset() { *m = FailoverNamespaceRequest{} } +func (*FailoverNamespaceRequest) ProtoMessage() {} +func (*FailoverNamespaceRequest) Descriptor() ([]byte, []int) { return fileDescriptor_667e39c23eb47b7c, []int{15} } -func (m *CreateExportSinkRequest) XXX_Unmarshal(b []byte) error { +func (m *FailoverNamespaceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CreateExportSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *FailoverNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CreateExportSinkRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_FailoverNamespaceRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -906,55 +907,62 @@ func (m *CreateExportSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } -func (m *CreateExportSinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateExportSinkRequest.Merge(m, src) +func (m *FailoverNamespaceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FailoverNamespaceRequest.Merge(m, src) } -func (m *CreateExportSinkRequest) XXX_Size() int { +func (m *FailoverNamespaceRequest) XXX_Size() int { return m.Size() } -func (m *CreateExportSinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateExportSinkRequest.DiscardUnknown(m) +func (m *FailoverNamespaceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FailoverNamespaceRequest.DiscardUnknown(m) } -var xxx_messageInfo_CreateExportSinkRequest proto.InternalMessageInfo +var xxx_messageInfo_FailoverNamespaceRequest proto.InternalMessageInfo -func (m *CreateExportSinkRequest) GetNamespace() string { +func (m *FailoverNamespaceRequest) GetNamespace() string { if m != nil { return m.Namespace } return "" } -func (m *CreateExportSinkRequest) GetSpec() *v14.ExportSinkSpec { +func (m *FailoverNamespaceRequest) GetRequestId() string { if m != nil { - return m.Spec + return m.RequestId + } + return "" +} + +func (m *FailoverNamespaceRequest) GetTargetRegion() *v13.RegionID { + if m != nil { + return m.TargetRegion } return nil } -func (m *CreateExportSinkRequest) GetRequestId() string { +func (m *FailoverNamespaceRequest) GetSkipGracefulFailover() bool { if m != nil { - return m.RequestId + return m.SkipGracefulFailover } - return "" + return false } -type CreateExportSinkResponse struct { - // the request status of the create operation +type FailoverNamespaceResponse struct { + // Failover status RequestStatus *v12.RequestStatus `protobuf:"bytes,1,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` } -func (m *CreateExportSinkResponse) Reset() { *m = CreateExportSinkResponse{} } -func (*CreateExportSinkResponse) ProtoMessage() {} -func (*CreateExportSinkResponse) Descriptor() ([]byte, []int) { +func (m *FailoverNamespaceResponse) Reset() { *m = FailoverNamespaceResponse{} } +func (*FailoverNamespaceResponse) ProtoMessage() {} +func (*FailoverNamespaceResponse) Descriptor() ([]byte, []int) { return fileDescriptor_667e39c23eb47b7c, []int{16} } -func (m *CreateExportSinkResponse) XXX_Unmarshal(b []byte) error { +func (m *FailoverNamespaceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *CreateExportSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *FailoverNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_CreateExportSinkResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_FailoverNamespaceResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -964,43 +972,45 @@ func (m *CreateExportSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } -func (m *CreateExportSinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateExportSinkResponse.Merge(m, src) +func (m *FailoverNamespaceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FailoverNamespaceResponse.Merge(m, src) } -func (m *CreateExportSinkResponse) XXX_Size() int { +func (m *FailoverNamespaceResponse) XXX_Size() int { return m.Size() } -func (m *CreateExportSinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateExportSinkResponse.DiscardUnknown(m) +func (m *FailoverNamespaceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FailoverNamespaceResponse.DiscardUnknown(m) } -var xxx_messageInfo_CreateExportSinkResponse proto.InternalMessageInfo +var xxx_messageInfo_FailoverNamespaceResponse proto.InternalMessageInfo -func (m *CreateExportSinkResponse) GetRequestStatus() *v12.RequestStatus { +func (m *FailoverNamespaceResponse) GetRequestStatus() *v12.RequestStatus { if m != nil { return m.RequestStatus } return nil } -type GetExportSinkRequest struct { - // the namespace the sink is scoped to - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // the sink name under the namespace to retrieve - SinkName string `protobuf:"bytes,2,opt,name=sink_name,json=sinkName,proto3" json:"sink_name,omitempty"` +type ReplicationStatus struct { + // 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"` } -func (m *GetExportSinkRequest) Reset() { *m = GetExportSinkRequest{} } -func (*GetExportSinkRequest) ProtoMessage() {} -func (*GetExportSinkRequest) Descriptor() ([]byte, []int) { +func (m *ReplicationStatus) Reset() { *m = ReplicationStatus{} } +func (*ReplicationStatus) ProtoMessage() {} +func (*ReplicationStatus) Descriptor() ([]byte, []int) { return fileDescriptor_667e39c23eb47b7c, []int{17} } -func (m *GetExportSinkRequest) XXX_Unmarshal(b []byte) error { +func (m *ReplicationStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetExportSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ReplicationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetExportSinkRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_ReplicationStatus.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1010,99 +1020,59 @@ func (m *GetExportSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *GetExportSinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetExportSinkRequest.Merge(m, src) +func (m *ReplicationStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReplicationStatus.Merge(m, src) } -func (m *GetExportSinkRequest) XXX_Size() int { +func (m *ReplicationStatus) XXX_Size() int { return m.Size() } -func (m *GetExportSinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetExportSinkRequest.DiscardUnknown(m) +func (m *ReplicationStatus) XXX_DiscardUnknown() { + xxx_messageInfo_ReplicationStatus.DiscardUnknown(m) } -var xxx_messageInfo_GetExportSinkRequest proto.InternalMessageInfo +var xxx_messageInfo_ReplicationStatus proto.InternalMessageInfo -func (m *GetExportSinkRequest) GetNamespace() string { +func (m *ReplicationStatus) GetSourceRegion() *v13.RegionID { if m != nil { - return m.Namespace + return m.SourceRegion } - return "" + return nil } -func (m *GetExportSinkRequest) GetSinkName() string { +func (m *ReplicationStatus) GetTargetRegion() *v13.RegionID { if m != nil { - return m.SinkName - } - return "" -} - -type GetExportSinkResponse struct { - // the sink - Sink *v14.ExportSink `protobuf:"bytes,1,opt,name=sink,proto3" json:"sink,omitempty"` -} - -func (m *GetExportSinkResponse) Reset() { *m = GetExportSinkResponse{} } -func (*GetExportSinkResponse) ProtoMessage() {} -func (*GetExportSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{18} -} -func (m *GetExportSinkResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetExportSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetExportSinkResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil + return m.TargetRegion } + return nil } -func (m *GetExportSinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetExportSinkResponse.Merge(m, src) -} -func (m *GetExportSinkResponse) XXX_Size() int { - return m.Size() -} -func (m *GetExportSinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetExportSinkResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetExportSinkResponse proto.InternalMessageInfo -func (m *GetExportSinkResponse) GetSink() *v14.ExportSink { +func (m *ReplicationStatus) GetReplicationLag() *types.Duration { if m != nil { - return m.Sink + return m.ReplicationLag } return nil } -type DeleteExportSinkRequest struct { - // the namespace the sink is scoped to +type ListFailoverHistoryByNamespaceRequest struct { + // The namespace to get failover history. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // the sink name under the namespace to delete - SinkName string `protobuf:"bytes,2,opt,name=sink_name,json=sinkName,proto3" json:"sink_name,omitempty"` - // the version of the sink for which this delete is intended for - // the latest version can be found by getting the sink - ResourceVersion string `protobuf:"bytes,3,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` - // the request id to use for this operation - optional - RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + // List request pagination size, defaults to 100, max 1000 + PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // Next pagination token. + NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` } -func (m *DeleteExportSinkRequest) Reset() { *m = DeleteExportSinkRequest{} } -func (*DeleteExportSinkRequest) ProtoMessage() {} -func (*DeleteExportSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{19} +func (m *ListFailoverHistoryByNamespaceRequest) Reset() { *m = ListFailoverHistoryByNamespaceRequest{} } +func (*ListFailoverHistoryByNamespaceRequest) ProtoMessage() {} +func (*ListFailoverHistoryByNamespaceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_667e39c23eb47b7c, []int{18} } -func (m *DeleteExportSinkRequest) XXX_Unmarshal(b []byte) error { +func (m *ListFailoverHistoryByNamespaceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *DeleteExportSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ListFailoverHistoryByNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_DeleteExportSinkRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_ListFailoverHistoryByNamespaceRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1112,62 +1082,59 @@ func (m *DeleteExportSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } -func (m *DeleteExportSinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteExportSinkRequest.Merge(m, src) +func (m *ListFailoverHistoryByNamespaceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListFailoverHistoryByNamespaceRequest.Merge(m, src) } -func (m *DeleteExportSinkRequest) XXX_Size() int { +func (m *ListFailoverHistoryByNamespaceRequest) XXX_Size() int { return m.Size() } -func (m *DeleteExportSinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteExportSinkRequest.DiscardUnknown(m) +func (m *ListFailoverHistoryByNamespaceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListFailoverHistoryByNamespaceRequest.DiscardUnknown(m) } -var xxx_messageInfo_DeleteExportSinkRequest proto.InternalMessageInfo +var xxx_messageInfo_ListFailoverHistoryByNamespaceRequest proto.InternalMessageInfo -func (m *DeleteExportSinkRequest) GetNamespace() string { +func (m *ListFailoverHistoryByNamespaceRequest) GetNamespace() string { if m != nil { return m.Namespace } return "" } -func (m *DeleteExportSinkRequest) GetSinkName() string { +func (m *ListFailoverHistoryByNamespaceRequest) GetPageSize() int32 { if m != nil { - return m.SinkName + return m.PageSize } - return "" + return 0 } -func (m *DeleteExportSinkRequest) GetResourceVersion() string { +func (m *ListFailoverHistoryByNamespaceRequest) GetNextPageToken() []byte { if m != nil { - return m.ResourceVersion + return m.NextPageToken } - return "" + return nil } -func (m *DeleteExportSinkRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" +type ListFailoverHistoryByNamespaceResponse struct { + // 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"` } -type DeleteExportSinkResponse struct { - // 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 *ListFailoverHistoryByNamespaceResponse) Reset() { + *m = ListFailoverHistoryByNamespaceResponse{} } - -func (m *DeleteExportSinkResponse) Reset() { *m = DeleteExportSinkResponse{} } -func (*DeleteExportSinkResponse) ProtoMessage() {} -func (*DeleteExportSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{20} +func (*ListFailoverHistoryByNamespaceResponse) ProtoMessage() {} +func (*ListFailoverHistoryByNamespaceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_667e39c23eb47b7c, []int{19} } -func (m *DeleteExportSinkResponse) XXX_Unmarshal(b []byte) error { +func (m *ListFailoverHistoryByNamespaceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *DeleteExportSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ListFailoverHistoryByNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_DeleteExportSinkResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_ListFailoverHistoryByNamespaceResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1177,48 +1144,54 @@ func (m *DeleteExportSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } -func (m *DeleteExportSinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteExportSinkResponse.Merge(m, src) +func (m *ListFailoverHistoryByNamespaceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListFailoverHistoryByNamespaceResponse.Merge(m, src) } -func (m *DeleteExportSinkResponse) XXX_Size() int { +func (m *ListFailoverHistoryByNamespaceResponse) XXX_Size() int { return m.Size() } -func (m *DeleteExportSinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteExportSinkResponse.DiscardUnknown(m) +func (m *ListFailoverHistoryByNamespaceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListFailoverHistoryByNamespaceResponse.DiscardUnknown(m) } -var xxx_messageInfo_DeleteExportSinkResponse proto.InternalMessageInfo +var xxx_messageInfo_ListFailoverHistoryByNamespaceResponse proto.InternalMessageInfo -func (m *DeleteExportSinkResponse) GetRequestStatus() *v12.RequestStatus { +func (m *ListFailoverHistoryByNamespaceResponse) GetFailoverHistory() []*FailoverRecord { if m != nil { - return m.RequestStatus + return m.FailoverHistory } return nil } -type UpdateExportSinkRequest struct { - // the namespace the sink is scoped to - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // the updated sink specification - Spec *v14.ExportSinkSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` - // the version of the sink for which this update is intended for - // the latest version can be found by getting the sink - ResourceVersion string `protobuf:"bytes,3,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` - // the request id to use for this operation - optional - RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` +func (m *ListFailoverHistoryByNamespaceResponse) GetNextPageToken() []byte { + if m != nil { + return m.NextPageToken + } + return nil } -func (m *UpdateExportSinkRequest) Reset() { *m = UpdateExportSinkRequest{} } -func (*UpdateExportSinkRequest) ProtoMessage() {} -func (*UpdateExportSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{21} +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"` +} + +func (m *FailoverRecord) Reset() { *m = FailoverRecord{} } +func (*FailoverRecord) ProtoMessage() {} +func (*FailoverRecord) Descriptor() ([]byte, []int) { + return fileDescriptor_667e39c23eb47b7c, []int{20} } -func (m *UpdateExportSinkRequest) XXX_Unmarshal(b []byte) error { +func (m *FailoverRecord) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *UpdateExportSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *FailoverRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_UpdateExportSinkRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_FailoverRecord.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1228,109 +1201,97 @@ func (m *UpdateExportSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } -func (m *UpdateExportSinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateExportSinkRequest.Merge(m, src) +func (m *FailoverRecord) XXX_Merge(src proto.Message) { + xxx_messageInfo_FailoverRecord.Merge(m, src) } -func (m *UpdateExportSinkRequest) XXX_Size() int { +func (m *FailoverRecord) XXX_Size() int { return m.Size() } -func (m *UpdateExportSinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateExportSinkRequest.DiscardUnknown(m) +func (m *FailoverRecord) XXX_DiscardUnknown() { + xxx_messageInfo_FailoverRecord.DiscardUnknown(m) } -var xxx_messageInfo_UpdateExportSinkRequest proto.InternalMessageInfo +var xxx_messageInfo_FailoverRecord proto.InternalMessageInfo -func (m *UpdateExportSinkRequest) GetNamespace() string { +func (m *FailoverRecord) GetFailoverType() v13.FailoverType { if m != nil { - return m.Namespace + return m.FailoverType } - return "" + return v13.FAILOVER_TYPE_UNSPECIFIED } -func (m *UpdateExportSinkRequest) GetSpec() *v14.ExportSinkSpec { +func (m *FailoverRecord) GetSourceRegion() *v13.RegionID { if m != nil { - return m.Spec + return m.SourceRegion } return nil } -func (m *UpdateExportSinkRequest) GetResourceVersion() string { +func (m *FailoverRecord) GetTargetRegion() *v13.RegionID { if m != nil { - return m.ResourceVersion + return m.TargetRegion } - return "" + return nil } -func (m *UpdateExportSinkRequest) GetRequestId() string { +func (m *FailoverRecord) GetStartTimeUtc() *types.Timestamp { if m != nil { - return m.RequestId + return m.StartTimeUtc } - return "" + return nil } -type UpdateExportSinkResponse struct { - // 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 *FailoverRecord) GetEndTimeUtc() *types.Timestamp { + if m != nil { + return m.EndTimeUtc + } + return nil } -func (m *UpdateExportSinkResponse) Reset() { *m = UpdateExportSinkResponse{} } -func (*UpdateExportSinkResponse) ProtoMessage() {} -func (*UpdateExportSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{22} -} -func (m *UpdateExportSinkResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *UpdateExportSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_UpdateExportSinkResponse.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 *FailoverRecord) GetStatus() v13.FailoverStatus { + if m != nil { + return m.Status } -} -func (m *UpdateExportSinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateExportSinkResponse.Merge(m, src) -} -func (m *UpdateExportSinkResponse) XXX_Size() int { - return m.Size() -} -func (m *UpdateExportSinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateExportSinkResponse.DiscardUnknown(m) + return v13.FAILOVER_STATUS_UNSPECIFIED } -var xxx_messageInfo_UpdateExportSinkResponse proto.InternalMessageInfo - -func (m *UpdateExportSinkResponse) GetRequestStatus() *v12.RequestStatus { +func (m *FailoverRecord) GetOperator() string { if m != nil { - return m.RequestStatus + return m.Operator } - return nil + return "" } -type ListExportSinksRequest struct { - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // the requested size of the page to retrieve - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // the page token - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` +func (m *FailoverRecord) GetReason() string { + if m != nil { + return m.Reason + } + return "" } -func (m *ListExportSinksRequest) Reset() { *m = ListExportSinksRequest{} } -func (*ListExportSinksRequest) ProtoMessage() {} -func (*ListExportSinksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{23} +type GlobalizeNamespaceRequest struct { + // 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 + RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + // The target region to be added into global namespace. + TargetRegion *v13.RegionID `protobuf:"bytes,3,opt,name=target_region,json=targetRegion,proto3" json:"target_region,omitempty"` + // the version of the namespace for which this update is intended for + // the latest version can be found in the namespace status. + ResourceVersion string `protobuf:"bytes,4,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` } -func (m *ListExportSinksRequest) XXX_Unmarshal(b []byte) error { + +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 *ListExportSinksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GlobalizeNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ListExportSinksRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_GlobalizeNamespaceRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1340,57 +1301,62 @@ func (m *ListExportSinksRequest) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } -func (m *ListExportSinksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListExportSinksRequest.Merge(m, src) +func (m *GlobalizeNamespaceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GlobalizeNamespaceRequest.Merge(m, src) } -func (m *ListExportSinksRequest) XXX_Size() int { +func (m *GlobalizeNamespaceRequest) XXX_Size() int { return m.Size() } -func (m *ListExportSinksRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListExportSinksRequest.DiscardUnknown(m) +func (m *GlobalizeNamespaceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GlobalizeNamespaceRequest.DiscardUnknown(m) } -var xxx_messageInfo_ListExportSinksRequest proto.InternalMessageInfo +var xxx_messageInfo_GlobalizeNamespaceRequest proto.InternalMessageInfo -func (m *ListExportSinksRequest) GetNamespace() string { +func (m *GlobalizeNamespaceRequest) GetNamespace() string { if m != nil { return m.Namespace } return "" } -func (m *ListExportSinksRequest) GetPageSize() int32 { +func (m *GlobalizeNamespaceRequest) GetRequestId() string { if m != nil { - return m.PageSize + return m.RequestId } - return 0 + return "" } -func (m *ListExportSinksRequest) GetPageToken() string { +func (m *GlobalizeNamespaceRequest) GetTargetRegion() *v13.RegionID { if m != nil { - return m.PageToken + return m.TargetRegion + } + return nil +} + +func (m *GlobalizeNamespaceRequest) GetResourceVersion() string { + if m != nil { + return m.ResourceVersion } return "" } -type ListExportSinksResponse struct { - // the list of export sink names - SinkNames []string `protobuf:"bytes,1,rep,name=sink_names,json=sinkNames,proto3" json:"sink_names,omitempty"` - // the next page's token - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` +type GlobalizeNamespaceResponse struct { + // Request status + RequestStatus *v12.RequestStatus `protobuf:"bytes,1,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` } -func (m *ListExportSinksResponse) Reset() { *m = ListExportSinksResponse{} } -func (*ListExportSinksResponse) ProtoMessage() {} -func (*ListExportSinksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{24} +func (m *GlobalizeNamespaceResponse) Reset() { *m = GlobalizeNamespaceResponse{} } +func (*GlobalizeNamespaceResponse) ProtoMessage() {} +func (*GlobalizeNamespaceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_667e39c23eb47b7c, []int{22} } -func (m *ListExportSinksResponse) XXX_Unmarshal(b []byte) error { +func (m *GlobalizeNamespaceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ListExportSinksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GlobalizeNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ListExportSinksResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_GlobalizeNamespaceResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1400,51 +1366,41 @@ func (m *ListExportSinksResponse) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } -func (m *ListExportSinksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListExportSinksResponse.Merge(m, src) +func (m *GlobalizeNamespaceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GlobalizeNamespaceResponse.Merge(m, src) } -func (m *ListExportSinksResponse) XXX_Size() int { +func (m *GlobalizeNamespaceResponse) XXX_Size() int { return m.Size() } -func (m *ListExportSinksResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListExportSinksResponse.DiscardUnknown(m) +func (m *GlobalizeNamespaceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GlobalizeNamespaceResponse.DiscardUnknown(m) } -var xxx_messageInfo_ListExportSinksResponse proto.InternalMessageInfo +var xxx_messageInfo_GlobalizeNamespaceResponse proto.InternalMessageInfo -func (m *ListExportSinksResponse) GetSinkNames() []string { +func (m *GlobalizeNamespaceResponse) GetRequestStatus() *v12.RequestStatus { if m != nil { - return m.SinkNames + return m.RequestStatus } return nil } -func (m *ListExportSinksResponse) GetNextPageToken() string { - if m != nil { - return m.NextPageToken - } - return "" -} - -type GetExportSinksRequest struct { +type ValidateGlobalizeNamespaceRequest struct { + // The namespace to be validated Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // the requested size of the page to retrieve - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // the page token - PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *GetExportSinksRequest) Reset() { *m = GetExportSinksRequest{} } -func (*GetExportSinksRequest) ProtoMessage() {} -func (*GetExportSinksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{25} +func (m *ValidateGlobalizeNamespaceRequest) Reset() { *m = ValidateGlobalizeNamespaceRequest{} } +func (*ValidateGlobalizeNamespaceRequest) ProtoMessage() {} +func (*ValidateGlobalizeNamespaceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_667e39c23eb47b7c, []int{23} } -func (m *GetExportSinksRequest) XXX_Unmarshal(b []byte) error { +func (m *ValidateGlobalizeNamespaceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetExportSinksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ValidateGlobalizeNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetExportSinksRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_ValidateGlobalizeNamespaceRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1454,57 +1410,43 @@ func (m *GetExportSinksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *GetExportSinksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetExportSinksRequest.Merge(m, src) +func (m *ValidateGlobalizeNamespaceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ValidateGlobalizeNamespaceRequest.Merge(m, src) } -func (m *GetExportSinksRequest) XXX_Size() int { +func (m *ValidateGlobalizeNamespaceRequest) XXX_Size() int { return m.Size() } -func (m *GetExportSinksRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetExportSinksRequest.DiscardUnknown(m) +func (m *ValidateGlobalizeNamespaceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ValidateGlobalizeNamespaceRequest.DiscardUnknown(m) } -var xxx_messageInfo_GetExportSinksRequest proto.InternalMessageInfo +var xxx_messageInfo_ValidateGlobalizeNamespaceRequest proto.InternalMessageInfo -func (m *GetExportSinksRequest) GetNamespace() string { +func (m *ValidateGlobalizeNamespaceRequest) GetNamespace() string { if m != nil { return m.Namespace } return "" } -func (m *GetExportSinksRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize - } - return 0 -} - -func (m *GetExportSinksRequest) GetPageToken() string { - if m != nil { - return m.PageToken - } - return "" -} - -type GetExportSinksResponse struct { - // the list of export sinks - Sinks []*v14.ExportSink `protobuf:"bytes,1,rep,name=sinks,proto3" json:"sinks,omitempty"` - // the next page's token - NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` +type ValidateGlobalizeNamespaceResponse struct { + // 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 *GetExportSinksResponse) Reset() { *m = GetExportSinksResponse{} } -func (*GetExportSinksResponse) ProtoMessage() {} -func (*GetExportSinksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{26} +func (m *ValidateGlobalizeNamespaceResponse) Reset() { *m = ValidateGlobalizeNamespaceResponse{} } +func (*ValidateGlobalizeNamespaceResponse) ProtoMessage() {} +func (*ValidateGlobalizeNamespaceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_667e39c23eb47b7c, []int{24} } -func (m *GetExportSinksResponse) XXX_Unmarshal(b []byte) error { +func (m *ValidateGlobalizeNamespaceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetExportSinksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ValidateGlobalizeNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetExportSinksResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_ValidateGlobalizeNamespaceResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1514,50 +1456,52 @@ func (m *GetExportSinksResponse) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } -func (m *GetExportSinksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetExportSinksResponse.Merge(m, src) +func (m *ValidateGlobalizeNamespaceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ValidateGlobalizeNamespaceResponse.Merge(m, src) } -func (m *GetExportSinksResponse) XXX_Size() int { +func (m *ValidateGlobalizeNamespaceResponse) XXX_Size() int { return m.Size() } -func (m *GetExportSinksResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetExportSinksResponse.DiscardUnknown(m) +func (m *ValidateGlobalizeNamespaceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ValidateGlobalizeNamespaceResponse.DiscardUnknown(m) } -var xxx_messageInfo_GetExportSinksResponse proto.InternalMessageInfo +var xxx_messageInfo_ValidateGlobalizeNamespaceResponse proto.InternalMessageInfo -func (m *GetExportSinksResponse) GetSinks() []*v14.ExportSink { +func (m *ValidateGlobalizeNamespaceResponse) GetSuccess() bool { if m != nil { - return m.Sinks + return m.Success } - return nil + return false } -func (m *GetExportSinksResponse) GetNextPageToken() string { +func (m *ValidateGlobalizeNamespaceResponse) GetFailureReason() string { if m != nil { - return m.NextPageToken + return m.FailureReason } return "" } -type ValidateExportSinkRequest struct { - // the namespace the sink is scoped to +type ListReplicaStatusRequest struct { + // The namespace to get replica status from. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - // the sink specification needs to be validated - Spec *v14.ExportSinkSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + // the requested size of the page to retrieve + PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + // the page token + PageToken []byte `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` } -func (m *ValidateExportSinkRequest) Reset() { *m = ValidateExportSinkRequest{} } -func (*ValidateExportSinkRequest) ProtoMessage() {} -func (*ValidateExportSinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{27} +func (m *ListReplicaStatusRequest) Reset() { *m = ListReplicaStatusRequest{} } +func (*ListReplicaStatusRequest) ProtoMessage() {} +func (*ListReplicaStatusRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_667e39c23eb47b7c, []int{25} } -func (m *ValidateExportSinkRequest) XXX_Unmarshal(b []byte) error { +func (m *ListReplicaStatusRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ValidateExportSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ListReplicaStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ValidateExportSinkRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_ListReplicaStatusRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1567,89 +1511,57 @@ func (m *ValidateExportSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } -func (m *ValidateExportSinkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidateExportSinkRequest.Merge(m, src) +func (m *ListReplicaStatusRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListReplicaStatusRequest.Merge(m, src) } -func (m *ValidateExportSinkRequest) XXX_Size() int { +func (m *ListReplicaStatusRequest) XXX_Size() int { return m.Size() } -func (m *ValidateExportSinkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ValidateExportSinkRequest.DiscardUnknown(m) +func (m *ListReplicaStatusRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListReplicaStatusRequest.DiscardUnknown(m) } -var xxx_messageInfo_ValidateExportSinkRequest proto.InternalMessageInfo +var xxx_messageInfo_ListReplicaStatusRequest proto.InternalMessageInfo -func (m *ValidateExportSinkRequest) GetNamespace() string { +func (m *ListReplicaStatusRequest) GetNamespace() string { if m != nil { return m.Namespace } return "" } -func (m *ValidateExportSinkRequest) GetSpec() *v14.ExportSinkSpec { +func (m *ListReplicaStatusRequest) GetPageSize() int32 { if m != nil { - return m.Spec + return m.PageSize } - return nil -} - -type ValidateExportSinkResponse struct { + return 0 } -func (m *ValidateExportSinkResponse) Reset() { *m = ValidateExportSinkResponse{} } -func (*ValidateExportSinkResponse) ProtoMessage() {} -func (*ValidateExportSinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{28} -} -func (m *ValidateExportSinkResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ValidateExportSinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ValidateExportSinkResponse.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 *ListReplicaStatusRequest) GetPageToken() []byte { + if m != nil { + return m.PageToken } -} -func (m *ValidateExportSinkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidateExportSinkResponse.Merge(m, src) -} -func (m *ValidateExportSinkResponse) XXX_Size() int { - return m.Size() -} -func (m *ValidateExportSinkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ValidateExportSinkResponse.DiscardUnknown(m) + return nil } -var xxx_messageInfo_ValidateExportSinkResponse proto.InternalMessageInfo - -type FailoverNamespaceRequest struct { - // 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 - RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // The target region is the region to be primary after the failover. - TargetRegion *v13.RegionID `protobuf:"bytes,3,opt,name=target_region,json=targetRegion,proto3" json:"target_region,omitempty"` - // This will skip graceful failover and fail over namespace without any condition. - SkipGracefulFailover bool `protobuf:"varint,4,opt,name=skip_graceful_failover,json=skipGracefulFailover,proto3" json:"skip_graceful_failover,omitempty"` +type ListReplicaStatusResponse struct { + // 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 *FailoverNamespaceRequest) Reset() { *m = FailoverNamespaceRequest{} } -func (*FailoverNamespaceRequest) ProtoMessage() {} -func (*FailoverNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{29} +func (m *ListReplicaStatusResponse) Reset() { *m = ListReplicaStatusResponse{} } +func (*ListReplicaStatusResponse) ProtoMessage() {} +func (*ListReplicaStatusResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_667e39c23eb47b7c, []int{26} } -func (m *FailoverNamespaceRequest) XXX_Unmarshal(b []byte) error { +func (m *ListReplicaStatusResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *FailoverNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ListReplicaStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_FailoverNamespaceRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_ListReplicaStatusResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1659,854 +1571,443 @@ func (m *FailoverNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } -func (m *FailoverNamespaceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FailoverNamespaceRequest.Merge(m, src) +func (m *ListReplicaStatusResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListReplicaStatusResponse.Merge(m, src) } -func (m *FailoverNamespaceRequest) XXX_Size() int { +func (m *ListReplicaStatusResponse) XXX_Size() int { return m.Size() } -func (m *FailoverNamespaceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FailoverNamespaceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_FailoverNamespaceRequest proto.InternalMessageInfo - -func (m *FailoverNamespaceRequest) GetNamespace() string { - if m != nil { - return m.Namespace - } - return "" +func (m *ListReplicaStatusResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListReplicaStatusResponse.DiscardUnknown(m) } -func (m *FailoverNamespaceRequest) GetRequestId() string { - if m != nil { - return m.RequestId - } - return "" -} +var xxx_messageInfo_ListReplicaStatusResponse proto.InternalMessageInfo -func (m *FailoverNamespaceRequest) GetTargetRegion() *v13.RegionID { +func (m *ListReplicaStatusResponse) GetStatuses() []*v13.ReplicaStatus { if m != nil { - return m.TargetRegion + return m.Statuses } return nil } -func (m *FailoverNamespaceRequest) GetSkipGracefulFailover() bool { +func (m *ListReplicaStatusResponse) GetPageToken() []byte { if m != nil { - return m.SkipGracefulFailover + return m.PageToken } - return false -} - -type FailoverNamespaceResponse struct { - // Failover status - RequestStatus *v12.RequestStatus `protobuf:"bytes,1,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` + return nil } -func (m *FailoverNamespaceResponse) Reset() { *m = FailoverNamespaceResponse{} } -func (*FailoverNamespaceResponse) ProtoMessage() {} -func (*FailoverNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{30} -} -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 (m *FailoverNamespaceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FailoverNamespaceResponse.Merge(m, src) -} -func (m *FailoverNamespaceResponse) XXX_Size() int { - return m.Size() -} -func (m *FailoverNamespaceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FailoverNamespaceResponse.DiscardUnknown(m) +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") } -var xxx_messageInfo_FailoverNamespaceResponse proto.InternalMessageInfo - -func (m *FailoverNamespaceResponse) GetRequestStatus() *v12.RequestStatus { - if m != nil { - return m.RequestStatus - } - return nil +func init() { + proto.RegisterFile("api/namespaceservice/v1/request_response.proto", fileDescriptor_667e39c23eb47b7c) } -type ReplicationStatus struct { - // 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"` +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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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, 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0xf3, 0xdc, 0x33, 0xfc, 0x11, 0x00, 0x00, } -func (m *ReplicationStatus) Reset() { *m = ReplicationStatus{} } -func (*ReplicationStatus) ProtoMessage() {} -func (*ReplicationStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{31} -} -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 (this *CreateNamespaceRequest) Equal(that interface{}) bool { + if that == nil { + return this == nil } -} -func (m *ReplicationStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReplicationStatus.Merge(m, src) -} -func (m *ReplicationStatus) XXX_Size() int { - return m.Size() -} -func (m *ReplicationStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ReplicationStatus.DiscardUnknown(m) -} -var xxx_messageInfo_ReplicationStatus proto.InternalMessageInfo - -func (m *ReplicationStatus) GetSourceRegion() *v13.RegionID { - if m != nil { - return m.SourceRegion + that1, ok := that.(*CreateNamespaceRequest) + if !ok { + that2, ok := that.(CreateNamespaceRequest) + if ok { + that1 = &that2 + } else { + return false + } } - return nil -} - -func (m *ReplicationStatus) GetTargetRegion() *v13.RegionID { - if m != nil { - return m.TargetRegion + if that1 == nil { + return this == nil + } else if this == nil { + return false } - return nil -} - -func (m *ReplicationStatus) GetReplicationLag() *types.Duration { - if m != nil { - return m.ReplicationLag + if this.Namespace != that1.Namespace { + return false } - return nil -} - -type ListFailoverHistoryByNamespaceRequest struct { - // 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 - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // Next pagination token. - 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{32} -} -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 + 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 } - return b[:n], nil } -} -func (m *ListFailoverHistoryByNamespaceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFailoverHistoryByNamespaceRequest.Merge(m, src) -} -func (m *ListFailoverHistoryByNamespaceRequest) XXX_Size() int { - return m.Size() -} -func (m *ListFailoverHistoryByNamespaceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListFailoverHistoryByNamespaceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListFailoverHistoryByNamespaceRequest proto.InternalMessageInfo - -func (m *ListFailoverHistoryByNamespaceRequest) GetNamespace() string { - if m != nil { - return m.Namespace + if len(this.IdentityNamespacePermissions) != len(that1.IdentityNamespacePermissions) { + return false } - return "" -} - -func (m *ListFailoverHistoryByNamespaceRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize + for i := range this.IdentityNamespacePermissions { + if !this.IdentityNamespacePermissions[i].Equal(that1.IdentityNamespacePermissions[i]) { + return false + } } - return 0 -} - -func (m *ListFailoverHistoryByNamespaceRequest) GetNextPageToken() []byte { - if m != nil { - return m.NextPageToken + if len(this.Tags) != len(that1.Tags) { + return false } - return nil -} - -type ListFailoverHistoryByNamespaceResponse struct { - // 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{33} -} -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 + for i := range this.Tags { + if this.Tags[i] != that1.Tags[i] { + return false } - return b[:n], nil } + return true } -func (m *ListFailoverHistoryByNamespaceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFailoverHistoryByNamespaceResponse.Merge(m, src) -} -func (m *ListFailoverHistoryByNamespaceResponse) XXX_Size() int { - return m.Size() -} -func (m *ListFailoverHistoryByNamespaceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListFailoverHistoryByNamespaceResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListFailoverHistoryByNamespaceResponse proto.InternalMessageInfo - -func (m *ListFailoverHistoryByNamespaceResponse) GetFailoverHistory() []*FailoverRecord { - if m != nil { - return m.FailoverHistory +func (this *CreateNamespaceResponse) Equal(that interface{}) bool { + if that == nil { + return this == nil } - return nil -} -func (m *ListFailoverHistoryByNamespaceResponse) GetNextPageToken() []byte { - if m != nil { - return m.NextPageToken + that1, ok := that.(*CreateNamespaceResponse) + if !ok { + that2, ok := that.(CreateNamespaceResponse) + if ok { + that1 = &that2 + } else { + return false + } } - 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"` + 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 + } -func (m *FailoverRecord) Reset() { *m = FailoverRecord{} } -func (*FailoverRecord) ProtoMessage() {} -func (*FailoverRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{34} -} -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 + that1, ok := that.(*ListNamespacesFilter) + if !ok { + that2, ok := that.(ListNamespacesFilter) + if ok { + that1 = &that2 + } else { + return false } - return b[:n], nil } -} -func (m *FailoverRecord) XXX_Merge(src proto.Message) { - xxx_messageInfo_FailoverRecord.Merge(m, src) -} -func (m *FailoverRecord) XXX_Size() int { - return m.Size() -} -func (m *FailoverRecord) XXX_DiscardUnknown() { - xxx_messageInfo_FailoverRecord.DiscardUnknown(m) -} - -var xxx_messageInfo_FailoverRecord proto.InternalMessageInfo - -func (m *FailoverRecord) GetFailoverType() v13.FailoverType { - if m != nil { - return m.FailoverType + if that1 == nil { + return this == nil + } else if this == nil { + return false } - return v13.FAILOVER_TYPE_UNSPECIFIED -} - -func (m *FailoverRecord) GetSourceRegion() *v13.RegionID { - if m != nil { - return m.SourceRegion + if len(this.CloudProviders) != len(that1.CloudProviders) { + return false } - return nil -} - -func (m *FailoverRecord) GetTargetRegion() *v13.RegionID { - if m != nil { - return m.TargetRegion + for i := range this.CloudProviders { + if this.CloudProviders[i] != that1.CloudProviders[i] { + return false + } } - return nil -} - -func (m *FailoverRecord) GetStartTimeUtc() *types.Timestamp { - if m != nil { - return m.StartTimeUtc + if this.ConnectivityRuleId != that1.ConnectivityRuleId { + return false } - return nil + return true } - -func (m *FailoverRecord) GetEndTimeUtc() *types.Timestamp { - if m != nil { - return m.EndTimeUtc +func (this *ListNamespacesRequest) Equal(that interface{}) bool { + if that == nil { + return this == nil } - return nil -} -func (m *FailoverRecord) GetStatus() v13.FailoverStatus { - if m != nil { - return m.Status + that1, ok := that.(*ListNamespacesRequest) + if !ok { + that2, ok := that.(ListNamespacesRequest) + if ok { + that1 = &that2 + } else { + return false + } } - return v13.FAILOVER_STATUS_UNSPECIFIED -} - -func (m *FailoverRecord) GetOperator() string { - if m != nil { - return m.Operator + if that1 == nil { + return this == nil + } else if this == nil { + return false } - return "" -} - -func (m *FailoverRecord) GetReason() string { - if m != nil { - return m.Reason + if this.PageSize != that1.PageSize { + return false } - return "" -} - -type GlobalizeNamespaceRequest struct { - // 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 - RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // The target region to be added into global namespace. - TargetRegion *v13.RegionID `protobuf:"bytes,3,opt,name=target_region,json=targetRegion,proto3" json:"target_region,omitempty"` - // the version of the namespace for which this update is intended for - // the latest version can be found in the namespace status. - ResourceVersion string `protobuf:"bytes,4,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` + 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 + } -func (m *GlobalizeNamespaceRequest) Reset() { *m = GlobalizeNamespaceRequest{} } -func (*GlobalizeNamespaceRequest) ProtoMessage() {} -func (*GlobalizeNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{35} -} -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 + that1, ok := that.(*ListNamespacesResponse) + if !ok { + that2, ok := that.(ListNamespacesResponse) + if ok { + that1 = &that2 + } else { + return false } - return b[:n], nil } -} -func (m *GlobalizeNamespaceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GlobalizeNamespaceRequest.Merge(m, src) -} -func (m *GlobalizeNamespaceRequest) XXX_Size() int { - return m.Size() -} -func (m *GlobalizeNamespaceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GlobalizeNamespaceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GlobalizeNamespaceRequest proto.InternalMessageInfo - -func (m *GlobalizeNamespaceRequest) GetNamespace() string { - if m != nil { - return m.Namespace + if that1 == nil { + return this == nil + } else if this == nil { + return false } - return "" -} - -func (m *GlobalizeNamespaceRequest) GetRequestId() string { - if m != nil { - return m.RequestId + if len(this.Namespaces) != len(that1.Namespaces) { + return false } - return "" -} - -func (m *GlobalizeNamespaceRequest) GetTargetRegion() *v13.RegionID { - if m != nil { - return m.TargetRegion + for i := range this.Namespaces { + if this.Namespaces[i] != that1.Namespaces[i] { + return false + } } - return nil -} - -func (m *GlobalizeNamespaceRequest) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion + if this.NextPageToken != that1.NextPageToken { + return false } - return "" -} - -type GlobalizeNamespaceResponse struct { - // Request status - RequestStatus *v12.RequestStatus `protobuf:"bytes,1,opt,name=request_status,json=requestStatus,proto3" json:"request_status,omitempty"` + return true } +func (this *GetNamespacesRequest) Equal(that interface{}) bool { + if that == nil { + return this == nil + } -func (m *GlobalizeNamespaceResponse) Reset() { *m = GlobalizeNamespaceResponse{} } -func (*GlobalizeNamespaceResponse) ProtoMessage() {} -func (*GlobalizeNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{36} -} -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 + that1, ok := that.(*GetNamespacesRequest) + if !ok { + that2, ok := that.(GetNamespacesRequest) + if ok { + that1 = &that2 + } else { + return false } - return b[:n], nil } -} -func (m *GlobalizeNamespaceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GlobalizeNamespaceResponse.Merge(m, src) -} -func (m *GlobalizeNamespaceResponse) XXX_Size() int { - return m.Size() -} -func (m *GlobalizeNamespaceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GlobalizeNamespaceResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GlobalizeNamespaceResponse proto.InternalMessageInfo - -func (m *GlobalizeNamespaceResponse) GetRequestStatus() *v12.RequestStatus { - if m != nil { - return m.RequestStatus + if that1 == nil { + return this == nil + } else if this == nil { + return false } - return nil -} - -type ValidateGlobalizeNamespaceRequest struct { - // The namespace to be validated - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + 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 + } -func (m *ValidateGlobalizeNamespaceRequest) Reset() { *m = ValidateGlobalizeNamespaceRequest{} } -func (*ValidateGlobalizeNamespaceRequest) ProtoMessage() {} -func (*ValidateGlobalizeNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{37} -} -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 + that1, ok := that.(*GetNamespacesResponse) + if !ok { + that2, ok := that.(GetNamespacesResponse) + if ok { + that1 = &that2 + } else { + return false } - return b[:n], nil } -} -func (m *ValidateGlobalizeNamespaceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidateGlobalizeNamespaceRequest.Merge(m, src) -} -func (m *ValidateGlobalizeNamespaceRequest) XXX_Size() int { - return m.Size() -} -func (m *ValidateGlobalizeNamespaceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ValidateGlobalizeNamespaceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ValidateGlobalizeNamespaceRequest proto.InternalMessageInfo - -func (m *ValidateGlobalizeNamespaceRequest) GetNamespace() string { - if m != nil { - return m.Namespace + if that1 == nil { + return this == nil + } else if this == nil { + return false } - return "" -} - -type ValidateGlobalizeNamespaceResponse struct { - // 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{38} -} -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 + if len(this.Namespaces) != len(that1.Namespaces) { + return false + } + for i := range this.Namespaces { + if !this.Namespaces[i].Equal(that1.Namespaces[i]) { + return false } - return b[:n], nil } -} -func (m *ValidateGlobalizeNamespaceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidateGlobalizeNamespaceResponse.Merge(m, src) -} -func (m *ValidateGlobalizeNamespaceResponse) XXX_Size() int { - return m.Size() -} -func (m *ValidateGlobalizeNamespaceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ValidateGlobalizeNamespaceResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ValidateGlobalizeNamespaceResponse proto.InternalMessageInfo - -func (m *ValidateGlobalizeNamespaceResponse) GetSuccess() bool { - if m != nil { - return m.Success + if this.NextPageToken != that1.NextPageToken { + return false } - return false + return true } - -func (m *ValidateGlobalizeNamespaceResponse) GetFailureReason() string { - if m != nil { - return m.FailureReason +func (this *GetNamespaceRequest) Equal(that interface{}) bool { + if that == nil { + return this == nil } - return "" -} - -type ListReplicaStatusRequest struct { - // 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 - PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` - // the page token - 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{39} -} -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 + that1, ok := that.(*GetNamespaceRequest) + if !ok { + that2, ok := that.(GetNamespaceRequest) + if ok { + that1 = &that2 + } else { + return false } - return b[:n], nil } -} -func (m *ListReplicaStatusRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListReplicaStatusRequest.Merge(m, src) -} -func (m *ListReplicaStatusRequest) XXX_Size() int { - return m.Size() -} -func (m *ListReplicaStatusRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListReplicaStatusRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListReplicaStatusRequest proto.InternalMessageInfo - -func (m *ListReplicaStatusRequest) GetNamespace() string { - if m != nil { - return m.Namespace + if that1 == nil { + return this == nil + } else if this == nil { + return false } - return "" -} - -func (m *ListReplicaStatusRequest) GetPageSize() int32 { - if m != nil { - return m.PageSize + if this.Namespace != that1.Namespace { + return false } - return 0 + return true } - -func (m *ListReplicaStatusRequest) GetPageToken() []byte { - if m != nil { - return m.PageToken +func (this *GetNamespaceResponse) Equal(that interface{}) bool { + if that == nil { + return this == nil } - return nil -} -type ListReplicaStatusResponse struct { - // 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"` + that1, ok := that.(*GetNamespaceResponse) + if !ok { + that2, ok := that.(GetNamespaceResponse) + if ok { + that1 = &that2 + } else { + return false + } + } + 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 + } -func (m *ListReplicaStatusResponse) Reset() { *m = ListReplicaStatusResponse{} } -func (*ListReplicaStatusResponse) ProtoMessage() {} -func (*ListReplicaStatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_667e39c23eb47b7c, []int{40} -} -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((*CreateExportSinkRequest)(nil), "api.namespaceservice.v1.CreateExportSinkRequest") - proto.RegisterType((*CreateExportSinkResponse)(nil), "api.namespaceservice.v1.CreateExportSinkResponse") - proto.RegisterType((*GetExportSinkRequest)(nil), "api.namespaceservice.v1.GetExportSinkRequest") - proto.RegisterType((*GetExportSinkResponse)(nil), "api.namespaceservice.v1.GetExportSinkResponse") - proto.RegisterType((*DeleteExportSinkRequest)(nil), "api.namespaceservice.v1.DeleteExportSinkRequest") - proto.RegisterType((*DeleteExportSinkResponse)(nil), "api.namespaceservice.v1.DeleteExportSinkResponse") - proto.RegisterType((*UpdateExportSinkRequest)(nil), "api.namespaceservice.v1.UpdateExportSinkRequest") - proto.RegisterType((*UpdateExportSinkResponse)(nil), "api.namespaceservice.v1.UpdateExportSinkResponse") - proto.RegisterType((*ListExportSinksRequest)(nil), "api.namespaceservice.v1.ListExportSinksRequest") - proto.RegisterType((*ListExportSinksResponse)(nil), "api.namespaceservice.v1.ListExportSinksResponse") - proto.RegisterType((*GetExportSinksRequest)(nil), "api.namespaceservice.v1.GetExportSinksRequest") - proto.RegisterType((*GetExportSinksResponse)(nil), "api.namespaceservice.v1.GetExportSinksResponse") - proto.RegisterType((*ValidateExportSinkRequest)(nil), "api.namespaceservice.v1.ValidateExportSinkRequest") - proto.RegisterType((*ValidateExportSinkResponse)(nil), "api.namespaceservice.v1.ValidateExportSinkResponse") - 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{ - // 1552 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcd, 0x6f, 0xd4, 0x46, - 0x1b, 0x8f, 0x77, 0x93, 0x90, 0x7d, 0x92, 0x6c, 0x78, 0xfd, 0x86, 0x64, 0xb3, 0x49, 0x4c, 0xf0, - 0xab, 0xf0, 0x06, 0x55, 0x38, 0x25, 0x50, 0x15, 0x0a, 0x07, 0x3e, 0x02, 0x34, 0x12, 0x45, 0xa9, - 0x13, 0x38, 0xf4, 0xe2, 0x38, 0xde, 0xc9, 0x32, 0xc4, 0x6b, 0x9b, 0x99, 0xf1, 0x42, 0x50, 0x0f, - 0xdc, 0x2a, 0xf5, 0xd4, 0x63, 0xd5, 0x43, 0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1b, 0xea, - 0x79, 0x18, 0xa6, 0x01, 0x72, 0x4a, 0xb9, 0x25, 0x65, 0x65, 0x7c, 0xed, 0xa4, 0xd1, 0x11, 0x32, - 0xa3, 0x7e, 0xce, 0x68, 0xda, 0xdb, 0x0a, 0x90, 0x63, 0x0a, 0x65, 0x75, 0x11, 0x20, 0x0e, 0x39, - 0xae, 0x94, 0xf2, 0x91, 0x4d, 0xb9, 0xb3, 0x51, 0x51, 0x1d, 0x28, 0x87, 0x14, 0x11, 0xab, 0x69, - 0xc7, 0x0a, 0x10, 0xa9, 0x61, 0x4a, 0xb1, 0xef, 0xd1, 0xd2, 0xf0, 0x52, 0x7e, 0x65, 0x7c, 0x6d, - 0x59, 0x78, 0xe2, 0x39, 0xe0, 0x4e, 0xee, 0x51, 0x44, 0x9a, 0x8e, 0x36, 0x5b, 0xca, 0x66, 0x29, - 0xec, 0x22, 0x51, 0x7d, 0xd0, 0x70, 0x05, 0x79, 0x0c, 0xb3, 0x83, 0x2e, 0x8e, 0x46, 0x84, 0xa3, - 0x33, 0x1d, 0x8e, 0x36, 0xe4, 0x91, 0x4c, 0x67, 0x0b, 0xb8, 0x87, 0x54, 0xfd, 0x0c, 0x86, 0x99, - 0x5d, 0xa5, 0xa5, 0x51, 0x61, 0xf6, 0x92, 0xd1, 0xa5, 0xb8, 0x8c, 0xec, 0x34, 0x18, 0xdb, 0x76, - 0x95, 0xde, 0xf4, 0x18, 0x39, 0x30, 0x85, 0x99, 0xf2, 0xc7, 0x50, 0x68, 0x6e, 0xa9, 0xc7, 0x21, - 0xbf, 0x8f, 0x0e, 0x64, 0x76, 0xf8, 0x4f, 0x75, 0x1a, 0x46, 0xea, 0xb6, 0x1b, 0x22, 0x91, 0x98, - 0x82, 0x19, 0x2d, 0x3e, 0xc9, 0x5d, 0x54, 0x74, 0x0b, 0x66, 0x53, 0x2e, 0xa2, 0xb2, 0x57, 0xd7, - 0xa1, 0x18, 0xe7, 0x85, 0x32, 0x9b, 0x85, 0x54,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0xf7, 0x76, 0x47, 0x45, - 0xd3, 0x9e, 0xff, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x99, 0xdc, 0xcf, 0x82, 0xfa, 0x17, 0x00, 0x00, -} - -func (this *CreateNamespaceRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*CreateNamespaceRequest) + that1, ok := that.(*UpdateNamespaceRequest) if !ok { - that2, ok := that.(CreateNamespaceRequest) + that2, ok := that.(UpdateNamespaceRequest) if ok { that1 = &that2 } else { @@ -2524,43 +2025,22 @@ func (this *CreateNamespaceRequest) Equal(that interface{}) bool { 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) { + if this.ResourceVersion != that1.ResourceVersion { return false } - for i := range this.IdentityNamespacePermissions { - if !this.IdentityNamespacePermissions[i].Equal(that1.IdentityNamespacePermissions[i]) { - return false - } - } - if len(this.Tags) != len(that1.Tags) { + if this.RequestId != that1.RequestId { 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 { +func (this *UpdateNamespaceResponse) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*CreateNamespaceResponse) + that1, ok := that.(*UpdateNamespaceResponse) if !ok { - that2, ok := that.(CreateNamespaceResponse) + that2, ok := that.(UpdateNamespaceResponse) if ok { that1 = &that2 } else { @@ -2577,14 +2057,14 @@ func (this *CreateNamespaceResponse) Equal(that interface{}) bool { } return true } -func (this *ListNamespacesFilter) Equal(that interface{}) bool { +func (this *RenameCustomSearchAttributeRequest) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*ListNamespacesFilter) + that1, ok := that.(*RenameCustomSearchAttributeRequest) if !ok { - that2, ok := that.(ListNamespacesFilter) + that2, ok := that.(RenameCustomSearchAttributeRequest) if ok { that1 = &that2 } else { @@ -2596,27 +2076,31 @@ func (this *ListNamespacesFilter) Equal(that interface{}) bool { } else if this == nil { return false } - if len(this.CloudProviders) != len(that1.CloudProviders) { + if this.Namespace != that1.Namespace { return false } - for i := range this.CloudProviders { - if this.CloudProviders[i] != that1.CloudProviders[i] { - return false - } + if this.ExistingCustomSearchAttributeName != that1.ExistingCustomSearchAttributeName { + return false } - if this.ConnectivityRuleId != that1.ConnectivityRuleId { + if this.NewCustomSearchAttributeName != that1.NewCustomSearchAttributeName { + return false + } + if this.ResourceVersion != that1.ResourceVersion { + return false + } + if this.RequestId != that1.RequestId { return false } return true } -func (this *ListNamespacesRequest) Equal(that interface{}) bool { +func (this *RenameCustomSearchAttributeResponse) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*ListNamespacesRequest) + that1, ok := that.(*RenameCustomSearchAttributeResponse) if !ok { - that2, ok := that.(ListNamespacesRequest) + that2, ok := that.(RenameCustomSearchAttributeResponse) if ok { that1 = &that2 } else { @@ -2628,25 +2112,19 @@ func (this *ListNamespacesRequest) Equal(that interface{}) bool { } 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) { + if !this.RequestStatus.Equal(that1.RequestStatus) { return false } return true } -func (this *ListNamespacesResponse) Equal(that interface{}) bool { +func (this *DeleteNamespaceRequest) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*ListNamespacesResponse) + that1, ok := that.(*DeleteNamespaceRequest) if !ok { - that2, ok := that.(ListNamespacesResponse) + that2, ok := that.(DeleteNamespaceRequest) if ok { that1 = &that2 } else { @@ -2658,27 +2136,25 @@ func (this *ListNamespacesResponse) Equal(that interface{}) bool { } else if this == nil { return false } - if len(this.Namespaces) != len(that1.Namespaces) { + if this.Namespace != that1.Namespace { return false } - for i := range this.Namespaces { - if this.Namespaces[i] != that1.Namespaces[i] { - return false - } + if this.ResourceVersion != that1.ResourceVersion { + return false } - if this.NextPageToken != that1.NextPageToken { + if this.RequestId != that1.RequestId { return false } return true } -func (this *GetNamespacesRequest) Equal(that interface{}) bool { +func (this *DeleteNamespaceResponse) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*GetNamespacesRequest) + that1, ok := that.(*DeleteNamespaceResponse) if !ok { - that2, ok := that.(GetNamespacesRequest) + that2, ok := that.(DeleteNamespaceResponse) if ok { that1 = &that2 } else { @@ -2690,22 +2166,19 @@ func (this *GetNamespacesRequest) Equal(that interface{}) bool { } else if this == nil { return false } - if this.PageSize != that1.PageSize { - return false - } - if this.PageToken != that1.PageToken { + if !this.RequestStatus.Equal(that1.RequestStatus) { return false } return true } -func (this *GetNamespacesResponse) Equal(that interface{}) bool { +func (this *FailoverNamespaceRequest) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*GetNamespacesResponse) + that1, ok := that.(*FailoverNamespaceRequest) if !ok { - that2, ok := that.(GetNamespacesResponse) + that2, ok := that.(FailoverNamespaceRequest) if ok { that1 = &that2 } else { @@ -2717,27 +2190,28 @@ func (this *GetNamespacesResponse) Equal(that interface{}) bool { } else if this == nil { return false } - if len(this.Namespaces) != len(that1.Namespaces) { + if this.Namespace != that1.Namespace { return false } - for i := range this.Namespaces { - if !this.Namespaces[i].Equal(that1.Namespaces[i]) { - return false - } + if this.RequestId != that1.RequestId { + return false } - if this.NextPageToken != that1.NextPageToken { + if !this.TargetRegion.Equal(that1.TargetRegion) { + return false + } + if this.SkipGracefulFailover != that1.SkipGracefulFailover { return false } return true } -func (this *GetNamespaceRequest) Equal(that interface{}) bool { +func (this *FailoverNamespaceResponse) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*GetNamespaceRequest) + that1, ok := that.(*FailoverNamespaceResponse) if !ok { - that2, ok := that.(GetNamespaceRequest) + that2, ok := that.(FailoverNamespaceResponse) if ok { that1 = &that2 } else { @@ -2749,19 +2223,19 @@ func (this *GetNamespaceRequest) Equal(that interface{}) bool { } else if this == nil { return false } - if this.Namespace != that1.Namespace { + if !this.RequestStatus.Equal(that1.RequestStatus) { return false } return true } -func (this *GetNamespaceResponse) Equal(that interface{}) bool { +func (this *ReplicationStatus) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*GetNamespaceResponse) + that1, ok := that.(*ReplicationStatus) if !ok { - that2, ok := that.(GetNamespaceResponse) + that2, ok := that.(ReplicationStatus) if ok { that1 = &that2 } else { @@ -2773,19 +2247,25 @@ func (this *GetNamespaceResponse) Equal(that interface{}) bool { } else if this == nil { return false } - if !this.Namespace.Equal(that1.Namespace) { + 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 (this *UpdateNamespaceRequest) Equal(that interface{}) bool { +func (this *ListFailoverHistoryByNamespaceRequest) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*UpdateNamespaceRequest) + that1, ok := that.(*ListFailoverHistoryByNamespaceRequest) if !ok { - that2, ok := that.(UpdateNamespaceRequest) + that2, ok := that.(ListFailoverHistoryByNamespaceRequest) if ok { that1 = &that2 } else { @@ -2800,25 +2280,22 @@ func (this *UpdateNamespaceRequest) Equal(that interface{}) bool { if this.Namespace != that1.Namespace { return false } - if !this.Spec.Equal(that1.Spec) { - return false - } - if this.ResourceVersion != that1.ResourceVersion { + if this.PageSize != that1.PageSize { return false } - if this.RequestId != that1.RequestId { + if !bytes.Equal(this.NextPageToken, that1.NextPageToken) { return false } return true } -func (this *UpdateNamespaceResponse) Equal(that interface{}) bool { +func (this *ListFailoverHistoryByNamespaceResponse) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*UpdateNamespaceResponse) + that1, ok := that.(*ListFailoverHistoryByNamespaceResponse) if !ok { - that2, ok := that.(UpdateNamespaceResponse) + that2, ok := that.(ListFailoverHistoryByNamespaceResponse) if ok { that1 = &that2 } else { @@ -2830,19 +2307,27 @@ func (this *UpdateNamespaceResponse) Equal(that interface{}) bool { } else if this == nil { return false } - if !this.RequestStatus.Equal(that1.RequestStatus) { + 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 *RenameCustomSearchAttributeRequest) Equal(that interface{}) bool { +func (this *FailoverRecord) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*RenameCustomSearchAttributeRequest) + that1, ok := that.(*FailoverRecord) if !ok { - that2, ok := that.(RenameCustomSearchAttributeRequest) + that2, ok := that.(FailoverRecord) if ok { that1 = &that2 } else { @@ -2854,55 +2339,40 @@ func (this *RenameCustomSearchAttributeRequest) Equal(that interface{}) bool { } else if this == nil { return false } - if this.Namespace != that1.Namespace { + if this.FailoverType != that1.FailoverType { return false } - if this.ExistingCustomSearchAttributeName != that1.ExistingCustomSearchAttributeName { + if !this.SourceRegion.Equal(that1.SourceRegion) { return false } - if this.NewCustomSearchAttributeName != that1.NewCustomSearchAttributeName { + if !this.TargetRegion.Equal(that1.TargetRegion) { return false } - if this.ResourceVersion != that1.ResourceVersion { + if !this.StartTimeUtc.Equal(that1.StartTimeUtc) { return false } - if this.RequestId != that1.RequestId { + if !this.EndTimeUtc.Equal(that1.EndTimeUtc) { return false } - return true -} -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 this.Status != that1.Status { + return false } - if that1 == nil { - return this == nil - } else if this == nil { + if this.Operator != that1.Operator { return false } - if !this.RequestStatus.Equal(that1.RequestStatus) { + if this.Reason != that1.Reason { return false } return true } -func (this *DeleteNamespaceRequest) Equal(that interface{}) bool { +func (this *GlobalizeNamespaceRequest) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*DeleteNamespaceRequest) + that1, ok := that.(*GlobalizeNamespaceRequest) if !ok { - that2, ok := that.(DeleteNamespaceRequest) + that2, ok := that.(GlobalizeNamespaceRequest) if ok { that1 = &that2 } else { @@ -2917,76 +2387,25 @@ func (this *DeleteNamespaceRequest) Equal(that interface{}) bool { if this.Namespace != that1.Namespace { return false } - if this.ResourceVersion != that1.ResourceVersion { - return false - } if this.RequestId != that1.RequestId { return false } - return true -} -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 - } - if !this.RequestStatus.Equal(that1.RequestStatus) { - return false - } - return true -} -func (this *CreateExportSinkRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*CreateExportSinkRequest) - if !ok { - that2, ok := that.(CreateExportSinkRequest) - 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) { + if !this.TargetRegion.Equal(that1.TargetRegion) { return false } - if this.RequestId != that1.RequestId { + if this.ResourceVersion != that1.ResourceVersion { return false } return true } -func (this *CreateExportSinkResponse) Equal(that interface{}) bool { +func (this *GlobalizeNamespaceResponse) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*CreateExportSinkResponse) + that1, ok := that.(*GlobalizeNamespaceResponse) if !ok { - that2, ok := that.(CreateExportSinkResponse) + that2, ok := that.(GlobalizeNamespaceResponse) if ok { that1 = &that2 } else { @@ -3003,14 +2422,14 @@ func (this *CreateExportSinkResponse) Equal(that interface{}) bool { } return true } -func (this *GetExportSinkRequest) Equal(that interface{}) bool { +func (this *ValidateGlobalizeNamespaceRequest) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*GetExportSinkRequest) + that1, ok := that.(*ValidateGlobalizeNamespaceRequest) if !ok { - that2, ok := that.(GetExportSinkRequest) + that2, ok := that.(ValidateGlobalizeNamespaceRequest) if ok { that1 = &that2 } else { @@ -3025,19 +2444,16 @@ func (this *GetExportSinkRequest) Equal(that interface{}) bool { if this.Namespace != that1.Namespace { return false } - if this.SinkName != that1.SinkName { - return false - } return true } -func (this *GetExportSinkResponse) Equal(that interface{}) bool { +func (this *ValidateGlobalizeNamespaceResponse) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*GetExportSinkResponse) + that1, ok := that.(*ValidateGlobalizeNamespaceResponse) if !ok { - that2, ok := that.(GetExportSinkResponse) + that2, ok := that.(ValidateGlobalizeNamespaceResponse) if ok { that1 = &that2 } else { @@ -3049,19 +2465,22 @@ func (this *GetExportSinkResponse) Equal(that interface{}) bool { } else if this == nil { return false } - if !this.Sink.Equal(that1.Sink) { + if this.Success != that1.Success { + return false + } + if this.FailureReason != that1.FailureReason { return false } return true } -func (this *DeleteExportSinkRequest) Equal(that interface{}) bool { +func (this *ListReplicaStatusRequest) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*DeleteExportSinkRequest) + that1, ok := that.(*ListReplicaStatusRequest) if !ok { - that2, ok := that.(DeleteExportSinkRequest) + that2, ok := that.(ListReplicaStatusRequest) if ok { that1 = &that2 } else { @@ -3076,25 +2495,22 @@ func (this *DeleteExportSinkRequest) Equal(that interface{}) bool { if this.Namespace != that1.Namespace { return false } - if this.SinkName != that1.SinkName { - return false - } - if this.ResourceVersion != that1.ResourceVersion { + if this.PageSize != that1.PageSize { return false } - if this.RequestId != that1.RequestId { + if !bytes.Equal(this.PageToken, that1.PageToken) { return false } return true } -func (this *DeleteExportSinkResponse) Equal(that interface{}) bool { +func (this *ListReplicaStatusResponse) Equal(that interface{}) bool { if that == nil { return this == nil } - that1, ok := that.(*DeleteExportSinkResponse) + that1, ok := that.(*ListReplicaStatusResponse) if !ok { - that2, ok := that.(DeleteExportSinkResponse) + that2, ok := that.(ListReplicaStatusResponse) if ok { that1 = &that2 } else { @@ -3106,1156 +2522,1072 @@ func (this *DeleteExportSinkResponse) Equal(that interface{}) bool { } else if this == nil { return false } - if !this.RequestStatus.Equal(that1.RequestStatus) { + if len(this.Statuses) != len(that1.Statuses) { return false } - return true -} -func (this *UpdateExportSinkRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*UpdateExportSinkRequest) - if !ok { - that2, ok := that.(UpdateExportSinkRequest) - if ok { - that1 = &that2 - } else { + for i := range this.Statuses { + if !this.Statuses[i].Equal(that1.Statuses[i]) { 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 { + if !bytes.Equal(this.PageToken, that1.PageToken) { return false } return true } -func (this *UpdateExportSinkResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil +func (this *CreateNamespaceRequest) GoString() string { + if this == nil { + return "nil" } - - that1, ok := that.(*UpdateExportSinkResponse) - if !ok { - that2, ok := that.(UpdateExportSinkResponse) - if ok { - that1 = &that2 - } else { - return false - } + 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") } - if that1 == nil { - return this == nil - } else if this == nil { - return false + 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.RequestStatus.Equal(that1.RequestStatus) { - return false + if this.IdentityNamespacePermissions != nil { + s = append(s, "IdentityNamespacePermissions: "+fmt.Sprintf("%#v", this.IdentityNamespacePermissions)+",\n") } - return true -} -func (this *ListExportSinksRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil + keysForTags := make([]string, 0, len(this.Tags)) + for k, _ := range this.Tags { + keysForTags = append(keysForTags, k) } - - that1, ok := that.(*ListExportSinksRequest) - if !ok { - that2, ok := that.(ListExportSinksRequest) - if ok { - that1 = &that2 - } else { - return false - } + github_com_gogo_protobuf_sortkeys.Strings(keysForTags) + mapStringForTags := "map[string]string{" + for _, k := range keysForTags { + mapStringForTags += fmt.Sprintf("%#v: %#v,", k, this.Tags[k]) } - if that1 == nil { - return this == nil - } else if this == nil { - return false + mapStringForTags += "}" + if this.Tags != nil { + s = append(s, "Tags: "+mapStringForTags+",\n") } - if this.Namespace != that1.Namespace { - return false + s = append(s, "}") + return strings.Join(s, "") +} +func (this *CreateNamespaceResponse) GoString() string { + if this == nil { + return "nil" } - if this.PageSize != that1.PageSize { - return false + s := make([]string, 0, 5) + s = append(s, "&namespaceservice.CreateNamespaceResponse{") + if this.RequestStatus != nil { + s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") } - if this.PageToken != that1.PageToken { - return false + s = append(s, "}") + return strings.Join(s, "") +} +func (this *ListNamespacesFilter) GoString() string { + if this == nil { + return "nil" } - return true + 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 *ListExportSinksResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil +func (this *ListNamespacesRequest) GoString() string { + if this == nil { + return "nil" } - - that1, ok := that.(*ListExportSinksResponse) - if !ok { - that2, ok := that.(ListExportSinksResponse) - if ok { - that1 = &that2 - } else { - return false - } + 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") } - if that1 == nil { - return this == nil - } else if this == nil { - return false + s = append(s, "}") + return strings.Join(s, "") +} +func (this *ListNamespacesResponse) GoString() string { + if this == nil { + return "nil" } - if len(this.SinkNames) != len(that1.SinkNames) { - return false + 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" } - for i := range this.SinkNames { - if this.SinkNames[i] != that1.SinkNames[i] { - return false - } + 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" } - if this.NextPageToken != that1.NextPageToken { - return false + s := make([]string, 0, 6) + s = append(s, "&namespaceservice.GetNamespacesResponse{") + if this.Namespaces != nil { + s = append(s, "Namespaces: "+fmt.Sprintf("%#v", this.Namespaces)+",\n") } - return true + s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") + s = append(s, "}") + return strings.Join(s, "") } -func (this *GetExportSinksRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*GetExportSinksRequest) - if !ok { - that2, ok := that.(GetExportSinksRequest) - if ok { - that1 = &that2 - } else { - return false - } +func (this *GetNamespaceRequest) GoString() string { + if this == nil { + return "nil" } - if that1 == nil { - return this == nil - } else if this == nil { - return false + 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" } - if this.Namespace != that1.Namespace { - return false + s := make([]string, 0, 5) + s = append(s, "&namespaceservice.GetNamespaceResponse{") + if this.Namespace != nil { + s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") } - if this.PageSize != that1.PageSize { - return false + s = append(s, "}") + return strings.Join(s, "") +} +func (this *UpdateNamespaceRequest) GoString() string { + if this == nil { + return "nil" } - if this.PageToken != that1.PageToken { - return false + 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") } - return true + 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 *GetExportSinksResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*GetExportSinksResponse) - if !ok { - that2, ok := that.(GetExportSinksResponse) - if ok { - that1 = &that2 - } else { - return false - } +func (this *UpdateNamespaceResponse) GoString() string { + if this == nil { + return "nil" } - if that1 == nil { - return this == nil - } else if this == nil { - return false + s := make([]string, 0, 5) + s = append(s, "&namespaceservice.UpdateNamespaceResponse{") + if this.RequestStatus != nil { + s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") } - if len(this.Sinks) != len(that1.Sinks) { - return false + s = append(s, "}") + return strings.Join(s, "") +} +func (this *RenameCustomSearchAttributeRequest) GoString() string { + if this == nil { + return "nil" } - for i := range this.Sinks { - if !this.Sinks[i].Equal(that1.Sinks[i]) { - return false - } + 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" } - if this.NextPageToken != that1.NextPageToken { - return false + s := make([]string, 0, 5) + s = append(s, "&namespaceservice.RenameCustomSearchAttributeResponse{") + if this.RequestStatus != nil { + s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") } - return true + s = append(s, "}") + return strings.Join(s, "") } -func (this *ValidateExportSinkRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil +func (this *DeleteNamespaceRequest) GoString() string { + if this == nil { + return "nil" } - - that1, ok := that.(*ValidateExportSinkRequest) - if !ok { - that2, ok := that.(ValidateExportSinkRequest) - if ok { - that1 = &that2 - } else { - return false - } + 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" } - if that1 == nil { - return this == nil - } else if this == nil { - return false + s := make([]string, 0, 5) + s = append(s, "&namespaceservice.DeleteNamespaceResponse{") + if this.RequestStatus != nil { + s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") } - if this.Namespace != that1.Namespace { - return false + s = append(s, "}") + return strings.Join(s, "") +} +func (this *FailoverNamespaceRequest) GoString() string { + if this == nil { + return "nil" } - if !this.Spec.Equal(that1.Spec) { - return false + 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") } - return true + s = append(s, "SkipGracefulFailover: "+fmt.Sprintf("%#v", this.SkipGracefulFailover)+",\n") + s = append(s, "}") + return strings.Join(s, "") } -func (this *ValidateExportSinkResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*ValidateExportSinkResponse) - if !ok { - that2, ok := that.(ValidateExportSinkResponse) - if ok { - that1 = &that2 - } else { - return false - } +func (this *FailoverNamespaceResponse) GoString() string { + if this == nil { + return "nil" } - if that1 == nil { - return this == nil - } else if this == nil { - return false + s := make([]string, 0, 5) + s = append(s, "&namespaceservice.FailoverNamespaceResponse{") + if this.RequestStatus != nil { + s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") } - return true + s = append(s, "}") + return strings.Join(s, "") } -func (this *FailoverNamespaceRequest) Equal(that interface{}) bool { - if that == nil { - return this == nil +func (this *ReplicationStatus) GoString() string { + if this == nil { + return "nil" } - - that1, ok := that.(*FailoverNamespaceRequest) - if !ok { - that2, ok := that.(FailoverNamespaceRequest) - if ok { - that1 = &that2 - } else { - return false - } + 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 that1 == nil { - return this == nil - } else if this == nil { - return false + if this.TargetRegion != nil { + s = append(s, "TargetRegion: "+fmt.Sprintf("%#v", this.TargetRegion)+",\n") } - if this.Namespace != that1.Namespace { - return false + if this.ReplicationLag != nil { + s = append(s, "ReplicationLag: "+fmt.Sprintf("%#v", this.ReplicationLag)+",\n") } - if this.RequestId != that1.RequestId { - return false + s = append(s, "}") + return strings.Join(s, "") +} +func (this *ListFailoverHistoryByNamespaceRequest) GoString() string { + if this == nil { + return "nil" } - if !this.TargetRegion.Equal(that1.TargetRegion) { - return false - } - if this.SkipGracefulFailover != that1.SkipGracefulFailover { - return false - } - return true + 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 *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 +func (this *ListFailoverHistoryByNamespaceResponse) GoString() string { + if this == nil { + return "nil" } - if !this.RequestStatus.Equal(that1.RequestStatus) { - return false + s := make([]string, 0, 6) + s = append(s, "&namespaceservice.ListFailoverHistoryByNamespaceResponse{") + if this.FailoverHistory != nil { + s = append(s, "FailoverHistory: "+fmt.Sprintf("%#v", this.FailoverHistory)+",\n") } - return true + s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") + s = append(s, "}") + return strings.Join(s, "") } -func (this *ReplicationStatus) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*ReplicationStatus) - if !ok { - that2, ok := that.(ReplicationStatus) - if ok { - that1 = &that2 - } else { - return false - } +func (this *FailoverRecord) GoString() string { + if this == nil { + return "nil" } - if that1 == nil { - return this == nil - } else if this == nil { - return false + 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.SourceRegion.Equal(that1.SourceRegion) { - return false + if this.TargetRegion != nil { + s = append(s, "TargetRegion: "+fmt.Sprintf("%#v", this.TargetRegion)+",\n") } - if !this.TargetRegion.Equal(that1.TargetRegion) { - return false + if this.StartTimeUtc != nil { + s = append(s, "StartTimeUtc: "+fmt.Sprintf("%#v", this.StartTimeUtc)+",\n") } - if !this.ReplicationLag.Equal(that1.ReplicationLag) { - return false + if this.EndTimeUtc != nil { + s = append(s, "EndTimeUtc: "+fmt.Sprintf("%#v", this.EndTimeUtc)+",\n") } - return true + 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 *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 +func (this *GlobalizeNamespaceRequest) GoString() string { + if this == nil { + return "nil" } - if this.Namespace != that1.Namespace { - return false + 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") } - if this.PageSize != that1.PageSize { - return false + 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" } - if !bytes.Equal(this.NextPageToken, that1.NextPageToken) { - return false + s := make([]string, 0, 5) + s = append(s, "&namespaceservice.GlobalizeNamespaceResponse{") + if this.RequestStatus != nil { + s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") } - return true + s = append(s, "}") + return strings.Join(s, "") } -func (this *ListFailoverHistoryByNamespaceResponse) Equal(that interface{}) bool { - if that == nil { - return this == nil +func (this *ValidateGlobalizeNamespaceRequest) GoString() string { + if this == nil { + return "nil" } - - that1, ok := that.(*ListFailoverHistoryByNamespaceResponse) - if !ok { - that2, ok := that.(ListFailoverHistoryByNamespaceResponse) - if ok { - that1 = &that2 - } else { - return false - } + 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" } - if that1 == nil { - return this == nil - } else if this == nil { - return false + 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" } - if len(this.FailoverHistory) != len(that1.FailoverHistory) { - return false + 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" } - for i := range this.FailoverHistory { - if !this.FailoverHistory[i].Equal(that1.FailoverHistory[i]) { - return false - } + s := make([]string, 0, 6) + s = append(s, "&namespaceservice.ListReplicaStatusResponse{") + if this.Statuses != nil { + s = append(s, "Statuses: "+fmt.Sprintf("%#v", this.Statuses)+",\n") } - if !bytes.Equal(this.NextPageToken, that1.NextPageToken) { - return false + 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" } - return true + pv := reflect.Indirect(rv).Interface() + return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) } -func (this *FailoverRecord) Equal(that interface{}) bool { - if that == nil { - return this == 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 +} - that1, ok := that.(*FailoverRecord) - if !ok { - that2, ok := that.(FailoverRecord) - if ok { - that1 = &that2 - } else { - return false +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 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 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 !this.EndTimeUtc.Equal(that1.EndTimeUtc) { - return false + 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 this.Status != that1.Status { - return false + 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 this.Operator != that1.Operator { - return false + 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 this.Reason != that1.Reason { - return false + 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 true + return len(dAtA) - i, nil } -func (this *GlobalizeNamespaceRequest) Equal(that interface{}) bool { - if that == nil { - return this == 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 +} - that1, ok := that.(*GlobalizeNamespaceRequest) - if !ok { - that2, ok := that.(GlobalizeNamespaceRequest) - if ok { - that1 = &that2 - } else { - return false +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 } - 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 + return len(dAtA) - i, nil } -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 - } +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 } - if that1 == nil { - return this == nil - } else if this == nil { - return false + 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 !this.RequestStatus.Equal(that1.RequestStatus) { - return false + 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 true + return len(dAtA) - i, nil } -func (this *ValidateGlobalizeNamespaceRequest) Equal(that interface{}) bool { - if that == nil { - return this == 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 +} - that1, ok := that.(*ValidateGlobalizeNamespaceRequest) - if !ok { - that2, ok := that.(ValidateGlobalizeNamespaceRequest) - if ok { - that1 = &that2 - } else { - return false +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 that1 == nil { - return this == nil - } else if this == nil { - return false + 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 this.Namespace != that1.Namespace { - return false + if m.PageSize != 0 { + i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) + i-- + dAtA[i] = 0x8 } - return true + return len(dAtA) - i, nil } -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 +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 true + return dAtA[:n], nil } -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 (m *ListNamespacesResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -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 +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 } - for i := range this.Statuses { - if !this.Statuses[i].Equal(that1.Statuses[i]) { - return false + 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 } } - if !bytes.Equal(this.PageToken, that1.PageToken) { - return false - } - return true + return len(dAtA) - i, nil } -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") + +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 } - s = append(s, "}") - return strings.Join(s, "") + return dAtA[:n], nil } -func (this *CreateNamespaceResponse) GoString() string { - if this == nil { - return "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 } - s := make([]string, 0, 5) - s = append(s, "&namespaceservice.CreateNamespaceResponse{") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") + if m.PageSize != 0 { + i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) + i-- + dAtA[i] = 0x8 } - s = append(s, "}") - return strings.Join(s, "") + return len(dAtA) - i, nil } -func (this *ListNamespacesFilter) GoString() string { - if this == nil { - return "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 } - 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, "") + return dAtA[:n], nil } -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 (m *GetNamespacesResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (this *ListNamespacesResponse) GoString() string { - if this == nil { - return "nil" + +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 } - 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, "") + 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 (this *GetNamespacesRequest) GoString() string { - if this == nil { - return "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 } - 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, "") + return dAtA[:n], nil } -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 (m *GetNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -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") + +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 } - s = append(s, "}") - return strings.Join(s, "") + return len(dAtA) - i, nil } -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") + +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 } - 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, "") + return dAtA[:n], nil } -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 (m *GetNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (this *RenameCustomSearchAttributeRequest) GoString() string { - if this == nil { - return "nil" + +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 } - 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, "") + return len(dAtA) - i, nil } -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") + +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 } - s = append(s, "}") - return strings.Join(s, "") + return dAtA[:n], nil } -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 (m *UpdateNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (this *DeleteNamespaceResponse) GoString() string { - if this == nil { - return "nil" + +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 } - s := make([]string, 0, 5) - s = append(s, "&namespaceservice.DeleteNamespaceResponse{") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") + 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 } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *CreateExportSinkRequest) GoString() string { - if this == nil { - return "nil" + 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 } - s := make([]string, 0, 7) - s = append(s, "&namespaceservice.CreateExportSinkRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") + 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 } - s = append(s, "RequestId: "+fmt.Sprintf("%#v", this.RequestId)+",\n") - s = append(s, "}") - return strings.Join(s, "") + return len(dAtA) - i, nil } -func (this *CreateExportSinkResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&namespaceservice.CreateExportSinkResponse{") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") + +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 } - s = append(s, "}") - return strings.Join(s, "") + return dAtA[:n], nil } -func (this *GetExportSinkRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&namespaceservice.GetExportSinkRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "SinkName: "+fmt.Sprintf("%#v", this.SinkName)+",\n") - s = append(s, "}") - return strings.Join(s, "") + +func (m *UpdateNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (this *GetExportSinkResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&namespaceservice.GetExportSinkResponse{") - if this.Sink != nil { - s = append(s, "Sink: "+fmt.Sprintf("%#v", this.Sink)+",\n") + +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 } - s = append(s, "}") - return strings.Join(s, "") + return len(dAtA) - i, nil } -func (this *DeleteExportSinkRequest) GoString() string { - if this == nil { - return "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 } - s := make([]string, 0, 8) - s = append(s, "&namespaceservice.DeleteExportSinkRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - s = append(s, "SinkName: "+fmt.Sprintf("%#v", this.SinkName)+",\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, "") + return dAtA[:n], nil } -func (this *DeleteExportSinkResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 5) - s = append(s, "&namespaceservice.DeleteExportSinkResponse{") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") - } - s = append(s, "}") - return strings.Join(s, "") + +func (m *RenameCustomSearchAttributeRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (this *UpdateExportSinkRequest) GoString() string { - if this == nil { - return "nil" + +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 } - s := make([]string, 0, 8) - s = append(s, "&namespaceservice.UpdateExportSinkRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") + 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 } - 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 *UpdateExportSinkResponse) GoString() string { - if this == nil { - return "nil" + 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 } - s := make([]string, 0, 5) - s = append(s, "&namespaceservice.UpdateExportSinkResponse{") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") + 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 } - s = append(s, "}") - return strings.Join(s, "") -} -func (this *ListExportSinksRequest) GoString() string { - if this == nil { - return "nil" + 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 } - s := make([]string, 0, 7) - s = append(s, "&namespaceservice.ListExportSinksRequest{") - 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, "") + return len(dAtA) - i, nil } -func (this *ListExportSinksResponse) GoString() string { - if this == nil { - return "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 } - s := make([]string, 0, 6) - s = append(s, "&namespaceservice.ListExportSinksResponse{") - s = append(s, "SinkNames: "+fmt.Sprintf("%#v", this.SinkNames)+",\n") - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") + return dAtA[:n], nil } -func (this *GetExportSinksRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 7) - s = append(s, "&namespaceservice.GetExportSinksRequest{") - 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 (m *RenameCustomSearchAttributeResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (this *GetExportSinksResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&namespaceservice.GetExportSinksResponse{") - if this.Sinks != nil { - s = append(s, "Sinks: "+fmt.Sprintf("%#v", this.Sinks)+",\n") + +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 } - s = append(s, "NextPageToken: "+fmt.Sprintf("%#v", this.NextPageToken)+",\n") - s = append(s, "}") - return strings.Join(s, "") + return len(dAtA) - i, nil } -func (this *ValidateExportSinkRequest) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 6) - s = append(s, "&namespaceservice.ValidateExportSinkRequest{") - s = append(s, "Namespace: "+fmt.Sprintf("%#v", this.Namespace)+",\n") - if this.Spec != nil { - s = append(s, "Spec: "+fmt.Sprintf("%#v", this.Spec)+",\n") + +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 } - s = append(s, "}") - return strings.Join(s, "") + return dAtA[:n], nil } -func (this *ValidateExportSinkResponse) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 4) - s = append(s, "&namespaceservice.ValidateExportSinkResponse{") - s = append(s, "}") - return strings.Join(s, "") + +func (m *DeleteNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -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") + +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 } - 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" + 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 } - s := make([]string, 0, 5) - s = append(s, "&namespaceservice.FailoverNamespaceResponse{") - if this.RequestStatus != nil { - s = append(s, "RequestStatus: "+fmt.Sprintf("%#v", this.RequestStatus)+",\n") + 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 } - s = append(s, "}") - return strings.Join(s, "") + return len(dAtA) - i, nil } -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") + +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 } - s = append(s, "}") - return strings.Join(s, "") + return dAtA[:n], nil } -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 (m *DeleteNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -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" + +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 } - pv := reflect.Indirect(rv).Interface() - return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) + return len(dAtA) - i, nil } -func (m *CreateNamespaceRequest) Marshal() (dAtA []byte, err error) { + +func (m *FailoverNamespaceRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4265,73 +3597,29 @@ func (m *CreateNamespaceRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CreateNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *FailoverNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CreateNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *FailoverNamespaceRequest) 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 m.SkipGracefulFailover { + i-- + if m.SkipGracefulFailover { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } - } - 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 + dAtA[i] = 0x20 } - if m.Spec != nil { + if m.TargetRegion != nil { { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.TargetRegion.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4339,6 +3627,13 @@ func (m *CreateNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) 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 { @@ -4351,7 +3646,7 @@ func (m *CreateNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *CreateNamespaceResponse) Marshal() (dAtA []byte, err error) { +func (m *FailoverNamespaceResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4361,12 +3656,12 @@ func (m *CreateNamespaceResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *CreateNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *FailoverNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CreateNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *FailoverNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -4386,7 +3681,7 @@ func (m *CreateNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *ListNamespacesFilter) Marshal() (dAtA []byte, err error) { +func (m *ReplicationStatus) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4396,67 +3691,31 @@ func (m *ListNamespacesFilter) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ListNamespacesFilter) MarshalTo(dAtA []byte) (int, error) { +func (m *ReplicationStatus) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ListNamespacesFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ReplicationStatus) 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++ + if m.ReplicationLag != nil { + { + size, err := m.ReplicationLag.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - dAtA4[j3] = uint8(num) - j3++ + i -= size + i = encodeVarintRequestResponse(dAtA, i, uint64(size)) } - i -= j3 - copy(dAtA[i:], dAtA4[:j3]) - i = encodeVarintRequestResponse(dAtA, i, uint64(j3)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x1a } - 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 { + if m.TargetRegion != nil { { - size, err := m.Filter.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.TargetRegion.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4464,24 +3723,24 @@ func (m *ListNamespacesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 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)) + 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] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ListNamespacesResponse) Marshal() (dAtA []byte, err error) { +func (m *ListFailoverHistoryByNamespaceRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4491,12 +3750,12 @@ func (m *ListNamespacesResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ListNamespacesResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *ListFailoverHistoryByNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ListNamespacesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ListFailoverHistoryByNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -4506,56 +3765,24 @@ func (m *ListNamespacesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) 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 + dAtA[i] = 0x1a } if m.PageSize != 0 { i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) i-- - dAtA[i] = 0x8 + 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 *GetNamespacesResponse) Marshal() (dAtA []byte, err error) { +func (m *ListFailoverHistoryByNamespaceResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4565,12 +3792,12 @@ func (m *GetNamespacesResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetNamespacesResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *ListFailoverHistoryByNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GetNamespacesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ListFailoverHistoryByNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -4582,10 +3809,10 @@ func (m *GetNamespacesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if len(m.Namespaces) > 0 { - for iNdEx := len(m.Namespaces) - 1; iNdEx >= 0; iNdEx-- { + if len(m.FailoverHistory) > 0 { + for iNdEx := len(m.FailoverHistory) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.Namespaces[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.FailoverHistory[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4599,7 +3826,7 @@ func (m *GetNamespacesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetNamespaceRequest) Marshal() (dAtA []byte, err error) { +func (m *FailoverRecord) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4609,49 +3836,38 @@ func (m *GetNamespaceRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *FailoverRecord) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GetNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *FailoverRecord) 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))) + 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] = 0xa + dAtA[i] = 0x42 } - 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 + 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 } - 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 { + if m.Status != 0 { + i = encodeVarintRequestResponse(dAtA, i, uint64(m.Status)) + i-- + dAtA[i] = 0x30 + } + if m.EndTimeUtc != nil { { - size, err := m.Namespace.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.EndTimeUtc.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4659,12 +3875,53 @@ func (m *GetNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintRequestResponse(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + 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 *UpdateNamespaceRequest) Marshal() (dAtA []byte, err error) { +func (m *GlobalizeNamespaceRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4674,33 +3931,26 @@ func (m *UpdateNamespaceRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *UpdateNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *GlobalizeNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *UpdateNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GlobalizeNamespaceRequest) 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 + dAtA[i] = 0x22 } - if m.Spec != nil { + if m.TargetRegion != nil { { - size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.TargetRegion.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4708,6 +3958,13 @@ func (m *UpdateNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) 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 { @@ -4720,7 +3977,7 @@ func (m *UpdateNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *UpdateNamespaceResponse) Marshal() (dAtA []byte, err error) { +func (m *GlobalizeNamespaceResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4730,12 +3987,12 @@ func (m *UpdateNamespaceResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *UpdateNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *GlobalizeNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *UpdateNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GlobalizeNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -4755,7 +4012,7 @@ func (m *UpdateNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *RenameCustomSearchAttributeRequest) Marshal() (dAtA []byte, err error) { +func (m *ValidateGlobalizeNamespaceRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4765,55 +4022,27 @@ func (m *RenameCustomSearchAttributeRequest) Marshal() (dAtA []byte, err error) return dAtA[:n], nil } -func (m *RenameCustomSearchAttributeRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *ValidateGlobalizeNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *RenameCustomSearchAttributeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ValidateGlobalizeNamespaceRequest) 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))) + 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] = 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 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *RenameCustomSearchAttributeResponse) Marshal() (dAtA []byte, err error) { +func (m *ValidateGlobalizeNamespaceResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4823,32 +4052,37 @@ func (m *RenameCustomSearchAttributeResponse) Marshal() (dAtA []byte, err error) return dAtA[:n], nil } -func (m *RenameCustomSearchAttributeResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *ValidateGlobalizeNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *RenameCustomSearchAttributeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ValidateGlobalizeNamespaceResponse) 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)) + 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] = 0xa + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *DeleteNamespaceRequest) Marshal() (dAtA []byte, err error) { +func (m *ListReplicaStatusRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4858,29 +4092,27 @@ func (m *DeleteNamespaceRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *DeleteNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *ListReplicaStatusRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *DeleteNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ListReplicaStatusRequest) 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))) + 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 len(m.ResourceVersion) > 0 { - i -= len(m.ResourceVersion) - copy(dAtA[i:], m.ResourceVersion) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.ResourceVersion))) + if m.PageSize != 0 { + i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x10 } if len(m.Namespace) > 0 { i -= len(m.Namespace) @@ -4892,7 +4124,7 @@ func (m *DeleteNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *DeleteNamespaceResponse) Marshal() (dAtA []byte, err error) { +func (m *ListReplicaStatusResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4902,4003 +4134,943 @@ func (m *DeleteNamespaceResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *DeleteNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *ListReplicaStatusResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *DeleteNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ListReplicaStatusResponse) 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 + 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 -= size - i = encodeVarintRequestResponse(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa } - i-- - dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *CreateExportSinkRequest) 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 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 dAtA[:n], nil -} - -func (m *CreateExportSinkRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + dAtA[offset] = uint8(v) + return base } - -func (m *CreateExportSinkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *CreateNamespaceRequest) Size() (n int) { + if m == nil { + return 0 + } 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 + l = len(m.Namespace) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(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)) + 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)) } - 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 + if len(m.IdentityNamespacePermissions) > 0 { + for _, e := range m.IdentityNamespacePermissions { + l = e.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } } - return len(dAtA) - i, nil -} - -func (m *CreateExportSinkResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + 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 dAtA[:n], nil -} - -func (m *CreateExportSinkResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return n } -func (m *CreateExportSinkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *CreateNamespaceResponse) Size() (n int) { + if m == nil { + return 0 + } 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 + l = m.RequestStatus.Size() + n += 1 + l + sovRequestResponse(uint64(l)) } - return len(dAtA) - i, nil + return n } -func (m *GetExportSinkRequest) 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 (m *ListNamespacesFilter) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil -} - -func (m *GetExportSinkRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetExportSinkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i var l int _ = l - if len(m.SinkName) > 0 { - i -= len(m.SinkName) - copy(dAtA[i:], m.SinkName) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.SinkName))) - i-- - dAtA[i] = 0x12 + if len(m.CloudProviders) > 0 { + l = 0 + for _, e := range m.CloudProviders { + l += sovRequestResponse(uint64(e)) + } + n += 1 + sovRequestResponse(uint64(l)) + 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 + l = len(m.ConnectivityRuleId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) } - return len(dAtA) - i, nil + return n } -func (m *GetExportSinkResponse) 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 (m *ListNamespacesRequest) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil -} - -func (m *GetExportSinkResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + 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 *GetExportSinkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *ListNamespacesResponse) Size() (n int) { + if m == nil { + return 0 + } 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)) + if len(m.Namespaces) > 0 { + for _, s := range m.Namespaces { + l = len(s) + n += 1 + l + sovRequestResponse(uint64(l)) } - i-- - dAtA[i] = 0xa } - return len(dAtA) - i, nil -} - -func (m *DeleteExportSinkRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + l = len(m.NextPageToken) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) } - return dAtA[:n], nil -} - -func (m *DeleteExportSinkRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return n } -func (m *DeleteExportSinkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *GetNamespacesRequest) Size() (n int) { + if m == nil { + return 0 + } 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 len(m.SinkName) > 0 { - i -= len(m.SinkName) - copy(dAtA[i:], m.SinkName) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.SinkName))) - i-- - dAtA[i] = 0x12 + if m.PageSize != 0 { + n += 1 + sovRequestResponse(uint64(m.PageSize)) } - 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 + l = len(m.PageToken) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) } - return len(dAtA) - i, nil + return n } -func (m *DeleteExportSinkResponse) 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 (m *GetNamespacesResponse) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil -} - -func (m *DeleteExportSinkResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DeleteExportSinkResponse) 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)) + if len(m.Namespaces) > 0 { + for _, e := range m.Namespaces { + l = e.Size() + n += 1 + l + sovRequestResponse(uint64(l)) } - i-- - dAtA[i] = 0xa } - return len(dAtA) - i, nil + l = len(m.NextPageToken) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n } -func (m *UpdateExportSinkRequest) 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 (m *GetNamespaceRequest) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil + var l int + _ = l + l = len(m.Namespace) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n } -func (m *UpdateExportSinkRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +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 *UpdateExportSinkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *UpdateNamespaceRequest) Size() (n int) { + if m == nil { + return 0 + } 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 + l = len(m.Namespace) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(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 + l = m.Spec.Size() + n += 1 + l + sovRequestResponse(uint64(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 + l = len(m.ResourceVersion) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) } - return len(dAtA) - i, nil -} - -func (m *UpdateExportSinkResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + l = len(m.RequestId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) } - return dAtA[:n], nil -} - -func (m *UpdateExportSinkResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return n } -func (m *UpdateExportSinkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *UpdateNamespaceResponse) Size() (n int) { + if m == nil { + return 0 + } 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 + l = m.RequestStatus.Size() + n += 1 + l + sovRequestResponse(uint64(l)) } - return len(dAtA) - i, nil + return n } -func (m *ListExportSinksRequest) 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 (m *RenameCustomSearchAttributeRequest) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil -} - -func (m *ListExportSinksRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ListExportSinksRequest) 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 + l = len(m.Namespace) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x10 + l = len(m.ExistingCustomSearchAttributeName) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(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 + l = len(m.NewCustomSearchAttributeName) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) } - return len(dAtA) - i, nil -} - -func (m *ListExportSinksResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + l = len(m.ResourceVersion) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) } - return dAtA[:n], nil + l = len(m.RequestId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n } -func (m *ListExportSinksResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +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 *ListExportSinksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *DeleteNamespaceRequest) Size() (n int) { + if m == nil { + return 0 + } 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 + l = len(m.Namespace) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) } - if len(m.SinkNames) > 0 { - for iNdEx := len(m.SinkNames) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.SinkNames[iNdEx]) - copy(dAtA[i:], m.SinkNames[iNdEx]) - i = encodeVarintRequestResponse(dAtA, i, uint64(len(m.SinkNames[iNdEx]))) - i-- - dAtA[i] = 0xa - } + l = len(m.ResourceVersion) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) } - return len(dAtA) - i, nil -} - -func (m *GetExportSinksRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + l = len(m.RequestId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) } - return dAtA[:n], nil + return n } -func (m *GetExportSinksRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +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 *GetExportSinksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *FailoverNamespaceRequest) Size() (n int) { + if m == nil { + return 0 + } 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 + l = len(m.Namespace) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) } - if m.PageSize != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.PageSize)) - i-- - dAtA[i] = 0x10 + l = len(m.RequestId) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(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 + if m.TargetRegion != nil { + l = m.TargetRegion.Size() + n += 1 + l + sovRequestResponse(uint64(l)) } - return len(dAtA) - i, nil -} - -func (m *GetExportSinksResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + if m.SkipGracefulFailover { + n += 2 } - return dAtA[:n], nil + return n } -func (m *GetExportSinksResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +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 *GetExportSinksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *ReplicationStatus) Size() (n int) { + if m == nil { + return 0 + } 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 m.SourceRegion != nil { + l = m.SourceRegion.Size() + n += 1 + l + sovRequestResponse(uint64(l)) } - 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 - } + if m.TargetRegion != nil { + l = m.TargetRegion.Size() + n += 1 + l + sovRequestResponse(uint64(l)) } - return len(dAtA) - i, nil -} - -func (m *ValidateExportSinkRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + if m.ReplicationLag != nil { + l = m.ReplicationLag.Size() + n += 1 + l + sovRequestResponse(uint64(l)) } - return dAtA[:n], nil -} - -func (m *ValidateExportSinkRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return n } -func (m *ValidateExportSinkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *ListFailoverHistoryByNamespaceRequest) Size() (n int) { + if m == nil { + return 0 + } 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 + l = len(m.Namespace) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(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 + if m.PageSize != 0 { + n += 1 + sovRequestResponse(uint64(m.PageSize)) } - return len(dAtA) - i, nil -} - -func (m *ValidateExportSinkResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + l = len(m.NextPageToken) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) } - return dAtA[:n], nil -} - -func (m *ValidateExportSinkResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return n } -func (m *ValidateExportSinkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *ListFailoverHistoryByNamespaceResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - 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 + if len(m.FailoverHistory) > 0 { + for _, e := range m.FailoverHistory { + l = e.Size() + n += 1 + l + sovRequestResponse(uint64(l)) + } } - return dAtA[:n], nil -} - -func (m *FailoverNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + l = len(m.NextPageToken) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n } -func (m *FailoverNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *FailoverRecord) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - if m.SkipGracefulFailover { - i-- - if m.SkipGracefulFailover { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x20 + 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 { - { - 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 + l = m.TargetRegion.Size() + n += 1 + l + sovRequestResponse(uint64(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.StartTimeUtc != nil { + l = m.StartTimeUtc.Size() + n += 1 + l + sovRequestResponse(uint64(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 + if m.EndTimeUtc != nil { + l = m.EndTimeUtc.Size() + n += 1 + l + sovRequestResponse(uint64(l)) } - 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 + if m.Status != 0 { + n += 1 + sovRequestResponse(uint64(m.Status)) } - return dAtA[:n], nil + 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 *FailoverNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +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 *FailoverNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *GlobalizeNamespaceResponse) Size() (n int) { + if m == nil { + return 0 + } 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 + l = m.RequestStatus.Size() + n += 1 + l + sovRequestResponse(uint64(l)) } - return len(dAtA) - i, nil + return n } -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 +func (m *ValidateGlobalizeNamespaceRequest) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil -} - -func (m *ReplicationStatus) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + var l int + _ = l + l = len(m.Namespace) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) + } + return n } -func (m *ReplicationStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *ValidateGlobalizeNamespaceResponse) Size() (n int) { + if m == nil { + return 0 + } 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.Success { + n += 2 } - 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 + l = len(m.FailureReason) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) } - return len(dAtA) - i, nil + return n } -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 +func (m *ListReplicaStatusRequest) Size() (n int) { + if m == nil { + return 0 } - 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 + l = len(m.Namespace) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) } 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 + n += 1 + sovRequestResponse(uint64(m.PageSize)) } - 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 + l = len(m.PageToken) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) } - return dAtA[:n], nil -} - -func (m *ListFailoverHistoryByNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return n } -func (m *ListFailoverHistoryByNamespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *ListReplicaStatusResponse) Size() (n int) { + if m == nil { + return 0 + } 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 + if len(m.Statuses) > 0 { + for _, e := range m.Statuses { + l = e.Size() + n += 1 + l + sovRequestResponse(uint64(l)) } } - 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 + l = len(m.PageToken) + if l > 0 { + n += 1 + l + sovRequestResponse(uint64(l)) } - return dAtA[:n], nil + return n } -func (m *FailoverRecord) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func sovRequestResponse(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 } - -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 +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" } - 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 + repeatedStringForUserNamespacePermissions := "[]*UserNamespacePermissions{" + for _, f := range this.UserNamespacePermissions { + repeatedStringForUserNamespacePermissions += strings.Replace(fmt.Sprintf("%v", f), "UserNamespacePermissions", "v11.UserNamespacePermissions", 1) + "," } - if m.Status != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.Status)) - i-- - dAtA[i] = 0x30 + repeatedStringForUserNamespacePermissions += "}" + repeatedStringForIdentityNamespacePermissions := "[]*IdentityNamespacePermissions{" + for _, f := range this.IdentityNamespacePermissions { + repeatedStringForIdentityNamespacePermissions += strings.Replace(fmt.Sprintf("%v", f), "IdentityNamespacePermissions", "v11.IdentityNamespacePermissions", 1) + "," } - 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 + repeatedStringForIdentityNamespacePermissions += "}" + keysForTags := make([]string, 0, len(this.Tags)) + for k, _ := range this.Tags { + keysForTags = append(keysForTags, k) } - 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 + github_com_gogo_protobuf_sortkeys.Strings(keysForTags) + mapStringForTags := "map[string]string{" + for _, k := range keysForTags { + mapStringForTags += fmt.Sprintf("%v: %v,", k, this.Tags[k]) } - 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 + 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" } - 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 + 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" } - if m.FailoverType != 0 { - i = encodeVarintRequestResponse(dAtA, i, uint64(m.FailoverType)) - i-- - dAtA[i] = 0x8 + 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" } - return len(dAtA) - i, 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 (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 +func (this *ListNamespacesResponse) String() string { + if this == nil { + return "nil" } - return dAtA[:n], nil + s := strings.Join([]string{`&ListNamespacesResponse{`, + `Namespaces:` + fmt.Sprintf("%v", this.Namespaces) + `,`, + `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, + `}`, + }, "") + return s } - -func (m *GlobalizeNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +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 (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 +func (this *GetNamespacesResponse) String() string { + if this == nil { + return "nil" } - 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 + repeatedStringForNamespaces := "[]*Namespace{" + for _, f := range this.Namespaces { + repeatedStringForNamespaces += strings.Replace(fmt.Sprintf("%v", f), "Namespace", "v1.Namespace", 1) + "," } - 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 + 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" } - 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 + s := strings.Join([]string{`&GetNamespaceRequest{`, + `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, + `}`, + }, "") + return s +} +func (this *GetNamespaceResponse) String() string { + if this == nil { + return "nil" } - return len(dAtA) - i, nil + s := strings.Join([]string{`&GetNamespaceResponse{`, + `Namespace:` + strings.Replace(fmt.Sprintf("%v", this.Namespace), "Namespace", "v1.Namespace", 1) + `,`, + `}`, + }, "") + return s } - -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 +func (this *UpdateNamespaceRequest) String() string { + if this == nil { + return "nil" } - return dAtA[:n], 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 (m *GlobalizeNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +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 (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 +func (this *RenameCustomSearchAttributeRequest) String() string { + if this == nil { + return "nil" } - return len(dAtA) - i, 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 (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 +func (this *RenameCustomSearchAttributeResponse) String() string { + if this == nil { + return "nil" } - return dAtA[:n], nil + s := strings.Join([]string{`&RenameCustomSearchAttributeResponse{`, + `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v12.RequestStatus", 1) + `,`, + `}`, + }, "") + return s } - -func (m *ValidateGlobalizeNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +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 (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 +func (this *DeleteNamespaceResponse) String() string { + if this == nil { + return "nil" } - return len(dAtA) - i, nil + s := strings.Join([]string{`&DeleteNamespaceResponse{`, + `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v12.RequestStatus", 1) + `,`, + `}`, + }, "") + return s } - -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 +func (this *FailoverNamespaceRequest) String() string { + if this == nil { + return "nil" } - return dAtA[:n], 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 (m *ValidateGlobalizeNamespaceResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +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 (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 +func (this *ReplicationStatus) String() string { + if this == nil { + return "nil" } - if m.Success { - i-- - if m.Success { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x8 + 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" } - return len(dAtA) - i, 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 (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 +func (this *ListFailoverHistoryByNamespaceResponse) String() string { + if this == nil { + return "nil" } - return dAtA[:n], 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 (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)) +func (this *FailoverRecord) String() string { + if this == nil { + return "nil" } - return n + 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 (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)) +func (this *GlobalizeNamespaceRequest) String() string { + if this == nil { + return "nil" } - return n + 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 (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)) +func (this *GlobalizeNamespaceResponse) String() string { + if this == nil { + return "nil" } - 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 *CreateExportSinkRequest) 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)) - } - return n -} - -func (m *CreateExportSinkResponse) 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 *GetExportSinkRequest) 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.SinkName) - if l > 0 { - n += 1 + l + sovRequestResponse(uint64(l)) - } - return n -} - -func (m *GetExportSinkResponse) 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 *DeleteExportSinkRequest) 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.SinkName) - 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 *DeleteExportSinkResponse) 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 *UpdateExportSinkRequest) 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 *UpdateExportSinkResponse) 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 *ListExportSinksRequest) 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 *ListExportSinksResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.SinkNames) > 0 { - for _, s := range m.SinkNames { - 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 *GetExportSinksRequest) 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 *GetExportSinksResponse) 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 *ValidateExportSinkRequest) 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 *ValidateExportSinkResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = 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 *CreateExportSinkRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateExportSinkRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "ExportSinkSpec", "v14.ExportSinkSpec", 1) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `}`, - }, "") - return s -} -func (this *CreateExportSinkResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&CreateExportSinkResponse{`, - `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v12.RequestStatus", 1) + `,`, - `}`, - }, "") - return s -} -func (this *GetExportSinkRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetExportSinkRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `SinkName:` + fmt.Sprintf("%v", this.SinkName) + `,`, - `}`, - }, "") - return s -} -func (this *GetExportSinkResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetExportSinkResponse{`, - `Sink:` + strings.Replace(fmt.Sprintf("%v", this.Sink), "ExportSink", "v14.ExportSink", 1) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteExportSinkRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteExportSinkRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `SinkName:` + fmt.Sprintf("%v", this.SinkName) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `}`, - }, "") - return s -} -func (this *DeleteExportSinkResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&DeleteExportSinkResponse{`, - `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v12.RequestStatus", 1) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateExportSinkRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateExportSinkRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "ExportSinkSpec", "v14.ExportSinkSpec", 1) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `RequestId:` + fmt.Sprintf("%v", this.RequestId) + `,`, - `}`, - }, "") - return s -} -func (this *UpdateExportSinkResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&UpdateExportSinkResponse{`, - `RequestStatus:` + strings.Replace(fmt.Sprintf("%v", this.RequestStatus), "RequestStatus", "v12.RequestStatus", 1) + `,`, - `}`, - }, "") - return s -} -func (this *ListExportSinksRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ListExportSinksRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `}`, - }, "") - return s -} -func (this *ListExportSinksResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ListExportSinksResponse{`, - `SinkNames:` + fmt.Sprintf("%v", this.SinkNames) + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetExportSinksRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&GetExportSinksRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `PageSize:` + fmt.Sprintf("%v", this.PageSize) + `,`, - `PageToken:` + fmt.Sprintf("%v", this.PageToken) + `,`, - `}`, - }, "") - return s -} -func (this *GetExportSinksResponse) String() string { - if this == nil { - return "nil" - } - repeatedStringForSinks := "[]*ExportSink{" - for _, f := range this.Sinks { - repeatedStringForSinks += strings.Replace(fmt.Sprintf("%v", f), "ExportSink", "v14.ExportSink", 1) + "," - } - repeatedStringForSinks += "}" - s := strings.Join([]string{`&GetExportSinksResponse{`, - `Sinks:` + repeatedStringForSinks + `,`, - `NextPageToken:` + fmt.Sprintf("%v", this.NextPageToken) + `,`, - `}`, - }, "") - return s -} -func (this *ValidateExportSinkRequest) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ValidateExportSinkRequest{`, - `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, - `Spec:` + strings.Replace(fmt.Sprintf("%v", this.Spec), "ExportSinkSpec", "v14.ExportSinkSpec", 1) + `,`, - `}`, - }, "") - return s -} -func (this *ValidateExportSinkResponse) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ValidateExportSinkResponse{`, - `}`, - }, "") - 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 - } + 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" } - - if iNdEx > l { - return io.ErrUnexpectedEOF + s := strings.Join([]string{`&ValidateGlobalizeNamespaceRequest{`, + `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, + `}`, + }, "") + return s +} +func (this *ValidateGlobalizeNamespaceResponse) String() string { + if this == nil { + return "nil" } - return nil + s := strings.Join([]string{`&ValidateGlobalizeNamespaceResponse{`, + `Success:` + fmt.Sprintf("%v", this.Success) + `,`, + `FailureReason:` + fmt.Sprintf("%v", this.FailureReason) + `,`, + `}`, + }, "") + return s } -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 - } +func (this *ListReplicaStatusRequest) String() string { + if this == nil { + return "nil" } - - if iNdEx > l { - return io.ErrUnexpectedEOF + 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" } - 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 (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { +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 { @@ -8921,10 +5093,10 @@ func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RenameCustomSearchAttributeRequest: wiretype end group for non-group") + return fmt.Errorf("proto: CreateNamespaceRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RenameCustomSearchAttributeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CreateNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -8961,9 +5133,9 @@ func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExistingCustomSearchAttributeName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -8973,27 +5145,31 @@ func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.ExistingCustomSearchAttributeName = string(dAtA[iNdEx:postIndex]) + 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 NewCustomSearchAttributeName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -9021,13 +5197,13 @@ func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.NewCustomSearchAttributeName = string(dAtA[iNdEx:postIndex]) + m.RequestId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field UserNamespacePermissions", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -9037,29 +5213,31 @@ func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + 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 RequestId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IdentityNamespacePermissions", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -9069,80 +5247,29 @@ func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen 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: + 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 RequestStatus", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9169,12 +5296,103 @@ func (m *RenameCustomSearchAttributeResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.RequestStatus == nil { - m.RequestStatus = &v12.RequestStatus{} + if m.Tags == nil { + m.Tags = make(map[string]string) } - if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + 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 @@ -9200,7 +5418,7 @@ func (m *RenameCustomSearchAttributeResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteNamespaceRequest) Unmarshal(dAtA []byte) error { +func (m *CreateNamespaceResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9223,49 +5441,17 @@ func (m *DeleteNamespaceRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteNamespaceRequest: wiretype end group for non-group") + return fmt.Errorf("proto: CreateNamespaceResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 ResourceVersion", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RequestStatus", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -9275,55 +5461,27 @@ func (m *DeleteNamespaceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen 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 m.RequestStatus == nil { + m.RequestStatus = &v12.RequestStatus{} } - if postIndex > l { - return io.ErrUnexpectedEOF + if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - m.RequestId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -9349,7 +5507,7 @@ func (m *DeleteNamespaceRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteNamespaceResponse) Unmarshal(dAtA []byte) error { +func (m *ListNamespacesFilter) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9368,21 +5526,90 @@ func (m *DeleteNamespaceResponse) Unmarshal(dAtA []byte) error { 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: + } + 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 RequestStatus", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ConnectivityRuleId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -9392,27 +5619,23 @@ func (m *DeleteNamespaceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen 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 - } + m.ConnectivityRuleId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -9438,7 +5661,7 @@ func (m *DeleteNamespaceResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *CreateExportSinkRequest) Unmarshal(dAtA []byte) error { +func (m *ListNamespacesRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9461,17 +5684,17 @@ func (m *CreateExportSinkRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CreateExportSinkRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ListNamespacesRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CreateExportSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ListNamespacesRequest: 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) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) } - var stringLen uint64 + m.PageSize = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -9481,63 +5704,14 @@ func (m *CreateExportSinkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.PageSize |= int32(b&0x7F) << shift if b < 0x80 { 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 = &v14.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 RequestId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -9565,64 +5739,11 @@ func (m *CreateExportSinkRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.RequestId = string(dAtA[iNdEx:postIndex]) + 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 *CreateExportSinkResponse) Unmarshal(dAtA []byte) 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: CreateExportSinkResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CreateExportSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestStatus", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Filter", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9649,10 +5770,10 @@ func (m *CreateExportSinkResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.RequestStatus == nil { - m.RequestStatus = &v12.RequestStatus{} + if m.Filter == nil { + m.Filter = &ListNamespacesFilter{} } - if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Filter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -9680,7 +5801,7 @@ func (m *CreateExportSinkResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetExportSinkRequest) Unmarshal(dAtA []byte) error { +func (m *ListNamespacesResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9703,15 +5824,15 @@ func (m *GetExportSinkRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetExportSinkRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ListNamespacesResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetExportSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) + 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 Namespace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Namespaces", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -9739,11 +5860,11 @@ func (m *GetExportSinkRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + 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 SinkName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -9771,7 +5892,7 @@ func (m *GetExportSinkRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.SinkName = string(dAtA[iNdEx:postIndex]) + m.NextPageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -9797,7 +5918,7 @@ func (m *GetExportSinkRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetExportSinkResponse) Unmarshal(dAtA []byte) error { +func (m *GetNamespacesRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9820,17 +5941,36 @@ func (m *GetExportSinkResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetExportSinkResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetNamespacesRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetExportSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 Sink", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -9840,27 +5980,23 @@ func (m *GetExportSinkResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Sink == nil { - m.Sink = &v14.ExportSink{} - } - if err := m.Sink.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.PageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -9886,7 +6022,7 @@ func (m *GetExportSinkResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteExportSinkRequest) Unmarshal(dAtA []byte) error { +func (m *GetNamespacesResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9905,53 +6041,21 @@ func (m *DeleteExportSinkRequest) Unmarshal(dAtA []byte) error { if b < 0x80 { break } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DeleteExportSinkRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteExportSinkRequest: 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: + } + 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 SinkName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Namespaces", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -9961,27 +6065,29 @@ func (m *DeleteExportSinkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.SinkName = string(dAtA[iNdEx:postIndex]) + 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 3: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -10009,11 +6115,64 @@ func (m *DeleteExportSinkRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + m.NextPageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + 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 RequestId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -10041,7 +6200,7 @@ func (m *DeleteExportSinkRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.RequestId = string(dAtA[iNdEx:postIndex]) + m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -10067,7 +6226,7 @@ func (m *DeleteExportSinkRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *DeleteExportSinkResponse) Unmarshal(dAtA []byte) error { +func (m *GetNamespaceResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10090,15 +6249,15 @@ func (m *DeleteExportSinkResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DeleteExportSinkResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetNamespaceResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DeleteExportSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 RequestStatus", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10125,10 +6284,10 @@ func (m *DeleteExportSinkResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.RequestStatus == nil { - m.RequestStatus = &v12.RequestStatus{} + if m.Namespace == nil { + m.Namespace = &v1.Namespace{} } - if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Namespace.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -10156,7 +6315,7 @@ func (m *DeleteExportSinkResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateExportSinkRequest) Unmarshal(dAtA []byte) error { +func (m *UpdateNamespaceRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10179,10 +6338,10 @@ func (m *UpdateExportSinkRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateExportSinkRequest: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateNamespaceRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateExportSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -10247,7 +6406,7 @@ func (m *UpdateExportSinkRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Spec == nil { - m.Spec = &v14.ExportSinkSpec{} + m.Spec = &v1.NamespaceSpec{} } if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -10341,96 +6500,7 @@ func (m *UpdateExportSinkRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateExportSinkResponse) Unmarshal(dAtA []byte) 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: UpdateExportSinkResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateExportSinkResponse: 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 *ListExportSinksRequest) Unmarshal(dAtA []byte) error { +func (m *UpdateNamespaceResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10443,78 +6513,27 @@ func (m *ListExportSinksRequest) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ListExportSinksRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ListExportSinksRequest: 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 - } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - case 3: + } + 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 PageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RequestStatus", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -10524,23 +6543,27 @@ func (m *ListExportSinksRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - m.PageToken = string(dAtA[iNdEx:postIndex]) + 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 @@ -10566,7 +6589,7 @@ func (m *ListExportSinksRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *ListExportSinksResponse) Unmarshal(dAtA []byte) error { +func (m *RenameCustomSearchAttributeRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10589,15 +6612,15 @@ func (m *ListExportSinksResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ListExportSinksResponse: wiretype end group for non-group") + return fmt.Errorf("proto: RenameCustomSearchAttributeRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ListExportSinksResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 SinkNames", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -10625,11 +6648,11 @@ func (m *ListExportSinksResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.SinkNames = append(m.SinkNames, string(dAtA[iNdEx:postIndex])) + m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ExistingCustomSearchAttributeName", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -10657,64 +6680,11 @@ func (m *ListExportSinksResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) + m.ExistingCustomSearchAttributeName = 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 *GetExportSinksRequest) Unmarshal(dAtA []byte) 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: GetExportSinksRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetExportSinksRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field NewCustomSearchAttributeName", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -10742,13 +6712,13 @@ func (m *GetExportSinksRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + m.NewCustomSearchAttributeName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } - m.PageSize = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -10758,14 +6728,27 @@ func (m *GetExportSinksRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.PageSize |= int32(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 3: + 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 PageToken", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -10793,7 +6776,7 @@ func (m *GetExportSinksRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PageToken = string(dAtA[iNdEx:postIndex]) + m.RequestId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -10819,7 +6802,7 @@ func (m *GetExportSinksRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetExportSinksResponse) Unmarshal(dAtA []byte) error { +func (m *RenameCustomSearchAttributeResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10842,15 +6825,15 @@ func (m *GetExportSinksResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetExportSinksResponse: wiretype end group for non-group") + return fmt.Errorf("proto: RenameCustomSearchAttributeResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetExportSinksResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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 Sinks", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RequestStatus", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10877,42 +6860,12 @@ func (m *GetExportSinksResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Sinks = append(m.Sinks, &v14.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 m.RequestStatus == nil { + m.RequestStatus = &v12.RequestStatus{} } - if postIndex > l { - return io.ErrUnexpectedEOF + if err := m.RequestStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - m.NextPageToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -10938,7 +6891,7 @@ func (m *GetExportSinksResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *ValidateExportSinkRequest) Unmarshal(dAtA []byte) error { +func (m *DeleteNamespaceRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10961,10 +6914,10 @@ func (m *ValidateExportSinkRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ValidateExportSinkRequest: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteNamespaceRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ValidateExportSinkRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -11001,9 +6954,9 @@ func (m *ValidateExportSinkRequest) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRequestResponse @@ -11013,27 +6966,55 @@ func (m *ValidateExportSinkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthRequestResponse } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthRequestResponse } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Spec == nil { - m.Spec = &v14.ExportSinkSpec{} + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRequestResponse + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + 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 @@ -11059,7 +7040,7 @@ func (m *ValidateExportSinkRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *ValidateExportSinkResponse) Unmarshal(dAtA []byte) error { +func (m *DeleteNamespaceResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11082,12 +7063,48 @@ func (m *ValidateExportSinkResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ValidateExportSinkResponse: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteNamespaceResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ValidateExportSinkResponse: illegal tag %d (wire type %d)", fieldNum, wire) + 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:]) diff --git a/protogen/api/namespaceservice/v1/service.pb.go b/protogen/api/namespaceservice/v1/service.pb.go index eab7fd15..b12c546f 100644 --- a/protogen/api/namespaceservice/v1/service.pb.go +++ b/protogen/api/namespaceservice/v1/service.pb.go @@ -29,44 +29,38 @@ func init() { } var fileDescriptor_d746e5fd89aff5eb = []byte{ - // 584 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x96, 0x31, 0x8f, 0xd3, 0x3e, - 0x18, 0xc6, 0x93, 0xe5, 0x3f, 0x58, 0x7f, 0xb8, 0xc3, 0x0b, 0x52, 0x91, 0x3c, 0x20, 0xb1, 0x71, - 0x09, 0xed, 0x31, 0x51, 0x04, 0xe2, 0x0e, 0x38, 0x06, 0xc4, 0xd0, 0x0a, 0x06, 0x16, 0xe4, 0xf6, - 0x2c, 0x61, 0x48, 0x9b, 0x60, 0xbb, 0x11, 0x45, 0x48, 0xf0, 0x11, 0xd8, 0x90, 0x58, 0x59, 0xf8, - 0x28, 0x8c, 0x1d, 0x6f, 0xa4, 0xe9, 0xc2, 0x78, 0x3b, 0x0b, 0x2a, 0x39, 0xbb, 0xae, 0x5d, 0xc7, - 0x6e, 0xb7, 0xaa, 0x7e, 0x9e, 0xf7, 0xf7, 0xda, 0x7e, 0xf2, 0xca, 0xe0, 0x06, 0x2e, 0x68, 0x3a, -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0x36, 0x79, 0x54, 0x03, 0x5f, - 0x63, 0xd0, 0x92, 0xd1, 0xd9, 0xd0, 0xc9, 0x1d, 0x6f, 0xde, 0xdc, 0x1d, 0x75, 0x77, 0xf2, 0xea, - 0xf1, 0x59, 0x1e, 0x63, 0x8f, 0x14, 0x19, 0x1d, 0xe2, 0xbe, 0xc0, 0x62, 0xc2, 0x1b, 0xe2, 0x63, - 0x69, 0xfd, 0xf1, 0xd9, 0x60, 0x91, 0xf4, 0xa3, 0x37, 0xb3, 0x39, 0x8a, 0xce, 0xe6, 0x28, 0x3a, - 0x9f, 0xa3, 0xf8, 0x73, 0x85, 0xe2, 0x1f, 0x15, 0x8a, 0x7f, 0x56, 0x28, 0x9e, 0x55, 0x28, 0xfe, - 0x55, 0xa1, 0xf8, 0x77, 0x85, 0xa2, 0xf3, 0x0a, 0xc5, 0x5f, 0x16, 0x28, 0x9a, 0x2d, 0x50, 0x74, - 0xb6, 0x40, 0xd1, 0xcb, 0xdb, 0x62, 0x54, 0xb0, 0x2c, 0x19, 0x66, 0xf9, 0xe4, 0x34, 0x75, 0xbc, - 0xf7, 0xba, 0xe6, 0x7f, 0x83, 0xff, 0xfe, 0x3d, 0xf8, 0x0e, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, - 0x49, 0x79, 0xd4, 0x2f, 0x62, 0x0a, 0x00, 0x00, + // 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, 0x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, 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. @@ -95,20 +89,6 @@ type NamespaceServiceClient interface { 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) - // CreateExportSink creates a new sink under the specified namespace on Temporal cloud - CreateExportSink(ctx context.Context, in *CreateExportSinkRequest, opts ...grpc.CallOption) (*CreateExportSinkResponse, error) - // GetExportSink gets the specified sink under the specified namespace on Temporal cloud - GetExportSink(ctx context.Context, in *GetExportSinkRequest, opts ...grpc.CallOption) (*GetExportSinkResponse, error) - // DeleteExportSink deletes the specified sink under the specified namespace on Temporal cloud - DeleteExportSink(ctx context.Context, in *DeleteExportSinkRequest, opts ...grpc.CallOption) (*DeleteExportSinkResponse, error) - // UpdateExportSink updates the specified sink under the specified namespace on Temporal Cloud - UpdateExportSink(ctx context.Context, in *UpdateExportSinkRequest, opts ...grpc.CallOption) (*UpdateExportSinkResponse, error) - // ListExportSinks lists the export sinks under the specified namespace on Temporal Cloud - ListExportSinks(ctx context.Context, in *ListExportSinksRequest, opts ...grpc.CallOption) (*ListExportSinksResponse, error) - // ValidateExportSink that could write test file to sink on Temporal Cloud - ValidateExportSink(ctx context.Context, in *ValidateExportSinkRequest, opts ...grpc.CallOption) (*ValidateExportSinkResponse, error) - // GetExportSinks retrieves the export sinks under the specified namespace on Temporal Cloud - GetExportSinks(ctx context.Context, in *GetExportSinksRequest, opts ...grpc.CallOption) (*GetExportSinksResponse, 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 @@ -192,69 +172,6 @@ func (c *namespaceServiceClient) DeleteNamespace(ctx context.Context, in *Delete return out, nil } -func (c *namespaceServiceClient) CreateExportSink(ctx context.Context, in *CreateExportSinkRequest, opts ...grpc.CallOption) (*CreateExportSinkResponse, error) { - out := new(CreateExportSinkResponse) - err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/CreateExportSink", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *namespaceServiceClient) GetExportSink(ctx context.Context, in *GetExportSinkRequest, opts ...grpc.CallOption) (*GetExportSinkResponse, error) { - out := new(GetExportSinkResponse) - err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/GetExportSink", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *namespaceServiceClient) DeleteExportSink(ctx context.Context, in *DeleteExportSinkRequest, opts ...grpc.CallOption) (*DeleteExportSinkResponse, error) { - out := new(DeleteExportSinkResponse) - err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/DeleteExportSink", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *namespaceServiceClient) UpdateExportSink(ctx context.Context, in *UpdateExportSinkRequest, opts ...grpc.CallOption) (*UpdateExportSinkResponse, error) { - out := new(UpdateExportSinkResponse) - err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/UpdateExportSink", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *namespaceServiceClient) ListExportSinks(ctx context.Context, in *ListExportSinksRequest, opts ...grpc.CallOption) (*ListExportSinksResponse, error) { - out := new(ListExportSinksResponse) - err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/ListExportSinks", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *namespaceServiceClient) ValidateExportSink(ctx context.Context, in *ValidateExportSinkRequest, opts ...grpc.CallOption) (*ValidateExportSinkResponse, error) { - out := new(ValidateExportSinkResponse) - err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/ValidateExportSink", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *namespaceServiceClient) GetExportSinks(ctx context.Context, in *GetExportSinksRequest, opts ...grpc.CallOption) (*GetExportSinksResponse, error) { - out := new(GetExportSinksResponse) - err := c.cc.Invoke(ctx, "/api.namespaceservice.v1.NamespaceService/GetExportSinks", 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...) @@ -316,20 +233,6 @@ type NamespaceServiceServer interface { RenameCustomSearchAttribute(context.Context, *RenameCustomSearchAttributeRequest) (*RenameCustomSearchAttributeResponse, error) // DeleteNamespace deletes an existing namespace on Temporal cloud. DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*DeleteNamespaceResponse, error) - // CreateExportSink creates a new sink under the specified namespace on Temporal cloud - CreateExportSink(context.Context, *CreateExportSinkRequest) (*CreateExportSinkResponse, error) - // GetExportSink gets the specified sink under the specified namespace on Temporal cloud - GetExportSink(context.Context, *GetExportSinkRequest) (*GetExportSinkResponse, error) - // DeleteExportSink deletes the specified sink under the specified namespace on Temporal cloud - DeleteExportSink(context.Context, *DeleteExportSinkRequest) (*DeleteExportSinkResponse, error) - // UpdateExportSink updates the specified sink under the specified namespace on Temporal Cloud - UpdateExportSink(context.Context, *UpdateExportSinkRequest) (*UpdateExportSinkResponse, error) - // ListExportSinks lists the export sinks under the specified namespace on Temporal Cloud - ListExportSinks(context.Context, *ListExportSinksRequest) (*ListExportSinksResponse, error) - // ValidateExportSink that could write test file to sink on Temporal Cloud - ValidateExportSink(context.Context, *ValidateExportSinkRequest) (*ValidateExportSinkResponse, error) - // GetExportSinks retrieves the export sinks under the specified namespace on Temporal Cloud - GetExportSinks(context.Context, *GetExportSinksRequest) (*GetExportSinksResponse, 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 @@ -367,27 +270,6 @@ func (*UnimplementedNamespaceServiceServer) RenameCustomSearchAttribute(ctx cont func (*UnimplementedNamespaceServiceServer) DeleteNamespace(ctx context.Context, req *DeleteNamespaceRequest) (*DeleteNamespaceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteNamespace not implemented") } -func (*UnimplementedNamespaceServiceServer) CreateExportSink(ctx context.Context, req *CreateExportSinkRequest) (*CreateExportSinkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateExportSink not implemented") -} -func (*UnimplementedNamespaceServiceServer) GetExportSink(ctx context.Context, req *GetExportSinkRequest) (*GetExportSinkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetExportSink not implemented") -} -func (*UnimplementedNamespaceServiceServer) DeleteExportSink(ctx context.Context, req *DeleteExportSinkRequest) (*DeleteExportSinkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteExportSink not implemented") -} -func (*UnimplementedNamespaceServiceServer) UpdateExportSink(ctx context.Context, req *UpdateExportSinkRequest) (*UpdateExportSinkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateExportSink not implemented") -} -func (*UnimplementedNamespaceServiceServer) ListExportSinks(ctx context.Context, req *ListExportSinksRequest) (*ListExportSinksResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListExportSinks not implemented") -} -func (*UnimplementedNamespaceServiceServer) ValidateExportSink(ctx context.Context, req *ValidateExportSinkRequest) (*ValidateExportSinkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ValidateExportSink not implemented") -} -func (*UnimplementedNamespaceServiceServer) GetExportSinks(ctx context.Context, req *GetExportSinksRequest) (*GetExportSinksResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetExportSinks not implemented") -} func (*UnimplementedNamespaceServiceServer) FailoverNamespace(ctx context.Context, req *FailoverNamespaceRequest) (*FailoverNamespaceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FailoverNamespace not implemented") } @@ -534,132 +416,6 @@ func _NamespaceService_DeleteNamespace_Handler(srv interface{}, ctx context.Cont return interceptor(ctx, in, info, handler) } -func _NamespaceService_CreateExportSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateExportSinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NamespaceServiceServer).CreateExportSink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.namespaceservice.v1.NamespaceService/CreateExportSink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NamespaceServiceServer).CreateExportSink(ctx, req.(*CreateExportSinkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NamespaceService_GetExportSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetExportSinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NamespaceServiceServer).GetExportSink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.namespaceservice.v1.NamespaceService/GetExportSink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NamespaceServiceServer).GetExportSink(ctx, req.(*GetExportSinkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NamespaceService_DeleteExportSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteExportSinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NamespaceServiceServer).DeleteExportSink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.namespaceservice.v1.NamespaceService/DeleteExportSink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NamespaceServiceServer).DeleteExportSink(ctx, req.(*DeleteExportSinkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NamespaceService_UpdateExportSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateExportSinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NamespaceServiceServer).UpdateExportSink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.namespaceservice.v1.NamespaceService/UpdateExportSink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NamespaceServiceServer).UpdateExportSink(ctx, req.(*UpdateExportSinkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NamespaceService_ListExportSinks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListExportSinksRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NamespaceServiceServer).ListExportSinks(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.namespaceservice.v1.NamespaceService/ListExportSinks", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NamespaceServiceServer).ListExportSinks(ctx, req.(*ListExportSinksRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NamespaceService_ValidateExportSink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ValidateExportSinkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NamespaceServiceServer).ValidateExportSink(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.namespaceservice.v1.NamespaceService/ValidateExportSink", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NamespaceServiceServer).ValidateExportSink(ctx, req.(*ValidateExportSinkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NamespaceService_GetExportSinks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetExportSinksRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NamespaceServiceServer).GetExportSinks(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/api.namespaceservice.v1.NamespaceService/GetExportSinks", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NamespaceServiceServer).GetExportSinks(ctx, req.(*GetExportSinksRequest)) - } - 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 { @@ -782,34 +538,6 @@ var _NamespaceService_serviceDesc = grpc.ServiceDesc{ MethodName: "DeleteNamespace", Handler: _NamespaceService_DeleteNamespace_Handler, }, - { - MethodName: "CreateExportSink", - Handler: _NamespaceService_CreateExportSink_Handler, - }, - { - MethodName: "GetExportSink", - Handler: _NamespaceService_GetExportSink_Handler, - }, - { - MethodName: "DeleteExportSink", - Handler: _NamespaceService_DeleteExportSink_Handler, - }, - { - MethodName: "UpdateExportSink", - Handler: _NamespaceService_UpdateExportSink_Handler, - }, - { - MethodName: "ListExportSinks", - Handler: _NamespaceService_ListExportSinks_Handler, - }, - { - MethodName: "ValidateExportSink", - Handler: _NamespaceService_ValidateExportSink_Handler, - }, - { - MethodName: "GetExportSinks", - Handler: _NamespaceService_GetExportSinks_Handler, - }, { MethodName: "FailoverNamespace", Handler: _NamespaceService_FailoverNamespace_Handler, diff --git a/protogen/api/sink/v1/message.pb.go b/protogen/api/sink/v1/message.pb.go index ee81bc6d..6b18b730 100644 --- a/protogen/api/sink/v1/message.pb.go +++ b/protogen/api/sink/v1/message.pb.go @@ -113,96 +113,6 @@ func (Type) EnumDescriptor() ([]byte, []int) { return fileDescriptor_ef8b1808dc5a7594, []int{2} } -type ExportSinkState int32 - -const ( - EXPORT_SINK_STATE_UNSPECIFIED ExportSinkState = 0 - EXPORT_SINK_STATE_ACTIVATING ExportSinkState = 1 - EXPORT_SINK_STATE_ACTIVE ExportSinkState = 2 - EXPORT_SINK_STATE_ACTIVATION_FAILED ExportSinkState = 3 - EXPORT_SINK_STATE_DELETING ExportSinkState = 4 - EXPORT_SINK_STATE_DELETED ExportSinkState = 5 - EXPORT_SINK_STATE_UPDATING ExportSinkState = 6 - EXPORT_SINK_STATE_UPDATE_FAILED ExportSinkState = 7 -) - -var ExportSinkState_name = map[int32]string{ - 0: "Unspecified", - 1: "Activating", - 2: "Active", - 3: "ActivationFailed", - 4: "Deleting", - 5: "Deleted", - 6: "Updating", - 7: "UpdateFailed", -} - -var ExportSinkState_value = map[string]int32{ - "Unspecified": 0, - "Activating": 1, - "Active": 2, - "ActivationFailed": 3, - "Deleting": 4, - "Deleted": 5, - "Updating": 6, - "UpdateFailed": 7, -} - -func (ExportSinkState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ef8b1808dc5a7594, []int{3} -} - -type ExportSinkHealth int32 - -const ( - EXPORT_SINK_HEALTH_UNSPECIFIED ExportSinkHealth = 0 - EXPORT_SINK_HEALTH_OK ExportSinkHealth = 1 - EXPORT_SINK_HEALTH_ERROR_INTERNAL ExportSinkHealth = 2 - EXPORT_SINK_HEALTH_ERROR_USER_CONFIGURATION ExportSinkHealth = 3 -) - -var ExportSinkHealth_name = map[int32]string{ - 0: "Unspecified", - 1: "Ok", - 2: "ErrorInternal", - 3: "ErrorUserConfiguration", -} - -var ExportSinkHealth_value = map[string]int32{ - "Unspecified": 0, - "Ok": 1, - "ErrorInternal": 2, - "ErrorUserConfiguration": 3, -} - -func (ExportSinkHealth) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ef8b1808dc5a7594, []int{4} -} - -type ExportDestinationType int32 - -const ( - EXPORT_DESTINATION_TYPE_UNSPECIFIED ExportDestinationType = 0 - EXPORT_DESTINATION_TYPE_S3 ExportDestinationType = 1 - EXPORT_DESTINATION_TYPE_GCS ExportDestinationType = 2 -) - -var ExportDestinationType_name = map[int32]string{ - 0: "Unspecified", - 1: "S3", - 2: "Gcs", -} - -var ExportDestinationType_value = map[string]int32{ - "Unspecified": 0, - "S3": 1, - "Gcs": 2, -} - -func (ExportDestinationType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_ef8b1808dc5a7594, []int{5} -} - type KinesisSpec struct { // 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"` @@ -275,9 +185,7 @@ type SinkSpec struct { DestinationType DestinationType `protobuf:"varint,3,opt,name=destination_type,json=destinationType,proto3,enum=api.sink.v1.DestinationType" json:"destination_type,omitempty"` // The KinesisSpec when destination_type is Kinesis KinesisSink *KinesisSpec `protobuf:"bytes,4,opt,name=kinesis_sink,json=kinesisSink,proto3" json:"kinesis_sink,omitempty"` - // The S3spec when destination_type is S3 - S3Sink *S3Spec `protobuf:"bytes,5,opt,name=s3_sink,json=s3Sink,proto3" json:"s3_sink,omitempty"` - Enabled bool `protobuf:"varint,6,opt,name=enabled,proto3" json:"enabled,omitempty"` + Enabled bool `protobuf:"varint,6,opt,name=enabled,proto3" json:"enabled,omitempty"` // The PubSubSpec when destination_type is PubSub PubSubSink *PubSubSpec `protobuf:"bytes,7,opt,name=pub_sub_sink,json=pubSubSink,proto3" json:"pub_sub_sink,omitempty"` } @@ -342,13 +250,6 @@ func (m *SinkSpec) GetKinesisSink() *KinesisSpec { return nil } -func (m *SinkSpec) GetS3Sink() *S3Spec { - if m != nil { - return m.S3Sink - } - return nil -} - func (m *SinkSpec) GetEnabled() bool { if m != nil { return m.Enabled @@ -433,157 +334,6 @@ func (m *Sink) GetLastSucceededTime() *types.Timestamp { return nil } -type S3Spec struct { - // The role that Temporal Cloud assumes for writing records to customer's S3 bucket - RoleName string `protobuf:"bytes,1,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"` - // Destination S3 bucket name for temporal to send data to - BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` - // The region of the S3 bucket - Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` - // The kms key ARN used for encryption - KmsArn string `protobuf:"bytes,4,opt,name=kms_arn,json=kmsArn,proto3" json:"kms_arn,omitempty"` - // The aws account id of s3 bucket and assumed role - 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_ef8b1808dc5a7594, []int{3} -} -func (m *S3Spec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -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 - } - return b[:n], nil - } -} -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) -} - -var xxx_messageInfo_S3Spec proto.InternalMessageInfo - -func (m *S3Spec) GetRoleName() string { - if m != nil { - return m.RoleName - } - return "" -} - -func (m *S3Spec) GetBucketName() string { - if m != nil { - return m.BucketName - } - return "" -} - -func (m *S3Spec) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - -func (m *S3Spec) GetKmsArn() string { - if m != nil { - return m.KmsArn - } - return "" -} - -func (m *S3Spec) GetAwsAccountId() string { - if m != nil { - return m.AwsAccountId - } - return "" -} - -type GCSSpec struct { - // The customer service account id that Temporal Cloud impersonates for writing records to customer's gcs bucket - SaId string `protobuf:"bytes,1,opt,name=sa_id,json=saId,proto3" json:"sa_id,omitempty"` - // Destination gcs bucket name for temporal to send data to - BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` - // The gcp project id of gcs bucket and service account - GcpProjectId string `protobuf:"bytes,3,opt,name=gcp_project_id,json=gcpProjectId,proto3" json:"gcp_project_id,omitempty"` - // The region of the gcs bucket - 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_ef8b1808dc5a7594, []int{4} -} -func (m *GCSSpec) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -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 - } - return b[:n], nil - } -} -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) -} - -var xxx_messageInfo_GCSSpec proto.InternalMessageInfo - -func (m *GCSSpec) GetSaId() string { - if m != nil { - return m.SaId - } - return "" -} - -func (m *GCSSpec) GetBucketName() string { - if m != nil { - return m.BucketName - } - return "" -} - -func (m *GCSSpec) GetGcpProjectId() string { - if m != nil { - return m.GcpProjectId - } - return "" -} - -func (m *GCSSpec) GetRegion() string { - if m != nil { - return m.Region - } - return "" -} - type PubSubSpec struct { // 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"` @@ -596,7 +346,7 @@ type PubSubSpec struct { func (m *PubSubSpec) Reset() { *m = PubSubSpec{} } func (*PubSubSpec) ProtoMessage() {} func (*PubSubSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_ef8b1808dc5a7594, []int{5} + return fileDescriptor_ef8b1808dc5a7594, []int{3} } func (m *PubSubSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -646,281 +396,67 @@ func (m *PubSubSpec) GetGcpProjectId() string { return "" } -type ExportSinkSpec struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` - // The receiving service type. - DestinationType ExportDestinationType `protobuf:"varint,3,opt,name=destination_type,json=destinationType,proto3,enum=api.sink.v1.ExportDestinationType" json:"destination_type,omitempty"` - // The S3spec when destination_type is S3 - S3Sink *S3Spec `protobuf:"bytes,4,opt,name=s3_sink,json=s3Sink,proto3" json:"s3_sink,omitempty"` - // The GCSspec when destination_type is GCS - GcsSink *GCSSpec `protobuf:"bytes,5,opt,name=gcs_sink,json=gcsSink,proto3" json:"gcs_sink,omitempty"` -} - -func (m *ExportSinkSpec) Reset() { *m = ExportSinkSpec{} } -func (*ExportSinkSpec) ProtoMessage() {} -func (*ExportSinkSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_ef8b1808dc5a7594, []int{6} -} -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 (m *ExportSinkSpec) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportSinkSpec.Merge(m, src) -} -func (m *ExportSinkSpec) XXX_Size() int { - return m.Size() -} -func (m *ExportSinkSpec) XXX_DiscardUnknown() { - xxx_messageInfo_ExportSinkSpec.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportSinkSpec proto.InternalMessageInfo - -func (m *ExportSinkSpec) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ExportSinkSpec) GetEnabled() bool { - if m != nil { - return m.Enabled - } - return false -} - -func (m *ExportSinkSpec) GetDestinationType() ExportDestinationType { - if m != nil { - return m.DestinationType - } - return EXPORT_DESTINATION_TYPE_UNSPECIFIED -} - -func (m *ExportSinkSpec) GetS3Sink() *S3Spec { - if m != nil { - return m.S3Sink - } - return nil -} - -func (m *ExportSinkSpec) GetGcsSink() *GCSSpec { - if m != nil { - return m.GcsSink - } - return nil -} - -type ExportSink struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - ResourceVersion string `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` - State ExportSinkState `protobuf:"varint,3,opt,name=state,proto3,enum=api.sink.v1.ExportSinkState" json:"state,omitempty"` - Spec *ExportSinkSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"` - Health ExportSinkHealth `protobuf:"varint,5,opt,name=health,proto3,enum=api.sink.v1.ExportSinkHealth" json:"health,omitempty"` - ErrorMessage string `protobuf:"bytes,6,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` - LatestDataExportTime *types.Timestamp `protobuf:"bytes,7,opt,name=latest_data_export_time,json=latestDataExportTime,proto3" json:"latest_data_export_time,omitempty"` - LastHealthCheckTime *types.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_ef8b1808dc5a7594, []int{7} -} -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 (m *ExportSink) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportSink.Merge(m, src) -} -func (m *ExportSink) XXX_Size() int { - return m.Size() -} -func (m *ExportSink) XXX_DiscardUnknown() { - xxx_messageInfo_ExportSink.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportSink proto.InternalMessageInfo - -func (m *ExportSink) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *ExportSink) GetResourceVersion() string { - if m != nil { - return m.ResourceVersion - } - return "" -} - -func (m *ExportSink) GetState() ExportSinkState { - if m != nil { - return m.State - } - return EXPORT_SINK_STATE_UNSPECIFIED -} - -func (m *ExportSink) GetSpec() *ExportSinkSpec { - if m != nil { - return m.Spec - } - return nil -} - -func (m *ExportSink) GetHealth() ExportSinkHealth { - if m != nil { - return m.Health - } - return EXPORT_SINK_HEALTH_UNSPECIFIED -} - -func (m *ExportSink) GetErrorMessage() string { - if m != nil { - return m.ErrorMessage - } - return "" -} - -func (m *ExportSink) GetLatestDataExportTime() *types.Timestamp { - if m != nil { - return m.LatestDataExportTime - } - return nil -} - -func (m *ExportSink) GetLastHealthCheckTime() *types.Timestamp { - if m != nil { - return m.LastHealthCheckTime - } - return nil -} - 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.RegisterEnum("api.sink.v1.ExportSinkState", ExportSinkState_name, ExportSinkState_value) - proto.RegisterEnum("api.sink.v1.ExportSinkHealth", ExportSinkHealth_name, ExportSinkHealth_value) - proto.RegisterEnum("api.sink.v1.ExportDestinationType", ExportDestinationType_name, ExportDestinationType_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((*S3Spec)(nil), "api.sink.v1.S3Spec") - proto.RegisterType((*GCSSpec)(nil), "api.sink.v1.GCSSpec") proto.RegisterType((*PubSubSpec)(nil), "api.sink.v1.PubSubSpec") - proto.RegisterType((*ExportSinkSpec)(nil), "api.sink.v1.ExportSinkSpec") - proto.RegisterType((*ExportSink)(nil), "api.sink.v1.ExportSink") } func init() { proto.RegisterFile("api/sink/v1/message.proto", fileDescriptor_ef8b1808dc5a7594) } var fileDescriptor_ef8b1808dc5a7594 = []byte{ - // 1229 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x56, 0x31, 0x73, 0xdb, 0x46, - 0x13, 0x25, 0x28, 0x8a, 0x94, 0x56, 0x32, 0x05, 0x9d, 0x64, 0x8b, 0xb6, 0x28, 0x48, 0xa6, 0xfd, - 0x8d, 0xf5, 0x29, 0x19, 0x72, 0x2c, 0x4d, 0x8a, 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, 0x7b, - 0x56, 0xfc, 0xa4, 0x66, 0xc8, 0xe9, 0x87, 0xfa, 0xeb, 0xb7, 0x4a, 0xea, 0xcd, 0x5b, 0x25, 0xf5, - 0xfe, 0xad, 0x22, 0x7d, 0x33, 0x56, 0xa4, 0x9f, 0xc6, 0x8a, 0xf4, 0xdb, 0x58, 0x91, 0x5e, 0x8f, - 0x15, 0xe9, 0x8f, 0xb1, 0x22, 0xfd, 0x39, 0x56, 0x52, 0xef, 0xc7, 0x8a, 0xf4, 0xfd, 0x3b, 0x25, - 0xf5, 0xfa, 0x9d, 0x92, 0x7a, 0xf3, 0x4e, 0x49, 0x7d, 0x5e, 0x0c, 0x87, 0x7e, 0x30, 0x28, 0xdb, - 0x03, 0x6f, 0xd4, 0xad, 0xc4, 0x7e, 0xf4, 0x3e, 0x60, 0xff, 0x3b, 0x59, 0xfe, 0xe1, 0x38, 0xfa, - 0x3b, 0x00, 0x00, 0xff, 0xff, 0xfa, 0x7c, 0xe6, 0x05, 0x0f, 0x0b, 0x00, 0x00, + // 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, 0x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xee, 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 { @@ -944,30 +480,9 @@ func (x Type) String() string { } return strconv.Itoa(int(x)) } -func (x ExportSinkState) String() string { - s, ok := ExportSinkState_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x ExportSinkHealth) String() string { - s, ok := ExportSinkHealth_name[int32(x)] - if ok { - return s - } - return strconv.Itoa(int(x)) -} -func (x ExportDestinationType) String() string { - s, ok := ExportDestinationType_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 +func (this *KinesisSpec) Equal(that interface{}) bool { + if that == nil { + return this == nil } that1, ok := that.(*KinesisSpec) @@ -1026,9 +541,6 @@ func (this *SinkSpec) Equal(that interface{}) bool { if !this.KinesisSink.Equal(that1.KinesisSink) { return false } - if !this.S3Sink.Equal(that1.S3Sink) { - return false - } if this.Enabled != that1.Enabled { return false } @@ -1070,75 +582,6 @@ func (this *Sink) Equal(that interface{}) bool { } return true } -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 (this *PubSubSpec) Equal(that interface{}) bool { if that == nil { return this == nil @@ -1169,87 +612,6 @@ func (this *PubSubSpec) Equal(that interface{}) bool { } 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.DestinationType != that1.DestinationType { - return false - } - if !this.S3Sink.Equal(that1.S3Sink) { - return false - } - if !this.GcsSink.Equal(that1.GcsSink) { - 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 *KinesisSpec) GoString() string { if this == nil { return "nil" @@ -1266,7 +628,7 @@ func (this *SinkSpec) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 11) + 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") @@ -1274,9 +636,6 @@ func (this *SinkSpec) GoString() string { if this.KinesisSink != nil { s = append(s, "KinesisSink: "+fmt.Sprintf("%#v", this.KinesisSink)+",\n") } - if this.S3Sink != nil { - s = append(s, "S3Sink: "+fmt.Sprintf("%#v", this.S3Sink)+",\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") @@ -1299,33 +658,6 @@ func (this *Sink) GoString() string { s = append(s, "}") return strings.Join(s, "") } -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 *PubSubSpec) GoString() string { if this == nil { return "nil" @@ -1338,47 +670,6 @@ func (this *PubSubSpec) GoString() string { s = append(s, "}") return strings.Join(s, "") } -func (this *ExportSinkSpec) GoString() string { - if this == nil { - return "nil" - } - s := make([]string, 0, 9) - s = append(s, "&sink.ExportSinkSpec{") - s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") - s = append(s, "Enabled: "+fmt.Sprintf("%#v", this.Enabled)+",\n") - s = append(s, "DestinationType: "+fmt.Sprintf("%#v", this.DestinationType)+",\n") - if this.S3Sink != nil { - s = append(s, "S3Sink: "+fmt.Sprintf("%#v", this.S3Sink)+",\n") - } - if this.GcsSink != nil { - s = append(s, "GcsSink: "+fmt.Sprintf("%#v", this.GcsSink)+",\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, "&sink.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 valueToGoStringMessage(v interface{}, typ string) string { rv := reflect.ValueOf(v) if rv.IsNil() { @@ -1473,18 +764,6 @@ func (m *SinkSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x30 } - if m.S3Sink != nil { - { - size, err := m.S3Sink.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } if m.KinesisSink != nil { { size, err := m.KinesisSink.MarshalToSizedBuffer(dAtA[:i]) @@ -1571,65 +850,7 @@ func (m *Sink) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -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) { +func (m *PubSubSpec) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1639,23 +860,16 @@ func (m *GCSSpec) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GCSSpec) MarshalTo(dAtA []byte) (int, error) { +func (m *PubSubSpec) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GCSSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PubSubSpec) 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) @@ -1663,10 +877,10 @@ func (m *GCSSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { 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))) + 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 } @@ -1680,216 +894,13 @@ func (m *GCSSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { 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 (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.GcsSink != nil { - { - size, err := m.GcsSink.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintMessage(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if m.S3Sink != nil { - { - size, err := m.S3Sink.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 - } - 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 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++ +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 @@ -1935,10 +946,6 @@ func (m *SinkSpec) Size() (n int) { l = m.KinesisSink.Size() n += 1 + l + sovMessage(uint64(l)) } - if m.S3Sink != nil { - l = m.S3Sink.Size() - n += 1 + l + sovMessage(uint64(l)) - } if m.Enabled { n += 2 } @@ -1973,60 +980,6 @@ func (m *Sink) Size() (n int) { return n } -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 -} - -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 -} - func (m *PubSubSpec) Size() (n int) { if m == nil { return 0 @@ -2048,74 +1001,8 @@ func (m *PubSubSpec) Size() (n int) { 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.DestinationType != 0 { - n += 1 + sovMessage(uint64(m.DestinationType)) - } - if m.S3Sink != nil { - l = m.S3Sink.Size() - n += 1 + l + sovMessage(uint64(l)) - } - if m.GcsSink != nil { - l = m.GcsSink.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 sovMessage(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 +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)))) @@ -2132,1080 +1019,55 @@ func (this *KinesisSpec) String() string { }, "") 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) + `,`, - `S3Sink:` + strings.Replace(this.S3Sink.String(), "S3Spec", "S3Spec", 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 *S3Spec) String() string { - if this == nil { - return "nil" - } - 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 *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 (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) + `,`, - `DestinationType:` + fmt.Sprintf("%v", this.DestinationType) + `,`, - `S3Sink:` + strings.Replace(this.S3Sink.String(), "S3Spec", "S3Spec", 1) + `,`, - `GcsSink:` + strings.Replace(this.GcsSink.String(), "GCSSpec", "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 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 *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 - } - return nil -} -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 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field S3Sink", 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.S3Sink == nil { - m.S3Sink = &S3Spec{} - } - if err := m.S3Sink.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 - } - return nil -} -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 - } - return nil -} -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 -} -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 - } +func (this *SinkSpec) String() string { + if this == nil { + return "nil" } - - if iNdEx > l { - return io.ErrUnexpectedEOF + 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" } - 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 (m *PubSubSpec) Unmarshal(dAtA []byte) error { +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) +} +func (m *KinesisSpec) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3228,15 +1090,15 @@ func (m *PubSubSpec) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PubSubSpec: wiretype end group for non-group") + return fmt.Errorf("proto: KinesisSpec: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PubSubSpec: illegal tag %d (wire type %d)", fieldNum, wire) + 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 SaId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AssumedRole", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3264,11 +1126,11 @@ func (m *PubSubSpec) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.SaId = string(dAtA[iNdEx:postIndex]) + m.AssumedRole = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TopicName", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DestinationUri", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3296,11 +1158,11 @@ func (m *PubSubSpec) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.TopicName = string(dAtA[iNdEx:postIndex]) + m.DestinationUri = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GcpProjectId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3328,7 +1190,7 @@ func (m *PubSubSpec) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GcpProjectId = string(dAtA[iNdEx:postIndex]) + m.Region = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -3354,7 +1216,7 @@ func (m *PubSubSpec) Unmarshal(dAtA []byte) error { } return nil } -func (m *ExportSinkSpec) Unmarshal(dAtA []byte) error { +func (m *SinkSpec) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3377,10 +1239,10 @@ func (m *ExportSinkSpec) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ExportSinkSpec: wiretype end group for non-group") + return fmt.Errorf("proto: SinkSpec: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ExportSinkSpec: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SinkSpec: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -3417,9 +1279,9 @@ func (m *ExportSinkSpec) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SinkType", wireType) } - var v int + m.SinkType = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMessage @@ -3429,12 +1291,11 @@ func (m *ExportSinkSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + m.SinkType |= Type(b&0x7F) << shift if b < 0x80 { break } } - m.Enabled = bool(v != 0) case 3: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field DestinationType", wireType) @@ -3449,14 +1310,14 @@ func (m *ExportSinkSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.DestinationType |= ExportDestinationType(b&0x7F) << shift + m.DestinationType |= DestinationType(b&0x7F) << shift if b < 0x80 { break } } case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field S3Sink", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field KinesisSink", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -3483,16 +1344,36 @@ func (m *ExportSinkSpec) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.S3Sink == nil { - m.S3Sink = &S3Spec{} + if m.KinesisSink == nil { + m.KinesisSink = &KinesisSpec{} } - if err := m.S3Sink.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.KinesisSink.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 5: + 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 GcsSink", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PubSubSink", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -3519,10 +1400,10 @@ func (m *ExportSinkSpec) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.GcsSink == nil { - m.GcsSink = &GCSSpec{} + if m.PubSubSink == nil { + m.PubSubSink = &PubSubSpec{} } - if err := m.GcsSink.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.PubSubSink.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -3550,7 +1431,7 @@ func (m *ExportSinkSpec) Unmarshal(dAtA []byte) error { } return nil } -func (m *ExportSink) Unmarshal(dAtA []byte) error { +func (m *Sink) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3573,10 +1454,10 @@ func (m *ExportSink) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ExportSink: wiretype end group for non-group") + return fmt.Errorf("proto: Sink: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ExportSink: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Sink: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -3612,10 +1493,10 @@ func (m *ExportSink) Unmarshal(dAtA []byte) error { m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) } - var stringLen uint64 + m.State = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMessage @@ -3625,29 +1506,16 @@ func (m *ExportSink) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.State |= State(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) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ErrorMessage", wireType) } - m.State = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMessage @@ -3657,14 +1525,27 @@ func (m *ExportSink) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.State |= ExportSinkState(b&0x7F) << shift + 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 Spec", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field LastSucceededTime", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -3691,35 +1572,69 @@ func (m *ExportSink) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Spec == nil { - m.Spec = &ExportSinkSpec{} + if m.LastSucceededTime == nil { + m.LastSucceededTime = &types.Timestamp{} } - if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.LastSucceededTime.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) + default: + iNdEx = preIndex + skippy, err := skipMessage(dAtA[iNdEx:]) + if err != nil { + return err } - 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 |= ExportSinkHealth(b&0x7F) << shift - if b < 0x80 { - break - } + if skippy < 0 { + return ErrInvalidLengthMessage } - case 6: + 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 *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 ErrorMessage", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SaId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3747,13 +1662,13 @@ func (m *ExportSink) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ErrorMessage = string(dAtA[iNdEx:postIndex]) + m.SaId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 7: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LatestDataExportTime", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TopicName", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMessage @@ -3763,33 +1678,29 @@ func (m *ExportSink) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthMessage } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen 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 - } + m.TopicName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 8: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastHealthCheckTime", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GcpProjectId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMessage @@ -3799,27 +1710,23 @@ func (m *ExportSink) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthMessage } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen 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 - } + m.GcpProjectId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex diff --git a/protogen/apimock/cloudservice/v1/service.pb.mock.go b/protogen/apimock/cloudservice/v1/service.pb.mock.go index e9976b66..6b526a1c 100644 --- a/protogen/apimock/cloudservice/v1/service.pb.mock.go +++ b/protogen/apimock/cloudservice/v1/service.pb.mock.go @@ -116,6 +116,26 @@ func (mr *MockCloudServiceClientMockRecorder) ConfirmMigration(ctx, in interface return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConfirmMigration", reflect.TypeOf((*MockCloudServiceClient)(nil).ConfirmMigration), varargs...) } +// CreateAccountAuditLogSink mocks base method. +func (m *MockCloudServiceClient) CreateAccountAuditLogSink(ctx context.Context, in *cloudservice.CreateAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*cloudservice.CreateAccountAuditLogSinkResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "CreateAccountAuditLogSink", varargs...) + ret0, _ := ret[0].(*cloudservice.CreateAccountAuditLogSinkResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// CreateAccountAuditLogSink indicates an expected call of CreateAccountAuditLogSink. +func (mr *MockCloudServiceClientMockRecorder) CreateAccountAuditLogSink(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, "CreateAccountAuditLogSink", reflect.TypeOf((*MockCloudServiceClient)(nil).CreateAccountAuditLogSink), varargs...) +} + // CreateApiKey mocks base method. func (m *MockCloudServiceClient) CreateApiKey(ctx context.Context, in *cloudservice.CreateApiKeyRequest, opts ...grpc.CallOption) (*cloudservice.CreateApiKeyResponse, error) { m.ctrl.T.Helper() @@ -296,6 +316,26 @@ func (mr *MockCloudServiceClientMockRecorder) CreateUserGroup(ctx, in interface{ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateUserGroup", reflect.TypeOf((*MockCloudServiceClient)(nil).CreateUserGroup), varargs...) } +// DeleteAccountAuditLogSink mocks base method. +func (m *MockCloudServiceClient) DeleteAccountAuditLogSink(ctx context.Context, in *cloudservice.DeleteAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*cloudservice.DeleteAccountAuditLogSinkResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "DeleteAccountAuditLogSink", varargs...) + ret0, _ := ret[0].(*cloudservice.DeleteAccountAuditLogSinkResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DeleteAccountAuditLogSink indicates an expected call of DeleteAccountAuditLogSink. +func (mr *MockCloudServiceClientMockRecorder) DeleteAccountAuditLogSink(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, "DeleteAccountAuditLogSink", reflect.TypeOf((*MockCloudServiceClient)(nil).DeleteAccountAuditLogSink), varargs...) +} + // DeleteApiKey mocks base method. func (m *MockCloudServiceClient) DeleteApiKey(ctx context.Context, in *cloudservice.DeleteApiKeyRequest, opts ...grpc.CallOption) (*cloudservice.DeleteApiKeyResponse, error) { m.ctrl.T.Helper() @@ -536,6 +576,46 @@ func (mr *MockCloudServiceClientMockRecorder) GetAccount(ctx, in interface{}, op return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAccount", reflect.TypeOf((*MockCloudServiceClient)(nil).GetAccount), varargs...) } +// GetAccountAuditLogSink mocks base method. +func (m *MockCloudServiceClient) GetAccountAuditLogSink(ctx context.Context, in *cloudservice.GetAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*cloudservice.GetAccountAuditLogSinkResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "GetAccountAuditLogSink", varargs...) + ret0, _ := ret[0].(*cloudservice.GetAccountAuditLogSinkResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetAccountAuditLogSink indicates an expected call of GetAccountAuditLogSink. +func (mr *MockCloudServiceClientMockRecorder) GetAccountAuditLogSink(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, "GetAccountAuditLogSink", reflect.TypeOf((*MockCloudServiceClient)(nil).GetAccountAuditLogSink), varargs...) +} + +// GetAccountAuditLogSinks mocks base method. +func (m *MockCloudServiceClient) GetAccountAuditLogSinks(ctx context.Context, in *cloudservice.GetAccountAuditLogSinksRequest, opts ...grpc.CallOption) (*cloudservice.GetAccountAuditLogSinksResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "GetAccountAuditLogSinks", varargs...) + ret0, _ := ret[0].(*cloudservice.GetAccountAuditLogSinksResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetAccountAuditLogSinks indicates an expected call of GetAccountAuditLogSinks. +func (mr *MockCloudServiceClientMockRecorder) GetAccountAuditLogSinks(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, "GetAccountAuditLogSinks", reflect.TypeOf((*MockCloudServiceClient)(nil).GetAccountAuditLogSinks), varargs...) +} + // GetApiKey mocks base method. func (m *MockCloudServiceClient) GetApiKey(ctx context.Context, in *cloudservice.GetApiKeyRequest, opts ...grpc.CallOption) (*cloudservice.GetApiKeyResponse, error) { m.ctrl.T.Helper() @@ -956,6 +1036,26 @@ func (mr *MockCloudServiceClientMockRecorder) GetServiceAccounts(ctx, in interfa return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServiceAccounts", reflect.TypeOf((*MockCloudServiceClient)(nil).GetServiceAccounts), varargs...) } +// GetTagKeys mocks base method. +func (m *MockCloudServiceClient) GetTagKeys(ctx context.Context, in *cloudservice.GetTagKeysRequest, opts ...grpc.CallOption) (*cloudservice.GetTagKeysResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "GetTagKeys", varargs...) + ret0, _ := ret[0].(*cloudservice.GetTagKeysResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetTagKeys indicates an expected call of GetTagKeys. +func (mr *MockCloudServiceClientMockRecorder) GetTagKeys(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, "GetTagKeys", reflect.TypeOf((*MockCloudServiceClient)(nil).GetTagKeys), varargs...) +} + // GetUsage mocks base method. func (m *MockCloudServiceClient) GetUsage(ctx context.Context, in *cloudservice.GetUsageRequest, opts ...grpc.CallOption) (*cloudservice.GetUsageResponse, error) { m.ctrl.T.Helper() @@ -1156,6 +1256,26 @@ func (mr *MockCloudServiceClientMockRecorder) ResendUserInvite(ctx, in interface return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResendUserInvite", reflect.TypeOf((*MockCloudServiceClient)(nil).ResendUserInvite), varargs...) } +// SetServiceAccountNamespaceAccess mocks base method. +func (m *MockCloudServiceClient) SetServiceAccountNamespaceAccess(ctx context.Context, in *cloudservice.SetServiceAccountNamespaceAccessRequest, opts ...grpc.CallOption) (*cloudservice.SetServiceAccountNamespaceAccessResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "SetServiceAccountNamespaceAccess", varargs...) + ret0, _ := ret[0].(*cloudservice.SetServiceAccountNamespaceAccessResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// SetServiceAccountNamespaceAccess indicates an expected call of SetServiceAccountNamespaceAccess. +func (mr *MockCloudServiceClientMockRecorder) SetServiceAccountNamespaceAccess(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, "SetServiceAccountNamespaceAccess", reflect.TypeOf((*MockCloudServiceClient)(nil).SetServiceAccountNamespaceAccess), 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() @@ -1236,6 +1356,26 @@ func (mr *MockCloudServiceClientMockRecorder) UpdateAccount(ctx, in interface{}, return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateAccount", reflect.TypeOf((*MockCloudServiceClient)(nil).UpdateAccount), varargs...) } +// UpdateAccountAuditLogSink mocks base method. +func (m *MockCloudServiceClient) UpdateAccountAuditLogSink(ctx context.Context, in *cloudservice.UpdateAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*cloudservice.UpdateAccountAuditLogSinkResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "UpdateAccountAuditLogSink", varargs...) + ret0, _ := ret[0].(*cloudservice.UpdateAccountAuditLogSinkResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// UpdateAccountAuditLogSink indicates an expected call of UpdateAccountAuditLogSink. +func (mr *MockCloudServiceClientMockRecorder) UpdateAccountAuditLogSink(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, "UpdateAccountAuditLogSink", reflect.TypeOf((*MockCloudServiceClient)(nil).UpdateAccountAuditLogSink), varargs...) +} + // UpdateApiKey mocks base method. func (m *MockCloudServiceClient) UpdateApiKey(ctx context.Context, in *cloudservice.UpdateApiKeyRequest, opts ...grpc.CallOption) (*cloudservice.UpdateApiKeyResponse, error) { m.ctrl.T.Helper() @@ -1416,6 +1556,26 @@ func (mr *MockCloudServiceClientMockRecorder) UpdateUserGroup(ctx, in interface{ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateUserGroup", reflect.TypeOf((*MockCloudServiceClient)(nil).UpdateUserGroup), varargs...) } +// ValidateAccountAuditLogSink mocks base method. +func (m *MockCloudServiceClient) ValidateAccountAuditLogSink(ctx context.Context, in *cloudservice.ValidateAccountAuditLogSinkRequest, opts ...grpc.CallOption) (*cloudservice.ValidateAccountAuditLogSinkResponse, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "ValidateAccountAuditLogSink", varargs...) + ret0, _ := ret[0].(*cloudservice.ValidateAccountAuditLogSinkResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// ValidateAccountAuditLogSink indicates an expected call of ValidateAccountAuditLogSink. +func (mr *MockCloudServiceClientMockRecorder) ValidateAccountAuditLogSink(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, "ValidateAccountAuditLogSink", reflect.TypeOf((*MockCloudServiceClient)(nil).ValidateAccountAuditLogSink), varargs...) +} + // ValidateNamespaceExportSink mocks base method. func (m *MockCloudServiceClient) ValidateNamespaceExportSink(ctx context.Context, in *cloudservice.ValidateNamespaceExportSinkRequest, opts ...grpc.CallOption) (*cloudservice.ValidateNamespaceExportSinkResponse, error) { m.ctrl.T.Helper() @@ -1519,6 +1679,21 @@ func (mr *MockCloudServiceServerMockRecorder) ConfirmMigration(arg0, arg1 interf return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConfirmMigration", reflect.TypeOf((*MockCloudServiceServer)(nil).ConfirmMigration), arg0, arg1) } +// CreateAccountAuditLogSink mocks base method. +func (m *MockCloudServiceServer) CreateAccountAuditLogSink(arg0 context.Context, arg1 *cloudservice.CreateAccountAuditLogSinkRequest) (*cloudservice.CreateAccountAuditLogSinkResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "CreateAccountAuditLogSink", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.CreateAccountAuditLogSinkResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// CreateAccountAuditLogSink indicates an expected call of CreateAccountAuditLogSink. +func (mr *MockCloudServiceServerMockRecorder) CreateAccountAuditLogSink(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateAccountAuditLogSink", reflect.TypeOf((*MockCloudServiceServer)(nil).CreateAccountAuditLogSink), arg0, arg1) +} + // CreateApiKey mocks base method. func (m *MockCloudServiceServer) CreateApiKey(arg0 context.Context, arg1 *cloudservice.CreateApiKeyRequest) (*cloudservice.CreateApiKeyResponse, error) { m.ctrl.T.Helper() @@ -1654,6 +1829,21 @@ func (mr *MockCloudServiceServerMockRecorder) CreateUserGroup(arg0, arg1 interfa return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateUserGroup", reflect.TypeOf((*MockCloudServiceServer)(nil).CreateUserGroup), arg0, arg1) } +// DeleteAccountAuditLogSink mocks base method. +func (m *MockCloudServiceServer) DeleteAccountAuditLogSink(arg0 context.Context, arg1 *cloudservice.DeleteAccountAuditLogSinkRequest) (*cloudservice.DeleteAccountAuditLogSinkResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DeleteAccountAuditLogSink", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.DeleteAccountAuditLogSinkResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DeleteAccountAuditLogSink indicates an expected call of DeleteAccountAuditLogSink. +func (mr *MockCloudServiceServerMockRecorder) DeleteAccountAuditLogSink(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAccountAuditLogSink", reflect.TypeOf((*MockCloudServiceServer)(nil).DeleteAccountAuditLogSink), arg0, arg1) +} + // DeleteApiKey mocks base method. func (m *MockCloudServiceServer) DeleteApiKey(arg0 context.Context, arg1 *cloudservice.DeleteApiKeyRequest) (*cloudservice.DeleteApiKeyResponse, error) { m.ctrl.T.Helper() @@ -1834,6 +2024,36 @@ func (mr *MockCloudServiceServerMockRecorder) GetAccount(arg0, arg1 interface{}) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAccount", reflect.TypeOf((*MockCloudServiceServer)(nil).GetAccount), arg0, arg1) } +// GetAccountAuditLogSink mocks base method. +func (m *MockCloudServiceServer) GetAccountAuditLogSink(arg0 context.Context, arg1 *cloudservice.GetAccountAuditLogSinkRequest) (*cloudservice.GetAccountAuditLogSinkResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetAccountAuditLogSink", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.GetAccountAuditLogSinkResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetAccountAuditLogSink indicates an expected call of GetAccountAuditLogSink. +func (mr *MockCloudServiceServerMockRecorder) GetAccountAuditLogSink(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAccountAuditLogSink", reflect.TypeOf((*MockCloudServiceServer)(nil).GetAccountAuditLogSink), arg0, arg1) +} + +// GetAccountAuditLogSinks mocks base method. +func (m *MockCloudServiceServer) GetAccountAuditLogSinks(arg0 context.Context, arg1 *cloudservice.GetAccountAuditLogSinksRequest) (*cloudservice.GetAccountAuditLogSinksResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetAccountAuditLogSinks", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.GetAccountAuditLogSinksResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetAccountAuditLogSinks indicates an expected call of GetAccountAuditLogSinks. +func (mr *MockCloudServiceServerMockRecorder) GetAccountAuditLogSinks(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAccountAuditLogSinks", reflect.TypeOf((*MockCloudServiceServer)(nil).GetAccountAuditLogSinks), arg0, arg1) +} + // GetApiKey mocks base method. func (m *MockCloudServiceServer) GetApiKey(arg0 context.Context, arg1 *cloudservice.GetApiKeyRequest) (*cloudservice.GetApiKeyResponse, error) { m.ctrl.T.Helper() @@ -2149,6 +2369,21 @@ func (mr *MockCloudServiceServerMockRecorder) GetServiceAccounts(arg0, arg1 inte return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServiceAccounts", reflect.TypeOf((*MockCloudServiceServer)(nil).GetServiceAccounts), arg0, arg1) } +// GetTagKeys mocks base method. +func (m *MockCloudServiceServer) GetTagKeys(arg0 context.Context, arg1 *cloudservice.GetTagKeysRequest) (*cloudservice.GetTagKeysResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetTagKeys", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.GetTagKeysResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetTagKeys indicates an expected call of GetTagKeys. +func (mr *MockCloudServiceServerMockRecorder) GetTagKeys(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTagKeys", reflect.TypeOf((*MockCloudServiceServer)(nil).GetTagKeys), arg0, arg1) +} + // GetUsage mocks base method. func (m *MockCloudServiceServer) GetUsage(arg0 context.Context, arg1 *cloudservice.GetUsageRequest) (*cloudservice.GetUsageResponse, error) { m.ctrl.T.Helper() @@ -2299,6 +2534,21 @@ func (mr *MockCloudServiceServerMockRecorder) ResendUserInvite(arg0, arg1 interf return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResendUserInvite", reflect.TypeOf((*MockCloudServiceServer)(nil).ResendUserInvite), arg0, arg1) } +// SetServiceAccountNamespaceAccess mocks base method. +func (m *MockCloudServiceServer) SetServiceAccountNamespaceAccess(arg0 context.Context, arg1 *cloudservice.SetServiceAccountNamespaceAccessRequest) (*cloudservice.SetServiceAccountNamespaceAccessResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SetServiceAccountNamespaceAccess", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.SetServiceAccountNamespaceAccessResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// SetServiceAccountNamespaceAccess indicates an expected call of SetServiceAccountNamespaceAccess. +func (mr *MockCloudServiceServerMockRecorder) SetServiceAccountNamespaceAccess(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetServiceAccountNamespaceAccess", reflect.TypeOf((*MockCloudServiceServer)(nil).SetServiceAccountNamespaceAccess), arg0, arg1) +} + // SetUserGroupNamespaceAccess mocks base method. func (m *MockCloudServiceServer) SetUserGroupNamespaceAccess(arg0 context.Context, arg1 *cloudservice.SetUserGroupNamespaceAccessRequest) (*cloudservice.SetUserGroupNamespaceAccessResponse, error) { m.ctrl.T.Helper() @@ -2359,6 +2609,21 @@ func (mr *MockCloudServiceServerMockRecorder) UpdateAccount(arg0, arg1 interface return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateAccount", reflect.TypeOf((*MockCloudServiceServer)(nil).UpdateAccount), arg0, arg1) } +// UpdateAccountAuditLogSink mocks base method. +func (m *MockCloudServiceServer) UpdateAccountAuditLogSink(arg0 context.Context, arg1 *cloudservice.UpdateAccountAuditLogSinkRequest) (*cloudservice.UpdateAccountAuditLogSinkResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "UpdateAccountAuditLogSink", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.UpdateAccountAuditLogSinkResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// UpdateAccountAuditLogSink indicates an expected call of UpdateAccountAuditLogSink. +func (mr *MockCloudServiceServerMockRecorder) UpdateAccountAuditLogSink(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateAccountAuditLogSink", reflect.TypeOf((*MockCloudServiceServer)(nil).UpdateAccountAuditLogSink), arg0, arg1) +} + // UpdateApiKey mocks base method. func (m *MockCloudServiceServer) UpdateApiKey(arg0 context.Context, arg1 *cloudservice.UpdateApiKeyRequest) (*cloudservice.UpdateApiKeyResponse, error) { m.ctrl.T.Helper() @@ -2494,6 +2759,21 @@ func (mr *MockCloudServiceServerMockRecorder) UpdateUserGroup(arg0, arg1 interfa return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateUserGroup", reflect.TypeOf((*MockCloudServiceServer)(nil).UpdateUserGroup), arg0, arg1) } +// ValidateAccountAuditLogSink mocks base method. +func (m *MockCloudServiceServer) ValidateAccountAuditLogSink(arg0 context.Context, arg1 *cloudservice.ValidateAccountAuditLogSinkRequest) (*cloudservice.ValidateAccountAuditLogSinkResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "ValidateAccountAuditLogSink", arg0, arg1) + ret0, _ := ret[0].(*cloudservice.ValidateAccountAuditLogSinkResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// ValidateAccountAuditLogSink indicates an expected call of ValidateAccountAuditLogSink. +func (mr *MockCloudServiceServerMockRecorder) ValidateAccountAuditLogSink(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidateAccountAuditLogSink", reflect.TypeOf((*MockCloudServiceServer)(nil).ValidateAccountAuditLogSink), arg0, arg1) +} + // ValidateNamespaceExportSink mocks base method. func (m *MockCloudServiceServer) ValidateNamespaceExportSink(arg0 context.Context, arg1 *cloudservice.ValidateNamespaceExportSinkRequest) (*cloudservice.ValidateNamespaceExportSinkResponse, error) { m.ctrl.T.Helper() diff --git a/protogen/apimock/namespaceservice/v1/service.pb.mock.go b/protogen/apimock/namespaceservice/v1/service.pb.mock.go index f4fed05b..99102eae 100644 --- a/protogen/apimock/namespaceservice/v1/service.pb.mock.go +++ b/protogen/apimock/namespaceservice/v1/service.pb.mock.go @@ -36,26 +36,6 @@ func (m *MockNamespaceServiceClient) EXPECT() *MockNamespaceServiceClientMockRec return m.recorder } -// CreateExportSink mocks base method. -func (m *MockNamespaceServiceClient) CreateExportSink(ctx context.Context, in *namespaceservice.CreateExportSinkRequest, opts ...grpc.CallOption) (*namespaceservice.CreateExportSinkResponse, error) { - m.ctrl.T.Helper() - varargs := []interface{}{ctx, in} - for _, a := range opts { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "CreateExportSink", varargs...) - ret0, _ := ret[0].(*namespaceservice.CreateExportSinkResponse) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// CreateExportSink indicates an expected call of CreateExportSink. -func (mr *MockNamespaceServiceClientMockRecorder) CreateExportSink(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, "CreateExportSink", reflect.TypeOf((*MockNamespaceServiceClient)(nil).CreateExportSink), varargs...) -} - // CreateNamespace mocks base method. func (m *MockNamespaceServiceClient) CreateNamespace(ctx context.Context, in *namespaceservice.CreateNamespaceRequest, opts ...grpc.CallOption) (*namespaceservice.CreateNamespaceResponse, error) { m.ctrl.T.Helper() @@ -76,26 +56,6 @@ func (mr *MockNamespaceServiceClientMockRecorder) CreateNamespace(ctx, in interf return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateNamespace", reflect.TypeOf((*MockNamespaceServiceClient)(nil).CreateNamespace), varargs...) } -// DeleteExportSink mocks base method. -func (m *MockNamespaceServiceClient) DeleteExportSink(ctx context.Context, in *namespaceservice.DeleteExportSinkRequest, opts ...grpc.CallOption) (*namespaceservice.DeleteExportSinkResponse, error) { - m.ctrl.T.Helper() - varargs := []interface{}{ctx, in} - for _, a := range opts { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "DeleteExportSink", varargs...) - ret0, _ := ret[0].(*namespaceservice.DeleteExportSinkResponse) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// DeleteExportSink indicates an expected call of DeleteExportSink. -func (mr *MockNamespaceServiceClientMockRecorder) DeleteExportSink(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, "DeleteExportSink", reflect.TypeOf((*MockNamespaceServiceClient)(nil).DeleteExportSink), varargs...) -} - // DeleteNamespace mocks base method. func (m *MockNamespaceServiceClient) DeleteNamespace(ctx context.Context, in *namespaceservice.DeleteNamespaceRequest, opts ...grpc.CallOption) (*namespaceservice.DeleteNamespaceResponse, error) { m.ctrl.T.Helper() @@ -136,46 +96,6 @@ func (mr *MockNamespaceServiceClientMockRecorder) FailoverNamespace(ctx, in inte return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FailoverNamespace", reflect.TypeOf((*MockNamespaceServiceClient)(nil).FailoverNamespace), varargs...) } -// GetExportSink mocks base method. -func (m *MockNamespaceServiceClient) GetExportSink(ctx context.Context, in *namespaceservice.GetExportSinkRequest, opts ...grpc.CallOption) (*namespaceservice.GetExportSinkResponse, error) { - m.ctrl.T.Helper() - varargs := []interface{}{ctx, in} - for _, a := range opts { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "GetExportSink", varargs...) - ret0, _ := ret[0].(*namespaceservice.GetExportSinkResponse) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetExportSink indicates an expected call of GetExportSink. -func (mr *MockNamespaceServiceClientMockRecorder) GetExportSink(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, "GetExportSink", reflect.TypeOf((*MockNamespaceServiceClient)(nil).GetExportSink), varargs...) -} - -// GetExportSinks mocks base method. -func (m *MockNamespaceServiceClient) GetExportSinks(ctx context.Context, in *namespaceservice.GetExportSinksRequest, opts ...grpc.CallOption) (*namespaceservice.GetExportSinksResponse, error) { - m.ctrl.T.Helper() - varargs := []interface{}{ctx, in} - for _, a := range opts { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "GetExportSinks", varargs...) - ret0, _ := ret[0].(*namespaceservice.GetExportSinksResponse) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetExportSinks indicates an expected call of GetExportSinks. -func (mr *MockNamespaceServiceClientMockRecorder) GetExportSinks(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, "GetExportSinks", reflect.TypeOf((*MockNamespaceServiceClient)(nil).GetExportSinks), varargs...) -} - // GetNamespace mocks base method. func (m *MockNamespaceServiceClient) GetNamespace(ctx context.Context, in *namespaceservice.GetNamespaceRequest, opts ...grpc.CallOption) (*namespaceservice.GetNamespaceResponse, error) { m.ctrl.T.Helper() @@ -236,26 +156,6 @@ func (mr *MockNamespaceServiceClientMockRecorder) GlobalizeNamespace(ctx, in int return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GlobalizeNamespace", reflect.TypeOf((*MockNamespaceServiceClient)(nil).GlobalizeNamespace), varargs...) } -// ListExportSinks mocks base method. -func (m *MockNamespaceServiceClient) ListExportSinks(ctx context.Context, in *namespaceservice.ListExportSinksRequest, opts ...grpc.CallOption) (*namespaceservice.ListExportSinksResponse, error) { - m.ctrl.T.Helper() - varargs := []interface{}{ctx, in} - for _, a := range opts { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "ListExportSinks", varargs...) - ret0, _ := ret[0].(*namespaceservice.ListExportSinksResponse) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// ListExportSinks indicates an expected call of ListExportSinks. -func (mr *MockNamespaceServiceClientMockRecorder) ListExportSinks(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, "ListExportSinks", reflect.TypeOf((*MockNamespaceServiceClient)(nil).ListExportSinks), varargs...) -} - // ListFailoverHistoryByNamespace mocks base method. func (m *MockNamespaceServiceClient) ListFailoverHistoryByNamespace(ctx context.Context, in *namespaceservice.ListFailoverHistoryByNamespaceRequest, opts ...grpc.CallOption) (*namespaceservice.ListFailoverHistoryByNamespaceResponse, error) { m.ctrl.T.Helper() @@ -336,26 +236,6 @@ func (mr *MockNamespaceServiceClientMockRecorder) RenameCustomSearchAttribute(ct return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RenameCustomSearchAttribute", reflect.TypeOf((*MockNamespaceServiceClient)(nil).RenameCustomSearchAttribute), varargs...) } -// UpdateExportSink mocks base method. -func (m *MockNamespaceServiceClient) UpdateExportSink(ctx context.Context, in *namespaceservice.UpdateExportSinkRequest, opts ...grpc.CallOption) (*namespaceservice.UpdateExportSinkResponse, error) { - m.ctrl.T.Helper() - varargs := []interface{}{ctx, in} - for _, a := range opts { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "UpdateExportSink", varargs...) - ret0, _ := ret[0].(*namespaceservice.UpdateExportSinkResponse) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// UpdateExportSink indicates an expected call of UpdateExportSink. -func (mr *MockNamespaceServiceClientMockRecorder) UpdateExportSink(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, "UpdateExportSink", reflect.TypeOf((*MockNamespaceServiceClient)(nil).UpdateExportSink), varargs...) -} - // UpdateNamespace mocks base method. func (m *MockNamespaceServiceClient) UpdateNamespace(ctx context.Context, in *namespaceservice.UpdateNamespaceRequest, opts ...grpc.CallOption) (*namespaceservice.UpdateNamespaceResponse, error) { m.ctrl.T.Helper() @@ -376,26 +256,6 @@ func (mr *MockNamespaceServiceClientMockRecorder) UpdateNamespace(ctx, in interf return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateNamespace", reflect.TypeOf((*MockNamespaceServiceClient)(nil).UpdateNamespace), varargs...) } -// ValidateExportSink mocks base method. -func (m *MockNamespaceServiceClient) ValidateExportSink(ctx context.Context, in *namespaceservice.ValidateExportSinkRequest, opts ...grpc.CallOption) (*namespaceservice.ValidateExportSinkResponse, error) { - m.ctrl.T.Helper() - varargs := []interface{}{ctx, in} - for _, a := range opts { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "ValidateExportSink", varargs...) - ret0, _ := ret[0].(*namespaceservice.ValidateExportSinkResponse) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// ValidateExportSink indicates an expected call of ValidateExportSink. -func (mr *MockNamespaceServiceClientMockRecorder) ValidateExportSink(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, "ValidateExportSink", reflect.TypeOf((*MockNamespaceServiceClient)(nil).ValidateExportSink), varargs...) -} - // ValidateGlobalizeNamespace mocks base method. func (m *MockNamespaceServiceClient) ValidateGlobalizeNamespace(ctx context.Context, in *namespaceservice.ValidateGlobalizeNamespaceRequest, opts ...grpc.CallOption) (*namespaceservice.ValidateGlobalizeNamespaceResponse, error) { m.ctrl.T.Helper() @@ -439,21 +299,6 @@ func (m *MockNamespaceServiceServer) EXPECT() *MockNamespaceServiceServerMockRec return m.recorder } -// CreateExportSink mocks base method. -func (m *MockNamespaceServiceServer) CreateExportSink(arg0 context.Context, arg1 *namespaceservice.CreateExportSinkRequest) (*namespaceservice.CreateExportSinkResponse, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "CreateExportSink", arg0, arg1) - ret0, _ := ret[0].(*namespaceservice.CreateExportSinkResponse) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// CreateExportSink indicates an expected call of CreateExportSink. -func (mr *MockNamespaceServiceServerMockRecorder) CreateExportSink(arg0, arg1 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateExportSink", reflect.TypeOf((*MockNamespaceServiceServer)(nil).CreateExportSink), arg0, arg1) -} - // CreateNamespace mocks base method. func (m *MockNamespaceServiceServer) CreateNamespace(arg0 context.Context, arg1 *namespaceservice.CreateNamespaceRequest) (*namespaceservice.CreateNamespaceResponse, error) { m.ctrl.T.Helper() @@ -469,21 +314,6 @@ func (mr *MockNamespaceServiceServerMockRecorder) CreateNamespace(arg0, arg1 int return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateNamespace", reflect.TypeOf((*MockNamespaceServiceServer)(nil).CreateNamespace), arg0, arg1) } -// DeleteExportSink mocks base method. -func (m *MockNamespaceServiceServer) DeleteExportSink(arg0 context.Context, arg1 *namespaceservice.DeleteExportSinkRequest) (*namespaceservice.DeleteExportSinkResponse, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteExportSink", arg0, arg1) - ret0, _ := ret[0].(*namespaceservice.DeleteExportSinkResponse) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// DeleteExportSink indicates an expected call of DeleteExportSink. -func (mr *MockNamespaceServiceServerMockRecorder) DeleteExportSink(arg0, arg1 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteExportSink", reflect.TypeOf((*MockNamespaceServiceServer)(nil).DeleteExportSink), arg0, arg1) -} - // DeleteNamespace mocks base method. func (m *MockNamespaceServiceServer) DeleteNamespace(arg0 context.Context, arg1 *namespaceservice.DeleteNamespaceRequest) (*namespaceservice.DeleteNamespaceResponse, error) { m.ctrl.T.Helper() @@ -514,36 +344,6 @@ func (mr *MockNamespaceServiceServerMockRecorder) FailoverNamespace(arg0, arg1 i return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FailoverNamespace", reflect.TypeOf((*MockNamespaceServiceServer)(nil).FailoverNamespace), arg0, arg1) } -// GetExportSink mocks base method. -func (m *MockNamespaceServiceServer) GetExportSink(arg0 context.Context, arg1 *namespaceservice.GetExportSinkRequest) (*namespaceservice.GetExportSinkResponse, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetExportSink", arg0, arg1) - ret0, _ := ret[0].(*namespaceservice.GetExportSinkResponse) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetExportSink indicates an expected call of GetExportSink. -func (mr *MockNamespaceServiceServerMockRecorder) GetExportSink(arg0, arg1 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetExportSink", reflect.TypeOf((*MockNamespaceServiceServer)(nil).GetExportSink), arg0, arg1) -} - -// GetExportSinks mocks base method. -func (m *MockNamespaceServiceServer) GetExportSinks(arg0 context.Context, arg1 *namespaceservice.GetExportSinksRequest) (*namespaceservice.GetExportSinksResponse, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetExportSinks", arg0, arg1) - ret0, _ := ret[0].(*namespaceservice.GetExportSinksResponse) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetExportSinks indicates an expected call of GetExportSinks. -func (mr *MockNamespaceServiceServerMockRecorder) GetExportSinks(arg0, arg1 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetExportSinks", reflect.TypeOf((*MockNamespaceServiceServer)(nil).GetExportSinks), arg0, arg1) -} - // GetNamespace mocks base method. func (m *MockNamespaceServiceServer) GetNamespace(arg0 context.Context, arg1 *namespaceservice.GetNamespaceRequest) (*namespaceservice.GetNamespaceResponse, error) { m.ctrl.T.Helper() @@ -589,21 +389,6 @@ func (mr *MockNamespaceServiceServerMockRecorder) GlobalizeNamespace(arg0, arg1 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GlobalizeNamespace", reflect.TypeOf((*MockNamespaceServiceServer)(nil).GlobalizeNamespace), arg0, arg1) } -// ListExportSinks mocks base method. -func (m *MockNamespaceServiceServer) ListExportSinks(arg0 context.Context, arg1 *namespaceservice.ListExportSinksRequest) (*namespaceservice.ListExportSinksResponse, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListExportSinks", arg0, arg1) - ret0, _ := ret[0].(*namespaceservice.ListExportSinksResponse) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// ListExportSinks indicates an expected call of ListExportSinks. -func (mr *MockNamespaceServiceServerMockRecorder) ListExportSinks(arg0, arg1 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListExportSinks", reflect.TypeOf((*MockNamespaceServiceServer)(nil).ListExportSinks), arg0, arg1) -} - // ListFailoverHistoryByNamespace mocks base method. func (m *MockNamespaceServiceServer) ListFailoverHistoryByNamespace(arg0 context.Context, arg1 *namespaceservice.ListFailoverHistoryByNamespaceRequest) (*namespaceservice.ListFailoverHistoryByNamespaceResponse, error) { m.ctrl.T.Helper() @@ -664,21 +449,6 @@ func (mr *MockNamespaceServiceServerMockRecorder) RenameCustomSearchAttribute(ar return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RenameCustomSearchAttribute", reflect.TypeOf((*MockNamespaceServiceServer)(nil).RenameCustomSearchAttribute), arg0, arg1) } -// UpdateExportSink mocks base method. -func (m *MockNamespaceServiceServer) UpdateExportSink(arg0 context.Context, arg1 *namespaceservice.UpdateExportSinkRequest) (*namespaceservice.UpdateExportSinkResponse, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "UpdateExportSink", arg0, arg1) - ret0, _ := ret[0].(*namespaceservice.UpdateExportSinkResponse) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// UpdateExportSink indicates an expected call of UpdateExportSink. -func (mr *MockNamespaceServiceServerMockRecorder) UpdateExportSink(arg0, arg1 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateExportSink", reflect.TypeOf((*MockNamespaceServiceServer)(nil).UpdateExportSink), arg0, arg1) -} - // UpdateNamespace mocks base method. func (m *MockNamespaceServiceServer) UpdateNamespace(arg0 context.Context, arg1 *namespaceservice.UpdateNamespaceRequest) (*namespaceservice.UpdateNamespaceResponse, error) { m.ctrl.T.Helper() @@ -694,21 +464,6 @@ func (mr *MockNamespaceServiceServerMockRecorder) UpdateNamespace(arg0, arg1 int return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateNamespace", reflect.TypeOf((*MockNamespaceServiceServer)(nil).UpdateNamespace), arg0, arg1) } -// ValidateExportSink mocks base method. -func (m *MockNamespaceServiceServer) ValidateExportSink(arg0 context.Context, arg1 *namespaceservice.ValidateExportSinkRequest) (*namespaceservice.ValidateExportSinkResponse, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ValidateExportSink", arg0, arg1) - ret0, _ := ret[0].(*namespaceservice.ValidateExportSinkResponse) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// ValidateExportSink indicates an expected call of ValidateExportSink. -func (mr *MockNamespaceServiceServerMockRecorder) ValidateExportSink(arg0, arg1 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidateExportSink", reflect.TypeOf((*MockNamespaceServiceServer)(nil).ValidateExportSink), arg0, arg1) -} - // ValidateGlobalizeNamespace mocks base method. func (m *MockNamespaceServiceServer) ValidateGlobalizeNamespace(arg0 context.Context, arg1 *namespaceservice.ValidateGlobalizeNamespaceRequest) (*namespaceservice.ValidateGlobalizeNamespaceResponse, error) { m.ctrl.T.Helper()